podcastinator 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cd00f28d2d36a68857c536b43c95c980d9a35823
4
- data.tar.gz: f51bc66d30e7c597d991ef8b87975fc424082311
3
+ metadata.gz: 6252516e501097f332e318c03147d83e83103b6f
4
+ data.tar.gz: e057acfed2defcfce9d3c33790b38d483e542cd4
5
5
  SHA512:
6
- metadata.gz: a6295eda4a74f6d82bba281f6fb75ffc0d07e8ec6d7be63c8d239725a74d7b652cc83084e175ab4da70bc0ab12293b8305aaf172a43fa018b6d6228517cc370f
7
- data.tar.gz: 3768745198e45c93ce512055d8a391e56a6aa10cd1c815219a21db6687fa5d8dc2e2caaefb83ca2de753538245abf3b2b2bfb05a6b73e7670920fa212b2d1dae
6
+ metadata.gz: b06c9aec645c83d9b1eff4cc51589b2f75cc106045e2e046f8c4cd1ae5eed4d57565797c01c296adddc7f4d3261381376d9c481aade602c748c7bfb67fab677c
7
+ data.tar.gz: c391ec43dd8e5f19dcbe5d064087398918a3682f31c62eae76d872566f0c18d23aea7a5102ef833a536b7f62d12d1f6ab87a75be18ea28fd4be14c97dfb38e93
checksums.yaml.gz.sig ADDED
Binary file
data.tar.gz.sig ADDED
@@ -0,0 +1,2 @@
1
+ ���̰�7��<w�V�. rP\�[$�4��.�]-��
2
+ ԣnn@�}����kJ���X��!�w~����I{F@��ޮ���ȹv��B�|��G�1pV\)�����5�KǛ&h2�*��K�e��q8�FĘxP�@��aYVpRR|��x�lC�?���E��Iុd Y�L�xB2�l��Z�
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Podcastinator
2
2
 
3
- TODO: Write a gem description
3
+ This is a gem for generating the XML for a podcast feed.
4
4
 
5
5
  ## Installation
6
6
 
@@ -18,7 +18,24 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
- TODO: Write usage instructions here
21
+ ### On the command line
22
+
23
+ ### As an API
24
+
25
+ #### Creating the podcast XML from data in memory
26
+
27
+ ```ruby
28
+ class Feed < Podcastinator::Feed
29
+ def initialize(options = {})
30
+ super
31
+ @items_hash = options[:items_hash]
32
+ end
33
+ def items
34
+ end
35
+ end
36
+ ```
37
+
38
+ #### Creating the podcast XML from audio files on disk
22
39
 
23
40
  ## Contributing
24
41
 
@@ -29,8 +29,10 @@ module Podcastinator
29
29
  @image_url = options[:image_url]
30
30
  @keywords = options[:keywords]
31
31
  @owner = Owner.build(options[:owner_name], options[:owner_email])
32
+ end
32
33
 
33
- @items =
34
+ def items
35
+ @items ||=
34
36
  Dir.chdir(local_path) do
35
37
  Dir[*Item.globs].uniq.map do |filename|
36
38
  Item.new(self, filename)
@@ -1,5 +1,5 @@
1
1
  module Podcastinator
2
2
 
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
 
5
5
  end
@@ -18,10 +18,10 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "nokogiri", "~> 1.6"
22
- spec.add_dependency "taglib-ruby", "~> 0.6"
23
- spec.add_dependency "mime-types", "~> 1.25"
21
+ spec.add_dependency "nokogiri", ">= 1.6"
22
+ spec.add_dependency "taglib-ruby", ">= 0.6"
23
+ spec.add_dependency "mime-types", ">= 1.25"
24
24
 
25
- spec.add_development_dependency "bundler", "~> 1.6"
26
- spec.add_development_dependency "rake", "~> 10.3"
25
+ spec.add_development_dependency "bundler", ">= 1.6"
26
+ spec.add_development_dependency "rake", ">= 10.3"
27
27
  end
metadata CHANGED
@@ -1,83 +1,105 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: podcastinator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex McHale
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain: []
11
- date: 2014-09-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ba4d6Ldu/d7TqAfWURDVqtSxMU
28
+ eTsbJRDy0iDF0P0oQ/F5g18slwSnVx+F/caeuhKoyoOmp9WiPECLv3ToSnuayhci
29
+ GWRN0OXs/1CezTXDHvozzz3ooZOqwjTqLtC4IU7T2E242zTkVcgUm55QkeRMingQ
30
+ 2Aa+tn7z9Ygivb+IdwitCXQvFHxKDtL4oDy/tbnByulZuuZsWz3FNO/U3YDk7ZnY
31
+ Y9/a+THXdusIEEFRYgFvTJo3zjcsl9tL
32
+ -----END CERTIFICATE-----
33
+ date: 2014-09-26 00:00:00.000000000 Z
12
34
  dependencies:
13
35
  - !ruby/object:Gem::Dependency
14
36
  name: nokogiri
15
37
  requirement: !ruby/object:Gem::Requirement
16
38
  requirements:
17
- - - "~>"
39
+ - - ">="
18
40
  - !ruby/object:Gem::Version
19
41
  version: '1.6'
20
42
  type: :runtime
21
43
  prerelease: false
22
44
  version_requirements: !ruby/object:Gem::Requirement
23
45
  requirements:
24
- - - "~>"
46
+ - - ">="
25
47
  - !ruby/object:Gem::Version
26
48
  version: '1.6'
27
49
  - !ruby/object:Gem::Dependency
28
50
  name: taglib-ruby
29
51
  requirement: !ruby/object:Gem::Requirement
30
52
  requirements:
31
- - - "~>"
53
+ - - ">="
32
54
  - !ruby/object:Gem::Version
33
55
  version: '0.6'
34
56
  type: :runtime
35
57
  prerelease: false
36
58
  version_requirements: !ruby/object:Gem::Requirement
37
59
  requirements:
38
- - - "~>"
60
+ - - ">="
39
61
  - !ruby/object:Gem::Version
40
62
  version: '0.6'
41
63
  - !ruby/object:Gem::Dependency
42
64
  name: mime-types
43
65
  requirement: !ruby/object:Gem::Requirement
44
66
  requirements:
45
- - - "~>"
67
+ - - ">="
46
68
  - !ruby/object:Gem::Version
47
69
  version: '1.25'
48
70
  type: :runtime
49
71
  prerelease: false
50
72
  version_requirements: !ruby/object:Gem::Requirement
51
73
  requirements:
52
- - - "~>"
74
+ - - ">="
53
75
  - !ruby/object:Gem::Version
54
76
  version: '1.25'
55
77
  - !ruby/object:Gem::Dependency
56
78
  name: bundler
57
79
  requirement: !ruby/object:Gem::Requirement
58
80
  requirements:
59
- - - "~>"
81
+ - - ">="
60
82
  - !ruby/object:Gem::Version
61
83
  version: '1.6'
62
84
  type: :development
63
85
  prerelease: false
64
86
  version_requirements: !ruby/object:Gem::Requirement
65
87
  requirements:
66
- - - "~>"
88
+ - - ">="
67
89
  - !ruby/object:Gem::Version
68
90
  version: '1.6'
69
91
  - !ruby/object:Gem::Dependency
70
92
  name: rake
71
93
  requirement: !ruby/object:Gem::Requirement
72
94
  requirements:
73
- - - "~>"
95
+ - - ">="
74
96
  - !ruby/object:Gem::Version
75
97
  version: '10.3'
76
98
  type: :development
77
99
  prerelease: false
78
100
  version_requirements: !ruby/object:Gem::Requirement
79
101
  requirements:
80
- - - "~>"
102
+ - - ">="
81
103
  - !ruby/object:Gem::Version
82
104
  version: '10.3'
83
105
  description: A ruby library for generating podcast feeds from a source or via an API.
@@ -125,3 +147,4 @@ signing_key:
125
147
  specification_version: 4
126
148
  summary: A ruby library for generating podcast feeds.
127
149
  test_files: []
150
+ has_rdoc:
metadata.gz.sig ADDED
Binary file