morph.gemspec in morph-0.2.2 vs morph.gemspec in morph-0.2.3
- old
+ new
@@ -1,83 +1,34 @@
+# -*- encoding: utf-8 -*-
-# Gem::Specification for Morph-0.2.2
-# Originally generated by Echoe
+Gem::Specification.new do |s|
+ s.name = %q{morph}
+ s.version = "0.2.3"
---- !ruby/object:Gem::Specification
-name: morph
-version: !ruby/object:Gem::Version
- version: 0.2.2
-platform: ruby
-authors:
-- Rob McKinnon
-autorequire:
-bindir: bin
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Rob McKinnon"]
+ s.date = %q{2009-03-14}
+ s.description = %q{Morph allows you to emerge class definitions via calling assignment methods; mix with Hpricot for screen scrapping fun.}
+ s.email = ["rob ~@nospam@~ rubyforge.org"]
+ s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README"]
+ s.files = ["CHANGELOG", "examples/forger.rb", "examples/hubbit.rb", "lib/morph.rb", "LICENSE", "README", "spec/lib/morph_spec.rb", "spec/morph_spec_helper.rb", "spec/spec.opts", "Manifest", "morph.gemspec", "Rakefile"]
+ s.has_rdoc = true
+ s.homepage = %q{}
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Morph", "--main", "README", "--inline-source"]
+ s.require_paths = ["lib"]
+ s.rubyforge_project = %q{morph}
+ s.rubygems_version = %q{1.3.1}
+ s.summary = %q{Morph allows you to emerge class definitions via calling assignment methods; mix with Hpricot for screen scrapping fun.}
-date: 2008-10-08 00:00:00 +01:00
-default_executable:
-dependencies:
-- !ruby/object:Gem::Dependency
- name: echoe
- type: :development
- version_requirement:
- version_requirements: !ruby/object:Gem::Requirement
- requirements:
- - - ">="
- - !ruby/object:Gem::Version
- version: "0"
- version:
-description: Morph allows you to emerge class definitions via calling assignment methods; mix with Hpricot for screen scrapping fun.
-email:
-- rob ~@nospam@~ rubyforge.org
-executables: []
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 2
-extensions: []
-
-extra_rdoc_files:
-- CHANGELOG
-- LICENSE
-- README
-files:
-- CHANGELOG
-- examples/forger.rb
-- examples/hubbit.rb
-- lib/morph.rb
-- LICENSE
-- README
-- spec/morph_spec.rb
-- spec/morph_spec_helper.rb
-- spec/spec.opts
-- Manifest
-- morph.gemspec
-- Rakefile
-has_rdoc: true
-homepage: ""
-post_install_message:
-rdoc_options:
-- --line-numbers
-- --inline-source
-- --title
-- Morph
-- --main
-- README
-- --inline-source
-require_paths:
-- lib
-required_ruby_version: !ruby/object:Gem::Requirement
- requirements:
- - - ">="
- - !ruby/object:Gem::Version
- version: "0"
- version:
-required_rubygems_version: !ruby/object:Gem::Requirement
- requirements:
- - - ">="
- - !ruby/object:Gem::Version
- version: "1.2"
- version:
-requirements: []
-
-rubyforge_project: morph
-rubygems_version: 1.3.0
-specification_version: 2
-summary: Morph allows you to emerge class definitions via calling assignment methods; mix with Hpricot for screen scrapping fun.
-test_files: []
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<activesupport>, [">= 2.0.2"])
+ else
+ s.add_dependency(%q<activesupport>, [">= 2.0.2"])
+ end
+ else
+ s.add_dependency(%q<activesupport>, [">= 2.0.2"])
+ end
+end