-
Notifications
You must be signed in to change notification settings - Fork 59
/
razorpay-ruby.gemspec
37 lines (32 loc) · 1.4 KB
/
razorpay-ruby.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
lib = File.expand_path('lib', Dir.pwd)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'razorpay/constants'
Gem::Specification.new do |spec|
spec.name = 'razorpay'
spec.version = Razorpay::VERSION
spec.authors = ['Abhay Rana', 'Harman Singh']
spec.email = ['[email protected]', '[email protected]']
spec.summary = "Razorpay's Ruby API"
spec.description = 'Official ruby bindings for the Razorpay API'
spec.homepage = 'https://razorpay.com/'
spec.license = 'MIT'
spec.files = `git ls-files`.split("\n")
spec.executables = spec.files.grep(/^bin/) { |f| File.basename(f) }
spec.test_files = spec.files.grep(/^(test|spec|features)/)
spec.require_paths = ['lib']
spec.add_dependency 'httparty', '~> 0.14'
spec.add_development_dependency 'coveralls_reborn', '~> 0.8'
spec.add_development_dependency 'minitest', '~> 5.11'
spec.add_development_dependency 'rake', '~> 12.0'
if RUBY_VERSION >= '2.1.0'
# rubocop is only run in the latest ruby build
# so we use the latest version and don't switch to a
# older version for 1.9.3
spec.add_development_dependency 'simplecov-cobertura'
spec.add_development_dependency 'rubocop', '~> 0.49'
spec.add_development_dependency 'webmock', '~> 3.0'
else
# Webmock 3.0 does not support Ruby 1.9.3
spec.add_development_dependency 'webmock', '~> 2.3'
end
end