Permalink
Browse files

bundler setup

  • Loading branch information...
1 parent 4cf25de commit 3af1699c86060cbf4313f06656e729b3818a9d08 @cyu committed Jun 4, 2011
Showing with 15 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +7 −0 Gemfile
  3. +3 −0 Rakefile
  4. +4 −1 rack-cors.gemspec
View
1 .gitignore
@@ -1 +1,2 @@
pkg
+Gemfile.lock
View
7 Gemfile
@@ -0,0 +1,7 @@
+source :rubygems
+
+gemspec
+
+group :test do
+ gem 'shoulda'
+end
View
3 Rakefile
@@ -6,8 +6,11 @@ begin
gemspec.email = "csyu77@gmail.com"
gemspec.homepage = "http://github.com/cyu/rack-cors"
gemspec.authors = ["Calvin Yu"]
+ gemspec.add_dependency 'rack'
+ gemspec.files.exclude 'Gemfile'
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: gem install jeweler"
end
+
View
5 rack-cors.gemspec
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Calvin Yu"]
- s.date = %q{2010-08-26}
+ s.date = %q{2011-06-04}
s.email = %q{csyu77@gmail.com}
s.extra_rdoc_files = [
"README.rdoc"
@@ -38,9 +38,12 @@ Gem::Specification.new do |s|
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<rack>, [">= 0"])
else
+ s.add_dependency(%q<rack>, [">= 0"])
end
else
+ s.add_dependency(%q<rack>, [">= 0"])
end
end

0 comments on commit 3af1699

Please sign in to comment.