musicscrape 0.0.8 → 0.0.9

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.8
1
+ 0.0.9
data/bin/musicscrape CHANGED
@@ -2,4 +2,10 @@
2
2
 
3
3
  require 'musicscrape'
4
4
  @scrape = Scrape.new
5
- puts @scrape.get_music_listings
5
+ @scrape.get_music_listings.each do |lst|
6
+ puts lst[:title]
7
+ puts lst[:venue]
8
+ puts lst[:date]
9
+ puts lst[:details]
10
+ puts "\n"
11
+ end
data/lib/musicscrape.rb CHANGED
@@ -1,5 +1,7 @@
1
1
  require 'rubygems'
2
2
  require 'rest-client'
3
+ #call musicscrape with no arguments from the command line for output
4
+
3
5
  #This gem goes to www.thestranger.com/seattle/Music and scrapes data for all the recommended concerts.
4
6
  #The one method you need is get_music_listings which returns an array of hashes of the form
5
7
  #[[:title=> "", :venue=>"", :date=>"", :details=>""], ...]
Binary file
Binary file
data/musicscrape.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "musicscrape"
8
- s.version = "0.0.8"
8
+ s.version = "0.0.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["tallbryan"]
@@ -34,6 +34,8 @@ Gem::Specification.new do |s|
34
34
  "musicscrape-0.0.3.gem",
35
35
  "musicscrape-0.0.4.gem",
36
36
  "musicscrape-0.0.6.gem",
37
+ "musicscrape-0.0.7.gem",
38
+ "musicscrape-0.0.8.gem",
37
39
  "musicscrape.gemspec",
38
40
  "rakefile.rb"
39
41
  ]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: musicscrape
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -132,6 +132,8 @@ files:
132
132
  - musicscrape-0.0.3.gem
133
133
  - musicscrape-0.0.4.gem
134
134
  - musicscrape-0.0.6.gem
135
+ - musicscrape-0.0.7.gem
136
+ - musicscrape-0.0.8.gem
135
137
  - musicscrape.gemspec
136
138
  - rakefile.rb
137
139
  homepage: http://github.com/tallbryan/musicscrape