buzzsprout 0.0.4 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +24 -0
- data/.yardopts +7 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +32 -0
- data/LICENSE +20 -0
- data/README.md +45 -0
- data/Rakefile +16 -0
- data/buzzsprout.gemspec +32 -0
- data/changelog.md +2 -0
- data/lib/buzzsprout.rb +6 -11
- data/lib/buzzsprout/client.rb +4 -4
- data/lib/buzzsprout/episode.rb +9 -9
- data/lib/buzzsprout/version.rb +4 -0
- data/test/buzzsprout_test.rb +9 -9
- data/test/helper.rb +1 -7
- metadata +109 -114
data/.document
ADDED
data/.gitignore
ADDED
data/.yardopts
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
buzzsprout (0.0.6)
|
5
|
+
hashie (~> 1.0.0)
|
6
|
+
httparty (~> 0.5.2)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: http://rubygems.org/
|
10
|
+
specs:
|
11
|
+
crack (0.1.6)
|
12
|
+
fakeweb (1.2.8)
|
13
|
+
hashie (1.0.0)
|
14
|
+
httparty (0.5.2)
|
15
|
+
crack (= 0.1.6)
|
16
|
+
jnunemaker-matchy (0.4.0)
|
17
|
+
metaclass (0.0.1)
|
18
|
+
mocha (0.10.0)
|
19
|
+
metaclass (~> 0.0.1)
|
20
|
+
rake (0.9.2)
|
21
|
+
shoulda (2.11.3)
|
22
|
+
|
23
|
+
PLATFORMS
|
24
|
+
ruby
|
25
|
+
|
26
|
+
DEPENDENCIES
|
27
|
+
buzzsprout!
|
28
|
+
fakeweb (~> 1.2.5)
|
29
|
+
jnunemaker-matchy (= 0.4.0)
|
30
|
+
mocha (>= 0.9.4)
|
31
|
+
rake (~> 0.9.0)
|
32
|
+
shoulda (~> 2.11.0)
|
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2009 Wynn Netherland
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# buzzsprout
|
2
|
+
|
3
|
+
Ruby wrapper for the (yet unreleased, undocumented) [Buzzsprout](http://buzzsprout.com) API.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
sudo gem install buzzsprout
|
8
|
+
|
9
|
+
## Usage
|
10
|
+
|
11
|
+
Getting a list of episodes
|
12
|
+
|
13
|
+
# get your podcast ID from your RSS feed http://www.buzzsprout.com/105.rss
|
14
|
+
Buzzsprout.episodes(105)
|
15
|
+
=> [<#Buzzsprout::Episode artist="Adam Stacoviak and Wynn Netherland" created_at=Mon Jan 25 11:53:02 -0600 2010 date=Mon, 25 Jan 2010 description="Adam and Wynn talk with Chris Wanstrath aka @defunkt from GitHub about the magic of Git, the past, present and future of GitHub, building a bootstrapped startup and some other cool stuff you'll just have to hear for yourself." duration=4675 id=2274 live=true podcast_id=105 s3=true size=37400482 tags="git, github, interview, bootstrapping, business, startups" title="Episode 0.1.0 - Chris Wanstrath from GitHub" updated_at=Mon Jan 25 13:36:42 -0600 2010>]
|
16
|
+
|
17
|
+
|
18
|
+
Get a list of tagged episodes
|
19
|
+
>> tags = %w(git github)
|
20
|
+
Buzzsprout.episodes(105, tags)
|
21
|
+
=> [<#Buzzsprout::Episode artist="Adam Stacoviak and Wynn Netherland" created_at=Mon Jan 25 11:53:02 -0600 2010 date=Mon, 25 Jan 2010 description="Adam and Wynn talk with Chris Wanstrath aka @defunkt from GitHub about the magic of Git, the past, present and future of GitHub, building a bootstrapped startup and some other cool stuff you'll just have to hear for yourself." duration=4675 id=2274 live=true podcast_id=105 s3=true size=37400482 tags="git, github, interview, bootstrapping, business, startups" title="Episode 0.1.0 - Chris Wanstrath from GitHub" updated_at=Mon Jan 25 13:36:42 -0600 2010>]
|
22
|
+
|
23
|
+
Get a single episode
|
24
|
+
# podcast_id, episode_id
|
25
|
+
Buzzsprout.episodes(105, 2274)
|
26
|
+
=> <#Buzzsprout::Episode artist="Adam Stacoviak and Wynn Netherland" created_at=Mon Jan 25 11:53:02 -0600 2010 date=Mon, 25 Jan 2010 description="Adam and Wynn talk with Chris Wanstrath aka @defunkt from GitHub about the magic of Git, the past, present and future of GitHub, building a bootstrapped startup and some other cool stuff you'll just have to hear for yourself." duration=4675 id=2274 live=true podcast_id=105 s3=true size=37400482 tags="git, github, interview, bootstrapping, business, startups" title="Episode 0.1.0 - Chris Wanstrath from GitHub" updated_at=Mon Jan 25 13:36:42 -0600 2010>
|
27
|
+
|
28
|
+
Get a single episode from URL
|
29
|
+
|
30
|
+
Buzzsprout.episode_from_url('http://changelogshow.com/105/12191-episode-0-3-0-sencha-touch-with-david-kaneda')
|
31
|
+
|
32
|
+
## Note on Patches/Pull Requests
|
33
|
+
|
34
|
+
* Fork the project.
|
35
|
+
* Make your feature addition or bug fix.
|
36
|
+
* Add tests for it. This is important so I don't break it in a
|
37
|
+
future version unintentionally.
|
38
|
+
* Commit, do not mess with rakefile, version, or history.
|
39
|
+
(if you want to have your own version, that is fine but
|
40
|
+
bump version in a commit by itself I can ignore when I pull)
|
41
|
+
* Send me a pull request. Bonus points for topic branches.
|
42
|
+
|
43
|
+
## Copyright
|
44
|
+
|
45
|
+
Copyright (c) 2010 [Wynn Netherland](http://wynnnetherland.com). See LICENSE for details.
|
data/Rakefile
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env rake
|
2
|
+
|
3
|
+
|
4
|
+
require "bundler"
|
5
|
+
Bundler::GemHelper.install_tasks
|
6
|
+
|
7
|
+
require "shoulda/tasks"
|
8
|
+
|
9
|
+
require "rake/testtask"
|
10
|
+
Rake::TestTask.new(:test) do |test|
|
11
|
+
test.ruby_opts = ["-rubygems"] if defined? Gem
|
12
|
+
test.libs << "lib" << "test"
|
13
|
+
test.pattern = "test/**/*_test.rb"
|
14
|
+
end
|
15
|
+
|
16
|
+
task :default => :test
|
data/buzzsprout.gemspec
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require File.expand_path('../lib/buzzsprout/version', __FILE__)
|
3
|
+
|
4
|
+
Gem::Specification.new do |s|
|
5
|
+
s.add_development_dependency 'rake', '~> 0.9.0'
|
6
|
+
s.add_development_dependency 'fakeweb', '~> 1.2.5'
|
7
|
+
s.add_development_dependency 'jnunemaker-matchy', '0.4.0'
|
8
|
+
s.add_development_dependency 'mocha', '>= 0.9.4'
|
9
|
+
s.add_development_dependency 'shoulda', '~> 2.11.0'
|
10
|
+
|
11
|
+
s.add_dependency 'hashie', '~> 1.0.0'
|
12
|
+
s.add_dependency 'httparty', '~> 0.5.2'
|
13
|
+
|
14
|
+
s.name = %q{buzzsprout}
|
15
|
+
s.version = Buzzsprout::VERSION.dup
|
16
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 1.3.6")
|
17
|
+
s.authors = ["Wynn Netherland"]
|
18
|
+
s.date = %q{2011-10-09}
|
19
|
+
s.description = %q{Ruby wrapper for the stealth mode Buzzsprout API}
|
20
|
+
s.email = %q{wynn.netherland@gmail.com}
|
21
|
+
s.files = `git ls-files`.split("\n")
|
22
|
+
s.homepage = %q{http://github.com/pengwynn/buzzsprout}
|
23
|
+
s.require_paths = ["lib"]
|
24
|
+
s.rubygems_version = %q{1.3.6}
|
25
|
+
s.summary = %q{Wrapper for the stealth mode Buzzsprout API}
|
26
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
27
|
+
|
28
|
+
end
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
|
data/changelog.md
ADDED
data/lib/buzzsprout.rb
CHANGED
@@ -1,21 +1,15 @@
|
|
1
|
-
require '
|
2
|
-
require 'time'
|
3
|
-
|
4
|
-
#require 'active_support'
|
1
|
+
# require 'time'
|
5
2
|
|
6
3
|
require 'hashie'
|
7
4
|
require 'httparty'
|
8
5
|
|
9
6
|
|
10
|
-
|
11
7
|
directory = File.expand_path(File.dirname(__FILE__))
|
12
8
|
|
13
9
|
Hash.send :include, Hashie::HashExtensions
|
14
10
|
|
15
11
|
module Buzzsprout
|
16
|
-
|
17
|
-
VERSION = '0.0.4'.freeze
|
18
|
-
|
12
|
+
|
19
13
|
# List all the episodes for a podcast
|
20
14
|
#
|
21
15
|
# @param [Fixnum] podcast_id The ID for the podcast
|
@@ -33,7 +27,7 @@ module Buzzsprout
|
|
33
27
|
def self.episode(podcast_id, episode_id)
|
34
28
|
Client.episode(podcast_id, episode_id)
|
35
29
|
end
|
36
|
-
|
30
|
+
|
37
31
|
# Retrieve episode details
|
38
32
|
#
|
39
33
|
# @param [Fixnum] url URL of the episode
|
@@ -41,8 +35,9 @@ module Buzzsprout
|
|
41
35
|
def self.episode_from_url(url)
|
42
36
|
Client.episode_from_url(url)
|
43
37
|
end
|
44
|
-
|
38
|
+
|
45
39
|
end
|
46
40
|
|
41
|
+
require File.join(directory, 'buzzsprout', 'version')
|
47
42
|
require File.join(directory, 'buzzsprout', 'episode')
|
48
|
-
require File.join(directory, 'buzzsprout', 'client')
|
43
|
+
require File.join(directory, 'buzzsprout', 'client')
|
data/lib/buzzsprout/client.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
module Buzzsprout
|
2
|
-
|
2
|
+
|
3
3
|
class Client
|
4
4
|
include HTTParty
|
5
5
|
format :json
|
@@ -26,7 +26,7 @@ module Buzzsprout
|
|
26
26
|
def self.episode(podcast_id, episode_id)
|
27
27
|
Buzzsprout::Episode.new(self.get("/#{podcast_id}/#{episode_id}.json")['episode'])
|
28
28
|
end
|
29
|
-
|
29
|
+
|
30
30
|
# Retrieve episode details
|
31
31
|
#
|
32
32
|
# @param [Fixnum] url URL of the episode
|
@@ -36,5 +36,5 @@ module Buzzsprout
|
|
36
36
|
self.episode(podcast_id, episode_id)
|
37
37
|
end
|
38
38
|
end
|
39
|
-
|
40
|
-
end
|
39
|
+
|
40
|
+
end
|
data/lib/buzzsprout/episode.rb
CHANGED
@@ -14,27 +14,27 @@ module Buzzsprout
|
|
14
14
|
property :duration
|
15
15
|
property :updated_at
|
16
16
|
property :created_at
|
17
|
-
|
17
|
+
|
18
18
|
# Has the episode been uploaded to S3?
|
19
19
|
# @return [true,false] Boolean indicating whether or not the episode is on S3
|
20
20
|
def s3?
|
21
21
|
!!self[:s3]
|
22
22
|
end
|
23
|
-
|
23
|
+
|
24
24
|
# Has the episode been published?
|
25
25
|
# @return [true,false] Boolean indicating whether or not the episode has been published
|
26
26
|
def live?
|
27
27
|
!!self[:live]
|
28
28
|
end
|
29
|
-
|
29
|
+
|
30
30
|
# Formatted duration
|
31
31
|
# @return [String] duration formatted as time
|
32
32
|
def duration
|
33
33
|
segments = [self[:duration]/60]
|
34
|
-
segments << (self[:duration] % 60 )
|
34
|
+
segments << (self[:duration] % 60 )
|
35
35
|
segments.map {|t| t.to_s.rjust(2, '0')}.join(':')
|
36
36
|
end
|
37
|
-
|
37
|
+
|
38
38
|
# Set the duration
|
39
39
|
# @param [String] duration as time
|
40
40
|
def duration=(value)
|
@@ -42,18 +42,18 @@ module Buzzsprout
|
|
42
42
|
s, m = new_duration
|
43
43
|
self[:duration] = (s.to_i + (m.to_i*60))
|
44
44
|
end
|
45
|
-
|
45
|
+
|
46
46
|
# Duration in seconds
|
47
47
|
# @return [Integer] duration in seconds
|
48
48
|
def duration_in_seconds
|
49
49
|
self[:duration]
|
50
50
|
end
|
51
|
-
|
51
|
+
|
52
52
|
# List of tags
|
53
53
|
# @return [Array<String>] array of tags for this episode
|
54
54
|
def tags
|
55
55
|
self[:tags].split(",")
|
56
56
|
end
|
57
|
-
|
57
|
+
|
58
58
|
end
|
59
|
-
end
|
59
|
+
end
|
data/test/buzzsprout_test.rb
CHANGED
@@ -9,14 +9,14 @@ class BuzzsproutTest < Test::Unit::TestCase
|
|
9
9
|
list.first.title.should == 'Episode 0.1.0 - Chris Wanstrath from GitHub'
|
10
10
|
list.last.id.should == 1805
|
11
11
|
end
|
12
|
-
|
12
|
+
|
13
13
|
should "return a list of tagged episodes for a podcast" do
|
14
14
|
stub_get("/105.json?tags=javascript%2Cgithub", "tagged.json")
|
15
15
|
list = Buzzsprout.episodes(105, %w(javascript github))
|
16
16
|
list.first.title.should == 'Episode 0.0.7 - Mike Dirolf from 10gen and MongoDB'
|
17
17
|
list.last.id.should == 1959
|
18
18
|
end
|
19
|
-
|
19
|
+
|
20
20
|
should "parse an episode url and fetch episode info" do
|
21
21
|
stub_get("/105/12191.json", "episode.json")
|
22
22
|
url = "http://changelogshow.com/105/12191-episode-0-3-0-sencha-touch-with-david-kaneda"
|
@@ -24,14 +24,14 @@ class BuzzsproutTest < Test::Unit::TestCase
|
|
24
24
|
ep.tags.size.should == 6
|
25
25
|
ep.tags.first.should == 'git'
|
26
26
|
end
|
27
|
-
|
27
|
+
|
28
28
|
context "when fetching info for a single episode" do
|
29
|
-
|
29
|
+
|
30
30
|
setup do
|
31
31
|
stub_get("/105/2274.json", "episode.json")
|
32
32
|
@episode = Buzzsprout.episode(105, 2274)
|
33
33
|
end
|
34
|
-
|
34
|
+
|
35
35
|
should "return info about an episode for a podcast" do
|
36
36
|
|
37
37
|
@episode.title.should == 'Episode 0.1.0 - Chris Wanstrath from GitHub'
|
@@ -51,16 +51,16 @@ class BuzzsproutTest < Test::Unit::TestCase
|
|
51
51
|
@episode.tags.size.should == 6
|
52
52
|
@episode.tags.first.should == 'git'
|
53
53
|
end
|
54
|
-
|
54
|
+
|
55
55
|
should "indicate if a lesson is on s3 (and processed)" do
|
56
56
|
@episode.s3?.should == true
|
57
57
|
end
|
58
|
-
|
58
|
+
|
59
59
|
should "indicate if a lesson is live" do
|
60
60
|
@episode.live?.should == true
|
61
61
|
end
|
62
62
|
end
|
63
|
-
|
63
|
+
|
64
64
|
end
|
65
|
-
|
65
|
+
|
66
66
|
end
|
data/test/helper.rb
CHANGED
@@ -1,15 +1,9 @@
|
|
1
1
|
require 'test/unit'
|
2
2
|
require 'pathname'
|
3
|
-
require 'rubygems'
|
4
|
-
|
5
|
-
gem 'shoulda', '>= 2.10.1'
|
6
|
-
gem 'jnunemaker-matchy', '0.4.0'
|
7
|
-
gem 'fakeweb', '>= 1.2.5'
|
8
3
|
|
9
4
|
require 'shoulda'
|
10
5
|
require 'matchy'
|
11
6
|
require 'fakeweb'
|
12
|
-
require 'redgreen'
|
13
7
|
|
14
8
|
|
15
9
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
@@ -33,7 +27,7 @@ end
|
|
33
27
|
|
34
28
|
def stub_get(url, filename, options={})
|
35
29
|
opts = {:body => fixture_file(filename)}.merge(options)
|
36
|
-
|
30
|
+
|
37
31
|
FakeWeb.register_uri(:get, buzzsprout_url(url), opts)
|
38
32
|
end
|
39
33
|
|
metadata
CHANGED
@@ -1,151 +1,146 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: buzzsprout
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 0
|
8
|
-
- 4
|
9
|
-
version: 0.0.4
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.6
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Wynn Netherland
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
requirements:
|
23
|
-
- - ~>
|
24
|
-
- !ruby/object:Gem::Version
|
25
|
-
segments:
|
26
|
-
- 0
|
27
|
-
- 2
|
28
|
-
- 0
|
29
|
-
version: 0.2.0
|
30
|
-
name: hashie
|
31
|
-
prerelease: false
|
32
|
-
requirement: *id001
|
33
|
-
type: :runtime
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
version_requirements: &id002 !ruby/object:Gem::Requirement
|
36
|
-
requirements:
|
12
|
+
date: 2011-10-09 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rake
|
16
|
+
requirement: &70363138454460 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
37
19
|
- - ~>
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
|
40
|
-
|
41
|
-
- 5
|
42
|
-
- 2
|
43
|
-
version: 0.5.2
|
44
|
-
name: httparty
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.9.0
|
22
|
+
type: :development
|
45
23
|
prerelease: false
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
24
|
+
version_requirements: *70363138454460
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: fakeweb
|
27
|
+
requirement: &70363138453960 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
51
30
|
- - ~>
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
|
54
|
-
- 2
|
55
|
-
- 10
|
56
|
-
- 0
|
57
|
-
version: 2.10.0
|
58
|
-
name: shoulda
|
59
|
-
prerelease: false
|
60
|
-
requirement: *id003
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.2.5
|
61
33
|
type: :development
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
version_requirements: &id004 !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "="
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
segments:
|
68
|
-
- 0
|
69
|
-
- 4
|
70
|
-
- 0
|
71
|
-
version: 0.4.0
|
72
|
-
name: jnunemaker-matchy
|
73
34
|
prerelease: false
|
74
|
-
|
35
|
+
version_requirements: *70363138453960
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: jnunemaker-matchy
|
38
|
+
requirement: &70363138453460 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - =
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 0.4.0
|
75
44
|
type: :development
|
76
|
-
- !ruby/object:Gem::Dependency
|
77
|
-
version_requirements: &id005 !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - ">="
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
segments:
|
82
|
-
- 0
|
83
|
-
- 9
|
84
|
-
- 4
|
85
|
-
version: 0.9.4
|
86
|
-
name: mocha
|
87
45
|
prerelease: false
|
88
|
-
|
46
|
+
version_requirements: *70363138453460
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: mocha
|
49
|
+
requirement: &70363138452980 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.9.4
|
89
55
|
type: :development
|
90
|
-
- !ruby/object:Gem::Dependency
|
91
|
-
version_requirements: &id006 !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - ">="
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
segments:
|
96
|
-
- 1
|
97
|
-
- 2
|
98
|
-
- 5
|
99
|
-
version: 1.2.5
|
100
|
-
name: fakeweb
|
101
56
|
prerelease: false
|
102
|
-
|
57
|
+
version_requirements: *70363138452980
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: shoulda
|
60
|
+
requirement: &70363138452460 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ~>
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: 2.11.0
|
103
66
|
type: :development
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *70363138452460
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: hashie
|
71
|
+
requirement: &70363138451920 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ~>
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 1.0.0
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *70363138451920
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: httparty
|
82
|
+
requirement: &70363138451060 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ~>
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: 0.5.2
|
88
|
+
type: :runtime
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: *70363138451060
|
104
91
|
description: Ruby wrapper for the stealth mode Buzzsprout API
|
105
92
|
email: wynn.netherland@gmail.com
|
106
93
|
executables: []
|
107
|
-
|
108
94
|
extensions: []
|
109
|
-
|
110
95
|
extra_rdoc_files: []
|
111
|
-
|
112
|
-
|
96
|
+
files:
|
97
|
+
- .document
|
98
|
+
- .gitignore
|
99
|
+
- .yardopts
|
100
|
+
- Gemfile
|
101
|
+
- Gemfile.lock
|
102
|
+
- LICENSE
|
103
|
+
- README.md
|
104
|
+
- Rakefile
|
105
|
+
- buzzsprout.gemspec
|
106
|
+
- changelog.md
|
107
|
+
- lib/buzzsprout.rb
|
113
108
|
- lib/buzzsprout/client.rb
|
114
109
|
- lib/buzzsprout/episode.rb
|
115
|
-
- lib/buzzsprout.rb
|
116
|
-
|
117
|
-
|
110
|
+
- lib/buzzsprout/version.rb
|
111
|
+
- test/buzzsprout_test.rb
|
112
|
+
- test/fixtures/episode.json
|
113
|
+
- test/fixtures/episode_list.json
|
114
|
+
- test/fixtures/tagged.json
|
115
|
+
- test/helper.rb
|
116
|
+
homepage: http://github.com/pengwynn/buzzsprout
|
118
117
|
licenses: []
|
119
|
-
|
120
118
|
post_install_message:
|
121
119
|
rdoc_options: []
|
122
|
-
|
123
|
-
require_paths:
|
120
|
+
require_paths:
|
124
121
|
- lib
|
125
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
122
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
123
|
+
none: false
|
124
|
+
requirements:
|
125
|
+
- - ! '>='
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
version: '0'
|
128
|
+
segments:
|
130
129
|
- 0
|
131
|
-
|
132
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
- 1
|
138
|
-
- 3
|
139
|
-
- 6
|
130
|
+
hash: -862646340802584064
|
131
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
132
|
+
none: false
|
133
|
+
requirements:
|
134
|
+
- - ! '>='
|
135
|
+
- !ruby/object:Gem::Version
|
140
136
|
version: 1.3.6
|
141
137
|
requirements: []
|
142
|
-
|
143
138
|
rubyforge_project:
|
144
|
-
rubygems_version: 1.
|
139
|
+
rubygems_version: 1.8.6
|
145
140
|
signing_key:
|
146
141
|
specification_version: 3
|
147
142
|
summary: Wrapper for the stealth mode Buzzsprout API
|
148
|
-
test_files:
|
143
|
+
test_files:
|
149
144
|
- test/buzzsprout_test.rb
|
150
145
|
- test/fixtures/episode.json
|
151
146
|
- test/fixtures/episode_list.json
|