kueri 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e498875e7ad3fbcd891a22895f75711b17d1aa91
4
- data.tar.gz: fee30230607950588876b9f18a0ad13da604554f
3
+ metadata.gz: 138396ba126b0942ffc11b4f18ce7d5497a9810e
4
+ data.tar.gz: e7de58abf893efa4b8c451cb0dd8ea45d69b0011
5
5
  SHA512:
6
- metadata.gz: 34bf35edca29c548fd325c33eccea27f645252fbc9127b3d743a4b715f0161db7e93b36bbbce1c144267f2d7cfd6bc3fc13fd826686173b69d8c9ce8e03dbabb
7
- data.tar.gz: a901e1ad38bd0e97be8ac6088534e09b4603852b125d2c2c1bc5f771889552faf64cfdc783b1876adbf73f5a254843377e02a7218fc33f37a92b85d9aee0580a
6
+ metadata.gz: 632671310de32b3f09696cb8d93c18d61b27e08b0276c6a9cbeb661d7877acd07d92b1790456f8ed1eadece7c740cd09848fbbd45563bd97e6cc384a67ee76d6
7
+ data.tar.gz: 73d5c4011153908467be1eec8c62aab63fc0bddaaf40da1e8e2055162ad12f383b968a6f7c85fbb1c41450bacd3e12da94796d41a59a673475b20af6e10d7dcf
data/README.md CHANGED
@@ -20,7 +20,7 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
- TODO: Write usage instructions here
23
+
24
24
 
25
25
  ## Development
26
26
 
@@ -0,0 +1,5 @@
1
+ #!/bin/sh
2
+
3
+ gem build kueri.gemspec
4
+ gem push kueri*.gem
5
+ rm -rf kueri*.gem
@@ -14,8 +14,8 @@ Gem::Specification.new do |spec|
14
14
  spec.homepage = "http://github.com/atmarksharp/kueri"
15
15
  spec.license = "MIT"
16
16
 
17
- # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
- # delete this section to allow pushing this gem to any host.
17
+ # # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
+ # # delete this section to allow pushing this gem to any host.
19
19
  # if spec.respond_to?(:metadata)
20
20
  # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
21
21
  # else
@@ -1,6 +1,5 @@
1
1
  require "kueri/version"
2
2
  require "nokogiri"
3
- require "open-uri"
4
3
 
5
4
  module Kueri
6
5
  class E
@@ -61,12 +60,9 @@ module Kueri
61
60
 
62
61
  # ====================
63
62
 
64
- def self.parse(str)
65
- doc = Nokogiri::HTML(str)
63
+ def self.parse(s)
64
+ doc = Nokogiri::HTML(s)
66
65
  E.new(doc)
67
66
  end
68
-
69
- def self.load(url)
70
- self.parse( open(url).read )
71
- end
67
+
72
68
  end
@@ -1,3 +1,3 @@
1
1
  module Kueri
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kueri
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - atmarksharp
@@ -97,6 +97,7 @@ files:
97
97
  - Rakefile
98
98
  - bin/console
99
99
  - bin/setup
100
+ - gem-push.sh
100
101
  - kueri.gemspec
101
102
  - lib/kueri.rb
102
103
  - lib/kueri/version.rb