watir-rspec 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +8 -4
- data/Gemfile +5 -5
- data/README.md +1 -1
- data/Rakefile +1 -1
- data/lib/watir/rspec/cli.rb +5 -1
- data/lib/watir/rspec/version.rb +1 -1
- data/spec/watir/rspec/matchers/base_matcher_spec.rb +4 -0
- data/watir-rspec.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b92ef9c21f1b04b64a0ffbd2f0d65e675f64b5fc
|
4
|
+
data.tar.gz: 77eaffca4183a8c8715cdb747940e0cf50bed0c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74222f68036ac04aa133a2e82a7544ad685bff5ecb073cca39eea4c39fb1b806f10bfa6266c9d119d5313d264c9387e285715d8660ccd92df6917cd8b1518901
|
7
|
+
data.tar.gz: 943a90d167cbe9d87eb1cef0d270d110746c760939b4d7d834e50b3194abcc6e6fc6ec1b61f43ed0788801fbf523dfa2f77864f958f7d8e202014a3b59bc7617
|
data/CHANGES.md
CHANGED
@@ -1,9 +1,13 @@
|
|
1
|
+
### 1.1.0 - 2013/10/05
|
2
|
+
|
3
|
+
* Add --force option for watir-rspec command line interface to force the installation even if it seems to be already installed for the project.
|
4
|
+
|
1
5
|
### 1.0.1 - 2013/09/21
|
2
6
|
|
3
|
-
*
|
7
|
+
* Documentation tweaks.
|
4
8
|
|
5
9
|
### 1.0.0 - 2013/09/21
|
6
10
|
|
7
|
-
*
|
8
|
-
*
|
9
|
-
* README revamp
|
11
|
+
* Add installation binary watir-rspec for easier installation of the gem.
|
12
|
+
* Many internal changes.
|
13
|
+
* README revamp.
|
data/Gemfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
source
|
2
|
-
|
3
|
-
gemspec
|
4
|
-
|
5
|
-
gem
|
1
|
+
source "https://rubygems.org"
|
2
|
+
|
3
|
+
gemspec
|
4
|
+
|
5
|
+
gem "coveralls", require: false
|
data/README.md
CHANGED
data/Rakefile
CHANGED
data/lib/watir/rspec/cli.rb
CHANGED
@@ -15,6 +15,10 @@ Usage: watir-rspec [options] install"
|
|
15
15
|
opts.on("-r", "--[no-]rails", "Force to install watir-rspec for Rails application if the detection fails") do |v|
|
16
16
|
@options[:rails] = v
|
17
17
|
end
|
18
|
+
|
19
|
+
opts.on("-f", "--force", "Force to install watir-rspec even if it seems to be installed already") do |v|
|
20
|
+
@options[:force] = v
|
21
|
+
end
|
18
22
|
end
|
19
23
|
|
20
24
|
parser.parse!
|
@@ -24,7 +28,7 @@ Usage: watir-rspec [options] install"
|
|
24
28
|
exit
|
25
29
|
end
|
26
30
|
|
27
|
-
|
31
|
+
if @options[:force] || !already_installed?
|
28
32
|
install
|
29
33
|
else
|
30
34
|
puts "watir-rspec is already installed into #{spec_helper}... skipping."
|
data/lib/watir/rspec/version.rb
CHANGED
@@ -62,6 +62,7 @@ describe Watir::RSpec::Matchers::BaseMatcher do
|
|
62
62
|
end
|
63
63
|
|
64
64
|
object.should be_foo.within(1)
|
65
|
+
raised.should be_true
|
65
66
|
end
|
66
67
|
|
67
68
|
it "#does_not_match?" do
|
@@ -96,6 +97,7 @@ describe Watir::RSpec::Matchers::BaseMatcher do
|
|
96
97
|
end
|
97
98
|
|
98
99
|
object.should_not be_foo.within(1)
|
100
|
+
raised.should be_true
|
99
101
|
end
|
100
102
|
end
|
101
103
|
|
@@ -133,6 +135,7 @@ describe Watir::RSpec::Matchers::BaseMatcher do
|
|
133
135
|
end
|
134
136
|
|
135
137
|
object.should be_foo.during(0.1)
|
138
|
+
raised.should be_true
|
136
139
|
end
|
137
140
|
|
138
141
|
it "#does_not_match?" do
|
@@ -166,6 +169,7 @@ describe Watir::RSpec::Matchers::BaseMatcher do
|
|
166
169
|
end
|
167
170
|
|
168
171
|
object.should_not be_foo.during(0.1)
|
172
|
+
raised.should be_true
|
169
173
|
end
|
170
174
|
end
|
171
175
|
|
data/watir-rspec.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: watir-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jarmo Pertman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '2.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: watir
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '5.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '5.0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: yard
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|