forked from flexirest/flexirest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflexirest.gemspec
56 lines (50 loc) · 2.38 KB
/
flexirest.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'flexirest/version'
Gem::Specification.new do |spec|
spec.name = "flexirest"
spec.version = Flexirest::VERSION
spec.platform = Gem::Platform::RUBY
spec.authors = ["Andy Jeffries"]
spec.email = ["andy@andyjeffries.co.uk"]
spec.description = %q{Accessing REST services in a flexible way}
spec.summary = %q{This gem is for accessing REST services in a flexible way. ActiveResource already exists for this, but it doesn't work where the resource naming doesn't follow Rails conventions, it doesn't have in-built caching and it's not as flexible in general.}
spec.homepage = "https://andyjeffries.co.uk/"
spec.license = "MIT"
if spec.respond_to?(:metadata)
spec.metadata["source_code_uri"] = "https://github.com/flexirest/flexirest"
end
spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec", "~> 3"
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.1.0')
spec.add_development_dependency "webmock", "~> 2.1.0"
spec.add_development_dependency "rspec_junit_formatter", "= 0.2.3"
else
spec.add_development_dependency "webmock"
spec.add_development_dependency "rspec_junit_formatter"
end
spec.add_development_dependency "simplecov"
spec.add_development_dependency "simplecov-rcov"
spec.add_development_dependency 'coveralls'
spec.add_development_dependency "api-auth", ">= 1.3.1", "< 2.4"
spec.add_development_dependency 'typhoeus'
spec.add_development_dependency 'activemodel'
spec.add_development_dependency 'rest-client', ">= 1.8.0"
spec.add_runtime_dependency "mime-types"
spec.add_runtime_dependency "multi_json"
spec.add_runtime_dependency "crack"
spec.add_runtime_dependency "faraday"
# Use Gem::Version to parse the Ruby version for reliable comparison
# ActiveSupport 5+ requires Ruby 2.2.2
if Gem::Version.new(RUBY_VERSION) > Gem::Version.new('2.2.2')
spec.add_runtime_dependency "activesupport"
else
spec.add_runtime_dependency "activesupport", "< 5.0.0"
end
end