ginger 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -52,3 +52,4 @@ ginger spec:unit</code></pre>
52
52
  h2. Contributors
53
53
 
54
54
  * "Adam Meehan":http://duckpunching.com/
55
+ * "Darragh Curran":http://peelmeagrape.net/
data/bin/ginger CHANGED
@@ -36,7 +36,10 @@ Ginger Scenario: #{scenario.name || index+1}
36
36
  SCENARIO
37
37
 
38
38
  File.open('.ginger', 'w') { |f| f.write index.to_s }
39
- system("rake #{ARGV.join(" ")}")
39
+
40
+ system("rake #{ARGV.join(" ")}") || # Standard
41
+ system("rake.bat #{ARGV.join(" ")}") || # Windows
42
+ raise('Missing: rake or rake.bat. You might want to fix that.')
40
43
  end
41
44
 
42
45
  File.delete(file_path) if File.exists?(file_path)
@@ -4,14 +4,6 @@ require 'ginger/scenario'
4
4
  require 'ginger/kernel'
5
5
 
6
6
  module Ginger
7
- module Version
8
- Major = 1
9
- Minor = 1
10
- Tiny = 0
11
-
12
- String = [Major, Minor, Tiny].join('.')
13
- end
14
-
15
7
  def self.configure(&block)
16
8
  yield Ginger::Configuration.instance
17
9
  end
@@ -19,4 +11,4 @@ end
19
11
 
20
12
  Kernel.send(:include, Ginger::Kernel)
21
13
 
22
- Ginger::Configuration.detect_scenario_file
14
+ Ginger::Configuration.detect_scenario_file
@@ -0,0 +1,7 @@
1
+ $LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'
2
+
3
+ require 'ginger'
4
+
5
+ Spec::Runner.configure do |config|
6
+ # ...
7
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ginger
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Allan
@@ -9,39 +9,52 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-19 00:00:00 +02:00
12
+ date: 2009-11-27 00:00:00 +11:00
13
13
  default_executable: ginger
14
- dependencies: []
15
-
16
- description: Run specs/tests multiple times through different gem versions.
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rspec
17
+ type: :development
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 1.2.9
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: yard
27
+ type: :development
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: "0"
34
+ version:
35
+ description: Run rake tasks multiple times with different gem versions.
17
36
  email: pat@freelancing-gods.com
18
37
  executables:
19
38
  - ginger
20
39
  extensions: []
21
40
 
22
- extra_rdoc_files: []
23
-
41
+ extra_rdoc_files:
42
+ - README.textile
24
43
  files:
25
- - lib/ginger/configuration.rb
26
- - lib/ginger/kernel.rb
27
- - lib/ginger/scenario.rb
28
- - lib/ginger.rb
29
44
  - LICENCE
30
45
  - README.textile
31
- - spec/ginger/configuration_spec.rb
32
- - spec/ginger/kernel_spec.rb
33
- - spec/ginger/scenario_spec.rb
34
- - spec/ginger_spec.rb
35
46
  - bin/ginger
47
+ - lib/ginger.rb
48
+ - lib/ginger/configuration.rb
49
+ - lib/ginger/kernel.rb
50
+ - lib/ginger/scenario.rb
36
51
  has_rdoc: true
37
52
  homepage: http://github.com/freelancing_god/ginger/tree
38
53
  licenses: []
39
54
 
40
55
  post_install_message:
41
56
  rdoc_options:
42
- - --title
43
- - Ginger
44
- - --line-numbers
57
+ - --charset=UTF-8
45
58
  require_paths:
46
59
  - lib
47
60
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -58,13 +71,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
71
  version:
59
72
  requirements: []
60
73
 
61
- rubyforge_project: ginger
74
+ rubyforge_project:
62
75
  rubygems_version: 1.3.5
63
76
  signing_key:
64
- specification_version: 2
65
- summary: Run specs/tests multiple times through different gem versions.
77
+ specification_version: 3
78
+ summary: Run rake tasks multiple times with different gem versions.
66
79
  test_files:
67
80
  - spec/ginger/configuration_spec.rb
68
81
  - spec/ginger/kernel_spec.rb
69
82
  - spec/ginger/scenario_spec.rb
70
83
  - spec/ginger_spec.rb
84
+ - spec/spec_helper.rb