tweetstream.gemspec in tweetstream-2.4.0 vs tweetstream.gemspec in tweetstream-2.5.0
- old
+ new
@@ -1,7 +1,9 @@
-# -*- encoding: utf-8 -*-
-require File.expand_path('../lib/tweetstream/version', __FILE__)
+# coding: utf-8
+lib = File.expand_path('../lib', __FILE__)
+$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
+require 'tweetstream/version'
Gem::Specification.new do |spec|
spec.name = 'tweetstream'
spec.version = TweetStream::VERSION
@@ -13,19 +15,16 @@
spec.licenses = ['MIT']
spec.add_dependency 'daemons', '~> 1.1'
spec.add_dependency 'em-twitter', '~> 0.2'
spec.add_dependency 'em-http-request', '~> 1.0.2'
- spec.add_dependency 'twitter', '~> 4.0'
+ spec.add_dependency 'twitter', '~> 4.5'
spec.add_dependency 'yajl-ruby', '~> 1.1'
+ spec.add_development_dependency 'bundler', '~> 1.0'
- spec.add_development_dependency 'guard-rspec'
- spec.add_development_dependency 'kramdown'
- spec.add_development_dependency 'pry'
- spec.add_development_dependency 'pry-debugger'
- spec.add_development_dependency 'simplecov'
+ spec.files = %w(.yardopts CHANGELOG.md CONTRIBUTING.md LICENSE.md README.md Rakefile tweetstream.gemspec)
+ spec.files += Dir.glob("lib/**/*.rb")
+ spec.files += Dir.glob("spec/**/*")
+ spec.test_files = Dir.glob("spec/**/*")
- spec.files = `git ls-files`.split("\n")
- spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
- spec.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
spec.require_paths = ["lib"]
end