simple_oauth.gemspec in simple_oauth-0.1.1 vs simple_oauth.gemspec in simple_oauth-0.1.2
- old
+ new
@@ -1,56 +1,19 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-
+require File.expand_path('../lib/simple_oauth', __FILE__)
-Gem::Specification.new do |s|
- s.name = %q{simple_oauth}
- s.version = "0.1.1"
-
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["Steve Richert"]
- s.date = %q{2010-10-13}
- s.description = %q{Simply builds and verifies OAuth headers}
- s.email = %q{steve.richert@gmail.com}
- s.extra_rdoc_files = [
- "LICENSE",
- "README.rdoc"
- ]
- s.files = [
- ".gitignore",
- "Gemfile",
- "Gemfile.lock",
- "LICENSE",
- "README.rdoc",
- "Rakefile",
- "init.rb",
- "lib/simple_oauth.rb",
- "simple_oauth.gemspec",
- "test/helper.rb",
- "test/rsa_private_key",
- "test/simple_oauth_test.rb"
- ]
- s.homepage = %q{http://github.com/laserlemon/simple_oauth}
- s.rdoc_options = ["--charset=UTF-8"]
- s.require_paths = ["lib"]
- s.rubygems_version = %q{1.3.7}
- s.summary = %q{Simply builds and verifies OAuth headers}
- s.test_files = [
- "test/helper.rb",
- "test/simple_oauth_test.rb"
- ]
-
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
-
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_development_dependency(%q<mocha>, [">= 0"])
- else
- s.add_dependency(%q<mocha>, [">= 0"])
- end
- else
- s.add_dependency(%q<mocha>, [">= 0"])
- end
+Gem::Specification.new do |spec|
+ spec.add_development_dependency('mocha', '>= 0')
+ spec.author = 'Steve Richert'
+ spec.description = 'Simply builds and verifies OAuth headers'
+ spec.email = 'steve.richert@gmail.com'
+ spec.extra_rdoc_files = ['README.rdoc']
+ spec.files = `git ls-files`.split("\n")
+ spec.homepage = 'http://github.com/laserlemon/simple_oauth'
+ spec.name = 'simple_oauth'
+ spec.rdoc_options = ['--charset=UTF-8']
+ spec.required_ruby_version = '>= 1.8.7'
+ spec.required_rubygems_version = '>= 1.2.0'
+ spec.summary = 'Simply builds and verifies OAuth headers'
+ spec.test_files = `git ls-files -- test/**/*_test.rb`.split("\n")
+ spec.version = SimpleOAuth::Version::STRING
end
-