smile.gemspec in smile-0.4.3 vs smile.gemspec in smile-0.4.4

- old
+ new

@@ -1,66 +1,43 @@ -# Generated by jeweler -# DO NOT EDIT THIS FILE -# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec` # -*- encoding: utf-8 -*- +require File.expand_path("../lib/smile/version", __FILE__) Gem::Specification.new do |s| - s.name = %q{smile} - s.version = "0.4.3" + s.name = %q{smile} + s.version = Smile::VERSION + s.platform = Gem::Platform::RUBY + s.authors = ["cajun"] + s.email = %q{zac@kleinpeter.org} + s.date = %q{2010-07-09} + s.homepage = %q{http://github.com/cajun/smile} + s.summary = %q{Simple API for talking to SmugMug} - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["cajun"] - s.date = %q{2010-07-09} - s.default_executable = %q{smile} - s.email = %q{zac@kleinpeter.org} - s.executables = ["smile"] + s.rdoc_options = ["--charset=UTF-8"] + + s.required_rubygems_version = ">= 1.3.6" + s.rubyforge_project = 'smile' + + s.add_dependency 'rest-client', ">= 0" + s.add_dependency 'activesupport', ">= 3.0" + s.add_dependency 'i18n' + s.add_dependency 'yajl-ruby', '>= 0.7.8' + + s.add_development_dependency "bundler", ">= 1.0.0" + s.add_development_dependency "shindo" + s.add_development_dependency "rspec" + s.add_development_dependency "rr" + + + s.files = `git ls-files`.split("\n") + # s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact + s.require_path = 'lib' + s.extra_rdoc_files = [ "LICENSE", "README.rdoc" ] - s.files = [ - ".gitignore", - "LICENSE", - "README.rdoc", - "Rakefile", - "VERSION.yml", - "lib/smile.rb", - "lib/smile/album.rb", - "lib/smile/base.rb", - "lib/smile/common.rb", - "lib/smile/exception.rb", - "lib/smile/json.rb", - "lib/smile/param_converter.rb", - "lib/smile/photo.rb", - "lib/smile/session.rb", - "lib/smile/smug.rb", - "smile.gemspec", - "test/smile_test.rb", - "test/test_helper.rb" - ] - s.homepage = %q{http://github.com/cajun/smile} - s.rdoc_options = ["--charset=UTF-8"] - s.require_paths = ["lib"] - s.rubyforge_project = %q{cajun-gems} - s.rubygems_version = %q{1.3.7} - s.summary = %q{Simple API for talking to SmugMug} + s.test_files = [ "test/smile_test.rb", "test/test_helper.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_runtime_dependency(%q<rest-client>, [">= 0"]) - s.add_runtime_dependency(%q<activesupport>, [">= 0"]) - else - s.add_dependency(%q<rest-client>, [">= 0"]) - s.add_dependency(%q<activesupport>, [">= 0"]) - end - else - s.add_dependency(%q<rest-client>, [">= 0"]) - s.add_dependency(%q<activesupport>, [">= 0"]) - end end