club_hopper 0.1.2 → 0.1.3
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 +4 -4
- data/bin/clubhopper +1 -1
- data/club_hopper-0.1.1.gem +0 -0
- data/club_hopper-0.1.2.gem +0 -0
- data/club_hopper.gemspec +1 -1
- data/lib/club_hopper/cielo.rb +2 -2
- data/lib/club_hopper/cli.rb +1 -0
- data/lib/club_hopper/output.rb +4 -4
- data/lib/club_hopper/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35744f6b115cea907152ca6bc2abcf35f0913405
|
4
|
+
data.tar.gz: 89101e03bd08c58d4d61c4a9097cc9014f4f6b3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 603129df0bae8ad318d057443bfa62c3a2a2e6a3b13bbf974e6a696e9bdf9c4aeed0b9c1e547a2e60c1d691ccc89c28b5a7663c8eb2049902737fa0a78a23c0d
|
7
|
+
data.tar.gz: d4334571655216e8154ab45a1f494e85182554d29d3112baccb4de2f8c5809e15ae62e4c757e0277cebc3e7a88253089b0cec7bbe013acb422155f390076c9dc
|
data/bin/clubhopper
CHANGED
Binary file
|
Binary file
|
data/club_hopper.gemspec
CHANGED
data/lib/club_hopper/cielo.rb
CHANGED
@@ -27,7 +27,7 @@ class ClubHopper::Cielo
|
|
27
27
|
def self.scrape_friday_cieloclub
|
28
28
|
html = Nokogiri::HTML(open("http://cieloclub.com"))
|
29
29
|
event = self.new
|
30
|
-
event.name = html.css("#main > div.col.col1 > div > ul > li.tfly-event-id-
|
30
|
+
event.name = html.css("#main > div.col.col1 > div > ul > li.tfly-event-id-1225303.tfly-org-id-3635.tfly-venue-id-32 > a").text.strip
|
31
31
|
event
|
32
32
|
end
|
33
33
|
|
@@ -35,7 +35,7 @@ class ClubHopper::Cielo
|
|
35
35
|
def self.scrape_saturday_cieloclub
|
36
36
|
html = Nokogiri::HTML(open("http://cieloclub.com"))
|
37
37
|
event = self.new
|
38
|
-
event.name = html.css("#main > div.col.col1 > div > ul > li.tfly-event-id-
|
38
|
+
event.name = html.css("#main > div.col.col1 > div > ul > li.tfly-event-id-1222421.tfly-org-id-3635.tfly-venue-id-32 > a").text.strip
|
39
39
|
|
40
40
|
event
|
41
41
|
end
|
data/lib/club_hopper/cli.rb
CHANGED
data/lib/club_hopper/output.rb
CHANGED
@@ -24,8 +24,8 @@ class ClubHopper::Output
|
|
24
24
|
def self.scrape_friday_outputnyc
|
25
25
|
doc = Nokogiri::HTML(open("http://outputclub.com/"))
|
26
26
|
event = self.new
|
27
|
-
event.name = doc.css("#content > article.post-
|
28
|
-
event.date = doc.css("#content > article.post-
|
27
|
+
event.name = doc.css("#content > article.post-4220.post.type-post.status-publish.format-standard.hentry.category-uncategorized > ul > li > h2:nth-child(1)").text
|
28
|
+
event.date = doc.css("#content > article.post-4220.post.type-post.status-publish.format-standard.hentry.category-uncategorized > h1:nth-child(2)").text
|
29
29
|
|
30
30
|
event
|
31
31
|
end
|
@@ -33,8 +33,8 @@ class ClubHopper::Output
|
|
33
33
|
def self.scrape_saturday_outputnyc
|
34
34
|
doc = Nokogiri::HTML(open("http://outputclub.com/"))
|
35
35
|
event = self.new
|
36
|
-
event.name = doc.css("#content > article.post-
|
37
|
-
event.date = doc.css("#content > article.post-
|
36
|
+
event.name = doc.css("#content > article.post-4065.post.type-post.status-publish.format-standard.hentry.category-uncategorized > ul > li > h2:nth-child(1)").text
|
37
|
+
event.date = doc.css("#content > article.post-4065.post.type-post.status-publish.format-standard.hentry.category-uncategorized > h1:nth-child(2)").text
|
38
38
|
|
39
39
|
event
|
40
40
|
end
|
data/lib/club_hopper/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: club_hopper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DownsideupmediaUSA
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -99,6 +99,8 @@ files:
|
|
99
99
|
- bin/console
|
100
100
|
- bin/setup
|
101
101
|
- club_hopper-0.1.0.gem
|
102
|
+
- club_hopper-0.1.1.gem
|
103
|
+
- club_hopper-0.1.2.gem
|
102
104
|
- club_hopper.gemspec
|
103
105
|
- lib/club_hopper.rb
|
104
106
|
- lib/club_hopper/cielo.rb
|