ginger 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,7 +13,9 @@ module Ginger
13
13
 
14
14
  def self.detect_scenario_file
15
15
  ['.','spec','test'].each do |path|
16
- require "#{path}/ginger_scenarios" and break if File.exists?("#{path}/ginger_scenarios.rb")
16
+ if File.exists?("#{path}/ginger_scenarios.rb")
17
+ require File.expand_path("#{path}/ginger_scenarios") and break
18
+ end
17
19
  end
18
20
  end
19
21
  end
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/../spec_helper'
1
+ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
2
 
3
3
  describe Ginger::Configuration do
4
4
  it "should be a singleton class" do
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/../spec_helper'
1
+ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
2
 
3
3
  describe "Ginger::Kernel" do
4
4
  it "should description" do
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/../spec_helper'
1
+ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
2
 
3
3
  describe Ginger::Scenario do
4
4
  it "should allow for multiple gem/version pairs" do
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/spec_helper'
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
2
 
3
3
  describe "Ginger" do
4
4
  it "should add scenarios to the Configuration instance" do
@@ -1,4 +1,4 @@
1
- $LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'
1
+ $LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
2
2
 
3
3
  require 'ginger'
4
4
 
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ginger
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 2
8
+ - 1
9
+ version: 1.2.1
5
10
  platform: ruby
6
11
  authors:
7
12
  - Pat Allan
@@ -9,29 +14,37 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2009-11-27 00:00:00 +11:00
17
+ date: 2010-09-02 00:00:00 +09:00
13
18
  default_executable: ginger
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: rspec
17
- type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
20
25
  requirements:
21
26
  - - ">="
22
27
  - !ruby/object:Gem::Version
28
+ segments:
29
+ - 1
30
+ - 2
31
+ - 9
23
32
  version: 1.2.9
24
- version:
33
+ type: :development
34
+ version_requirements: *id001
25
35
  - !ruby/object:Gem::Dependency
26
36
  name: yard
27
- type: :development
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
30
40
  requirements:
31
41
  - - ">="
32
42
  - !ruby/object:Gem::Version
43
+ segments:
44
+ - 0
33
45
  version: "0"
34
- version:
46
+ type: :development
47
+ version_requirements: *id002
35
48
  description: Run rake tasks multiple times with different gem versions.
36
49
  email: pat@freelancing-gods.com
37
50
  executables:
@@ -48,6 +61,11 @@ files:
48
61
  - lib/ginger/configuration.rb
49
62
  - lib/ginger/kernel.rb
50
63
  - lib/ginger/scenario.rb
64
+ - spec/ginger/configuration_spec.rb
65
+ - spec/ginger/kernel_spec.rb
66
+ - spec/ginger/scenario_spec.rb
67
+ - spec/ginger_spec.rb
68
+ - spec/spec_helper.rb
51
69
  has_rdoc: true
52
70
  homepage: http://github.com/freelancing_god/ginger/tree
53
71
  licenses: []
@@ -58,21 +76,25 @@ rdoc_options:
58
76
  require_paths:
59
77
  - lib
60
78
  required_ruby_version: !ruby/object:Gem::Requirement
79
+ none: false
61
80
  requirements:
62
81
  - - ">="
63
82
  - !ruby/object:Gem::Version
83
+ segments:
84
+ - 0
64
85
  version: "0"
65
- version:
66
86
  required_rubygems_version: !ruby/object:Gem::Requirement
87
+ none: false
67
88
  requirements:
68
89
  - - ">="
69
90
  - !ruby/object:Gem::Version
91
+ segments:
92
+ - 0
70
93
  version: "0"
71
- version:
72
94
  requirements: []
73
95
 
74
96
  rubyforge_project:
75
- rubygems_version: 1.3.5
97
+ rubygems_version: 1.3.7
76
98
  signing_key:
77
99
  specification_version: 3
78
100
  summary: Run rake tasks multiple times with different gem versions.