ae_page_objects 3.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2664086f0c22e4c15e353f3b0152b10aed6c31d
|
4
|
+
data.tar.gz: 5f553d03946d8e06f62de24100607fe011e21d24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b18723adb35ef95de606e9216076d223c660137458df5329ad10c28b4d7a7a02c70edc9a61ab1f3ed0b02889551f8e44e55b5185c10d807b4756013794dd446
|
7
|
+
data.tar.gz: 11cf83109a962f1fc0f0154beefcd3fcf04f13ba04ff12cf75a0c3c5ee35e9b9beaecf9d47569b5c16ac5dbccf4efe7ef96896fc79b89250d2c7226f0045c97c
|
@@ -103,7 +103,7 @@ module AePageObjects
|
|
103
103
|
end
|
104
104
|
end
|
105
105
|
|
106
|
-
class
|
106
|
+
class Rails4Plus < Rails32
|
107
107
|
|
108
108
|
private
|
109
109
|
|
@@ -130,20 +130,19 @@ module AePageObjects
|
|
130
130
|
end
|
131
131
|
end
|
132
132
|
|
133
|
-
|
133
|
+
private
|
134
134
|
|
135
135
|
def recognizer
|
136
|
-
@recognizer ||=
|
137
|
-
|
136
|
+
@recognizer ||= case ::Rails.version
|
137
|
+
when /\A3\.[01]/
|
138
138
|
Recognizer::Rails3.new
|
139
|
-
|
139
|
+
when /\A3\.2/
|
140
140
|
Recognizer::Rails32.new
|
141
|
-
|
142
|
-
Recognizer::
|
141
|
+
when /\A(4\.[012]|5\.0)/
|
142
|
+
Recognizer::Rails4Plus.new
|
143
143
|
else
|
144
144
|
warn "[WARNING]: AePageObjects is not tested against Rails #{::Rails.version} and may behave in an undefined manner."
|
145
|
-
Recognizer::
|
146
|
-
end
|
145
|
+
Recognizer::Rails4Plus.new
|
147
146
|
end
|
148
147
|
end
|
149
148
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ae_page_objects
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Donnie Tognazzini
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
version: '0'
|
81
81
|
requirements: []
|
82
82
|
rubyforge_project:
|
83
|
-
rubygems_version: 2.
|
83
|
+
rubygems_version: 2.6.12
|
84
84
|
signing_key:
|
85
85
|
specification_version: 4
|
86
86
|
summary: Capybara Page Objects pattern
|