site_prism 2.17 → 2.17.1

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: 6285ddbcaebdf2970ed1d74ff56800c196124e984ea6973ab4d9f083dcff8b10
4
- data.tar.gz: cc137169a3dcaf0f3b05eb9fdaae5bdb31970a53ebc8e8c3bf88e65658c56a31
3
+ metadata.gz: 498b5babeeb0e3bff046caaf0772e9f70c9bed419b63684de4c9387c70fd8a44
4
+ data.tar.gz: 8353b09572ca801b240831a2c9e3913a548304edc3fb08034029c8f3dcb78c77
5
5
  SHA512:
6
- metadata.gz: 870e2b8e512b5b5deeeb909598ca20d032ef35b4b153ae4c3f6b832336aaa873ad416fd73005e2f5715739150f67b0e61cb57a724603998aa8343a631020870f
7
- data.tar.gz: 0df084b3f02295206ecc82154209cd83c6b1208810fba3cc8b2c8f828333a6b4baf4b87ec919c575503ea72c8cf833a958e9d50b460efb0b2000d560331a2bc8
6
+ metadata.gz: c9dc27463e54f34cba97b8ae715fdfe3730bfc8c4ab89cd10246af05451d00659403db2523664c94e8f857a1f92cc70435937496a713c3bbc1bc7349718c562b
7
+ data.tar.gz: 5a6d9beb3a2104569df8f0c2b4d2b59cf3b3ba73b50d1fc176777f6f39016a7c520ec819fea32b6cd50187864c7bfcaddb4c54014b017e1b288c56459df5b4e2
@@ -16,30 +16,21 @@ module SitePrism
16
16
  yield self
17
17
  end
18
18
 
19
- def use_implicit_waits
20
- show_removed_config_warning_messages
21
- @use_implicit_waits
22
- end
19
+ attr_reader :use_implicit_waits
23
20
 
24
21
  def use_implicit_waits=(value)
25
22
  show_removed_config_warning_messages
26
23
  @use_implicit_waits = value
27
24
  end
28
25
 
29
- def raise_on_wait_fors
30
- show_removed_config_warning_messages
31
- @raise_on_wait_fors
32
- end
26
+ attr_reader :raise_on_wait_fors
33
27
 
34
28
  def raise_on_wait_fors=(value)
35
29
  show_removed_config_warning_messages
36
30
  @raise_on_wait_fors = value
37
31
  end
38
32
 
39
- def default_load_validations
40
- show_removed_config_warning_messages
41
- @default_load_validations
42
- end
33
+ attr_reader :default_load_validations
43
34
 
44
35
  def default_load_validations=(value)
45
36
  show_removed_config_warning_messages
@@ -3,11 +3,11 @@
3
3
  module SitePrism
4
4
  module ElementChecker
5
5
  def all_there?
6
- elements_to_check.all? { |element| present?(element) }
6
+ elements_to_check.all? { |element| there?(element) }
7
7
  end
8
8
 
9
9
  def elements_present
10
- mapped_items.select { |item_name| present?(item_name) }
10
+ mapped_items.select { |item_name| there?(item_name) }
11
11
  end
12
12
 
13
13
  private
@@ -26,7 +26,7 @@ module SitePrism
26
26
  self.class.mapped_items.uniq
27
27
  end
28
28
 
29
- def present?(element)
29
+ def there?(element)
30
30
  send("has_#{element}?")
31
31
  end
32
32
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SitePrism
4
- VERSION = '2.17'.freeze
4
+ VERSION = '2.17.1'.freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: site_prism
3
3
  version: !ruby/object:Gem::Version
4
- version: '2.17'
4
+ version: 2.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nat Ritmeyer
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-09-07 00:00:00.000000000 Z
12
+ date: 2018-09-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: addressable