npr 0.0.0 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +13 -0
- data/{LICENSE → MIT-LICENSE} +1 -1
- data/README.md +115 -3
- data/Rakefile +6 -0
- data/gemfiles/Gemfile.rb-1.8.7 +6 -0
- data/lib/npr/api/client.rb +87 -0
- data/lib/npr/api/message.rb +38 -0
- data/lib/npr/api/query_builder.rb +222 -0
- data/lib/npr/api/response.rb +32 -0
- data/lib/npr/api.rb +7 -0
- data/lib/npr/concern/attr_typecast.rb +59 -0
- data/lib/npr/concern/relation.rb +103 -0
- data/lib/npr/concern/shallow_attributes.rb +71 -0
- data/lib/npr/concern.rb +9 -0
- data/lib/npr/configuration.rb +120 -0
- data/lib/npr/core_ext/array/wrap.rb +15 -0
- data/lib/npr/entity/audio.rb +28 -0
- data/lib/npr/entity/author.rb +22 -0
- data/lib/npr/entity/base.rb +19 -0
- data/lib/npr/entity/book.rb +21 -0
- data/lib/npr/entity/book_edition.rb +26 -0
- data/lib/npr/entity/byline.rb +18 -0
- data/lib/npr/entity/collection.rb +11 -0
- data/lib/npr/entity/crop.rb +20 -0
- data/lib/npr/entity/enlargement.rb +20 -0
- data/lib/npr/entity/formats.rb +19 -0
- data/lib/npr/entity/image.rb +33 -0
- data/lib/npr/entity/intro_text.rb +21 -0
- data/lib/npr/entity/link.rb +23 -0
- data/lib/npr/entity/list.rb +28 -0
- data/lib/npr/entity/list_text.rb +19 -0
- data/lib/npr/entity/member.rb +23 -0
- data/lib/npr/entity/member_byline.rb +17 -0
- data/lib/npr/entity/member_promo_art.rb +17 -0
- data/lib/npr/entity/mp3.rb +23 -0
- data/lib/npr/entity/organization.rb +18 -0
- data/lib/npr/entity/paragraph.rb +27 -0
- data/lib/npr/entity/permissions.rb +18 -0
- data/lib/npr/entity/program.rb +24 -0
- data/lib/npr/entity/promo_art.rb +17 -0
- data/lib/npr/entity/promo_art_book_edition.rb +18 -0
- data/lib/npr/entity/provider.rb +23 -0
- data/lib/npr/entity/pull_quote.rb +16 -0
- data/lib/npr/entity/related_link.rb +21 -0
- data/lib/npr/entity/show.rb +19 -0
- data/lib/npr/entity/story.rb +179 -0
- data/lib/npr/entity/text.rb +22 -0
- data/lib/npr/entity/title.rb +21 -0
- data/lib/npr/entity/transcript.rb +16 -0
- data/lib/npr/entity.rb +7 -0
- data/lib/npr/errors.rb +17 -0
- data/lib/npr/version.rb +1 -1
- data/lib/npr.rb +64 -3
- data/npr.gemspec +12 -2
- data/spec/fixtures/README.md +30 -0
- data/spec/fixtures/atom/01_story_full_media.atom +36 -0
- data/spec/fixtures/atom/02_story_multiple_images.atom +32 -0
- data/spec/fixtures/atom/03_no_results.atom +10 -0
- data/spec/fixtures/atom/04_invalid_id.atom +344 -0
- data/spec/fixtures/atom/05_no_api_key.atom +9 -0
- data/spec/fixtures/atom/06_story_multiple_ids.atom +59 -0
- data/spec/fixtures/fetch_formats.rb +65 -0
- data/spec/fixtures/html/01_story_full_media.html +54 -0
- data/spec/fixtures/html/02_story_multiple_images.html +55 -0
- data/spec/fixtures/html/03_no_results.html +38 -0
- data/spec/fixtures/html/04_invalid_id.html +82 -0
- data/spec/fixtures/html/05_no_api_key.html +8 -0
- data/spec/fixtures/html/06_story_multiple_ids.html +69 -0
- data/spec/fixtures/js/01_story_full_media.js +1 -0
- data/spec/fixtures/js/02_story_multiple_images.js +1 -0
- data/spec/fixtures/js/03_no_results.js +1 -0
- data/spec/fixtures/js/04_invalid_id.js +1 -0
- data/spec/fixtures/js/05_no_api_key.js +8 -0
- data/spec/fixtures/js/06_story_multiple_ids.js +1 -0
- data/spec/fixtures/json/01_story_full_media.json +1 -0
- data/spec/fixtures/json/02_story_multiple_images.json +1 -0
- data/spec/fixtures/json/03_no_results.json +1 -0
- data/spec/fixtures/json/04_invalid_id.json +1 -0
- data/spec/fixtures/json/05_no_api_key.json +1 -0
- data/spec/fixtures/json/06_story_multiple_ids.json +1 -0
- data/spec/fixtures/json/list.json +1 -0
- data/spec/fixtures/mediarss/01_story_full_media.rss +31 -0
- data/spec/fixtures/mediarss/02_story_multiple_images.rss +40 -0
- data/spec/fixtures/mediarss/03_no_results.rss +17 -0
- data/spec/fixtures/mediarss/04_invalid_id.rss +279 -0
- data/spec/fixtures/mediarss/05_no_api_key.rss +31 -0
- data/spec/fixtures/mediarss/06_story_multiple_ids.rss +65 -0
- data/spec/fixtures/nprml/01_story_full_media.xml +271 -0
- data/spec/fixtures/nprml/02_story_multiple_images.xml +165 -0
- data/spec/fixtures/nprml/03_no_results.xml +14 -0
- data/spec/fixtures/nprml/04_invalid_id.xml +1780 -0
- data/spec/fixtures/nprml/05_no_api_key.xml +9 -0
- data/spec/fixtures/nprml/06_story_multiple_ids.xml +435 -0
- data/spec/fixtures/nprml/list.xml +440 -0
- data/spec/fixtures/podcast/01_story_full_media.rss +30 -0
- data/spec/fixtures/podcast/02_story_multiple_images.rss +32 -0
- data/spec/fixtures/podcast/03_no_results.rss +19 -0
- data/spec/fixtures/podcast/04_invalid_id.rss +186 -0
- data/spec/fixtures/podcast/05_no_api_key.rss +31 -0
- data/spec/fixtures/podcast/06_story_multiple_ids.rss +43 -0
- data/spec/fixtures/rss/01_story_full_media.rss +25 -0
- data/spec/fixtures/rss/02_story_multiple_images.rss +25 -0
- data/spec/fixtures/rss/03_no_results.rss +17 -0
- data/spec/fixtures/rss/04_invalid_id.rss +137 -0
- data/spec/fixtures/rss/05_no_api_key.rss +31 -0
- data/spec/fixtures/rss/06_story_multiple_ids.rss +33 -0
- data/spec/spec_helper.rb +23 -0
- data/spec/support/config_helper.rb +64 -0
- data/spec/support/fake_response.rb +54 -0
- data/spec/support/fixture_helper.rb +23 -0
- data/spec/unit/api/client_spec.rb +42 -0
- data/spec/unit/api/message_spec.rb +68 -0
- data/spec/unit/api/query_builder_spec.rb +195 -0
- data/spec/unit/api/response_spec.rb +45 -0
- data/spec/unit/configuration_spec.rb +63 -0
- data/spec/unit/entity/audio_spec.rb +75 -0
- data/spec/unit/entity/author_spec.rb +30 -0
- data/spec/unit/entity/base_spec.rb +87 -0
- data/spec/unit/entity/book_edition_spec.rb +57 -0
- data/spec/unit/entity/book_spec.rb +31 -0
- data/spec/unit/entity/byline_spec.rb +23 -0
- data/spec/unit/entity/collection_spec.rb +39 -0
- data/spec/unit/entity/crop_spec.rb +25 -0
- data/spec/unit/entity/englargement_spec.rb +21 -0
- data/spec/unit/entity/formats_spec.rb +41 -0
- data/spec/unit/entity/image_spec.rb +82 -0
- data/spec/unit/entity/intro_text_spec.rb +25 -0
- data/spec/unit/entity/link_spec.rb +25 -0
- data/spec/unit/entity/list_spec.rb +22 -0
- data/spec/unit/entity/list_text_spec.rb +31 -0
- data/spec/unit/entity/member_byline_spec.rb +21 -0
- data/spec/unit/entity/member_promo_art_spec.rb +21 -0
- data/spec/unit/entity/member_spec.rb +59 -0
- data/spec/unit/entity/mp3_spec.rb +25 -0
- data/spec/unit/entity/organization_spec.rb +29 -0
- data/spec/unit/entity/paragraph_spec.rb +25 -0
- data/spec/unit/entity/permissions_spec.rb +56 -0
- data/spec/unit/entity/program_spec.rb +27 -0
- data/spec/unit/entity/promo_art_book_edition_spec.rb +21 -0
- data/spec/unit/entity/promo_art_spec.rb +42 -0
- data/spec/unit/entity/pull_quote_spec.rb +29 -0
- data/spec/unit/entity/related_link_spec.rb +55 -0
- data/spec/unit/entity/show_spec.rb +41 -0
- data/spec/unit/entity/story_spec.rb +154 -0
- data/spec/unit/entity/text_spec.rb +54 -0
- data/spec/unit/entity/title_spec.rb +25 -0
- data/spec/unit/entity/transcript_spec.rb +22 -0
- metadata +340 -8
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: npr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,9 +9,106 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-12-
|
13
|
-
dependencies:
|
14
|
-
|
12
|
+
date: 2012-12-16 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: faraday
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.8.0
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.8.0
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: faraday_middleware
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 0.9.0
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 0.9.0
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: bundler
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 1.0.0
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.0.0
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rake
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: rspec
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: fakeweb
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
description: ! '[NPR](http://npr.org) is a news organization. This gem helps you pull
|
111
|
+
its content with a nice Ruby DSL. <http://www.npr.org/api/index>'
|
15
112
|
email:
|
16
113
|
- bricker@scpr.org
|
17
114
|
executables: []
|
@@ -19,15 +116,157 @@ extensions: []
|
|
19
116
|
extra_rdoc_files: []
|
20
117
|
files:
|
21
118
|
- .gitignore
|
119
|
+
- .travis.yml
|
22
120
|
- Gemfile
|
23
|
-
- LICENSE
|
121
|
+
- MIT-LICENSE
|
24
122
|
- README.md
|
25
123
|
- Rakefile
|
124
|
+
- gemfiles/Gemfile.rb-1.8.7
|
26
125
|
- lib/npr.rb
|
126
|
+
- lib/npr/api.rb
|
127
|
+
- lib/npr/api/client.rb
|
128
|
+
- lib/npr/api/message.rb
|
129
|
+
- lib/npr/api/query_builder.rb
|
130
|
+
- lib/npr/api/response.rb
|
131
|
+
- lib/npr/concern.rb
|
132
|
+
- lib/npr/concern/attr_typecast.rb
|
133
|
+
- lib/npr/concern/relation.rb
|
134
|
+
- lib/npr/concern/shallow_attributes.rb
|
135
|
+
- lib/npr/configuration.rb
|
136
|
+
- lib/npr/core_ext/array/wrap.rb
|
137
|
+
- lib/npr/entity.rb
|
138
|
+
- lib/npr/entity/audio.rb
|
139
|
+
- lib/npr/entity/author.rb
|
140
|
+
- lib/npr/entity/base.rb
|
141
|
+
- lib/npr/entity/book.rb
|
142
|
+
- lib/npr/entity/book_edition.rb
|
143
|
+
- lib/npr/entity/byline.rb
|
144
|
+
- lib/npr/entity/collection.rb
|
145
|
+
- lib/npr/entity/crop.rb
|
146
|
+
- lib/npr/entity/enlargement.rb
|
147
|
+
- lib/npr/entity/formats.rb
|
148
|
+
- lib/npr/entity/image.rb
|
149
|
+
- lib/npr/entity/intro_text.rb
|
150
|
+
- lib/npr/entity/link.rb
|
151
|
+
- lib/npr/entity/list.rb
|
152
|
+
- lib/npr/entity/list_text.rb
|
153
|
+
- lib/npr/entity/member.rb
|
154
|
+
- lib/npr/entity/member_byline.rb
|
155
|
+
- lib/npr/entity/member_promo_art.rb
|
156
|
+
- lib/npr/entity/mp3.rb
|
157
|
+
- lib/npr/entity/organization.rb
|
158
|
+
- lib/npr/entity/paragraph.rb
|
159
|
+
- lib/npr/entity/permissions.rb
|
160
|
+
- lib/npr/entity/program.rb
|
161
|
+
- lib/npr/entity/promo_art.rb
|
162
|
+
- lib/npr/entity/promo_art_book_edition.rb
|
163
|
+
- lib/npr/entity/provider.rb
|
164
|
+
- lib/npr/entity/pull_quote.rb
|
165
|
+
- lib/npr/entity/related_link.rb
|
166
|
+
- lib/npr/entity/show.rb
|
167
|
+
- lib/npr/entity/story.rb
|
168
|
+
- lib/npr/entity/text.rb
|
169
|
+
- lib/npr/entity/title.rb
|
170
|
+
- lib/npr/entity/transcript.rb
|
171
|
+
- lib/npr/errors.rb
|
27
172
|
- lib/npr/version.rb
|
28
173
|
- npr.gemspec
|
174
|
+
- spec/fixtures/README.md
|
175
|
+
- spec/fixtures/atom/01_story_full_media.atom
|
176
|
+
- spec/fixtures/atom/02_story_multiple_images.atom
|
177
|
+
- spec/fixtures/atom/03_no_results.atom
|
178
|
+
- spec/fixtures/atom/04_invalid_id.atom
|
179
|
+
- spec/fixtures/atom/05_no_api_key.atom
|
180
|
+
- spec/fixtures/atom/06_story_multiple_ids.atom
|
181
|
+
- spec/fixtures/fetch_formats.rb
|
182
|
+
- spec/fixtures/html/01_story_full_media.html
|
183
|
+
- spec/fixtures/html/02_story_multiple_images.html
|
184
|
+
- spec/fixtures/html/03_no_results.html
|
185
|
+
- spec/fixtures/html/04_invalid_id.html
|
186
|
+
- spec/fixtures/html/05_no_api_key.html
|
187
|
+
- spec/fixtures/html/06_story_multiple_ids.html
|
188
|
+
- spec/fixtures/js/01_story_full_media.js
|
189
|
+
- spec/fixtures/js/02_story_multiple_images.js
|
190
|
+
- spec/fixtures/js/03_no_results.js
|
191
|
+
- spec/fixtures/js/04_invalid_id.js
|
192
|
+
- spec/fixtures/js/05_no_api_key.js
|
193
|
+
- spec/fixtures/js/06_story_multiple_ids.js
|
194
|
+
- spec/fixtures/json/01_story_full_media.json
|
195
|
+
- spec/fixtures/json/02_story_multiple_images.json
|
196
|
+
- spec/fixtures/json/03_no_results.json
|
197
|
+
- spec/fixtures/json/04_invalid_id.json
|
198
|
+
- spec/fixtures/json/05_no_api_key.json
|
199
|
+
- spec/fixtures/json/06_story_multiple_ids.json
|
200
|
+
- spec/fixtures/json/list.json
|
201
|
+
- spec/fixtures/mediarss/01_story_full_media.rss
|
202
|
+
- spec/fixtures/mediarss/02_story_multiple_images.rss
|
203
|
+
- spec/fixtures/mediarss/03_no_results.rss
|
204
|
+
- spec/fixtures/mediarss/04_invalid_id.rss
|
205
|
+
- spec/fixtures/mediarss/05_no_api_key.rss
|
206
|
+
- spec/fixtures/mediarss/06_story_multiple_ids.rss
|
207
|
+
- spec/fixtures/nprml/01_story_full_media.xml
|
208
|
+
- spec/fixtures/nprml/02_story_multiple_images.xml
|
209
|
+
- spec/fixtures/nprml/03_no_results.xml
|
210
|
+
- spec/fixtures/nprml/04_invalid_id.xml
|
211
|
+
- spec/fixtures/nprml/05_no_api_key.xml
|
212
|
+
- spec/fixtures/nprml/06_story_multiple_ids.xml
|
213
|
+
- spec/fixtures/nprml/list.xml
|
214
|
+
- spec/fixtures/podcast/01_story_full_media.rss
|
215
|
+
- spec/fixtures/podcast/02_story_multiple_images.rss
|
216
|
+
- spec/fixtures/podcast/03_no_results.rss
|
217
|
+
- spec/fixtures/podcast/04_invalid_id.rss
|
218
|
+
- spec/fixtures/podcast/05_no_api_key.rss
|
219
|
+
- spec/fixtures/podcast/06_story_multiple_ids.rss
|
220
|
+
- spec/fixtures/rss/01_story_full_media.rss
|
221
|
+
- spec/fixtures/rss/02_story_multiple_images.rss
|
222
|
+
- spec/fixtures/rss/03_no_results.rss
|
223
|
+
- spec/fixtures/rss/04_invalid_id.rss
|
224
|
+
- spec/fixtures/rss/05_no_api_key.rss
|
225
|
+
- spec/fixtures/rss/06_story_multiple_ids.rss
|
226
|
+
- spec/spec_helper.rb
|
227
|
+
- spec/support/config_helper.rb
|
228
|
+
- spec/support/fake_response.rb
|
229
|
+
- spec/support/fixture_helper.rb
|
230
|
+
- spec/unit/api/client_spec.rb
|
231
|
+
- spec/unit/api/message_spec.rb
|
232
|
+
- spec/unit/api/query_builder_spec.rb
|
233
|
+
- spec/unit/api/response_spec.rb
|
234
|
+
- spec/unit/configuration_spec.rb
|
235
|
+
- spec/unit/entity/audio_spec.rb
|
236
|
+
- spec/unit/entity/author_spec.rb
|
237
|
+
- spec/unit/entity/base_spec.rb
|
238
|
+
- spec/unit/entity/book_edition_spec.rb
|
239
|
+
- spec/unit/entity/book_spec.rb
|
240
|
+
- spec/unit/entity/byline_spec.rb
|
241
|
+
- spec/unit/entity/collection_spec.rb
|
242
|
+
- spec/unit/entity/crop_spec.rb
|
243
|
+
- spec/unit/entity/englargement_spec.rb
|
244
|
+
- spec/unit/entity/formats_spec.rb
|
245
|
+
- spec/unit/entity/image_spec.rb
|
246
|
+
- spec/unit/entity/intro_text_spec.rb
|
247
|
+
- spec/unit/entity/link_spec.rb
|
248
|
+
- spec/unit/entity/list_spec.rb
|
249
|
+
- spec/unit/entity/list_text_spec.rb
|
250
|
+
- spec/unit/entity/member_byline_spec.rb
|
251
|
+
- spec/unit/entity/member_promo_art_spec.rb
|
252
|
+
- spec/unit/entity/member_spec.rb
|
253
|
+
- spec/unit/entity/mp3_spec.rb
|
254
|
+
- spec/unit/entity/organization_spec.rb
|
255
|
+
- spec/unit/entity/paragraph_spec.rb
|
256
|
+
- spec/unit/entity/permissions_spec.rb
|
257
|
+
- spec/unit/entity/program_spec.rb
|
258
|
+
- spec/unit/entity/promo_art_book_edition_spec.rb
|
259
|
+
- spec/unit/entity/promo_art_spec.rb
|
260
|
+
- spec/unit/entity/pull_quote_spec.rb
|
261
|
+
- spec/unit/entity/related_link_spec.rb
|
262
|
+
- spec/unit/entity/show_spec.rb
|
263
|
+
- spec/unit/entity/story_spec.rb
|
264
|
+
- spec/unit/entity/text_spec.rb
|
265
|
+
- spec/unit/entity/title_spec.rb
|
266
|
+
- spec/unit/entity/transcript_spec.rb
|
29
267
|
homepage: http://github.com/bricker88/npr
|
30
|
-
licenses:
|
268
|
+
licenses:
|
269
|
+
- MIT
|
31
270
|
post_install_message:
|
32
271
|
rdoc_options: []
|
33
272
|
require_paths:
|
@@ -49,5 +288,98 @@ rubyforge_project:
|
|
49
288
|
rubygems_version: 1.8.24
|
50
289
|
signing_key:
|
51
290
|
specification_version: 3
|
52
|
-
summary: A
|
53
|
-
test_files:
|
291
|
+
summary: A Ruby client for the NPR API
|
292
|
+
test_files:
|
293
|
+
- spec/fixtures/README.md
|
294
|
+
- spec/fixtures/atom/01_story_full_media.atom
|
295
|
+
- spec/fixtures/atom/02_story_multiple_images.atom
|
296
|
+
- spec/fixtures/atom/03_no_results.atom
|
297
|
+
- spec/fixtures/atom/04_invalid_id.atom
|
298
|
+
- spec/fixtures/atom/05_no_api_key.atom
|
299
|
+
- spec/fixtures/atom/06_story_multiple_ids.atom
|
300
|
+
- spec/fixtures/fetch_formats.rb
|
301
|
+
- spec/fixtures/html/01_story_full_media.html
|
302
|
+
- spec/fixtures/html/02_story_multiple_images.html
|
303
|
+
- spec/fixtures/html/03_no_results.html
|
304
|
+
- spec/fixtures/html/04_invalid_id.html
|
305
|
+
- spec/fixtures/html/05_no_api_key.html
|
306
|
+
- spec/fixtures/html/06_story_multiple_ids.html
|
307
|
+
- spec/fixtures/js/01_story_full_media.js
|
308
|
+
- spec/fixtures/js/02_story_multiple_images.js
|
309
|
+
- spec/fixtures/js/03_no_results.js
|
310
|
+
- spec/fixtures/js/04_invalid_id.js
|
311
|
+
- spec/fixtures/js/05_no_api_key.js
|
312
|
+
- spec/fixtures/js/06_story_multiple_ids.js
|
313
|
+
- spec/fixtures/json/01_story_full_media.json
|
314
|
+
- spec/fixtures/json/02_story_multiple_images.json
|
315
|
+
- spec/fixtures/json/03_no_results.json
|
316
|
+
- spec/fixtures/json/04_invalid_id.json
|
317
|
+
- spec/fixtures/json/05_no_api_key.json
|
318
|
+
- spec/fixtures/json/06_story_multiple_ids.json
|
319
|
+
- spec/fixtures/json/list.json
|
320
|
+
- spec/fixtures/mediarss/01_story_full_media.rss
|
321
|
+
- spec/fixtures/mediarss/02_story_multiple_images.rss
|
322
|
+
- spec/fixtures/mediarss/03_no_results.rss
|
323
|
+
- spec/fixtures/mediarss/04_invalid_id.rss
|
324
|
+
- spec/fixtures/mediarss/05_no_api_key.rss
|
325
|
+
- spec/fixtures/mediarss/06_story_multiple_ids.rss
|
326
|
+
- spec/fixtures/nprml/01_story_full_media.xml
|
327
|
+
- spec/fixtures/nprml/02_story_multiple_images.xml
|
328
|
+
- spec/fixtures/nprml/03_no_results.xml
|
329
|
+
- spec/fixtures/nprml/04_invalid_id.xml
|
330
|
+
- spec/fixtures/nprml/05_no_api_key.xml
|
331
|
+
- spec/fixtures/nprml/06_story_multiple_ids.xml
|
332
|
+
- spec/fixtures/nprml/list.xml
|
333
|
+
- spec/fixtures/podcast/01_story_full_media.rss
|
334
|
+
- spec/fixtures/podcast/02_story_multiple_images.rss
|
335
|
+
- spec/fixtures/podcast/03_no_results.rss
|
336
|
+
- spec/fixtures/podcast/04_invalid_id.rss
|
337
|
+
- spec/fixtures/podcast/05_no_api_key.rss
|
338
|
+
- spec/fixtures/podcast/06_story_multiple_ids.rss
|
339
|
+
- spec/fixtures/rss/01_story_full_media.rss
|
340
|
+
- spec/fixtures/rss/02_story_multiple_images.rss
|
341
|
+
- spec/fixtures/rss/03_no_results.rss
|
342
|
+
- spec/fixtures/rss/04_invalid_id.rss
|
343
|
+
- spec/fixtures/rss/05_no_api_key.rss
|
344
|
+
- spec/fixtures/rss/06_story_multiple_ids.rss
|
345
|
+
- spec/spec_helper.rb
|
346
|
+
- spec/support/config_helper.rb
|
347
|
+
- spec/support/fake_response.rb
|
348
|
+
- spec/support/fixture_helper.rb
|
349
|
+
- spec/unit/api/client_spec.rb
|
350
|
+
- spec/unit/api/message_spec.rb
|
351
|
+
- spec/unit/api/query_builder_spec.rb
|
352
|
+
- spec/unit/api/response_spec.rb
|
353
|
+
- spec/unit/configuration_spec.rb
|
354
|
+
- spec/unit/entity/audio_spec.rb
|
355
|
+
- spec/unit/entity/author_spec.rb
|
356
|
+
- spec/unit/entity/base_spec.rb
|
357
|
+
- spec/unit/entity/book_edition_spec.rb
|
358
|
+
- spec/unit/entity/book_spec.rb
|
359
|
+
- spec/unit/entity/byline_spec.rb
|
360
|
+
- spec/unit/entity/collection_spec.rb
|
361
|
+
- spec/unit/entity/crop_spec.rb
|
362
|
+
- spec/unit/entity/englargement_spec.rb
|
363
|
+
- spec/unit/entity/formats_spec.rb
|
364
|
+
- spec/unit/entity/image_spec.rb
|
365
|
+
- spec/unit/entity/intro_text_spec.rb
|
366
|
+
- spec/unit/entity/link_spec.rb
|
367
|
+
- spec/unit/entity/list_spec.rb
|
368
|
+
- spec/unit/entity/list_text_spec.rb
|
369
|
+
- spec/unit/entity/member_byline_spec.rb
|
370
|
+
- spec/unit/entity/member_promo_art_spec.rb
|
371
|
+
- spec/unit/entity/member_spec.rb
|
372
|
+
- spec/unit/entity/mp3_spec.rb
|
373
|
+
- spec/unit/entity/organization_spec.rb
|
374
|
+
- spec/unit/entity/paragraph_spec.rb
|
375
|
+
- spec/unit/entity/permissions_spec.rb
|
376
|
+
- spec/unit/entity/program_spec.rb
|
377
|
+
- spec/unit/entity/promo_art_book_edition_spec.rb
|
378
|
+
- spec/unit/entity/promo_art_spec.rb
|
379
|
+
- spec/unit/entity/pull_quote_spec.rb
|
380
|
+
- spec/unit/entity/related_link_spec.rb
|
381
|
+
- spec/unit/entity/show_spec.rb
|
382
|
+
- spec/unit/entity/story_spec.rb
|
383
|
+
- spec/unit/entity/text_spec.rb
|
384
|
+
- spec/unit/entity/title_spec.rb
|
385
|
+
- spec/unit/entity/transcript_spec.rb
|