test-harness 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.6
1
+ 0.4.7
data/lib/given.rb CHANGED
@@ -5,7 +5,7 @@ class TestHarness
5
5
 
6
6
  Dir.glob(Rails.root.join(TestHarness.autoload_path, 'given/*.rb')).each do |file|
7
7
  component = File.basename(file, '.rb')
8
- require "%s/given/%s" % [TestHarness.autoload_path, component]
8
+ require Rails.root.join(TestHarness.autoload_path, 'given', component)
9
9
  klass = ("TestHarness::Given::%s" % File.basename(file, '.rb').camelize).constantize
10
10
  include klass
11
11
  end
data/lib/ui_helper.rb CHANGED
@@ -3,7 +3,7 @@ class TestHarness
3
3
  def self.register_ui_components
4
4
  Dir.glob(Rails.root.join(TestHarness.autoload_path, 'ui/*.rb')).each do |file|
5
5
  component = File.basename(file, '.rb')
6
- require "%s/ui/%s" % [TestHarness.autoload_path, component]
6
+ require Rails.root.join(TestHarness.autoload_path, 'ui', component)
7
7
  klass = ("TestHarness::%s::%s" % [component.camelize, self.name.split('::').last]).constantize
8
8
  TestHarness.register_instance_option(self, component, klass.new)
9
9
  klass.send(:include, TestHarness::UIComponentHelper)
data/test-harness.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "test-harness"
8
- s.version = "0.4.6"
8
+ s.version = "0.4.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Maher Hawash"]
12
- s.date = "2012-09-11"
12
+ s.date = "2012-10-17"
13
13
  s.description = "A test harness for rspec and cucumber which allows for separating responsibility between setting up the context and interacting with the browser, and cleaning up the step definition files."
14
14
  s.email = "gmhawash@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -42,7 +42,7 @@ Gem::Specification.new do |s|
42
42
  s.homepage = "http://github.com/gmhawash/test_harness"
43
43
  s.licenses = ["MIT"]
44
44
  s.require_paths = ["lib"]
45
- s.rubygems_version = "1.8.15"
45
+ s.rubygems_version = "1.8.24"
46
46
  s.summary = "Mini test harness for rspec and cucumber"
47
47
 
48
48
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test-harness
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 6
10
- version: 0.4.6
9
+ - 7
10
+ version: 0.4.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Maher Hawash
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-09-11 00:00:00 Z
18
+ date: 2012-10-17 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  version_requirements: &id001 !ruby/object:Gem::Requirement
@@ -28,9 +28,9 @@ dependencies:
28
28
  - 0
29
29
  version: "0"
30
30
  prerelease: false
31
- requirement: *id001
32
31
  type: :development
33
32
  name: rspec
33
+ requirement: *id001
34
34
  - !ruby/object:Gem::Dependency
35
35
  version_requirements: &id002 !ruby/object:Gem::Requirement
36
36
  none: false
@@ -42,9 +42,9 @@ dependencies:
42
42
  - 0
43
43
  version: "0"
44
44
  prerelease: false
45
- requirement: *id002
46
45
  type: :development
47
46
  name: rdoc
47
+ requirement: *id002
48
48
  - !ruby/object:Gem::Dependency
49
49
  version_requirements: &id003 !ruby/object:Gem::Requirement
50
50
  none: false
@@ -56,9 +56,9 @@ dependencies:
56
56
  - 0
57
57
  version: "0"
58
58
  prerelease: false
59
- requirement: *id003
60
59
  type: :development
61
60
  name: bundler
61
+ requirement: *id003
62
62
  - !ruby/object:Gem::Dependency
63
63
  version_requirements: &id004 !ruby/object:Gem::Requirement
64
64
  none: false
@@ -70,9 +70,9 @@ dependencies:
70
70
  - 0
71
71
  version: "0"
72
72
  prerelease: false
73
- requirement: *id004
74
73
  type: :development
75
74
  name: jeweler
75
+ requirement: *id004
76
76
  - !ruby/object:Gem::Dependency
77
77
  version_requirements: &id005 !ruby/object:Gem::Requirement
78
78
  none: false
@@ -84,9 +84,9 @@ dependencies:
84
84
  - 0
85
85
  version: "0"
86
86
  prerelease: false
87
- requirement: *id005
88
87
  type: :development
89
88
  name: gemcutter
89
+ requirement: *id005
90
90
  description: A test harness for rspec and cucumber which allows for separating responsibility between setting up the context and interacting with the browser, and cleaning up the step definition files.
91
91
  email: gmhawash@gmail.com
92
92
  executables: []
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  requirements: []
148
148
 
149
149
  rubyforge_project:
150
- rubygems_version: 1.8.15
150
+ rubygems_version: 1.8.24
151
151
  signing_key:
152
152
  specification_version: 3
153
153
  summary: Mini test harness for rspec and cucumber