webinspector 0.3.0 → 0.3.1

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: b0ff71fde6e82ecb05254c8ebc3fb968b746725a
4
- data.tar.gz: b7876d76ecde498a67cf1459e242ba1ab58e6e02
3
+ metadata.gz: d9b9b2aa7ef567e5a1c663ddfd817b254df35089
4
+ data.tar.gz: 1afd5d7b87361ac1dad0b5e50f17237db5ca0471
5
5
  SHA512:
6
- metadata.gz: 7eafa0b90a42a8806aa85e94954cbe9a2daf3cf8ae5f666cf920787d7d90451c2285e77dc579f944c953cff0fb77500f85cd0e40129cca27242e7839fc900f54
7
- data.tar.gz: a6760c1610eaa1bf2fb6a42cbd07e25cfbb27f3313974a080201078966aaad10f7c160ec837f689a0dbe1f46fc1a126aca3ccddca50ee95d643757ea8dcd38f9
6
+ metadata.gz: 32d88f52f97682b37a3024c444b6eb31fe8c7178483bfa0c1ea51070133c16e357b3440cb223623b28159cac8d73f2f93a0b4d12b62d5ac5e116676db9cade91
7
+ data.tar.gz: 1f543d568098f33c3d27b186b13f78bea1d40e4fd1b9cce939186d52d502edc4b7b6d23123a512cc276e226ac35fb3efddd743e57679284a1505a7a5945d3bab
data/README.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  Ruby gem to inspect completely a web page. It scrapes a given URL, and returns you its title, description, meta, links, images and more.
4
4
 
5
+ ## See it in action!
6
+
7
+ You can try WebInspector live at this little demo: [https://scrappet.herokuapp.com](https://scrappet.herokuapp.com)
5
8
  ## Installation
6
9
 
7
10
  Add this line to your application's Gemfile:
@@ -56,12 +59,12 @@ page.meta # metatags of the page
56
59
  ```ruby
57
60
  page.meta # metatags of the page
58
61
  page.meta['description'] # meta description
59
- page.meta['keywors'] # meta keywords
62
+ page.meta['keywords'] # meta keywords
60
63
  ```
61
64
 
62
65
 
63
66
  ## License
64
- The restcountry GEM is released under the MIT License.
67
+ The webinspector GEM is released under the MIT License.
65
68
 
66
69
  ## Contributing
67
70
 
@@ -100,7 +100,7 @@ module WebInspector
100
100
  req.options.open_timeout = @read_timeout
101
101
  end
102
102
 
103
- @url.url = response.env.url.to_s
103
+ @url = response.env.url.to_s
104
104
 
105
105
  response
106
106
  end
@@ -117,4 +117,4 @@ module WebInspector
117
117
  Nokogiri::HTML(open(with_default_scheme(@request), allow_redirections: :safe))
118
118
  end
119
119
  end
120
- end
120
+ end
@@ -1,3 +1,3 @@
1
1
  module WebInspector
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webinspector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Davide Santangelo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-05-11 00:00:00.000000000 Z
11
+ date: 2015-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler