horsefield 0.2.11 → 0.2.12

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: 70fb78547e18ae4fc8cf17c7478047dbcdf6b6a4
4
- data.tar.gz: 3ee29f5f9f9c7c4a4d22185cd7850ab5eef18071
3
+ metadata.gz: 11054ca9291b1a1beba7ba28f17a4beeddfbc236
4
+ data.tar.gz: a80bed00d640c4558c1f0a6f0ac91b13f1964af7
5
5
  SHA512:
6
- metadata.gz: 0197bbffb9c715a4ce5b0c14ef3f12fd33d4c587383d7fd71463ca81131d96b61012835b204dc47a06c286ee651e03cbc1921c6451c6922b92106edbdcb7667a
7
- data.tar.gz: 8ffd7566108270d9ad2c94b18cd6cc881b2f8b8e1c343a16c3d461c7d2a1707880fa5aba211b89a92368ba101594fd865c344dd3131fca085e3e7b97ed7b3142
6
+ metadata.gz: f5ca3758fd1196f0d98e4baddd14a3c6a7b5336a8e774882d9d64f759ef6c1bf3090034203ca473980dac3fb9cfc1f5d67fa24709a4f1a76a9405518a49987c8
7
+ data.tar.gz: a292300b50a8c299e34038dff8fc459bd43709a527688c3be6f69089d600ac689e0e9f6bf01152c22e83fed18346dfacf511bce688ef4480f1a822a3b498cd87
@@ -34,7 +34,7 @@ module Horsefield
34
34
  if browser.is_a? Mechanize
35
35
  @html || browser.get(@url).content
36
36
  elsif browser.is_a? Watir::Browser
37
- @html || browser.goto(@url); browser.html
37
+ @html || (browser.goto(@url); browser.html)
38
38
  end
39
39
  end
40
40
 
@@ -44,6 +44,5 @@ module Horsefield
44
44
 
45
45
  def node_set
46
46
  @node_set ||= Horsefield::NodeSet.new(page)
47
- end
48
47
  end
49
48
  end
@@ -1,3 +1,3 @@
1
1
  module Horsefield
2
- VERSION = "0.2.11"
2
+ VERSION = "0.2.12"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: horsefield
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.11
4
+ version: 0.2.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Strömberg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-04 00:00:00.000000000 Z
11
+ date: 2014-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mechanize
@@ -166,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
166
  version: '0'
167
167
  requirements: []
168
168
  rubyforge_project:
169
- rubygems_version: 2.1.9
169
+ rubygems_version: 2.0.14
170
170
  signing_key:
171
171
  specification_version: 4
172
172
  summary: It's a scraper