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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e4dd5da4488bf024530d92fe4153d35de0cb682b
4
- data.tar.gz: 63df367508079f7fe43c1764f9b31639d7dbd223
3
+ metadata.gz: c68cb90210987a71383e51232b6329c1327b3a99
4
+ data.tar.gz: 35374152982c98a1f788a8bba8ba9d274a45dcc9
5
5
  SHA512:
6
- metadata.gz: 92eaac0062c704ef7cbd99dc51c67f90e5f73d7232176ce18ef45093884b0d8040a452fb6dfe800c755a62dcdc8f2abd23ba1a985f06f62a1dd86a67a5ac53df
7
- data.tar.gz: 820896b1c967e3a3954925237e11856ffae0632a094cc6b7674d873c34800230c53e5b8da13608ac7353a5673a5756e2b70c511775f5573bf22fa123b211f7b2
6
+ metadata.gz: ee1f36d4723c194f0ef00ab92674f4b34187933ca393da9a11d0be5159c0b9b1fc9cb08b6290c041dabdf48fac15241eb89311a23817ecfa87d680732aa0b2f8
7
+ data.tar.gz: e40a873f15ebbfdc82cdcc3e0d4488381d8f3ac7e24e23dc14825f0ce96bb5ea4512d74edc3ad619fb39353e704ebf962f3059810a525f4291e5b1bfadba2fd7
data/.hound.yml CHANGED
@@ -51,6 +51,9 @@ Style/DotPosition:
51
51
  Style/AccessorMethodName:
52
52
  Enabled: false
53
53
 
54
+ Style/PredicateName:
55
+ Enabled: false
56
+
54
57
  # stop nesting so hard
55
58
  Metrics/BlockNesting:
56
59
  Max: 2
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/) ( https://github.com/[my-github-username]/symbiont/fork ).
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`)
@@ -8,19 +8,23 @@ module Symbiont
8
8
  self
9
9
  end
10
10
 
11
- def correct_url?
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 correct_title?
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
- correct_url?
23
- correct_title?
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
@@ -1,3 +1,3 @@
1
1
  module Symbiont
2
- VERSION = '0.12.0'
2
+ VERSION = '0.13.0'
3
3
  end
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.12.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.12.0 has been installed.\n\n(::) (::) (::) (::) (::) (::) (::) (::)
214
+ \ Symbiont 0.13.0 has been installed.\n\n(::) (::) (::) (::) (::) (::) (::) (::)
215
215
  (::) (::) (::) (::)\n "
216
216
  rdoc_options: []
217
217
  require_paths: