cornucopia 0.1.47 → 0.1.48

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: fb400b1cefc8f1c4c8c8c36aa3f269b934f692d6
4
- data.tar.gz: 4fedbfb5533530aca447da92ebd865ee920161c4
3
+ metadata.gz: 9e96c0a67cafe6489c97a221bb2d77b036a1b5ec
4
+ data.tar.gz: a72233911646fc07d5cc618a394f94796376141b
5
5
  SHA512:
6
- metadata.gz: 8e15791520031a874468210ce5c25c476119dd38eac13dce59076b2674fef68947292c91300e74576fa0daa44abc012467e757e8c27702b87c85133ccabbc2d3
7
- data.tar.gz: 1df746c8c07b51e05641b3446c31479afc400d1896cc0e63bc0100c948f7a6e351eff2eaf5874255f348096970ac53f9e378038e0136df62d399ad289c8bd291
6
+ metadata.gz: bb19b8728fdac089a452f8d6b0020e3d767e22703258dd8936e3ae5c6b87d9776af45ec7c76691ec6c467898215582db6daa7828421a16ede99a653295432a3d
7
+ data.tar.gz: 26ccc50869b7b01b7a0b9a7e7ff2c1ee6261ed30650eeb82a4f2c8b02f8f03814de29a2f2acb67deb3021b28f5fa22f517f77ca9eddb53aa9238a5228ef095e9
@@ -51,9 +51,11 @@ module Cornucopia
51
51
  retry_count = 0
52
52
  result = nil
53
53
 
54
- unless [:has_selector?, :has_no_selector?].include?(assert_selector_function)
55
- support_options = __cornucopia__extract_selector_support_options(*args)
56
- end
54
+ support_options = if [:has_selector?, :has_no_selector?].include?(assert_selector_function)
55
+ []
56
+ else
57
+ __cornucopia__extract_selector_support_options(*args)
58
+ end
57
59
 
58
60
  begin
59
61
  retry_count += 1
@@ -1,3 +1,3 @@
1
1
  module Cornucopia
2
- VERSION = "0.1.47"
2
+ VERSION = "0.1.48"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cornucopia
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.47
4
+ version: 0.1.48
5
5
  platform: ruby
6
6
  authors:
7
7
  - RealNobody
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-27 00:00:00.000000000 Z
11
+ date: 2017-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport