symbiont 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.hound.yml +3 -0
- data/README.md +1 -1
- data/lib/symbiont/pages.rb +8 -4
- data/lib/symbiont/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: c68cb90210987a71383e51232b6329c1327b3a99
|
4
|
+
data.tar.gz: 35374152982c98a1f788a8bba8ba9d274a45dcc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee1f36d4723c194f0ef00ab92674f4b34187933ca393da9a11d0be5159c0b9b1fc9cb08b6290c041dabdf48fac15241eb89311a23817ecfa87d680732aa0b2f8
|
7
|
+
data.tar.gz: e40a873f15ebbfdc82cdcc3e0d4488381d8f3ac7e24e23dc14825f0ce96bb5ea4512d74edc3ad619fb39353e704ebf962f3059810a525f4291e5b1bfadba2fd7
|
data/.hound.yml
CHANGED
data/README.md
CHANGED
@@ -65,7 +65,7 @@ Bug reports and pull requests are welcome on GitHub at [https://github.com/jnyma
|
|
65
65
|
|
66
66
|
To contribute to Symbiont:
|
67
67
|
|
68
|
-
1. [Fork the project](http://gun.io/blog/how-to-github-fork-branch-and-pull-request/)
|
68
|
+
1. [Fork the project](http://gun.io/blog/how-to-github-fork-branch-and-pull-request/).
|
69
69
|
2. Create your feature branch. (`git checkout -b my-new-feature`)
|
70
70
|
3. Commit your changes. (`git commit -am 'new feature'`)
|
71
71
|
4. Push the branch. (`git push origin my-new-feature`)
|
data/lib/symbiont/pages.rb
CHANGED
@@ -8,19 +8,23 @@ module Symbiont
|
|
8
8
|
self
|
9
9
|
end
|
10
10
|
|
11
|
-
def
|
11
|
+
def has_correct_url?
|
12
12
|
no_url_matches_is_provided if url_match.nil?
|
13
13
|
!(browser.url =~ url_match).nil?
|
14
14
|
end
|
15
15
|
|
16
|
-
def
|
16
|
+
def has_correct_title?
|
17
17
|
no_title_is_provided if asserted_title.nil?
|
18
18
|
!(browser.title.match(asserted_title)).nil?
|
19
19
|
end
|
20
20
|
|
21
21
|
def verified?
|
22
|
-
|
23
|
-
|
22
|
+
has_correct_url?
|
23
|
+
has_correct_title?
|
24
|
+
end
|
25
|
+
|
26
|
+
def displayed?
|
27
|
+
has_correct_url?
|
24
28
|
end
|
25
29
|
|
26
30
|
def asserted_url
|
data/lib/symbiont/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: symbiont
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeff Nyman
|
@@ -211,7 +211,7 @@ licenses:
|
|
211
211
|
- MIT
|
212
212
|
metadata: {}
|
213
213
|
post_install_message: "\n(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)\n\n
|
214
|
-
\ Symbiont 0.
|
214
|
+
\ Symbiont 0.13.0 has been installed.\n\n(::) (::) (::) (::) (::) (::) (::) (::)
|
215
215
|
(::) (::) (::) (::)\n "
|
216
216
|
rdoc_options: []
|
217
217
|
require_paths:
|