summaryrefslogtreecommitdiff
path: root/hashie.gemspec
diff options
context:
space:
mode:
authorDaniel Neighman <has.sox@gmail.com>2010-06-15 14:16:25 +0800
committerMichael Bleigh <michael@intridea.com>2010-06-22 22:00:39 +0800
commit0c85e9482f0ca0232d7cf7cf6577a359ea07ffed (patch)
tree34a2dd820c3e78721b3931a87b8a91b28f1091eb /hashie.gemspec
parenta026498fb732eeb8ad9bdb11bf28d21d8c0e3467 (diff)
downloadhashie-0c85e9482f0ca0232d7cf7cf6577a359ea07ffed.tar.gz
Adds a fix for json generation
Diffstat (limited to 'hashie.gemspec')
-rw-r--r--hashie.gemspec43
1 files changed, 5 insertions, 38 deletions
diff --git a/hashie.gemspec b/hashie.gemspec
index 5ac9c63..846bca4 100644
--- a/hashie.gemspec
+++ b/hashie.gemspec
@@ -1,11 +1,10 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-
+require 'bundler'
+
Gem::Specification.new do |s|
s.name = %q{hashie}
- s.version = "0.2.0"
+ s.version = File.read("VERSION")
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Michael Bleigh"]
@@ -16,27 +15,8 @@ Gem::Specification.new do |s|
"LICENSE",
"README.rdoc"
]
- s.files = [
- ".document",
- ".gitignore",
- "LICENSE",
- "README.rdoc",
- "Rakefile",
- "VERSION",
- "hashie.gemspec",
- "lib/hashie.rb",
- "lib/hashie/clash.rb",
- "lib/hashie/dash.rb",
- "lib/hashie/hash.rb",
- "lib/hashie/hash_extensions.rb",
- "lib/hashie/mash.rb",
- "spec/hashie/clash_spec.rb",
- "spec/hashie/dash_spec.rb",
- "spec/hashie/hash_spec.rb",
- "spec/hashie/mash_spec.rb",
- "spec/spec.opts",
- "spec/spec_helper.rb"
- ]
+ s.files = Dir["**/*"]
+ s.add_bundler_dependencies
s.homepage = %q{http://github.com/intridea/hashie}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
@@ -49,18 +29,5 @@ Gem::Specification.new do |s|
"spec/hashie/mash_spec.rb",
"spec/spec_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::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
- s.add_development_dependency(%q<rspec>, [">= 0"])
- else
- s.add_dependency(%q<rspec>, [">= 0"])
- end
- else
- s.add_dependency(%q<rspec>, [">= 0"])
- end
end