Sha256: 7c92dc9fa3f0485ea4d2aef52e63516c69bb2a48f5df76b9212c2b230a4539d3

Contents?: true

Size: 423 Bytes

Versions: 38

Compression:

Stored size: 423 Bytes

Contents

# Detects route changes
class Jets::Resource::ApiGateway::RestApi::Routes
  class Change
    autoload :Base, 'jets/resource/api_gateway/rest_api/routes/change/base'
    autoload :To, 'jets/resource/api_gateway/rest_api/routes/change/to'
    autoload :Variable, 'jets/resource/api_gateway/rest_api/routes/change/variable'

    def changed?
      To.changed? || Variable.changed? || ENV['JETS_REPLACE_API']
    end
  end
end

Version data entries

38 entries across 38 versions & 2 rubygems

Version Path
jets-1.9.7 lib/jets/resource/api_gateway/rest_api/routes/change.rb
jets-1.9.6 lib/jets/resource/api_gateway/rest_api/routes/change.rb
jets-1.9.5 lib/jets/resource/api_gateway/rest_api/routes/change.rb
jets-1.9.4 lib/jets/resource/api_gateway/rest_api/routes/change.rb
jets-1.9.3 lib/jets/resource/api_gateway/rest_api/routes/change.rb
jets-1.9.2 lib/jets/resource/api_gateway/rest_api/routes/change.rb
jets-1.9.1 lib/jets/resource/api_gateway/rest_api/routes/change.rb
jets-1.9.0 lib/jets/resource/api_gateway/rest_api/routes/change.rb
jets-1.8.14 lib/jets/resource/api_gateway/rest_api/routes/change.rb
jets-1.8.13 lib/jets/resource/api_gateway/rest_api/routes/change.rb
jets-1.8.12 lib/jets/resource/api_gateway/rest_api/routes/change.rb
jets-1.8.11 lib/jets/resource/api_gateway/rest_api/routes/change.rb
jets-1.8.10 lib/jets/resource/api_gateway/rest_api/routes/change.rb
jets-1.8.9 lib/jets/resource/api_gateway/rest_api/routes/change.rb
jets-1.8.8 lib/jets/resource/api_gateway/rest_api/routes/change.rb
jets-1.8.7 lib/jets/resource/api_gateway/rest_api/routes/change.rb
jets-1.8.6 lib/jets/resource/api_gateway/rest_api/routes/change.rb
jets-1.8.5 lib/jets/resource/api_gateway/rest_api/routes/change.rb
jets-1.8.4 lib/jets/resource/api_gateway/rest_api/routes/change.rb
jets-1.8.3 lib/jets/resource/api_gateway/rest_api/routes/change.rb