ae_page_objects 4.2.0 → 4.3.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
  SHA256:
3
- metadata.gz: c9e86f8c6ca1008d93ea5bdbdb7d2fe453b2087e966f0f02af7e4645d052e069
4
- data.tar.gz: 5c83705d0a2615f86430c6a24ab902660d557a112ca1407c27a6eef239cf7ad6
3
+ metadata.gz: 4b70585753787387b24df903d97ed0f9aac3da5876d00581e0eabb7163b01553
4
+ data.tar.gz: 60979cb9a3401dfbd0fc2ca5bb8a84829df0fdb0983c8537e7fc5b39aa1109a7
5
5
  SHA512:
6
- metadata.gz: 4df20f9855a011e7d57182dd83c0fe5ac995bf7146912674843e1bc446f8baff9d75f10eb68399c9e04136301fb50fc5325643b5194471dd0f18e790ae073bb7
7
- data.tar.gz: e80741c88ce3db5e8ad83cb18285fba48df172e119bac308f65c71404523944655ad336b8813939cf0e5d6b19c9f655678afdc943c0f793b01965d71e8dc0c5f
6
+ metadata.gz: 6f250275a1f10573a3745f2955fc65c153ad225bf60785734c8b95fffbec60fd0ae951d382985106a2545e258a548655df31b4d93bbb19467b5f050d7fd03714
7
+ data.tar.gz: 32c00167f93df94ffccb98ee9f3c6be0c076400dff44c343dbbc70e1eca8c1606bf194f40f628a6d09b3b60d1ab6588636dce3b8f88b5e46409f602de2d27bed
@@ -133,12 +133,12 @@ module AePageObjects
133
133
  private
134
134
 
135
135
  def recognizer
136
- @recognizer ||= case ::Rails.version
137
- when /\A3\.[01]/
136
+ @recognizer ||= case ::Rails.gem_version
137
+ when Gem::Requirement.new('>= 3.0', '< 3.2')
138
138
  Recognizer::Rails3.new
139
- when /\A3\.2/
139
+ when Gem::Requirement.new('~> 3.2')
140
140
  Recognizer::Rails32.new
141
- when /\A(4\.[012]|5\.0)/
141
+ when Gem::Requirement.new('>= 4.0', '< 7.0')
142
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."
@@ -1,3 +1,3 @@
1
1
  module AePageObjects
2
- VERSION = '4.2.0'.freeze
2
+ VERSION = '4.3.0'.freeze
3
3
  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: 4.2.0
4
+ version: 4.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - AppFolio Engineering
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-27 00:00:00.000000000 Z
11
+ date: 2020-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara
@@ -79,8 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
79
  - !ruby/object:Gem::Version
80
80
  version: '0'
81
81
  requirements: []
82
- rubyforge_project:
83
- rubygems_version: 2.7.7
82
+ rubygems_version: 3.1.2
84
83
  signing_key:
85
84
  specification_version: 4
86
85
  summary: Capybara Page Objects pattern