simplecast 0.0.1
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 +7 -0
- data/.gitignore +35 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +34 -0
- data/LICENSE +22 -0
- data/LICENSE.txt +22 -0
- data/README.md +66 -0
- data/Rakefile +2 -0
- data/lib/simplecast.rb +24 -0
- data/lib/simplecast/client.rb +33 -0
- data/lib/simplecast/client/episode.rb +23 -0
- data/lib/simplecast/client/podcast.rb +9 -0
- data/lib/simplecast/client/resource.rb +24 -0
- data/lib/simplecast/client/statistic.rb +28 -0
- data/lib/simplecast/configurable.rb +19 -0
- data/lib/simplecast/episode.rb +9 -0
- data/lib/simplecast/model.rb +4 -0
- data/lib/simplecast/podcast.rb +6 -0
- data/lib/simplecast/statistic.rb +6 -0
- data/lib/simplecast/version.rb +3 -0
- data/simplecast.gemspec +25 -0
- data/spec/simplecast/client/episode_spec.rb +10 -0
- data/spec/simplecast/client/podcast_spec.rb +10 -0
- data/spec/simplecast/client/resource_spec.rb +22 -0
- data/spec/simplecast/client_spec.rb +24 -0
- data/spec/simplecast/episode_spec.rb +8 -0
- data/spec/simplecast/model_spec.rb +15 -0
- data/spec/spec_helper.rb +1 -0
- metadata +134 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: b9536b3ee8b553a3ce185476b5ff227d31c88c68
|
4
|
+
data.tar.gz: 1a2e159074874634a80e6dcf4c4963fc8ca94286
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ffe95bc4cfd4254e895f5042008600dcddeb9df0579a4ac373a9359abe6e85d093fd6768fb91aaa64d90246a1b2b460e829a64093a8e00b9d15a41f98b24ce14
|
7
|
+
data.tar.gz: 6b25a7045ec9a12daaa787f054fc0761a5e1af3d304f63016c73aad5a906daf55b9951ecff030f4c6ab7d7cb0cf825cf9d9eaa630eb879166753547c70a95a87
|
data/.gitignore
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
*.gem
|
2
|
+
*.rbc
|
3
|
+
/.config
|
4
|
+
/coverage/
|
5
|
+
/InstalledFiles
|
6
|
+
/pkg/
|
7
|
+
/spec/reports/
|
8
|
+
/test/tmp/
|
9
|
+
/test/version_tmp/
|
10
|
+
/tmp/
|
11
|
+
|
12
|
+
## Specific to RubyMotion:
|
13
|
+
.dat*
|
14
|
+
.repl_history
|
15
|
+
build/
|
16
|
+
|
17
|
+
## Documentation cache and generated files:
|
18
|
+
/.yardoc/
|
19
|
+
/_yardoc/
|
20
|
+
/doc/
|
21
|
+
/rdoc/
|
22
|
+
|
23
|
+
## Environment normalisation:
|
24
|
+
/.bundle/
|
25
|
+
/vendor/bundle
|
26
|
+
/lib/bundler/man/
|
27
|
+
|
28
|
+
# for a library or gem, you might want to ignore these files since the code is
|
29
|
+
# intended to run in multiple environments; otherwise, check them in:
|
30
|
+
# Gemfile.lock
|
31
|
+
# .ruby-version
|
32
|
+
# .ruby-gemset
|
33
|
+
|
34
|
+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
35
|
+
.rvmrc
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
simplecast (0.0.1)
|
5
|
+
hurley (~> 0.1)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
diff-lcs (1.2.5)
|
11
|
+
hurley (0.1)
|
12
|
+
rake (10.4.2)
|
13
|
+
rspec (3.2.0)
|
14
|
+
rspec-core (~> 3.2.0)
|
15
|
+
rspec-expectations (~> 3.2.0)
|
16
|
+
rspec-mocks (~> 3.2.0)
|
17
|
+
rspec-core (3.2.3)
|
18
|
+
rspec-support (~> 3.2.0)
|
19
|
+
rspec-expectations (3.2.1)
|
20
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
21
|
+
rspec-support (~> 3.2.0)
|
22
|
+
rspec-mocks (3.2.1)
|
23
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
24
|
+
rspec-support (~> 3.2.0)
|
25
|
+
rspec-support (3.2.2)
|
26
|
+
|
27
|
+
PLATFORMS
|
28
|
+
ruby
|
29
|
+
|
30
|
+
DEPENDENCIES
|
31
|
+
bundler (~> 1.7)
|
32
|
+
rake (~> 10.0)
|
33
|
+
rspec
|
34
|
+
simplecast!
|
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 Jonathan Cutrell
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
22
|
+
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2015 Jonathan Cutrell
|
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.
|
data/README.md
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
# Simplecast
|
2
|
+
|
3
|
+
TODO: Write a gem description
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'simplecast'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install simplecast
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
Set up the gem in a config file (if you're using Rails, just add something like a simplecast.rb in initializers).
|
24
|
+
|
25
|
+
Right now, there are only two config options: `api_key` and `podcast_id`. Your API key can be found in your [account settings](https://simplecast.fm/user/edit).
|
26
|
+
|
27
|
+
Your `podcast_id` is in the URL for your account, and is likely just a number.
|
28
|
+
|
29
|
+
```ruby
|
30
|
+
Simplecast.configure do |c|
|
31
|
+
c.api_key "Your_api_key_here"
|
32
|
+
c.podcast_id "Your_podcast_id_here"
|
33
|
+
end
|
34
|
+
```
|
35
|
+
|
36
|
+
Next, you can access Podcasts, Episodes, and Statistics like this:
|
37
|
+
|
38
|
+
```ruby
|
39
|
+
# Episodes
|
40
|
+
Simplecast::Client::Episode.all # gets all podcasts, as long as podcast_id was set in the config
|
41
|
+
Simplecast::Client::Episode.all(podcast_id) # gets all podcasts, as long as podcast_id was set in the config
|
42
|
+
Simplecast::Client::Episode.find(episode_id)
|
43
|
+
Simplecast::Client::Episode.find(episode_id, podcast_id)
|
44
|
+
|
45
|
+
# Podcast
|
46
|
+
Simplecast::Client::Podcast.all
|
47
|
+
Simplecast::Client::Podcast.find(podcast_id)
|
48
|
+
|
49
|
+
# Statistics
|
50
|
+
# the overall method takes timeframe parameters as defined at https://api.simplecast.fm - /podcasts/:podcast_id/statistics/overall.json
|
51
|
+
Simplecast::Client::Statistic.overall(podcast_id, options:{})
|
52
|
+
|
53
|
+
# returns listener stats. /podcasts/:podcast_id/statistics.json
|
54
|
+
Simplecast::Client::Statistic.all(podcast_id)
|
55
|
+
|
56
|
+
# returns stats for a given episode. Takes timeframe params. /podcasts/:podcast_id/statistics/episode.json
|
57
|
+
Simplecast::Client::Statistic.for_episode(episode_id, podcast_id: nil, opts: {})
|
58
|
+
```
|
59
|
+
|
60
|
+
## Contributing
|
61
|
+
|
62
|
+
1. Fork it ( https://github.com/[my-github-username]/simplecast/fork )
|
63
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
64
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
65
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
66
|
+
5. Create a new Pull Request
|
data/Rakefile
ADDED
data/lib/simplecast.rb
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
$:.unshift File.dirname(__FILE__)
|
2
|
+
require "simplecast/version"
|
3
|
+
require "simplecast/configurable"
|
4
|
+
|
5
|
+
require "simplecast/model"
|
6
|
+
require "simplecast/podcast"
|
7
|
+
require "simplecast/episode"
|
8
|
+
require "simplecast/statistic"
|
9
|
+
|
10
|
+
require "simplecast/client"
|
11
|
+
require "simplecast/client/resource"
|
12
|
+
require "simplecast/client/podcast"
|
13
|
+
require "simplecast/client/episode"
|
14
|
+
require "simplecast/client/statistic"
|
15
|
+
|
16
|
+
module Simplecast
|
17
|
+
class << self
|
18
|
+
include Simplecast::Configurable
|
19
|
+
def client
|
20
|
+
@client = Simplecast::Client.new(options) unless defined?(@client)
|
21
|
+
@client
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
require 'hurley'
|
2
|
+
require 'json'
|
3
|
+
require 'simplecast/configurable'
|
4
|
+
module Simplecast
|
5
|
+
class Client
|
6
|
+
include Simplecast::Configurable
|
7
|
+
def initialize(options = {})
|
8
|
+
# Use options passed in, but fall back to module defaults
|
9
|
+
Simplecast::Configurable.keys.each do |key|
|
10
|
+
instance_variable_set(:"@#{key}", options[key] || Simplecast.instance_variable_get(:"@#{key}"))
|
11
|
+
end
|
12
|
+
@client = Hurley::Client.new('https://api.simplecast.fm/v1/')
|
13
|
+
@client.header["X-API-KEY"] = @api_key
|
14
|
+
@client
|
15
|
+
end
|
16
|
+
def request(method, path, data, options = {})
|
17
|
+
if data.is_a?(Hash)
|
18
|
+
options[:query] = data.delete(:query) || {}
|
19
|
+
options[:headers] = data.delete(:headers) || {}
|
20
|
+
if accept = data.delete(:accept)
|
21
|
+
options[:headers][:accept] = accept
|
22
|
+
end
|
23
|
+
end
|
24
|
+
@last_response = response = @client.send(method, URI::Parser.new.escape(path.to_s), data, options)
|
25
|
+
response.data
|
26
|
+
end
|
27
|
+
def get(url)
|
28
|
+
puts "Log request: #{url.inspect}"
|
29
|
+
response = @client.get(url)
|
30
|
+
JSON.parse(response.body)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
module Simplecast
|
2
|
+
class Client
|
3
|
+
module Episode
|
4
|
+
class << self
|
5
|
+
include Simplecast::Client::Resource
|
6
|
+
def find(id, podcast_id = nil)
|
7
|
+
podcast_id ||= client.podcast_id
|
8
|
+
api_obj = client.get("podcasts/#{podcast_id}/episodes/#{id}.json")
|
9
|
+
model.new(api_obj)
|
10
|
+
end
|
11
|
+
def embed(id, podcast_id = nil)
|
12
|
+
podcast_id ||= client.podcast_id
|
13
|
+
api_obj = client.get("podcasts/#{podcast_id}/episodes/#{id}/embed.json")
|
14
|
+
end
|
15
|
+
def all(podcast_id = nil)
|
16
|
+
podcast_id ||= client.podcast_id
|
17
|
+
api_obj_array = client.get("podcasts/#{podcast_id}/episodes.json")
|
18
|
+
api_obj_array.map {|api_obj| model.new(api_obj) }
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
module Simplecast
|
2
|
+
class Client
|
3
|
+
module Resource
|
4
|
+
include Simplecast::Configurable
|
5
|
+
def find(id)
|
6
|
+
api_obj = client.get("#{resource_plural_name_lower}/#{id}.json")
|
7
|
+
model.new(api_obj)
|
8
|
+
end
|
9
|
+
def all
|
10
|
+
all = client.get("#{resource_plural_name_lower}.json")
|
11
|
+
all.map {|item| model.new(item) }
|
12
|
+
end
|
13
|
+
def resource_plural_name_lower
|
14
|
+
send(:name).split('::').last.downcase + "s"
|
15
|
+
end
|
16
|
+
def client
|
17
|
+
@client ||= Simplecast.client
|
18
|
+
end
|
19
|
+
def model
|
20
|
+
Simplecast.const_get(name.split("::").last)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'hurley'
|
2
|
+
module Simplecast
|
3
|
+
class Client
|
4
|
+
module Statistic
|
5
|
+
class << self
|
6
|
+
include Simplecast::Client::Resource
|
7
|
+
def for_episode(episode_id, podcast_id: nil, opts: {})
|
8
|
+
opts.merge!({episode_id: episode_id})
|
9
|
+
podcast_id ||= client.podcast_id # TODO: || raise Simplecast::Error.new("Podcast ID must be supplied either in configuration or directly to the #for_episode method.")
|
10
|
+
q = Hurley::Query::Flat.new(opts).to_query_string
|
11
|
+
api_obj = client.get("podcasts/#{podcast_id}/statistics/episode.json?#{q}")
|
12
|
+
model.new(api_obj)
|
13
|
+
end
|
14
|
+
def overall(podcast_id: nil, opts: { timeframe: "recent" })
|
15
|
+
podcast_id ||= client.podcast_id
|
16
|
+
q = Hurley::Query::Flat.new(opts).to_query_string
|
17
|
+
api_obj = client.get("podcasts/#{podcast_id}/statistics/overall.json?#{q}")
|
18
|
+
model.new(api_obj)
|
19
|
+
end
|
20
|
+
def all(podcast_id: nil)
|
21
|
+
podcast_id ||= client.podcast_id
|
22
|
+
api_obj_array = client.get("podcasts/#{podcast_id}/statistics.json")
|
23
|
+
api_obj_array.map {|api_obj| model.new(api_obj) }
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module Simplecast
|
2
|
+
module Configurable
|
3
|
+
attr_accessor :api_key, :podcast_id
|
4
|
+
class << self
|
5
|
+
def keys
|
6
|
+
@keys ||= [
|
7
|
+
:api_key,
|
8
|
+
:podcast_id
|
9
|
+
]
|
10
|
+
end
|
11
|
+
end
|
12
|
+
def configure
|
13
|
+
yield self
|
14
|
+
end
|
15
|
+
def options
|
16
|
+
Hash[Simplecast::Configurable.keys.map{|key| [key, instance_variable_get(:"@#{key}")]}]
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
data/simplecast.gemspec
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'simplecast/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "simplecast"
|
8
|
+
spec.version = Simplecast::VERSION
|
9
|
+
spec.authors = ["Jonathan Cutrell"]
|
10
|
+
spec.email = ["jonathan@whiteboard.is"]
|
11
|
+
spec.summary = %q{Simple wrapper for Simplecast podcasting service.}
|
12
|
+
#spec.description = %q{}
|
13
|
+
spec.homepage = "https://github.com/jcutrell/Simplecast"
|
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{^(spec)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_runtime_dependency "hurley", "~> 0.1"
|
22
|
+
spec.add_development_dependency "bundler", "~> 1.7"
|
23
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
24
|
+
spec.add_development_dependency "rspec"
|
25
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Simplecast::Client::Resource do
|
4
|
+
before do
|
5
|
+
module Simplecast
|
6
|
+
class Client
|
7
|
+
module Test
|
8
|
+
class << self
|
9
|
+
include Simplecast::Client::Resource
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
it "should return the proper resource name" do
|
16
|
+
tc = Simplecast::Client::Test
|
17
|
+
expect(tc.resource_plural_name_lower).to eq("tests")
|
18
|
+
end
|
19
|
+
it "should return an instance of Simplecast::Client" do
|
20
|
+
expect(Simplecast::Client::Test.client).to be_an_instance_of(Simplecast::Client)
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Simplecast::Client do
|
4
|
+
|
5
|
+
describe "module configuration" do
|
6
|
+
|
7
|
+
before do
|
8
|
+
Simplecast.configure do |c|
|
9
|
+
Simplecast::Configurable.keys.each do |key|
|
10
|
+
c.send("#{key}=", "Some #{key}")
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
it "inherits the module configuration" do
|
16
|
+
client = Simplecast::Client.new
|
17
|
+
Simplecast::Configurable.keys.each do |key|
|
18
|
+
expect(client.instance_variable_get(:"@#{key}")).to eq("Some #{key}")
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
describe "Simplecast::Model" do
|
3
|
+
before do
|
4
|
+
class Simplecast::TestModel < OpenStruct
|
5
|
+
include Simplecast::Model
|
6
|
+
end
|
7
|
+
end
|
8
|
+
it "Should allow any attributes to be passed to it" do
|
9
|
+
model = Simplecast::TestModel.new({attr_one: "Yes", something_else: "Whatever"})
|
10
|
+
expect(model).to respond_to(:attr_one)
|
11
|
+
expect(model).to respond_to(:something_else)
|
12
|
+
expect(model).not_to respond_to(:foozle)
|
13
|
+
expect(model.attr_one).to eq("Yes")
|
14
|
+
end
|
15
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'simplecast'
|
metadata
ADDED
@@ -0,0 +1,134 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: simplecast
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jonathan Cutrell
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-04-12 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: hurley
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.1'
|
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:
|
70
|
+
email:
|
71
|
+
- jonathan@whiteboard.is
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- ".gitignore"
|
77
|
+
- Gemfile
|
78
|
+
- Gemfile.lock
|
79
|
+
- LICENSE
|
80
|
+
- LICENSE.txt
|
81
|
+
- README.md
|
82
|
+
- Rakefile
|
83
|
+
- lib/simplecast.rb
|
84
|
+
- lib/simplecast/client.rb
|
85
|
+
- lib/simplecast/client/episode.rb
|
86
|
+
- lib/simplecast/client/podcast.rb
|
87
|
+
- lib/simplecast/client/resource.rb
|
88
|
+
- lib/simplecast/client/statistic.rb
|
89
|
+
- lib/simplecast/configurable.rb
|
90
|
+
- lib/simplecast/episode.rb
|
91
|
+
- lib/simplecast/model.rb
|
92
|
+
- lib/simplecast/podcast.rb
|
93
|
+
- lib/simplecast/statistic.rb
|
94
|
+
- lib/simplecast/version.rb
|
95
|
+
- simplecast.gemspec
|
96
|
+
- spec/simplecast/client/episode_spec.rb
|
97
|
+
- spec/simplecast/client/podcast_spec.rb
|
98
|
+
- spec/simplecast/client/resource_spec.rb
|
99
|
+
- spec/simplecast/client_spec.rb
|
100
|
+
- spec/simplecast/episode_spec.rb
|
101
|
+
- spec/simplecast/model_spec.rb
|
102
|
+
- spec/spec_helper.rb
|
103
|
+
homepage: https://github.com/jcutrell/Simplecast
|
104
|
+
licenses:
|
105
|
+
- MIT
|
106
|
+
metadata: {}
|
107
|
+
post_install_message:
|
108
|
+
rdoc_options: []
|
109
|
+
require_paths:
|
110
|
+
- lib
|
111
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - ">="
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: '0'
|
116
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
117
|
+
requirements:
|
118
|
+
- - ">="
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '0'
|
121
|
+
requirements: []
|
122
|
+
rubyforge_project:
|
123
|
+
rubygems_version: 2.4.5
|
124
|
+
signing_key:
|
125
|
+
specification_version: 4
|
126
|
+
summary: Simple wrapper for Simplecast podcasting service.
|
127
|
+
test_files:
|
128
|
+
- spec/simplecast/client/episode_spec.rb
|
129
|
+
- spec/simplecast/client/podcast_spec.rb
|
130
|
+
- spec/simplecast/client/resource_spec.rb
|
131
|
+
- spec/simplecast/client_spec.rb
|
132
|
+
- spec/simplecast/episode_spec.rb
|
133
|
+
- spec/simplecast/model_spec.rb
|
134
|
+
- spec/spec_helper.rb
|