gmail.gemspec in gmail-0.4.0 vs gmail.gemspec in gmail-0.4.2
- old
+ new
@@ -1,23 +1,34 @@
-# -*- ruby -*-
-$:.unshift(File.expand_path('../lib', __FILE__))
-require 'gmail/version'
-
-Gem::Specification.new do |s|
- s.name = 'gmail'
- s.version = Gmail.version
- s.homepage = 'http://github.com/nu7hatch/gmail'
- s.email = ['chris@nu7hat.ch']
- s.authors = ['BehindLogic', 'Chris Kowalik']
- s.summary = %q{A Rubyesque interface to Gmail, with all the tools you will need.}
- s.description = %q{A Rubyesque interface to Gmail, with all the tools you will need. Search, read and send multipart emails; archive, mark as read/unread, delete emails; and manage labels.}
- s.files = `git ls-files`.split("\n")
- s.test_files = `git ls-files -- {spec}/*`.split("\n")
- s.require_paths = %w[lib]
- s.extra_rdoc_files = %w[LICENSE README.md CHANGELOG.md TODO.md]
-
- s.add_runtime_dependency 'mime', '>= 0.1'
- s.add_runtime_dependency 'mail', '>= 2.2.1'
- s.add_runtime_dependency 'gmail_xoauth', '>= 0.3.0'
- s.add_development_dependency 'rspec', '~> 2.0'
- s.add_development_dependency 'mocha', '>= 0.9'
-end
+# -*- encoding: utf-8 -*-
+
+$:.push File.expand_path('../lib', __FILE__)
+require 'gmail/version'
+
+Gem::Specification.new do |s|
+ s.name = "gmail"
+ s.summary = "A Rubyesque interface to Gmail, with all the tools you will need."
+ s.description = "A Rubyesque interface to Gmail, with all the tools you will need.
+ Search, read and send multipart emails; archive, mark as read/unread,
+ delete emails; and manage labels.
+ "
+ s.version = Gmail::VERSION
+ s.platform = Gem::Platform::RUBY
+ s.authors = ["Chris Kowalik"]
+ s.email = ["chris@nu7hat.ch"]
+ s.homepage = "http://github.com/nu7hatch/gmail"
+
+ # runtime dependencies
+ s.add_dependency "mime", ">= 0.1"
+ s.add_dependency "mail", ">= 2.2.1"
+ s.add_dependency "gmail_xoauth", ">= 0.3.0"
+
+ # development dependencies
+ s.add_development_dependency "rake"
+ s.add_development_dependency "rspec", "~> 2.0"
+ s.add_development_dependency "mocha", ">= 0.9"
+ s.add_development_dependency "gem-release"
+
+ 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"]
+end