softwear-lib 1.4.2 → 1.4.3

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: 8eb48c81ed68fa37eabeb5b919659047a02557bc
4
- data.tar.gz: b3be31e2a6a6d80710c6982fe7f7806070773768
3
+ metadata.gz: 256a4d3e54b1b08a88522296a9061ddb43e25306
4
+ data.tar.gz: 237c618746df70c045a9031fb7edcf8fca8423f5
5
5
  SHA512:
6
- metadata.gz: 33189b7cea270d4f368a672a520abd837570949153eb0dde5cd4cf9404355fee7ee5d114be61dd0d303a45c9076b4bd51de01c833af2ef204490811615d17303
7
- data.tar.gz: e7e99c9aaf1713d198b200771d93dbd803eeea959e41ff2fcb3d9fb241d95d462c5206b0dcf166555927990936582015f47c5c0ee72af5befb10fe869ea456c8
6
+ metadata.gz: 57f27e815f6aa1068ddad8ea29bb0db911dae1a066b7427302699810857bb55b50129a71bd52189c08ec9240044aeaed1260383e09c32b2d3f40655d0385d3b2
7
+ data.tar.gz: 938338e81ee0c14780c375bba27033411405754fee92293a7d81e338db7f7dd2a603da9a2aea456079595c532845302c3c6de89ab065ffac9a0a2294233aea12
@@ -94,8 +94,8 @@ module Softwear::Lib
94
94
 
95
95
  find("#{selector}+span").click
96
96
 
97
- old_scopes = @scopes
98
- @scopes = [nil]
97
+ old_scopes = page.instance_variable_get(:@scopes)
98
+ page.instance_variable_set(:@scopes, [nil])
99
99
 
100
100
  find('input.select2-search__field').set(text)
101
101
  result = first('li.select2-results__option')
@@ -106,7 +106,7 @@ module Softwear::Lib
106
106
  end
107
107
 
108
108
  ensure
109
- @scopes = old_scopes if old_scopes
109
+ page.instance_variable_set(:@scopes, old_scopes) if old_scopes
110
110
  end
111
111
  end
112
112
 
@@ -1,5 +1,5 @@
1
1
  module Softwear
2
2
  module Lib
3
- VERSION = "1.4.2"
3
+ VERSION = "1.4.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: softwear-lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 1.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nigel Baillie