chop 0.23.0 → 0.23.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chop/form.rb +2 -2
- data/lib/chop/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8eb661df04066687a6ef29a3b1102432ab89c8b0
|
4
|
+
data.tar.gz: e71fa2c6afa9a3b46b931af089345ed7dc9e8c9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4cc7d0ce15f9b543486c76af8a38f3f37a09f5ffb616f6a0d7b81075e7ea7218d7f8d52808b71f50ac8170f8c92f2a3eaeca88f77edd6edaf74a8feb3b3ee2c6
|
7
|
+
data.tar.gz: 1204aa9099e76cac748a40003b0ed60aeaef4b5320e17a7d218cb0bbcadddd8fa2a45a20e55c3dfc45e79d4717ba1a0f40f4f78569afae27fb02f686ace8eb37
|
data/lib/chop/form.rb
CHANGED
@@ -135,7 +135,7 @@ module Chop
|
|
135
135
|
|
136
136
|
def fill_in!
|
137
137
|
if nonstandard_labelling?
|
138
|
-
|
138
|
+
value_field.click
|
139
139
|
else
|
140
140
|
session.choose label
|
141
141
|
end
|
@@ -152,7 +152,7 @@ module Chop
|
|
152
152
|
end
|
153
153
|
|
154
154
|
def value_field
|
155
|
-
session.
|
155
|
+
session.first("[name='#{field[:name]}'][value='#{value}']")
|
156
156
|
rescue Capybara::ElementNotFound
|
157
157
|
{}
|
158
158
|
end
|
data/lib/chop/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.23.
|
4
|
+
version: 0.23.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Micah Geisel
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|