unobtainium-nokogiri 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/LICENSE +2 -2
- data/README.md +6 -1
- data/lib/{unobtainium-nokogiri/unobtainium-nokogiri.rb → unobtainium-nokogiri.rb} +0 -0
- data/lib/unobtainium-nokogiri/driver.rb +3 -1
- data/lib/unobtainium-nokogiri/version.rb +1 -1
- data/spec/driver_spec.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: b04c949f244c93002d83d2649eaed6ff6a7125aa
|
4
|
+
data.tar.gz: cd32dca65887e20e39f8d1908a500930f436e916
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a75442ec38b1bac9d553ef842c58ac8225d88030c3ff6a4ff3ca431a00da82ac5ba794a55ec586d94d6004879851520d4ea06522b944f30d16b6b030f18f473
|
7
|
+
data.tar.gz: 24f18c08f0ef19c83fbbae77a179bfa5f3b498ea4ad1b5764245239a8df8e4c017ea7fb9f8ebca080f031f0898c260ce20c6409d32b5b2e0f87a2b5afdb4d273
|
data/Gemfile.lock
CHANGED
data/LICENSE
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
Copyright (c) Jens Finkhaeuser (http://finkhaeuser.de/) and other
|
2
|
-
contributors. All rights not covered below are reserved.
|
1
|
+
Copyright (c) Jens Finkhaeuser (http://finkhaeuser.de/) and other
|
2
|
+
unobtainium-nokogiri contributors. All rights not covered below are reserved.
|
3
3
|
|
4
4
|
The MIT +no-false-attribs License (MITNFA)
|
5
5
|
|
data/README.md
CHANGED
@@ -18,5 +18,10 @@ include Unobtainium::World
|
|
18
18
|
|
19
19
|
drv = driver(:nokogiri)
|
20
20
|
|
21
|
-
#
|
21
|
+
# goto is provided by this gem, and wraps `open-uri`. Any URI accepted by that
|
22
|
+
# will work here.
|
23
|
+
drv.goto('http://finkhaeuser.de')
|
24
|
+
|
25
|
+
# Any other methods are delegated to nokogiri, such as e.g. `#xpath`
|
26
|
+
drv.xpath('//some/path')
|
22
27
|
```
|
File without changes
|
data/spec/driver_spec.rb
CHANGED
@@ -11,7 +11,7 @@ require 'spec_helper'
|
|
11
11
|
describe 'Unobtainium::Nokogiri::Driver' do
|
12
12
|
it "passes unobtainium's interface checks" do
|
13
13
|
expect do
|
14
|
-
|
14
|
+
require 'unobtainium-nokogiri'
|
15
15
|
end.to_not raise_error(LoadError)
|
16
16
|
end
|
17
17
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unobtainium-nokogiri
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Finkhaeuser
|
@@ -141,8 +141,8 @@ files:
|
|
141
141
|
- LICENSE
|
142
142
|
- README.md
|
143
143
|
- Rakefile
|
144
|
+
- lib/unobtainium-nokogiri.rb
|
144
145
|
- lib/unobtainium-nokogiri/driver.rb
|
145
|
-
- lib/unobtainium-nokogiri/unobtainium-nokogiri.rb
|
146
146
|
- lib/unobtainium-nokogiri/version.rb
|
147
147
|
- spec/data/foo.html
|
148
148
|
- spec/driver_spec.rb
|