timber.gemspec in timber-1.1.14 vs timber.gemspec in timber-2.0.0
- old
+ new
@@ -7,17 +7,43 @@
s.version = Timber::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Timber Technologies, Inc."]
s.email = ["hi@timber.io"]
s.homepage = "https://github.com/timberio/timber-ruby"
- s.summary = "Instant log gratification."
+ s.summary = "Log Better. Solve Problems Faster. https://timber.io"
s.required_ruby_version = '>= 1.9.0'
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
s.require_paths = ["lib"]
- s.add_dependency("msgpack", "~> 1.0")
- s.add_development_dependency("appraisal", "~> 2.1")
+ s.add_dependency('msgpack', '~> 1.0')
+
+ s.add_development_dependency('rails_stdout_logging')
+ s.add_development_dependency('rake')
+ s.add_development_dependency('rspec', '~> 3.4')
+ s.add_development_dependency('rspec-its')
+ s.add_development_dependency('timecop')
+
+ if RUBY_PLATFORM == "java"
+ s.add_development_dependency('activerecord-jdbcsqlite3-adapter')
+ else
+ s.add_development_dependency('sqlite3')
+ end
+
+ if RUBY_VERSION
+ ruby_version = Gem::Version.new(RUBY_VERSION)
+
+ if ruby_version < Gem::Version.new("2.0.0")
+ s.add_development_dependency('public_suffix', '~> 1.4.6')
+ s.add_development_dependency('term-ansicolor', '~> 1.3.2')
+ s.add_development_dependency('tins', '~> 1.5.0')
+ s.add_development_dependency('webmock', '~> 2.2.0')
+ else
+ s.add_development_dependency('webmock', '~> 2.3')
+ end
+ else
+ s.add_development_dependency('webmock', '~> 2.3')
+ end
end