whirlwind 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/History.txt +2 -0
  2. data/Rakefile +1 -1
  3. data/lib/cucumber.rb +0 -5
  4. data/lib/whirlwind.rb +20 -11
  5. metadata +19 -19
@@ -1,3 +1,5 @@
1
+ === 0.1.4 / 2011-11-15
2
+ * for windows require ffi -v 1.0.9
1
3
  === 0.1.3 / 2011-11-15
2
4
  * Bug fixes for windows
3
5
  * Removed rmagick dependancy for windows
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ Hoe.spec 'whirlwind' do
8
8
  extra_deps << ['ffi', '1.0.9']
9
9
  extra_deps << ['sinatra']
10
10
  extra_deps << ['platform_helpers', '0.1.3']
11
- extra_deps << ['cucumber', '1.1.0']
11
+ extra_deps << ['cucumber', '1.1.2']
12
12
  extra_deps << ['rspec', '2.7.0']
13
13
  extra_deps << ['watir-webdriver', '0.3.5']
14
14
  extra_deps << ['wait_for', '0.1.1']
@@ -1,8 +1,3 @@
1
- class Object
2
- #require 'ruby-debug';debugger
3
- #p 'a'
4
- end
5
-
6
1
  module CucumberExt
7
2
  def self.included(obj)
8
3
  #add_set_images_to_results(obj)
@@ -1,21 +1,30 @@
1
- base = File.expand_path(File.dirname(__FILE__) + '/..')
1
+ require 'rubygems'
2
2
 
3
- require 'platform_helpers'
4
- require base + '/lib/cucumber'
5
- require 'watir-webdriver'
6
- require base + '/lib/watir'
7
- require base + '/lib/rspec'
8
- require 'wait_for'
9
- require base + '/lib/cucumber/formatter/html_image'
10
- require 'rspec'
11
- require 'find'
3
+ #require 'ffi'
12
4
 
13
5
  if RUBY_PLATFORM =~ /win/i or RUBY_PLATFORM =~ /mingw/i
14
6
  require 'win32/screenshot'
7
+ gem 'ffi', '1.0.9'
15
8
  else
16
9
  require 'RMagick'
17
10
  end
18
11
 
12
+
13
+
14
+ gem 'cucumber', '1.1.2'
15
+ require 'bundler/setup'
16
+
17
+ require 'platform_helpers'
18
+ require_relative 'cucumber'
19
+ require 'watir-webdriver'
20
+ require_relative 'watir'
21
+ require_relative 'rspec'
22
+ require 'wait_for'
23
+ require_relative 'cucumber/formatter/html_image'
24
+ require 'rspec'
25
+ require 'find'
26
+
27
+
19
28
  Before do |i|
20
29
  load_fixtures
21
30
 
@@ -39,5 +48,5 @@ end
39
48
 
40
49
  class Whirlwind
41
50
  include RSpec::Core::DSL
42
- VERSION = '0.1.3'
51
+ VERSION = '0.1.4'
43
52
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whirlwind
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-15 00:00:00.000000000 Z
12
+ date: 2011-11-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ffi
16
- requirement: &80755730 !ruby/object:Gem::Requirement
16
+ requirement: &73109450 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - =
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.0.9
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *80755730
24
+ version_requirements: *73109450
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: sinatra
27
- requirement: &80755520 !ruby/object:Gem::Requirement
27
+ requirement: &73398190 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *80755520
35
+ version_requirements: *73398190
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: platform_helpers
38
- requirement: &80755240 !ruby/object:Gem::Requirement
38
+ requirement: &73397960 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - =
@@ -43,21 +43,21 @@ dependencies:
43
43
  version: 0.1.3
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *80755240
46
+ version_requirements: *73397960
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: cucumber
49
- requirement: &80755000 !ruby/object:Gem::Requirement
49
+ requirement: &73397750 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - =
53
53
  - !ruby/object:Gem::Version
54
- version: 1.1.0
54
+ version: 1.1.2
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *80755000
57
+ version_requirements: *73397750
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: rspec
60
- requirement: &80754730 !ruby/object:Gem::Requirement
60
+ requirement: &73397380 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - =
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 2.7.0
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *80754730
68
+ version_requirements: *73397380
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: watir-webdriver
71
- requirement: &80754480 !ruby/object:Gem::Requirement
71
+ requirement: &73396770 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - =
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: 0.3.5
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *80754480
79
+ version_requirements: *73396770
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: wait_for
82
- requirement: &80754240 !ruby/object:Gem::Requirement
82
+ requirement: &73396430 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - =
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: 0.1.1
88
88
  type: :runtime
89
89
  prerelease: false
90
- version_requirements: *80754240
90
+ version_requirements: *73396430
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: hoe
93
- requirement: &80753970 !ruby/object:Gem::Requirement
93
+ requirement: &73395990 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ~>
@@ -98,7 +98,7 @@ dependencies:
98
98
  version: '2.12'
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *80753970
101
+ version_requirements: *73395990
102
102
  description: ''
103
103
  email:
104
104
  - cliff.cyphers@gmail.com