simplecast 0.0.1 → 0.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b9536b3ee8b553a3ce185476b5ff227d31c88c68
4
- data.tar.gz: 1a2e159074874634a80e6dcf4c4963fc8ca94286
3
+ metadata.gz: bb168bbde9812eb9238dc22dbc04dce032f6237c
4
+ data.tar.gz: c8a7b6b5e7e0cfd244d946fbee9726a0227eefce
5
5
  SHA512:
6
- metadata.gz: ffe95bc4cfd4254e895f5042008600dcddeb9df0579a4ac373a9359abe6e85d093fd6768fb91aaa64d90246a1b2b460e829a64093a8e00b9d15a41f98b24ce14
7
- data.tar.gz: 6b25a7045ec9a12daaa787f054fc0761a5e1af3d304f63016c73aad5a906daf55b9951ecff030f4c6ab7d7cb0cf825cf9d9eaa630eb879166753547c70a95a87
6
+ metadata.gz: 76af96822ebd9e31f27d35632d90a5bfc781777d16672e6af4012c883c1061c1e998e0a81a2b967a5f758951d1c0611b91455315d74777312150d3a31f86abd9
7
+ data.tar.gz: 9843b7978f5b24958aa78a4a5a2b4e2d92c27290451834f246ca17a7bd3ddd6fdd75bab60879399bcc9040dc01d893c5f5f3a31f5988f14f8b674aeaa4457a18
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # Simplecast
2
2
 
3
- TODO: Write a gem description
3
+ Simplecast is awesome. So is Ruby. Use them both. Profit.
4
+
5
+ Note: Publishing is not currently supported by the Simplecast API, and thus is also not supported by this gem. It probably will be one day. Who knows?
4
6
 
5
7
  ## Installation
6
8
 
@@ -59,7 +61,7 @@ Simplecast::Client::Statistic.for_episode(episode_id, podcast_id: nil, opts: {})
59
61
 
60
62
  ## Contributing
61
63
 
62
- 1. Fork it ( https://github.com/[my-github-username]/simplecast/fork )
64
+ 1. Fork it ( https://github.com/jcutrell/simplecast/fork )
63
65
  2. Create your feature branch (`git checkout -b my-new-feature`)
64
66
  3. Commit your changes (`git commit -am 'Add some feature'`)
65
67
  4. Push to the branch (`git push origin my-new-feature`)
@@ -25,7 +25,6 @@ module Simplecast
25
25
  response.data
26
26
  end
27
27
  def get(url)
28
- puts "Log request: #{url.inspect}"
29
28
  response = @client.get(url)
30
29
  JSON.parse(response.body)
31
30
  end
@@ -5,5 +5,8 @@ module Simplecast
5
5
  def embed
6
6
  Simplecast::Client::Episode.embed(id)
7
7
  end
8
+ def podcast
9
+ Simplecast::Client::Podcast.find(podcast_id)
10
+ end
8
11
  end
9
12
  end
@@ -2,5 +2,8 @@ require 'ostruct'
2
2
  module Simplecast
3
3
  class Podcast < OpenStruct
4
4
  include Simplecast::Model
5
+ def episodes
6
+ Simplecast::Client::Episode.all(id)
7
+ end
5
8
  end
6
9
  end
@@ -1,3 +1,3 @@
1
1
  module Simplecast
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplecast
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Cutrell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-12 00:00:00.000000000 Z
11
+ date: 2015-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hurley