Skip to content

Commit

Permalink
feat(gems): update pact_broker gem to version 2.50.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Feb 27, 2020
1 parent 7da7a80 commit 02e69fa
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 6 deletions.
24 changes: 18 additions & 6 deletions pact_broker/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ GEM
as-notifications (1.0.1)
awesome_print (1.8.0)
concurrent-ruby (1.1.6)
crass (1.0.6)
declarative (0.0.10)
declarative-builder (0.1.0)
declarative-option (< 0.2.0)
Expand All @@ -15,9 +16,10 @@ GEM
declarative-option (< 0.2.0)
representable (>= 2.4.0, <= 3.1.0)
uber (< 0.2.0)
dry-configurable (0.9.0)
dry-configurable (0.11.3)
concurrent-ruby (~> 1.0)
dry-core (~> 0.4, >= 0.4.7)
dry-equalizer (~> 0.2)
dry-container (0.7.2)
concurrent-ruby (~> 1.0)
dry-configurable (~> 0.1, >= 0.1.3)
Expand Down Expand Up @@ -46,7 +48,7 @@ GEM
haml (5.1.2)
temple (>= 0.8.0)
tilt
httparty (0.17.3)
httparty (0.18.0)
mime-types (~> 3.0)
multi_xml (>= 0.5.2)
i18n (1.8.2)
Expand All @@ -56,30 +58,36 @@ GEM
mime-types (3.3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2019.1009)
mini_portile2 (2.4.0)
multi_json (1.14.1)
multi_xml (0.6.0)
mustermann (1.1.1)
ruby2_keywords (~> 0.0.1)
mysql2 (0.5.3)
pact-support (1.13.0)
nokogiri (1.10.8)
mini_portile2 (~> 2.4.0)
nokogumbo (2.0.2)
nokogiri (~> 1.8, >= 1.8.4)
pact-support (1.14.1)
awesome_print (~> 1.1)
randexp (~> 0.1.7)
rspec (>= 2.14)
term-ansicolor (~> 1.0)
pact_broker (2.49.0)
pact_broker (2.50.0)
dry-logic (= 0.4.2)
dry-types (~> 0.10.3)
dry-validation (~> 0.10.5)
haml (~> 5.0)
httparty (~> 0.14)
json (> 1.8, < 3.0)
pact-support (~> 1.12, >= 1.12.1)
pact-support (~> 1.14, >= 1.14.1)
padrino-core (~> 0.14, >= 0.14.3)
rack (~> 2.0, >= 2.0.8)
rack-protection (>= 2.0.8.1, < 3.0)
redcarpet (~> 3.3, >= 3.3.2)
reform (~> 2.2)
roar (~> 1.1)
sanitize (~> 5.1)
semantic_logger (~> 4.3)
semver2 (~> 3.4.2)
sequel (~> 5.28)
Expand Down Expand Up @@ -122,7 +130,11 @@ GEM
rspec-support (~> 3.9.0)
rspec-support (3.9.2)
ruby2_keywords (0.0.2)
semantic_logger (4.6.0)
sanitize (5.1.0)
crass (~> 1.0.2)
nokogiri (>= 1.8.0)
nokogumbo (~> 2.0)
semantic_logger (4.6.1)
concurrent-ruby (~> 1.0)
semver2 (3.4.2)
sequel (5.29.0)
Expand Down
9 changes: 9 additions & 0 deletions pact_broker/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,12 @@ end
PactBroker::DB::CleanTask.new do | task |
task.database_connection = create_database_connection(Logger.new($stdout))
end

PactBroker::DB::DeleteOverwrittenDataTask.new do | task |
task.database_connection = create_database_connection(Logger.new($stdout))
if ENV['PACT_BROKER_DELETE_OVERWRITTEN_DATA_AGE']
task.age_in_days = ENV['PACT_BROKER_DELETE_OVERWRITTEN_DATA_AGE'].to_i
else
task.age_in_days = 30
end
end

0 comments on commit 02e69fa

Please sign in to comment.