rspectacular 0.21.1 → 0.21.2

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: 766a57874540fc2a4a3122a91972ff7b856041d4
4
- data.tar.gz: 1b34d7b2c4fc94b5f768423e3a5eacf0a916cb69
3
+ metadata.gz: 8804ff205ca1219e25397bf4f39b99ec8269b705
4
+ data.tar.gz: d78eeb107dde9ace396c9ea424cd2969193b6cf8
5
5
  SHA512:
6
- metadata.gz: 7d387594b179530d055e65b7a6b4f2b23e131d2243636f4937effb08ad0bb9035fc1dc537ebca61c390b5c9eb363fb09950d8d66ef2e59b32515f03ad6b8bb49
7
- data.tar.gz: e280404465d391c472068d34a9d8dc94130ff1e3a82c7b1f8583ae4a211a0d889e940ed0d3d607c939f8d53468f19e138e05e74b8b287987ad8b94f7784634a2
6
+ metadata.gz: fc45ed67ccecfb5f6bc0a9026b37b2032e391264f880c6baada9e97014ef64d35d5bf976f5072cc44af2deacd2ec5e3879328f185449d26373e98f20a7a297dd
7
+ data.tar.gz: 544ae760d1adcdaee74008be1b7b227da7646d048376209e67c9d07c618470ab6e7b664a24cbc5e286ab10c84a2541eebdb392e0101e6a1b8c7983067b524874
@@ -29,13 +29,13 @@ module RSpectacular
29
29
  ###
30
30
  # Forms
31
31
  #
32
- /the errors for (.*)/ => -> { "#{sf $1}+div.error" },
32
+ /the errors for (.*)/ => lambda { "#{sf $1}+div.error" },
33
33
 
34
34
  ###
35
35
  # Windows
36
36
  #
37
- /the most recently opened window/ => -> { page.driver.browser.window_handles.last },
38
- /the alert dialog/ => -> { page.driver.browser.switch_to.alert },
37
+ /the most recently opened window/ => lambda { page.driver.browser.window_handles.last },
38
+ /the alert dialog/ => lambda { page.driver.browser.switch_to.alert },
39
39
 
40
40
  ###
41
41
  # Date Picker Buttons
@@ -45,6 +45,6 @@ module RSpectacular
45
45
  ###
46
46
  # Model Links
47
47
  #
48
- /the (.*) button for/ => -> { "##{$1.gsub(/ /, '_')}_#{args[0].class.name.underscore}_#{args[0].id}_link" }
48
+ /the (.*) button for/ => lambda { "##{$1.gsub(/ /, '_')}_#{args[0].class.name.underscore}_#{args[0].id}_link" }
49
49
  )
50
50
  end
@@ -1,3 +1,3 @@
1
1
  module RSpectacular
2
- VERSION = '0.21.1'
2
+ VERSION = '0.21.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspectacular
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.1
4
+ version: 0.21.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - jfelchner