Sha256: c70fa6759487ef699d40bfb7f86ec5e418c942cbd11a5131621a889af6e7cb1c

Contents?: true

Size: 228 Bytes

Versions: 18

Compression:

Stored size: 228 Bytes

Contents

class GrapeVersion
  class << self
    def current_version
      Grape::VERSION
    end

    def satisfy?(requirement)
      Gem::Dependency.new('grape-test', requirement).match?('grape-test', current_version)
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
grape-swagger-0.26.1 spec/support/grape_version.rb
grape-swagger-0.26.0 spec/support/grape_version.rb
grape-swagger-0.25.3 spec/support/grape_version.rb
grape-swagger-0.25.2 spec/support/grape_version.rb
grape-swagger-0.25.1 spec/support/grape_version.rb
grape-swagger-0.25.0 spec/support/grape_version.rb
grape-swagger-0.24.0 spec/support/grape_version.rb
grape-swagger-0.23.0 spec/support/grape_version.rb
grape-swagger-0.22.0 spec/support/grape_version.rb
grape-swagger-0.21.0 spec/support/grape_version.rb
grape-swagger-0.20.3 spec/support/grape_version.rb
grape-swagger-0.20.2 spec/support/grape_version.rb
grape-swagger-0.20.1 spec/support/grape_version.rb
grape-swagger-0.20.0 spec/support/grape_version.rb
grape-swagger-0.11.0 spec/support/grape_version.rb
grape-swagger-0.10.5 spec/support/grape_version.rb
grape-swagger-0.10.4 spec/support/grape_version.rb
grape-swagger-0.10.2 spec/support/grape_version.rb