roo_on_rails 1.20.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +5 -5
  2. data/.circleci/config.yml +398 -282
  3. data/.circleci/config.yml.erb +63 -21
  4. data/.codecov.yml +3 -0
  5. data/Appraisals +24 -11
  6. data/CHANGELOG.md +39 -0
  7. data/README.md +20 -31
  8. data/appraise +1 -1
  9. data/exe/roo_on_rails +5 -0
  10. data/gemfiles/rails_4.gemfile +3 -1
  11. data/gemfiles/rails_5.gemfile +2 -1
  12. data/gemfiles/rails_5_1.gemfile +3 -2
  13. data/gemfiles/rails_5_2.gemfile +15 -0
  14. data/gemfiles/{rails_3.gemfile → rails_6.gemfile} +5 -4
  15. data/lib/roo_on_rails.rb +1 -4
  16. data/lib/roo_on_rails/checks/documentation/playbook_template.md +0 -4
  17. data/lib/roo_on_rails/concerns/require_api_key.rb +0 -1
  18. data/lib/roo_on_rails/config.rb +0 -8
  19. data/lib/roo_on_rails/default.env +0 -13
  20. data/lib/roo_on_rails/rack/populate_env_from_jwt.rb +25 -4
  21. data/lib/roo_on_rails/railties/database.rb +11 -10
  22. data/lib/roo_on_rails/railties/env.rb +3 -5
  23. data/lib/roo_on_rails/railties/google_oauth.rb +4 -6
  24. data/lib/roo_on_rails/railties/http.rb +34 -32
  25. data/lib/roo_on_rails/railties/roo_identity.rb +12 -8
  26. data/lib/roo_on_rails/railties/{sidekiq.rb → sidekiq_integration.rb} +18 -18
  27. data/lib/roo_on_rails/version.rb +1 -1
  28. data/roo_on_rails.gemspec +5 -6
  29. metadata +28 -57
  30. data/.travis.yml +0 -34
  31. data/README.routemaster_client.md +0 -103
  32. data/lib/roo_on_rails/railties/logging.rb +0 -25
  33. data/lib/roo_on_rails/railties/new_relic.rb +0 -32
  34. data/lib/roo_on_rails/railties/routemaster.rb +0 -42
  35. data/lib/roo_on_rails/routemaster/lifecycle_events.rb +0 -64
  36. data/lib/roo_on_rails/routemaster/publish_lifecycle_events.rb +0 -13
  37. data/lib/roo_on_rails/routemaster/publisher.rb +0 -74
  38. data/lib/roo_on_rails/routemaster/publishers.rb +0 -27
  39. data/lib/roo_on_rails/tasks/newrelic.rake +0 -25
@@ -25,14 +25,6 @@ module RooOnRails
25
25
  ENV.fetch('GOOGLE_AUTH_CONTROLLER')
26
26
  end
27
27
 
28
- def routemaster_enabled?
29
- enabled? 'ROUTEMASTER_ENABLED', default: false
30
- end
31
-
32
- def routemaster_publishing_enabled?
33
- enabled? 'ROUTEMASTER_PUBLISHING_ENABLED', default: false
34
- end
35
-
36
28
  private
37
29
 
38
30
  ENABLED_PATTERN = /\A(YES|TRUE|ON|1)\Z/i
@@ -4,21 +4,8 @@ GOOGLE_AUTH_CLIENT_SECRET=''
4
4
  GOOGLE_AUTH_ALLOWED_DOMAINS=''
5
5
  GOOGLE_AUTH_PATH_PREFIX=/auth
6
6
  GOOGLE_AUTH_CONTROLLER=sessions
7
- NEW_RELIC_LOG=stdout
8
- NEW_RELIC_AGENT_ENABLED=true
9
- NEW_RELIC_MONITOR_MODE=true
10
- NEW_RELIC_BROWSER_MONITORING_AUTO_INSTRUMENT=true
11
- NEW_RELIC_CAPTURE_PARAMS=true
12
- NEW_RELIC_TRANSACTION_TRACER_RECORD_SQL=obfuscated
13
- NEW_RELIC_TRANSACTION_TRACER_RECORD_REDIS_ARGUMENTS=true
14
- NEW_RELIC_DEVELOPER_MODE=false
15
- NEW_RELIC_LICENSE_KEY=override-me
16
7
  RACK_SERVICE_TIMEOUT=10
17
8
  RACK_WAIT_TIMEOUT=30
18
- ROUTEMASTER_URL=''
19
- ROUTEMASTER_UUID=''
20
- ROUTEMASTER_ENABLED=false
21
- ROUTEMASTER_PUBLISHING_ENABLED=false
22
9
  SIDEKIQ_ENABLED=true
23
10
  SIDEKIQ_THREADS=25
24
11
  SIDEKIQ_DATABASE_REAPING_FREQUENCY=10
@@ -7,15 +7,22 @@ module RooOnRails
7
7
  class PopulateEnvFromJWT
8
8
  UnacceptableKeyError = Class.new(RuntimeError)
9
9
  VALID_PREFIXES_KEY = 'VALID_IDENTITY_URL_PREFIXES'.freeze
10
+ DEFAULT_MAPPED_URLS = {
11
+ 'https://test.deliveroo.co.uk/' => 'https://orderweb.rooenv-staging.io/',
12
+ 'https://deliveroo.co.uk/' => 'https://orderweb.deliverooapp.com/',
13
+ 'https://identity-staging.deliveroo.com/' => 'https://internal-identity.rooenv-staging.io/',
14
+ 'https://identity.deliveroo.com/' => 'https://internal-identity.deliverooapp.com/'
15
+ }.freeze
10
16
 
11
17
  def self.configured?
12
18
  ENV[VALID_PREFIXES_KEY].present?
13
19
  end
14
20
 
15
- def initialize(app, logger:, skip_sig_verify: true)
21
+ def initialize(app, logger:, skip_sig_verify: true, url_mappings: DEFAULT_MAPPED_URLS)
16
22
  @app = app
17
- @keys = {}
18
23
  @logger = logger
24
+ @url_mappings = url_mappings
25
+ @keys = @mapped_urls = {}
19
26
 
20
27
  if skip_sig_verify && non_prod?
21
28
  @logger.warn "JWTs signature verifification has been switched off in development."
@@ -34,7 +41,7 @@ module RooOnRails
34
41
  rescue UnacceptableKeyError, JSON::JWT::Exception => e
35
42
  # Identifying user is clearly attempting to hack or has been given a totally incorrect
36
43
  # token, log this and flag as Forbidden, without executing the rest of the middleware stack.
37
- ::NewRelic::Agent.notice_error(e) if defined?(NewRelic)
44
+ Raven.report_exception(e) if defined?(Raven)
38
45
  [401, {}, []]
39
46
  end
40
47
 
@@ -86,7 +93,7 @@ module RooOnRails
86
93
  return @keys[key_url] if @keys.key?(key_url)
87
94
 
88
95
  @logger.info "Downloading identity public key from #{key_url}"
89
- json = http_request.get(key_url).body
96
+ json = http_request.get(mapped_url(key_url)).body
90
97
  @keys[key_url] = JSON::JWK.new(json)
91
98
  rescue Faraday::ParsingError
92
99
  raise JSON::JWT::InvalidFormat, 'Downloaded JWK is not a valid JSON file'
@@ -101,6 +108,20 @@ module RooOnRails
101
108
  conf.adapter Faraday.default_adapter
102
109
  end
103
110
  end
111
+
112
+ # Allows us to use internal URLs instead of external ones where appropriate
113
+ def mapped_url(url)
114
+ return @mapped_urls[url] unless @mapped_urls[url].nil?
115
+
116
+ @url_mappings.each do |prefix, replacement|
117
+ next unless url.starts_with?(prefix)
118
+ mapped = url.sub(prefix, replacement)
119
+ @mapped_urls[url] = mapped
120
+ return mapped
121
+ end
122
+
123
+ url
124
+ end
104
125
  end
105
126
  end
106
127
  end
@@ -3,18 +3,19 @@ module RooOnRails
3
3
  class Database < Rails::Railtie
4
4
  initializer 'roo_on_rails.database', after: 'active_record.initialize_database' do
5
5
  ActiveSupport.on_load :active_record do
6
- Rails.logger.with(initializer: 'roo_on_rails.database') do |log|
7
- log.debug 'loading'
6
+ Rails.logger.debug('[roo_on_rails.database] loading')
8
7
 
9
- config = ActiveRecord::Base.configurations[Rails.env]
10
- config['variables'] ||= {}
11
- config['variables']['statement_timeout'] = ENV.fetch('DATABASE_STATEMENT_TIMEOUT', 200)
12
- if ENV.key?('DATABASE_REAPING_FREQUENCY')
13
- config['reaping_frequency'] = ENV['DATABASE_REAPING_FREQUENCY']
14
- end
15
-
16
- ActiveRecord::Base.establish_connection
8
+ config = ActiveRecord::Base.configurations[Rails.env]
9
+ config['variables'] ||= {}
10
+ statement_timeout = ENV.fetch('DATABASE_STATEMENT_TIMEOUT', 200)
11
+ # Use -1 to disable setting the statement timeout
12
+ unless statement_timeout == '-1'
13
+ config['variables']['statement_timeout'] = statement_timeout
14
+ end
15
+ if ENV.key?('DATABASE_REAPING_FREQUENCY')
16
+ config['reaping_frequency'] = ENV['DATABASE_REAPING_FREQUENCY']
17
17
  end
18
+ ActiveRecord::Base.establish_connection
18
19
  end
19
20
  end
20
21
  end
@@ -1,11 +1,9 @@
1
1
  module RooOnRails
2
2
  class Railtie < Rails::Railtie
3
3
  initializer 'roo_on_rails.default_env' do
4
- Rails.logger.with initializer: 'roo_on_rails.default_env' do |log|
5
- log.debug 'loading'
6
- require 'roo_on_rails/environment'
7
- RooOnRails::Environment.load
8
- end
4
+ Rails.logger.debug '[roo_on_rails.default_env] loading'
5
+ require 'roo_on_rails/environment'
6
+ RooOnRails::Environment.load
9
7
  end
10
8
  end
11
9
  end
@@ -4,12 +4,10 @@ module RooOnRails
4
4
  module Railties
5
5
  class GoogleOAuth < Rails::Railtie
6
6
  initializer 'roo_on_rails.google_auth.middleware' do |app|
7
- Rails.logger.with initializer: 'roo_on_rails.google_auth' do |log|
8
- next unless Config.google_auth_enabled?
9
- log.debug 'loading'
10
- _add_middleware(app)
11
- _add_routes(app)
12
- end
7
+ next unless Config.google_auth_enabled?
8
+ Rails.logger.debug '[roo_on_rails.google_auth] loading'
9
+ _add_middleware(app)
10
+ _add_routes(app)
13
11
  end
14
12
 
15
13
  private
@@ -2,45 +2,47 @@ module RooOnRails
2
2
  module Railties
3
3
  class HTTP < Rails::Railtie
4
4
  initializer 'roo_on_rails.http' do |app|
5
- Rails.logger.with initializer: 'roo_on_rails.http' do |log|
6
- log.debug 'loading'
5
+ Rails.logger.debug '[roo_on_rails.http] loading'
7
6
 
8
- require 'rack/timeout/base'
9
- require 'rack/ssl-enforcer'
10
- require 'roo_on_rails/rack/safe_timeouts'
7
+ require 'rack/timeout/base'
8
+ require 'rack/ssl-enforcer'
9
+ require 'roo_on_rails/rack/safe_timeouts'
11
10
 
12
- ::Rack::Timeout.service_timeout = ENV.fetch('RACK_SERVICE_TIMEOUT', 15).to_i
13
- ::Rack::Timeout.wait_timeout = ENV.fetch('RACK_WAIT_TIMEOUT', 30).to_i
14
- ::Rack::Timeout::Logger.level = ::Logger::WARN
11
+ ::Rack::Timeout::Logger.level = ::Logger::WARN
15
12
 
16
- app.config.middleware.insert_before(
17
- ::Rack::Runtime,
18
- ::Rack::Timeout
19
- )
13
+ app.config.middleware.insert_before(
14
+ ::Rack::Runtime,
15
+ ::Rack::Timeout,
16
+ service_timeout: ENV.fetch('RACK_SERVICE_TIMEOUT', 15).to_i,
17
+ wait_timeout: ENV.fetch('RACK_WAIT_TIMEOUT', 30).to_i
18
+ )
20
19
 
21
- middleware_to_insert_before = Rails::VERSION::MAJOR < 4 ? ::ActionDispatch::Cookies : ::Rack::Head
20
+ if Rails::VERSION::MAJOR < 4
21
+ middleware_to_insert_before = ::ActionDispatch::Cookies
22
+ else
23
+ middleware_to_insert_before = ::Rack::Head
24
+ end
22
25
 
23
- # This needs to be inserted low in the stack, before Rails returns the
24
- # thread-current connection to the pool.
25
- if defined?(ActiveRecord)
26
- app.config.middleware.insert_before(
27
- middleware_to_insert_before,
28
- RooOnRails::Rack::SafeTimeouts
29
- )
30
- end
26
+ # This needs to be inserted low in the stack, before Rails returns the
27
+ # thread-current connection to the pool.
28
+ if defined?(ActiveRecord)
29
+ app.config.middleware.insert_before(
30
+ middleware_to_insert_before,
31
+ RooOnRails::Rack::SafeTimeouts
32
+ )
33
+ end
31
34
 
32
- if ENV.fetch('ROO_ON_RAILS_RACK_DEFLATE', 'YES').to_s =~ /\A(YES|TRUE|ON|1)\Z/i
33
- app.config.middleware.use ::Rack::Deflater
34
- end
35
+ if ENV.fetch('ROO_ON_RAILS_RACK_DEFLATE', 'YES').to_s =~ /\A(YES|TRUE|ON|1)\Z/i
36
+ app.config.middleware.use ::Rack::Deflater
37
+ end
35
38
 
36
- # Don't use SslEnforcer in test environment as it breaks Capybara
37
- unless Rails.env.test? ||
38
- ENV.fetch('ROO_ON_RAILS_DISABLE_SSL_ENFORCEMENT', '') =~ /\A(YES|TRUE|ON|1)\Z/i
39
- app.config.middleware.insert_before(
40
- middleware_to_insert_before,
41
- ::Rack::SslEnforcer
42
- )
43
- end
39
+ # Don't use SslEnforcer in test environment as it breaks Capybara
40
+ unless Rails.env.test? ||
41
+ ENV.fetch('ROO_ON_RAILS_DISABLE_SSL_ENFORCEMENT', '') =~ /\A(YES|TRUE|ON|1)\Z/i
42
+ app.config.middleware.insert_before(
43
+ middleware_to_insert_before,
44
+ ::Rack::SslEnforcer
45
+ )
44
46
  end
45
47
  end
46
48
  end
@@ -4,13 +4,14 @@ module RooOnRails
4
4
  module Railties
5
5
  class RooIdentity < Rails::Railtie
6
6
  initializer 'roo_on_rails.roo_identity.middleware' do |app|
7
- Rails.logger.with initializer: 'roo_on_rails.roo_identity' do |log|
8
- if RooOnRails::Rack::PopulateEnvFromJWT.configured?
9
- log.debug 'loading'
10
- _add_middleware(app, log)
11
- else
12
- log.warn 'not configured, roo.identity will be unavailable'
13
- end
7
+ if RooOnRails::Rack::PopulateEnvFromJWT.configured?
8
+ Rails.logger.debug '[roo_on_rails.roo_identity.middleware] loading'
9
+ _add_middleware(app, Rails.logger)
10
+ else
11
+ Rails.logger.warn(
12
+ '[roo_on_rails.roo_identity.middleware] ' \
13
+ ' not configured, roo.identity will be unavailable'
14
+ )
14
15
  end
15
16
  end
16
17
 
@@ -19,7 +20,10 @@ module RooOnRails
19
20
  def _add_middleware(app, log)
20
21
  app.config.middleware.use RooOnRails::Rack::PopulateEnvFromJWT, logger: log
21
22
  rescue LoadError
22
- log.error 'the json-jwt gem is not in the bundle so Roo Identity will not be available'
23
+ log.error(
24
+ '[roo_on_rails.roo_identity.middleware] ' \
25
+ 'the json-jwt gem is not in the bundle so Roo Identity will not be available'
26
+ )
23
27
  end
24
28
  end
25
29
  end
@@ -6,22 +6,19 @@ require 'roo_on_rails/sidekiq/sla_metric'
6
6
 
7
7
  module RooOnRails
8
8
  module Railties
9
- class Sidekiq < Rails::Railtie
9
+ class SidekiqIntegration < Rails::Railtie
10
10
  initializer 'roo_on_rails.sidekiq' do |app|
11
- Rails.logger.with initializer: 'roo_on_rails.sidekiq' do |log|
12
-
13
- unless RooOnRails::Config.sidekiq_enabled?
14
- log.debug 'skipping'
15
- next
16
- end
17
-
18
- log.debug 'loading'
19
- require 'hirefire-resource'
20
-
21
- config_sidekiq
22
- config_sidekiq_metrics
23
- config_hirefire(app)
11
+ unless RooOnRails::Config.sidekiq_enabled?
12
+ Rails.logger.debug '[roo_on_rails.sidekiq] skipping'
13
+ next
24
14
  end
15
+
16
+ Rails.logger.debug '[roo_on_rails.sidekiq] loading'
17
+ require 'hirefire-resource'
18
+
19
+ config_sidekiq
20
+ config_sidekiq_metrics
21
+ config_hirefire(app)
25
22
  end
26
23
 
27
24
  def config_hirefire(app)
@@ -40,11 +37,14 @@ module RooOnRails
40
37
  end
41
38
 
42
39
  def config_sidekiq_metrics
43
- require 'sidekiq/middleware/server/statsd'
40
+ # https://github.com/mperham/sidekiq/wiki/Pro-Metrics
41
+ require 'sidekiq-pro'
42
+ ::Sidekiq::Pro.dogstatsd = -> { RooOnRails.statsd }
44
43
 
45
- ::Sidekiq.configure_server do |x|
46
- x.server_middleware do |chain|
47
- chain.add ::Sidekiq::Middleware::Server::Statsd, client: RooOnRails.statsd
44
+ ::Sidekiq.configure_server do |config|
45
+ config.server_middleware do |chain|
46
+ require 'sidekiq/middleware/server/statsd'
47
+ chain.add ::Sidekiq::Middleware::Server::Statsd
48
48
  end
49
49
  end
50
50
  rescue LoadError
@@ -1,3 +1,3 @@
1
1
  module RooOnRails
2
- VERSION = '1.20.0'.freeze
2
+ VERSION = '2.1.0'.freeze
3
3
  end
@@ -22,23 +22,22 @@ Gem::Specification.new do |spec|
22
22
  spec.require_paths = ['lib']
23
23
 
24
24
  spec.add_runtime_dependency 'dotenv-rails', '~> 2.1'
25
- spec.add_runtime_dependency 'newrelic_rpm'
26
- spec.add_runtime_dependency 'rails', '>= 3.2.22', '< 5.2'
25
+ spec.add_runtime_dependency 'rails', '>= 3.2.22'
26
+ spec.add_runtime_dependency 'sprockets', '~>3.0'
27
27
  spec.add_runtime_dependency 'platform-api', '~> 2.0'
28
28
  spec.add_runtime_dependency 'hashie', '~> 3.4'
29
- spec.add_runtime_dependency 'rack-timeout'
29
+ spec.add_runtime_dependency 'rack-timeout', '>= 0.4.0'
30
30
  spec.add_runtime_dependency 'rack-ssl-enforcer'
31
31
  spec.add_runtime_dependency 'octokit'
32
32
  spec.add_runtime_dependency 'hirefire-resource'
33
- spec.add_runtime_dependency 'sidekiq'
33
+ spec.add_runtime_dependency 'sidekiq', '< 6.0.0'
34
34
  spec.add_runtime_dependency 'dogstatsd-ruby'
35
35
  spec.add_runtime_dependency 'omniauth-google-oauth2'
36
36
  spec.add_runtime_dependency 'faraday'
37
37
  spec.add_runtime_dependency 'faraday_middleware'
38
- spec.add_runtime_dependency 'routemaster-client'
39
38
  spec.add_runtime_dependency 'json-jwt', '~> 1.8'
40
39
 
41
- spec.add_development_dependency 'bundler', '~> 1.13'
40
+ spec.add_development_dependency 'bundler'
42
41
  spec.add_development_dependency 'rake', '~> 10.0'
43
42
  spec.add_development_dependency 'rspec', '~> 3.0'
44
43
  spec.add_development_dependency 'thor', '~> 0.19'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roo_on_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.20.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Letessier
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-27 00:00:00.000000000 Z
11
+ date: 2020-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv-rails
@@ -25,39 +25,33 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '2.1'
27
27
  - !ruby/object:Gem::Dependency
28
- name: newrelic_rpm
28
+ name: rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: 3.2.22
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: 3.2.22
41
41
  - !ruby/object:Gem::Dependency
42
- name: rails
42
+ name: sprockets
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: 3.2.22
48
- - - "<"
45
+ - - "~>"
49
46
  - !ruby/object:Gem::Version
50
- version: '5.2'
47
+ version: '3.0'
51
48
  type: :runtime
52
49
  prerelease: false
53
50
  version_requirements: !ruby/object:Gem::Requirement
54
51
  requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- version: 3.2.22
58
- - - "<"
52
+ - - "~>"
59
53
  - !ruby/object:Gem::Version
60
- version: '5.2'
54
+ version: '3.0'
61
55
  - !ruby/object:Gem::Dependency
62
56
  name: platform-api
63
57
  requirement: !ruby/object:Gem::Requirement
@@ -92,14 +86,14 @@ dependencies:
92
86
  requirements:
93
87
  - - ">="
94
88
  - !ruby/object:Gem::Version
95
- version: '0'
89
+ version: 0.4.0
96
90
  type: :runtime
97
91
  prerelease: false
98
92
  version_requirements: !ruby/object:Gem::Requirement
99
93
  requirements:
100
94
  - - ">="
101
95
  - !ruby/object:Gem::Version
102
- version: '0'
96
+ version: 0.4.0
103
97
  - !ruby/object:Gem::Dependency
104
98
  name: rack-ssl-enforcer
105
99
  requirement: !ruby/object:Gem::Requirement
@@ -146,16 +140,16 @@ dependencies:
146
140
  name: sidekiq
147
141
  requirement: !ruby/object:Gem::Requirement
148
142
  requirements:
149
- - - ">="
143
+ - - "<"
150
144
  - !ruby/object:Gem::Version
151
- version: '0'
145
+ version: 6.0.0
152
146
  type: :runtime
153
147
  prerelease: false
154
148
  version_requirements: !ruby/object:Gem::Requirement
155
149
  requirements:
156
- - - ">="
150
+ - - "<"
157
151
  - !ruby/object:Gem::Version
158
- version: '0'
152
+ version: 6.0.0
159
153
  - !ruby/object:Gem::Dependency
160
154
  name: dogstatsd-ruby
161
155
  requirement: !ruby/object:Gem::Requirement
@@ -212,20 +206,6 @@ dependencies:
212
206
  - - ">="
213
207
  - !ruby/object:Gem::Version
214
208
  version: '0'
215
- - !ruby/object:Gem::Dependency
216
- name: routemaster-client
217
- requirement: !ruby/object:Gem::Requirement
218
- requirements:
219
- - - ">="
220
- - !ruby/object:Gem::Version
221
- version: '0'
222
- type: :runtime
223
- prerelease: false
224
- version_requirements: !ruby/object:Gem::Requirement
225
- requirements:
226
- - - ">="
227
- - !ruby/object:Gem::Version
228
- version: '0'
229
209
  - !ruby/object:Gem::Dependency
230
210
  name: json-jwt
231
211
  requirement: !ruby/object:Gem::Requirement
@@ -244,16 +224,16 @@ dependencies:
244
224
  name: bundler
245
225
  requirement: !ruby/object:Gem::Requirement
246
226
  requirements:
247
- - - "~>"
227
+ - - ">="
248
228
  - !ruby/object:Gem::Version
249
- version: '1.13'
229
+ version: '0'
250
230
  type: :development
251
231
  prerelease: false
252
232
  version_requirements: !ruby/object:Gem::Requirement
253
233
  requirements:
254
- - - "~>"
234
+ - - ">="
255
235
  - !ruby/object:Gem::Version
256
- version: '1.13'
236
+ version: '0'
257
237
  - !ruby/object:Gem::Dependency
258
238
  name: rake
259
239
  requirement: !ruby/object:Gem::Requirement
@@ -396,7 +376,6 @@ files:
396
376
  - ".rspec"
397
377
  - ".rubocop.yml"
398
378
  - ".ruby-version"
399
- - ".travis.yml"
400
379
  - Appraisals
401
380
  - CHANGELOG.md
402
381
  - CONTRIBUTING.md
@@ -405,17 +384,17 @@ files:
405
384
  - LICENSE.txt
406
385
  - README.google_oauth2.md
407
386
  - README.md
408
- - README.routemaster_client.md
409
387
  - Rakefile
410
388
  - appraise
411
389
  - bin/console
412
390
  - bin/setup
413
391
  - exe/roo_on_rails
414
392
  - gemfiles/.bundle/config
415
- - gemfiles/rails_3.gemfile
416
393
  - gemfiles/rails_4.gemfile
417
394
  - gemfiles/rails_5.gemfile
418
395
  - gemfiles/rails_5_1.gemfile
396
+ - gemfiles/rails_5_2.gemfile
397
+ - gemfiles/rails_6.gemfile
419
398
  - lib/roo_on_rails.rb
420
399
  - lib/roo_on_rails/checks.rb
421
400
  - lib/roo_on_rails/checks/base.rb
@@ -459,16 +438,9 @@ files:
459
438
  - lib/roo_on_rails/railties/env.rb
460
439
  - lib/roo_on_rails/railties/google_oauth.rb
461
440
  - lib/roo_on_rails/railties/http.rb
462
- - lib/roo_on_rails/railties/logging.rb
463
- - lib/roo_on_rails/railties/new_relic.rb
464
441
  - lib/roo_on_rails/railties/rake_tasks.rb
465
442
  - lib/roo_on_rails/railties/roo_identity.rb
466
- - lib/roo_on_rails/railties/routemaster.rb
467
- - lib/roo_on_rails/railties/sidekiq.rb
468
- - lib/roo_on_rails/routemaster/lifecycle_events.rb
469
- - lib/roo_on_rails/routemaster/publish_lifecycle_events.rb
470
- - lib/roo_on_rails/routemaster/publisher.rb
471
- - lib/roo_on_rails/routemaster/publishers.rb
443
+ - lib/roo_on_rails/railties/sidekiq_integration.rb
472
444
  - lib/roo_on_rails/shell.rb
473
445
  - lib/roo_on_rails/sidekiq/loader.rb
474
446
  - lib/roo_on_rails/sidekiq/metrics_worker.rb
@@ -478,14 +450,13 @@ files:
478
450
  - lib/roo_on_rails/sidekiq/sla_metric.rb
479
451
  - lib/roo_on_rails/statsd.rb
480
452
  - lib/roo_on_rails/tasks/db.rake
481
- - lib/roo_on_rails/tasks/newrelic.rake
482
453
  - lib/roo_on_rails/version.rb
483
454
  - roo_on_rails.gemspec
484
455
  homepage: https://github.com/deliveroo/roo_on_rails
485
456
  licenses:
486
457
  - MIT
487
458
  metadata: {}
488
- post_install_message:
459
+ post_install_message:
489
460
  rdoc_options: []
490
461
  require_paths:
491
462
  - lib
@@ -500,9 +471,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
500
471
  - !ruby/object:Gem::Version
501
472
  version: '0'
502
473
  requirements: []
503
- rubyforge_project:
504
- rubygems_version: 2.7.6
505
- signing_key:
474
+ rubyforge_project:
475
+ rubygems_version: 2.6.11
476
+ signing_key:
506
477
  specification_version: 4
507
478
  summary: Scaffolding for building services
508
479
  test_files: []