domino 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/domino.gemspec +1 -1
- data/lib/domino.rb +3 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e011d8bc68c0c8ae737dca7043ba829256b5cb6
|
4
|
+
data.tar.gz: 71e4c55f827b3a608e3ecd754b665ee37dc02cbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4f2e5bd103f116d0f0bc2eedd120536abe9bd9e7aee8b3fb3eaaa592a404b376d6977db952bd4152884d286acd5deff2f8cd62becdbd388f5a60d385741a4a3
|
7
|
+
data.tar.gz: 711b95a1769bb2c17782cb539b76706dbdf1e041444ac3d574c93e6b2e9f83b52de509dfe91e4f91cf2278ce12a0aea02d04c1317bdd634ae76fbd6012d77103
|
data/domino.gemspec
CHANGED
data/lib/domino.rb
CHANGED
@@ -85,7 +85,9 @@ class Domino
|
|
85
85
|
# Returns collection of Dominos for capybara node matching all attributes.
|
86
86
|
def where(attributes)
|
87
87
|
select do |node|
|
88
|
-
attributes.
|
88
|
+
attributes.all? do |key, value|
|
89
|
+
node.send(key) == value if node.respond_to?(key)
|
90
|
+
end
|
89
91
|
end
|
90
92
|
end
|
91
93
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: domino
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Gauthier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
104
|
version: '0'
|
105
105
|
requirements: []
|
106
106
|
rubyforge_project:
|
107
|
-
rubygems_version: 2.4.
|
107
|
+
rubygems_version: 2.4.8
|
108
108
|
signing_key:
|
109
109
|
specification_version: 4
|
110
110
|
summary: View abstraction for integration testing
|