ruby-hackernews 1.3.5 → 1.3.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NzI2MGUxMzBjOWQxN2I1ODExNTU4ZDkxZmE3NTgxMDMwMWZjNDhkNw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
7
|
-
|
6
|
+
Njg3MWZhYjFlODNkY2VlNDZiY2U2NWYxZTkyYTIwOTg4MDdjZTUyYg==
|
7
|
+
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MmU2YWFmYmNlZDEwZGYxMTE2OWJkMTk5MWM3NDRmNTQzZGYwMDgxYTEwNzY1
|
10
|
+
MzJhYjU4YTUyZjgyMWYxZGFlZDViNjMyOGYzODBkZTE0ZjM4NGNmOGVkODNk
|
11
|
+
YjI5ZjU2MDJlYjM4YTQzZDhmN2YyMzIyMjdmNGRmNTVlMGFmOTQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
N2RmNmNlNjIwYjNjOTg1MmJlNzE4Y2I4MWUwNWFkZjBiNjQzOTYyODQ5ZTYx
|
14
|
+
MjYwYzQ0ZDUxYTZjNGExYjM3YmUyZDE4NGZkYTczNWFiNzFiY2VlZmE4MDdl
|
15
|
+
NWE2NDZiY2Q3ZGNmYzJhYzI1YTVlZTYwOTgyNDg1NmMwZjE5Nzc=
|
@@ -8,8 +8,7 @@ module RubyHackernews
|
|
8
8
|
|
9
9
|
def get_lines
|
10
10
|
lines = @page.search("//table")[2].search("tr").select do |tr|
|
11
|
-
tr['style'] !~ /height/
|
12
|
-
tr.children.first.attributes.count != 0
|
11
|
+
tr['style'] !~ /height/
|
13
12
|
end
|
14
13
|
more_link = lines.last.search("a").first
|
15
14
|
lines.pop if more_link && more_link.inner_html == "More"
|
data/ruby-hackernews.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["andrea@andreadallera.com"]
|
11
11
|
spec.description = %q{An interface to Hacker News}
|
12
12
|
spec.summary = %q{An interface to Hacker News}
|
13
|
-
spec.homepage = "http://github.com/
|
13
|
+
spec.homepage = "http://github.com/bolthar/ruby-hackernews"
|
14
14
|
|
15
15
|
spec.files = `git ls-files`.split($/)
|
16
16
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-hackernews
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrea Dallera
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -120,7 +120,7 @@ files:
|
|
120
120
|
- spec/HNAPI/services/entries/parsers/voting_info_parser_spec.rb
|
121
121
|
- spec/HNAPI/services/mechanize_context_spec.rb
|
122
122
|
- spec/spec_helper.rb
|
123
|
-
homepage: http://github.com/
|
123
|
+
homepage: http://github.com/bolthar/ruby-hackernews
|
124
124
|
licenses: []
|
125
125
|
metadata: {}
|
126
126
|
post_install_message:
|
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
139
|
version: '0'
|
140
140
|
requirements: []
|
141
141
|
rubyforge_project:
|
142
|
-
rubygems_version: 2.
|
142
|
+
rubygems_version: 2.2.2
|
143
143
|
signing_key:
|
144
144
|
specification_version: 4
|
145
145
|
summary: An interface to Hacker News
|