rwebspec 5.2.1 → 5.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +6 -0
- data/Rakefile +7 -6
- data/lib/rwebspec.rb +13 -5
- metadata +20 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 513ae7f9cc41b82561318ede7fea7d155aae5a28
|
4
|
+
data.tar.gz: 2a9cb1472e93d9606709a65dbc7cc064cf853ac2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b96d1d849fc81b400a28d6e5abe79f00dcf29cb11b5f623dab6c1fbac6c5843a4820a73a4f360f789c983c1e27f8280260758e5c06775e4f5448dfc3c8ec9c1
|
7
|
+
data.tar.gz: 4cf582825f126a6e92340403c279849e1d6d2176c9cfb8988c4419ffa7f030fb4f45f02d5f070c9473966ff36ca92121db0850f6fcbff32de5fbd6e2a405a1e5
|
data/CHANGELOG
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
CHANGELOG
|
2
2
|
=========
|
3
3
|
|
4
|
+
5.3.0
|
5
|
+
[New] Lock on RSpec 2.14
|
6
|
+
[New] Support ActiveSupport 4
|
7
|
+
[New] Part support of RSpec to use :should syntax
|
8
|
+
|
9
|
+
|
4
10
|
5.2.1
|
5
11
|
[Fixes] add assertions attribute to RWebSpec::AbstractWebPage to support MiniTest 5
|
6
12
|
(for non-rwebspec projects, users need to handle themselves)
|
data/Rakefile
CHANGED
@@ -77,7 +77,7 @@ end
|
|
77
77
|
spec = Gem::Specification.new do |s|
|
78
78
|
s.platform= Gem::Platform::RUBY
|
79
79
|
s.name = "rwebspec"
|
80
|
-
s.version = "5.
|
80
|
+
s.version = "5.3.0"
|
81
81
|
s.summary = "Web application functional specification in Ruby"
|
82
82
|
s.description = "Executable functional specification for web applications in RSpec syntax with Watir or Selenium WebDriver"
|
83
83
|
|
@@ -97,16 +97,17 @@ spec = Gem::Specification.new do |s|
|
|
97
97
|
s.files = s.files + Dir.glob( "test/**/*" )
|
98
98
|
s.files = s.files + Dir.glob( "sample/**/*")
|
99
99
|
s.files = s.files + Dir.glob( "docs/**/*" )
|
100
|
-
s.add_dependency(%q<rspec>, ["
|
101
|
-
s.add_dependency(%q<rspec-core>, ["
|
102
|
-
s.add_dependency(%q<rspec-mocks>, ["
|
103
|
-
s.add_dependency(%q<rspec-expectations>, ["
|
100
|
+
s.add_dependency(%q<rspec>, ["~> 2.14"])
|
101
|
+
s.add_dependency(%q<rspec-core>, ["~> 2.14"])
|
102
|
+
s.add_dependency(%q<rspec-mocks>, ["~> 2.14"])
|
103
|
+
s.add_dependency(%q<rspec-expectations>, ["~> 2.14"])
|
104
104
|
s.add_dependency("commonwatir", ">= 4.0.0")
|
105
105
|
s.add_dependency("minitest", ">= 4.0")
|
106
106
|
s.add_dependency("activesupport", ">= 3.2.17")
|
107
|
+
# s.add_dependency("ci_reporter", "~> 1.9.2")
|
107
108
|
|
108
109
|
unless RUBY_PLATFORM =~ /mingw/
|
109
|
-
s.add_dependency("selenium-webdriver")
|
110
|
+
s.add_dependency("selenium-webdriver", ">= 2.40")
|
110
111
|
else
|
111
112
|
s.add_dependency("watir-classic", ">= 4.0.0")
|
112
113
|
end
|
data/lib/rwebspec.rb
CHANGED
@@ -13,17 +13,25 @@ require 'minitest/autorun'
|
|
13
13
|
|
14
14
|
# Load active_support, so that we can use 1.days.ago
|
15
15
|
begin
|
16
|
-
require 'active_support/
|
17
|
-
require 'active_support/
|
18
|
-
require 'active_support/core_ext'
|
16
|
+
require 'active_support/core_ext'
|
17
|
+
require 'active_support/time'
|
19
18
|
rescue LoadError => no_as1_err
|
20
|
-
|
19
|
+
puts "failed to load activesupport #{no_as1_err}"
|
21
20
|
end
|
22
21
|
|
23
22
|
require 'rspec'
|
24
23
|
|
24
|
+
# For non-rwebspec project, need to add to the help to avoid deprecation warning
|
25
|
+
if ::RSpec::Version::STRING && ::RSpec::Version::STRING =~ /^3/
|
26
|
+
RSpec.configure do |config|
|
27
|
+
config.expect_with :rspec do |c|
|
28
|
+
c.syntax = :should
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
25
33
|
unless defined? RWEBSPEC_VERSION
|
26
|
-
RWEBSPEC_VERSION = RWEBUNIT_VERSION = "5.
|
34
|
+
RWEBSPEC_VERSION = RWEBUNIT_VERSION = "5.3.0"
|
27
35
|
end
|
28
36
|
|
29
37
|
$testwise_polling_interval = 1 # seconds
|
metadata
CHANGED
@@ -1,71 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rwebspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zhimin Zhan
|
8
8
|
autorequire: rwebspec
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '2.
|
19
|
+
version: '2.14'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '2.
|
26
|
+
version: '2.14'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec-core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.
|
33
|
+
version: '2.14'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 2.
|
40
|
+
version: '2.14'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec-mocks
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 2.
|
47
|
+
version: '2.14'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 2.
|
54
|
+
version: '2.14'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec-expectations
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '2.
|
61
|
+
version: '2.14'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '2.
|
68
|
+
version: '2.14'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: commonwatir
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,14 +114,14 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
117
|
+
version: '2.40'
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
124
|
+
version: '2.40'
|
125
125
|
description: Executable functional specification for web applications in RSpec syntax
|
126
126
|
with Watir or Selenium WebDriver
|
127
127
|
email: zhimin@agileway.com.au
|