pitchscrape 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 33dead2ac82081e8173d2830539f86766a9b18dc
4
+ data.tar.gz: bf094e1719742dabbab1a395a8d7118106e7ce2c
5
+ SHA512:
6
+ metadata.gz: 818fe510fb95e6646ac295ed65902bcbb001f098653d3de1da4bc544f6586e5cff94b92344534497f908622b04dc1bc68103fd783382b6c5b5dccc5e8018b79d
7
+ data.tar.gz: 2de709b6a03292eebdbc9b93f0c886dbd0243bc50d66b7cd7152b4a0bb06a0d94c50a7f0efaf272b50b8aebfe03e88552c1f726672cf7e0d8a0eb30ae7d94e8b
@@ -0,0 +1,14 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --format documentation
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in pitchfork.gemspec
4
+ gemspec
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 Justin Park
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,3 @@
1
+ # Pitchfork
2
+
3
+ Unofficial API for Pitchfork Media albums
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
@@ -0,0 +1,3 @@
1
+ require 'pitchscrape/version'
2
+ require 'pitchscrape/album'
3
+ require 'pitchscrape/best_new_music'
@@ -0,0 +1,14 @@
1
+ module Pitchscrape
2
+ class Album
3
+ attr_reader :artist, :title, :rating, :label,
4
+ :review, :review_date, :artwork
5
+
6
+ def initialize(attributes = {})
7
+ @artist = attributes[:artist]
8
+ @title = attributes[:title]
9
+ @rating = attributes[:rating]
10
+ @review = attributes[:review]
11
+ @artwork = attributes[:artwork]
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,55 @@
1
+ require 'open-uri'
2
+ require 'nokogiri'
3
+
4
+ module Pitchscrape
5
+ class BestNewMusic
6
+ BNM_URL = 'http://www.pitchfork.com/reviews/best/albums'
7
+ class << self
8
+ def albums(page = 1)
9
+ parse_doc(page)
10
+ end
11
+
12
+ private
13
+
14
+ def doc(page)
15
+ Nokogiri::HTML(open("#{BNM_URL}/#{page}"), nil, 'UTF-8').css('ul.bnm-list > li')
16
+ end
17
+
18
+ def parse_doc(page)
19
+ doc(page).map do |album|
20
+ Pitchscrape::Album.new(
21
+ artwork: parse_artwork(album),
22
+ title: parse_title(album),
23
+ artist: parse_artist(album),
24
+ rating: parse_rating(album),
25
+ review: parse_review(album)
26
+ )
27
+ end
28
+ end
29
+
30
+ def parse_artwork(album)
31
+ Nokogiri::HTML(album.at_css('div.lazy').attr('data-content')).at_css('img').attr('src')
32
+ end
33
+
34
+ def parse_title(album)
35
+ album.at_css('div.info h2').text
36
+ end
37
+
38
+ def parse_artist(album)
39
+ album.at_css('div.info h1').text
40
+ end
41
+
42
+ def parse_rating(album)
43
+ album.at_css('div.info span.score').text.strip
44
+ end
45
+
46
+ def parse_review(album)
47
+ sanitize(album.at_css('div.editorial').inner_html)
48
+ end
49
+
50
+ def sanitize(html)
51
+ html.gsub(/<p>|<\/p>|\n/, '').strip
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,3 @@
1
+ module Pitchscrape
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,26 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'pitchscrape/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "pitchscrape"
8
+ spec.version = Pitchscrape::VERSION
9
+ spec.authors = ["Justin Park"]
10
+ spec.email = ["jpark3000@gmail.com"]
11
+ spec.summary = "Unofficial Pitchfork Media API"
12
+ spec.description = "For querying Pitchfork Best New Music albums"
13
+ spec.homepage = ""
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_dependency "nokogiri", "~> 1.6.5"
22
+
23
+ spec.add_development_dependency "bundler", "~> 1.7"
24
+ spec.add_development_dependency "rake", "~> 10.0"
25
+ spec.add_development_dependency "rspec"
26
+ end
@@ -0,0 +1,144 @@
1
+ <ul class="object-list bnm-list">
2
+ <li class="first ">
3
+ <a href="/reviews/albums/20021-andy-stott-faith-in-strangers/">
4
+ <div class="artwork">
5
+ <div class="lazy" data-content=' &lt;img src="http://cdn2.pitchfork.com/albums/21283/list.a0908a64.jpg" /&gt; '></div>
6
+ </div>
7
+ </a>
8
+ <div class="widgets">
9
+ <div id="social-httppitchforkcomreviewsalbums20021" class="social-deferred">
10
+ <div class="lazy" data-content=" &lt;script class=&quot;social&quot; type=&quot;text/javascript&quot;&gt; $(function() { p4k.ui.social( 'social-httppitchforkcomreviewsalbums20021', 'Andy Stott: Faith in Strangers', 'http://pitchfork.com/reviews/albums/20021\u002Dandy\u002Dstott\u002Dfaith\u002Din\u002Dstrangers/'); }); &lt;/script&gt; "></div>
11
+ </div>
12
+ <h1> More from this artist : </h1> <a href="/artists/22792-andy-stott/">Andy Stott</a> </div>
13
+ <div class="info">
14
+ <a href="/reviews/albums/20021-andy-stott-faith-in-strangers/">
15
+ <h1>Andy Stott</h1>
16
+ <h2>Faith in Strangers</h2> </a>
17
+ <h4> By Grayson Haver Currin; November 21, 2014 </h4> <span class="score bnm score-8-4"> 8.4 </span>
18
+ <div class="editorial">
19
+ <p>The Manchester electronic producer Andy Stott creates ghostly environments filled with glitches, pops, hazes, lurid synths, clarion vocals, graceful footwork, and enormous bass. His first substantive solo release since 2012’s masterful<i> Luxury Problems</i>, offers an expanding set of sounds and ideas. In the last three years, Stott has not only cemented his approach but also upped his ambition.</p>
20
+ </div>
21
+ <div class="review-audio">
22
+ <ul>
23
+ <li class="first "> <span class="p4k-player-track" id="track-10861" data-artist="Andy Stott" data-title='"Violence"' data-player-type="sc" data-sc-track-id="" data-href="https://soundcloud.com/modernlove/violence/"> <span class="play-pause"></span><span class="favorite"></span> <span class="label"> Andy Stott: "Violence" (via <a rel="nofollow" target="_blank" href="https://soundcloud.com/modernlove/violence/">SoundCloud</a>) </span>
24
+ </span>
25
+ </li>
26
+ <li class=" last"> <span class="p4k-player-track" id="track-11016" data-artist="Andy Stott" data-title='"Faith in Strangers"' data-player-type="sc" data-sc-track-id="172103405" data-href="https://soundcloud.com/modernlove/andy-stott-faith-in-strangers"> <span class="play-pause"></span><span class="favorite"></span> <span class="label"> Andy Stott: "Faith in Strangers" (via <a rel="nofollow" target="_blank" href="https://soundcloud.com/modernlove/andy-stott-faith-in-strangers">SoundCloud</a>) </span>
27
+ </span>
28
+ </li>
29
+ </ul>
30
+ </div>
31
+ </div>
32
+ </li>
33
+ <li class=" ">
34
+ <a href="/reviews/albums/19936-ariel-pink-pom-pom/">
35
+ <div class="artwork">
36
+ <div class="lazy" data-content=' &lt;img src="http://cdn3.pitchfork.com/albums/21187/list.b02cb19b.jpg" /&gt; '></div>
37
+ </div>
38
+ </a>
39
+ <div class="widgets">
40
+ <div id="social-httppitchforkcomreviewsalbums19936" class="social-deferred">
41
+ <div class="lazy" data-content=" &lt;script class=&quot;social&quot; type=&quot;text/javascript&quot;&gt; $(function() { p4k.ui.social( 'social-httppitchforkcomreviewsalbums19936', 'Ariel Pink: Pom Pom', 'http://pitchfork.com/reviews/albums/19936\u002Dariel\u002Dpink\u002Dpom\u002Dpom/'); }); &lt;/script&gt; "></div>
42
+ </div>
43
+ <h1> More from this artist : </h1> <a href="/artists/3447-ariel-pink/">Ariel Pink</a> </div>
44
+ <div class="info">
45
+ <a href="/reviews/albums/19936-ariel-pink-pom-pom/">
46
+ <h1>Ariel Pink</h1>
47
+ <h2>Pom Pom</h2> </a>
48
+ <h4> By Jeff Weiss; November 18, 2014 </h4> <span class="score bnm score-8-8"> 8.8 </span>
49
+ <div class="editorial">
50
+ <p>A decade ago, Ariel Pink crept out of his rented room in an ashram off Crenshaw with reels of spindly, self-destructing love songs. On his new album, the CalArts alumnus remains the stylistic next-of-kin to Frank Zappa: satirical, divisive, and more interested in terraforming genres than neatly deconstructing them. But for all the arch humor and affectation, Pink writes some of most wistful and peculiarly moving songs in contemporary music. </p>
51
+ </div>
52
+ </div>
53
+ </li>
54
+ <li class=" ">
55
+ <a href="/reviews/albums/19905-clark-clark/">
56
+ <div class="artwork">
57
+ <div class="lazy" data-content=' &lt;img src="http://cdn2.pitchfork.com/albums/21147/list.3829453e.jpg" /&gt; '></div>
58
+ </div>
59
+ </a>
60
+ <div class="widgets">
61
+ <div id="social-httppitchforkcomreviewsalbums19905" class="social-deferred">
62
+ <div class="lazy" data-content=" &lt;script class=&quot;social&quot; type=&quot;text/javascript&quot;&gt; $(function() { p4k.ui.social( 'social-httppitchforkcomreviewsalbums19905', 'Clark: Clark', 'http://pitchfork.com/reviews/albums/19905\u002Dclark\u002Dclark/'); }); &lt;/script&gt; "></div>
63
+ </div>
64
+ <h1> More from this artist : </h1> <a href="/artists/4987-clark/">Clark</a> </div>
65
+ <div class="info">
66
+ <a href="/reviews/albums/19905-clark-clark/">
67
+ <h1>Clark</h1>
68
+ <h2>Clark</h2> </a>
69
+ <h4> By Ryan Dombal; November 7, 2014 </h4> <span class="score bnm score-8-3"> 8.3 </span>
70
+ <div class="editorial">
71
+ <p>At this point, Clark has been translating his wracked emotions via machines—samplers, software, synths—for about half his life. <i>Clark</i> finds the Warp artist merging techno, electro, noise, classical, ambient, and post-rock with the skill of a virtuoso. This album is like Aphex’s comeback <a href="http://pitchfork.com/reviews/albums/19755-aphex-twin-syro/"><i>Syro</i></a> in that it showcases a veteran artist living and breathing within a sonic palette of his own creation—and the fact that no one would confuse the two is a testament to Clark’s hard-won individuality.</p>
72
+ </div>
73
+ <div class="review-audio">
74
+ <ul>
75
+ <li class="first last"> <span class="p4k-player-track" id="track-10789" data-artist="Clark" data-title='"Unfurla"' data-player-type="sc" data-sc-track-id="167062160" data-href="https://soundcloud.com/throttleclark/unfurla"> <span class="play-pause"></span><span class="favorite"></span> <span class="label"> Clark: "Unfurla" (via <a rel="nofollow" target="_blank" href="https://soundcloud.com/throttleclark/unfurla">SoundCloud</a>) </span>
76
+ </span>
77
+ </li>
78
+ </ul>
79
+ </div>
80
+ </div>
81
+ </li>
82
+ <li class=" ">
83
+ <a href="/reviews/albums/19836-arca-xen/">
84
+ <div class="artwork">
85
+ <div class="lazy" data-content=' &lt;img src="http://cdn.pitchfork.com/albums/21074/list.4dcc3cc2.jpg" /&gt; '></div>
86
+ </div>
87
+ </a>
88
+ <div class="widgets">
89
+ <div id="social-httppitchforkcomreviewsalbums19836" class="social-deferred">
90
+ <div class="lazy" data-content=" &lt;script class=&quot;social&quot; type=&quot;text/javascript&quot;&gt; $(function() { p4k.ui.social( 'social-httppitchforkcomreviewsalbums19836', 'Arca: Xen', 'http://pitchfork.com/reviews/albums/19836\u002Darca\u002Dxen/'); }); &lt;/script&gt; "></div>
91
+ </div>
92
+ <h1> More from this artist : </h1> <a href="/artists/30594-arca/">Arca</a> </div>
93
+ <div class="info">
94
+ <a href="/reviews/albums/19836-arca-xen/">
95
+ <h1>Arca</h1>
96
+ <h2>Xen</h2> </a>
97
+ <h4> By Philip Sherburne; November 3, 2014 </h4> <span class="score bnm score-8-4"> 8.4 </span>
98
+ <div class="editorial">
99
+ <p>So far, Arca is best known as a producer. He's already produced some of FKA twigs' best work, he's co-producing Björk's next album, and he had a hand in four songs on Kanye West's <i>Yeezus</i>. Despite his high profile collaborations, his excellent debut album <i>Xen </i>is doggedly experimental, perhaps the strangest music he's made.  <i>Xen </i>feels less like a narrative arc than an amalgam of two- and three-minute chunks that might work just as well on shuffle. That's not a criticism. To the contrary: the album's mazelike shape is an indicator of how much lies beneath the surface. You really could get lost in this thing.</p>
100
+ </div>
101
+ <div class="review-audio">
102
+ <ul>
103
+ <li class="first last"> <span class="p4k-player-track" id="track-10788" data-artist="Arca" data-title='"Thievery"' data-player-type="sc" data-sc-track-id="167213046" data-href="https://soundcloud.com/arca1000000/arca-thievery/"> <span class="play-pause"></span><span class="favorite"></span> <span class="label"> Arca: "Thievery" (via <a rel="nofollow" target="_blank" href="https://soundcloud.com/arca1000000/arca-thievery/">SoundCloud</a>) </span>
104
+ </span>
105
+ </li>
106
+ </ul>
107
+ </div>
108
+ </div>
109
+ </li>
110
+ <li class=" last">
111
+ <a href="/reviews/albums/19968-run-the-jewels-run-the-jewels-2/">
112
+ <div class="artwork">
113
+ <div class="lazy" data-content=' &lt;img src="http://cdn4.pitchfork.com/albums/21227/list.e0491b02.jpg" /&gt; '></div>
114
+ </div>
115
+ </a>
116
+ <div class="widgets">
117
+ <div id="social-httppitchforkcomreviewsalbums19968" class="social-deferred">
118
+ <div class="lazy" data-content=" &lt;script class=&quot;social&quot; type=&quot;text/javascript&quot;&gt; $(function() { p4k.ui.social( 'social-httppitchforkcomreviewsalbums19968', 'Run the Jewels: Run the Jewels 2', 'http://pitchfork.com/reviews/albums/19968\u002Drun\u002Dthe\u002Djewels\u002Drun\u002Dthe\u002Djewels\u002D2/'); }); &lt;/script&gt; "></div>
119
+ </div>
120
+ <h1> More from this artist : </h1> <a href="/artists/31319-run-the-jewels/">Run the Jewels</a> </div>
121
+ <div class="info">
122
+ <a href="/reviews/albums/19968-run-the-jewels-run-the-jewels-2/">
123
+ <h1>Run the Jewels</h1>
124
+ <h2>Run the Jewels 2</h2> </a>
125
+ <h4> By Ian Cohen; October 29, 2014 </h4> <span class="score bnm score-9-0"> 9.0 </span>
126
+ <div class="editorial">
127
+ <p>It’s important to note that <i>Run the Jewels 2</i> is an <i>album</i>—it’s on a real label and you can pay money to own it. And the transition from mixtape-to-album explains every progression El-P and Killer Mike have made in the past year. Think of it as the <i>Hell Hath No Fury</i> to <i>Run the Jewels</i>’ <i>We Got It 4 Cheap</i>—the latter were freewheeling collaborations that introduced commercially exiled veterans to a new audience of microphone fiends and completely reframed their public perception. This is the most viciously realized rap album of 2014. </p>
128
+ </div>
129
+ <div class="review-audio">
130
+ <ul>
131
+ <li class="first "> <span class="p4k-player-track" id="track-10675" data-artist="Run the Jewels" data-title='"Blockbuster Night Part 1"' data-player-type="sc" data-sc-track-id="164041505" data-href="https://soundcloud.com/massappealrecs/rtj-blockbuster-night-part-1/"> <span class="play-pause"></span><span class="favorite"></span> <span class="label"> Run the Jewels: "Blockbuster Night Part 1" (via <a rel="nofollow" target="_blank" href="https://soundcloud.com/massappealrecs/rtj-blockbuster-night-part-1/">SoundCloud</a>) </span>
132
+ </span>
133
+ </li>
134
+ <li class=" "> <span class="p4k-player-track" id="track-10800" data-artist="Run the Jewels" data-title="&quot;Oh My Darling Don't Cry&quot;" data-player-type="sc" data-sc-track-id="166992065" data-href="https://soundcloud.com/adultswimsingles/oh-my-darling-dont-cry"> <span class="play-pause"></span><span class="favorite"></span> <span class="label"> Run the Jewels: "Oh My Darling Don't Cry" (via <a rel="nofollow" target="_blank" href="https://soundcloud.com/adultswimsingles/oh-my-darling-dont-cry">SoundCloud</a>) </span>
135
+ </span>
136
+ </li>
137
+ <li class=" last"> <span class="p4k-player-track" id="track-10994" data-artist="Run the Jewels" data-title='"Close Your Eyes (And Count to Fuck)" [ft. Zack De La Rocha]' data-player-type="sc" data-sc-track-id="171857499" data-href="https://soundcloud.com/massappealrecs/close-your-eyes-and-count-to-fuck-feat-zack-de-la-rocha"> <span class="play-pause"></span><span class="favorite"></span> <span class="label"> Run the Jewels: "Close Your Eyes (And Count to Fuck)" [ft. Zack De La Rocha] (via <a rel="nofollow" target="_blank" href="https://soundcloud.com/massappealrecs/close-your-eyes-and-count-to-fuck-feat-zack-de-la-rocha">SoundCloud</a>) </span>
138
+ </span>
139
+ </li>
140
+ </ul>
141
+ </div>
142
+ </div>
143
+ </li>
144
+ </ul>
@@ -0,0 +1,58 @@
1
+ require 'spec_helper'
2
+
3
+ describe Pitchscrape::BestNewMusic do
4
+ let(:fixture) { File.open(File.expand_path('../../bnm-fixture.html', __FILE__)) }
5
+ let(:bnm) { Pitchscrape::BestNewMusic }
6
+
7
+ before do
8
+ allow(bnm).to receive(:doc).and_return(Nokogiri::HTML(fixture, nil, 'UTF-8').css('ul.bnm-list > li'))
9
+ end
10
+
11
+ it 'parses album artwork' do
12
+ expect(bnm.albums.first.artwork).to eq "http://cdn2.pitchfork.com/albums/21283/list.a0908a64.jpg"
13
+ end
14
+
15
+ it 'parses album artwork' do
16
+ expect(bnm.albums[1].artwork).to eq "http://cdn3.pitchfork.com/albums/21187/list.b02cb19b.jpg"
17
+ end
18
+
19
+ it 'parses album artwork' do
20
+ expect(bnm.albums.last.artwork).to eq "http://cdn4.pitchfork.com/albums/21227/list.e0491b02.jpg"
21
+ end
22
+
23
+ it 'parses album title' do
24
+ expect(bnm.albums.first.title).to eq "Faith in Strangers"
25
+ end
26
+
27
+ it 'parses album title' do
28
+ expect(bnm.albums.last.title).to eq "Run the Jewels 2"
29
+ end
30
+
31
+ it 'parses album artist' do
32
+ expect(bnm.albums.first.artist).to eq "Andy Stott"
33
+ end
34
+
35
+ it 'parses album artist' do
36
+ expect(bnm.albums[2].artist).to eq "Clark"
37
+ end
38
+
39
+ it 'parses album rating' do
40
+ expect(bnm.albums[2].rating).to eq "8.3"
41
+ end
42
+
43
+ it 'parses album rating' do
44
+ expect(bnm.albums[3].rating).to eq "8.4"
45
+ end
46
+
47
+ it 'parses album review' do
48
+ expect(bnm.albums.first.review).to eq "The Manchester electronic producer Andy Stott creates ghostly environments filled with glitches, pops, hazes, lurid synths, clarion vocals, graceful footwork, and enormous bass. His first substantive solo release since 2012’s masterful<i> Luxury Problems</i>, offers an expanding set of sounds and ideas. In the last three years, Stott has not only cemented his approach but also upped his ambition."
49
+ end
50
+
51
+ it 'parses album review' do
52
+ expect(bnm.albums.last.review).to eq "It’s important to note that <i>Run the Jewels 2</i> is an <i>album</i>—it’s on a real label and you can pay money to own it. And the transition from mixtape-to-album explains every progression El-P and Killer Mike have made in the past year. Think of it as the <i>Hell Hath No Fury</i> to <i>Run the Jewels</i>’ <i>We Got It 4 Cheap</i>—the latter were freewheeling collaborations that introduced commercially exiled veterans to a new audience of microphone fiends and completely reframed their public perception. This is the most viciously realized rap album of 2014. "
53
+ end
54
+
55
+ it 'returns an array of album objects' do
56
+ expect(bnm.albums.map(&:class)).to eq Array.new(5, Pitchscrape::Album)
57
+ end
58
+ end
@@ -0,0 +1 @@
1
+ require 'pitchfork_bnm'
@@ -0,0 +1 @@
1
+ require 'pitchscrape'
metadata ADDED
@@ -0,0 +1,119 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pitchscrape
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Justin Park
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-12-09 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: nokogiri
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 1.6.5
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 1.6.5
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.7'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.7'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ description: For querying Pitchfork Best New Music albums
70
+ email:
71
+ - jpark3000@gmail.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - ".gitignore"
77
+ - ".rspec"
78
+ - Gemfile
79
+ - LICENSE.txt
80
+ - README.md
81
+ - Rakefile
82
+ - lib/pitchscrape.rb
83
+ - lib/pitchscrape/album.rb
84
+ - lib/pitchscrape/best_new_music.rb
85
+ - lib/pitchscrape/version.rb
86
+ - pitchscrape.gemspec
87
+ - spec/bnm-fixture.html
88
+ - spec/pitchscrape/albums_spec.rb
89
+ - spec/pitchscrape/spec_helper.rb
90
+ - spec/spec_helper.rb
91
+ homepage: ''
92
+ licenses:
93
+ - MIT
94
+ metadata: {}
95
+ post_install_message:
96
+ rdoc_options: []
97
+ require_paths:
98
+ - lib
99
+ required_ruby_version: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ required_rubygems_version: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - ">="
107
+ - !ruby/object:Gem::Version
108
+ version: '0'
109
+ requirements: []
110
+ rubyforge_project:
111
+ rubygems_version: 2.2.2
112
+ signing_key:
113
+ specification_version: 4
114
+ summary: Unofficial Pitchfork Media API
115
+ test_files:
116
+ - spec/bnm-fixture.html
117
+ - spec/pitchscrape/albums_spec.rb
118
+ - spec/pitchscrape/spec_helper.rb
119
+ - spec/spec_helper.rb