Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Compatibility with 1.8.7

  • Loading branch information...
commit b1a0946b7f5b7735b9a0c6fa461b3b2beae6e9c9 1 parent ee85b24
@txus authored
View
1  .gitignore
@@ -3,3 +3,4 @@ pkg/*
.bundle
coverage
tmp/*
+*.rbc
View
19 Gemfile.lock
@@ -1,13 +1,14 @@
PATH
remote: .
specs:
- stendhal (0.1.4)
+ stendhal (0.1.5)
GEM
remote: http://rubygems.org/
specs:
aruba (0.2.2)
builder (2.1.2)
+ configuration (1.1.0)
cucumber (0.8.5)
builder (~> 2.1.2)
diff-lcs (~> 1.1.2)
@@ -17,7 +18,19 @@ GEM
diff-lcs (1.1.2)
gherkin (2.1.5)
trollop (~> 1.16.2)
+ growl (1.0.3)
+ guard (0.2.2)
+ open_gem (~> 1.4.2)
+ thor (~> 0.14.3)
+ guard-rspec (0.1.8)
+ guard (>= 0.2.0)
json_pure (1.4.6)
+ launchy (0.3.7)
+ configuration (>= 0.0.5)
+ rake (>= 0.8.1)
+ open_gem (1.4.2)
+ launchy (~> 0.3.5)
+ rake (0.8.7)
rspec (2.0.1)
rspec-core (~> 2.0.1)
rspec-expectations (~> 2.0.1)
@@ -32,6 +45,7 @@ GEM
simplecov-html (>= 0.3.7)
simplecov-html (0.3.8)
term-ansicolor (1.0.5)
+ thor (0.14.4)
trollop (1.16.2)
PLATFORMS
@@ -40,6 +54,9 @@ PLATFORMS
DEPENDENCIES
aruba
cucumber (= 0.8.5)
+ growl
+ guard
+ guard-rspec
rspec
simplecov
stendhal!
View
15 Guardfile
@@ -0,0 +1,15 @@
+# A sample Guardfile
+# More info at http://github.com/guard/guard#readme
+
+guard 'rspec', :version => 2, :bundler => true do
+ watch('^spec/(.*)_spec.rb')
+ watch('^lib/(.*)\.rb') { |m| "spec/lib/#{m[1]}_spec.rb" }
+ watch('^spec/spec_helper.rb') { "spec" }
+
+ # Rails example
+ # watch('^app/(.*)\.rb') { |m| "spec/#{m[1]}_spec.rb" }
+ watch('^lib/(.*)\.rb') { |m| "spec/#{m[1]}_spec.rb" }
+ watch('^config/routes.rb') { "spec/routing" }
+ watch('^app/controllers/application_controller.rb') { "spec/controllers" }
+ watch('^spec/factories/(.*)\.rb') { "spec/models" }
+end
View
3  lib/stendhal/dsl.rb
@@ -12,7 +12,8 @@ def pending(*args,&blk)
else
options = {:pending => true}
end
- self.add_example Stendhal::Example.new(*args,options,&blk)
+ args << options
+ self.add_example Stendhal::Example.new(*args, &blk)
end
end
View
4 stendhal.gemspec
@@ -20,6 +20,10 @@ Gem::Specification.new do |s|
s.add_development_dependency "cucumber", "=0.8.5"
s.add_development_dependency "aruba"
+ s.add_development_dependency "guard"
+ s.add_development_dependency "guard-rspec"
+ s.add_development_dependency "growl"
+
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
Please sign in to comment.
Something went wrong with that request. Please try again.