forked from segmentio/analytics-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
analytics-ruby.gemspec
35 lines (31 loc) · 1.24 KB
/
analytics-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
require File.expand_path('../lib/segment/analytics/version', __FILE__)
Gem::Specification.new do |spec|
spec.name = 'analytics-ruby'
spec.version = Segment::Analytics::VERSION
spec.files = Dir.glob("{lib,bin}/**/*")
spec.require_paths = ['lib']
spec.bindir = 'bin'
spec.executables = ['analytics']
spec.summary = 'Segment.io analytics library'
spec.description = 'The Segment.io ruby analytics library'
spec.authors = ['Segment.io']
spec.email = '[email protected]'
spec.homepage = 'https://github.com/segmentio/analytics-ruby'
spec.license = 'MIT'
# Ruby 1.8 requires json
spec.add_dependency 'json', ['~> 1.7'] if RUBY_VERSION < "1.9"
# Used in the executable testing script
spec.add_development_dependency 'commander', '~> 4.4'
# Used in specs
spec.add_development_dependency 'rake', '~> 10.3'
spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_development_dependency 'tzinfo', '1.2.1'
spec.add_development_dependency 'activesupport', '~> 4.1.11'
if RUBY_VERSION >= '2.0' && RUBY_PLATFORM != 'java'
spec.add_development_dependency 'oj', '~> 3.6.2'
end
if RUBY_VERSION >= '2.1'
spec.add_development_dependency 'rubocop', '~> 0.51.0'
end
spec.add_development_dependency 'codecov', '~> 0.1.4'
end