testgen 0.6 → 0.7

Sign up to get free protection for your applications and to get access to all the features.
data/.rvmrc CHANGED
@@ -1 +1 @@
1
- rvm 1.9.3-p194
1
+ rvm 1.9.3-p392@testgen --create
data/ChangeLog CHANGED
@@ -1,3 +1,6 @@
1
+ === Version 0.7 / 2013-3-24
2
+ * Fixed order of requires when using the --with-lib option
3
+
1
4
  === Version 0.6 / 2012-12-8
2
5
  * Removed the require of page-object/page_factory since it is no longer needed
3
6
  * Added support for building projects with the mohawk gem using --with-mohawk
@@ -15,12 +15,6 @@ Feature: Adding the --with-gametel flag
15
15
  And the file "sample/features/support/env.rb" should contain "require 'gametel'"
16
16
  And the file "sample/features/support/env.rb" should contain "World(Gametel::Navigation)"
17
17
 
18
- Scenario: Adding require all to the env.rb
19
- When I run `testgen project sample --with-gametel`
20
- Then a file named "sample/features/support/env.rb" should exist
21
- And the file "sample/features/support/env.rb" should contain "require 'require_all'"
22
- And the file "sample/features/support/env.rb" should contain "require_rel 'screens'"
23
-
24
18
  Scenario: Creating the keystore
25
19
  When I run `testgen project sample --with-gametel`
26
20
  Then a file named "sample/features/support/env.rb" should exist
@@ -1,4 +1,3 @@
1
- @focus
2
1
  Feature: Adding the --with-mohawk flag
3
2
 
4
3
  Scenario: Adding the childprocess and mohawk gems to Gemfile
@@ -6,20 +6,25 @@ require 'rspec-expectations'
6
6
  <% unless pageobject_driver.downcase == 'none' -%>
7
7
  require 'page-object'
8
8
  <% end -%>
9
- <% if with_lib == 'true' -%>
10
- require 'require_all'
11
-
12
- require_all 'lib'
13
- <% end -%>
14
9
 
15
10
  <% if with_gametel == 'true' -%>
16
11
  require 'brazenhead'
17
12
  require 'brazenhead/server'
18
13
  require 'gametel'
14
+ <% end -%>
15
+
16
+ <% if with_mohawk == 'true' -%>
17
+ require 'childprocess'
18
+ require 'mohawk'
19
+ <% end -%>
20
+
21
+ <% if with_lib == 'true' -%>
19
22
  require 'require_all'
20
23
 
21
- require_rel 'screens'
24
+ require_all 'lib'
25
+ <% end -%>
22
26
 
27
+ <% if with_gametel == 'true' -%>
23
28
  World(Gametel::Navigation)
24
29
 
25
30
  keystore = {
@@ -50,9 +55,6 @@ World(PageObject::PageFactory)
50
55
  <% end -%>
51
56
 
52
57
  <% if with_mohawk == 'true' -%>
53
- require 'childprocess'
54
- require 'mohawk'
55
-
56
58
  World(Mohawk::Navigation)
57
59
 
58
60
  Before do
@@ -1,3 +1,3 @@
1
1
  module TestGen
2
- VERSION = "0.6"
2
+ VERSION = "0.7"
3
3
  end
data/testgen.gemspec CHANGED
@@ -18,9 +18,9 @@ Gem::Specification.new do |s|
18
18
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
19
  s.require_paths = ["lib"]
20
20
 
21
- s.add_dependency 'thor', '>=0.16.0'
21
+ s.add_dependency 'thor', '>=0.17.0'
22
22
  s.add_dependency 'cucumber', '>=1.2.0'
23
- s.add_dependency 'rspec', '>=2.11.0'
23
+ s.add_dependency 'rspec', '>=2.13.0'
24
24
  s.add_dependency 'require_all'
25
25
 
26
26
  s.add_development_dependency 'aruba'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testgen
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.6'
4
+ version: '0.7'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-08 00:00:00.000000000 Z
12
+ date: 2013-03-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.16.0
21
+ version: 0.17.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
- version: 0.16.0
29
+ version: 0.17.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: cucumber
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - ! '>='
52
52
  - !ruby/object:Gem::Version
53
- version: 2.11.0
53
+ version: 2.13.0
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
@@ -58,7 +58,7 @@ dependencies:
58
58
  requirements:
59
59
  - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
- version: 2.11.0
61
+ version: 2.13.0
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: require_all
64
64
  requirement: !ruby/object:Gem::Requirement
@@ -139,7 +139,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
139
139
  version: '0'
140
140
  segments:
141
141
  - 0
142
- hash: -4519018053108254225
142
+ hash: 3275149058949778884
143
143
  required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  none: false
145
145
  requirements:
@@ -148,10 +148,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  version: '0'
149
149
  segments:
150
150
  - 0
151
- hash: -4519018053108254225
151
+ hash: 3275149058949778884
152
152
  requirements: []
153
153
  rubyforge_project: testgen
154
- rubygems_version: 1.8.24
154
+ rubygems_version: 1.8.25
155
155
  signing_key:
156
156
  specification_version: 3
157
157
  summary: Generators for testers using Cucumber