From 494d80fc668c359c26ab23fc7860f5817781109a Mon Sep 17 00:00:00 2001 From: Christian Williams Date: Thu, 26 Nov 2009 12:11:25 -0500 Subject: [PATCH] Add geminstaller.yml to require jeweler. Add rspec, rack, and thin requirements for gem. --- Rakefile | 6 +++++- geminstaller.yml | 6 ++++++ jasmine | 2 +- jasmine-ruby.gemspec | 25 +++++++++++++++++-------- 4 files changed, 29 insertions(+), 10 deletions(-) create mode 100644 geminstaller.yml diff --git a/Rakefile b/Rakefile index 808e8ad..10c3822 100644 --- a/Rakefile +++ b/Rakefile @@ -11,7 +11,11 @@ namespace :jeweler do gemspec.homepage = "http://github.com/ragaskar/jasmine-ruby" gemspec.description = "Jasmine Ruby" gemspec.authors = ["Rajan Agaskar"] - gemspec.files = FileList.new('bin/*', 'lib/**/**', 'jasmine/lib/**', 'jasmine/contrib/ruby/**', 'tasks/**', 'templates/**') + gemspec.files = FileList.new('bin/*', 'lib/**/**', 'jasmine/lib/**', 'jasmine/contrib/ruby/**', 'tasks/**', 'templates/**') + + gemspec.add_dependency('rspec', '>= 1.1.5') + gemspec.add_dependency('rack', '>= 1.0.0') + gemspec.add_dependency('thin', '>= 1.2.4') end Jeweler::GemcutterTasks.new rescue LoadError diff --git a/geminstaller.yml b/geminstaller.yml new file mode 100644 index 0000000..f33b27a --- /dev/null +++ b/geminstaller.yml @@ -0,0 +1,6 @@ +--- +gems: +- name: rake + version: 0.8.7 +- name: jeweler + version: 1.4.0 diff --git a/jasmine b/jasmine index 8feb285..701ee71 160000 --- a/jasmine +++ b/jasmine @@ -1 +1 @@ -Subproject commit 8feb285ca839cb383eb433c5660ab0f98e86704b +Subproject commit 701ee719e6e1e7d9f2ac84707302cb430ac123e4 diff --git a/jasmine-ruby.gemspec b/jasmine-ruby.gemspec index 5850a4c..98e2f69 100644 --- a/jasmine-ruby.gemspec +++ b/jasmine-ruby.gemspec @@ -1,6 +1,6 @@ # Generated by jeweler -# DO NOT EDIT THIS FILE -# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec` +# DO NOT EDIT THIS FILE DIRECTLY +# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command # -*- encoding: utf-8 -*- Gem::Specification.new do |s| @@ -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 = ["Rajan Agaskar"] - s.date = %q{2009-10-30} + s.date = %q{2009-11-26} s.default_executable = %q{jasmine} s.description = %q{Jasmine Ruby} s.email = %q{ragaskar@gmail.com} @@ -27,22 +27,21 @@ Gem::Specification.new do |s| "jasmine/lib/jasmine-0.10.0.js", "jasmine/lib/jasmine.css", "jasmine/lib/json2.js", + "lib/jasmine-ruby.rb", "lib/jasmine-ruby/jasmine_helper.rb", "lib/jasmine-ruby/jasmine_meta_spec.rb", "lib/jasmine-ruby/jasmine_runner.rb", "lib/jasmine-ruby/jasmine_spec_builder.rb", "lib/jasmine-ruby/run.html", - "lib/jasmine-ruby.rb", - "tasks/jasmine.rake", + "templates/Rakefile", "templates/example_spec.js", - "templates/spec_helper.js", "templates/jasmine_helper.rb", - "templates/Rakefile" + "templates/spec_helper.js" ] s.homepage = %q{http://github.com/ragaskar/jasmine-ruby} s.rdoc_options = ["--charset=UTF-8"] s.require_paths = ["lib"] - s.rubygems_version = %q{1.3.4} + s.rubygems_version = %q{1.3.5} s.summary = %q{Jasmine Ruby} s.test_files = [ "spec/jasmine_spec.rb" @@ -53,8 +52,18 @@ Gem::Specification.new do |s| s.specification_version = 3 if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then + s.add_runtime_dependency(%q, [">= 1.1.5"]) + s.add_runtime_dependency(%q, [">= 1.0.0"]) + s.add_runtime_dependency(%q, [">= 1.2.4"]) else + s.add_dependency(%q, [">= 1.1.5"]) + s.add_dependency(%q, [">= 1.0.0"]) + s.add_dependency(%q, [">= 1.2.4"]) end else + s.add_dependency(%q, [">= 1.1.5"]) + s.add_dependency(%q, [">= 1.0.0"]) + s.add_dependency(%q, [">= 1.2.4"]) end end +