npr 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # NPR API Ruby Client
2
2
 
3
- [![Build Status](https://travis-ci.org/bricker88/npr.png)](https://travis-ci.org/bricker88/npr)
3
+ [![Build Status](https://travis-ci.org/bricker/npr.png)](https://travis-ci.org/bricker/npr)
4
4
 
5
5
  **NOTE** This gem is a WIP
6
6
 
@@ -122,6 +122,7 @@ for all of the options.
122
122
  * Abstract attributes so they're not tied directly to the API response.
123
123
  Also to make them more Ruby-conventional (i.e. snake_case)
124
124
  * Example: "apiKey" => :api_key
125
+ * Support for "correction" node
125
126
  * Support for "container" node
126
127
  * Support for "parent" node
127
128
  * Support for "thumbnail" node
@@ -8,7 +8,8 @@ module NPR
8
8
  :where,
9
9
  :order,
10
10
  :limit,
11
- :offset
11
+ :offset,
12
+ :set
12
13
  ]
13
14
 
14
15
  attr_reader :_klass, :builder
data/lib/npr/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module NPR
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/npr.gemspec CHANGED
@@ -4,9 +4,9 @@ require File.expand_path('../lib/npr/version', __FILE__)
4
4
  Gem::Specification.new do |gem|
5
5
  gem.authors = ["Bryan Ricker"]
6
6
  gem.email = ["bricker@scpr.org"]
7
- gem.description = %q{[NPR](http://npr.org) is a news organization. This gem helps you pull its content with a nice Ruby DSL. <http://www.npr.org/api/index>}
7
+ gem.description = %q{NPR (npr.org) is a news organization. This gem helps you pull NPR content with a nice Ruby DSL.}
8
8
  gem.summary = %q{A Ruby client for the NPR API}
9
- gem.homepage = "http://github.com/bricker88/npr"
9
+ gem.homepage = "http://github.com/bricker/npr"
10
10
 
11
11
  gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
12
12
  gem.files = `git ls-files`.split("\n")
data/spec/live.rb ADDED
@@ -0,0 +1,15 @@
1
+ ## !!Warning!!
2
+ #
3
+ # This spec makes __actual HTTP requests__ to the NPR API.
4
+ #
5
+ # It should be used sparingly as a functional test. It doesn't
6
+ # get run automatically with the rest of the specs.
7
+
8
+ require 'bundler/setup'
9
+ Bundler.require
10
+
11
+ describe "NPR API" do
12
+ it "is true" do
13
+ raise "false"
14
+ end
15
+ end
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.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-16 00:00:00.000000000 Z
12
+ date: 2012-12-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
@@ -107,8 +107,8 @@ dependencies:
107
107
  - - ! '>='
108
108
  - !ruby/object:Gem::Version
109
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>'
110
+ description: NPR (npr.org) is a news organization. This gem helps you pull NPR content
111
+ with a nice Ruby DSL.
112
112
  email:
113
113
  - bricker@scpr.org
114
114
  executables: []
@@ -223,6 +223,7 @@ files:
223
223
  - spec/fixtures/rss/04_invalid_id.rss
224
224
  - spec/fixtures/rss/05_no_api_key.rss
225
225
  - spec/fixtures/rss/06_story_multiple_ids.rss
226
+ - spec/live.rb
226
227
  - spec/spec_helper.rb
227
228
  - spec/support/config_helper.rb
228
229
  - spec/support/fake_response.rb
@@ -264,7 +265,7 @@ files:
264
265
  - spec/unit/entity/text_spec.rb
265
266
  - spec/unit/entity/title_spec.rb
266
267
  - spec/unit/entity/transcript_spec.rb
267
- homepage: http://github.com/bricker88/npr
268
+ homepage: http://github.com/bricker/npr
268
269
  licenses:
269
270
  - MIT
270
271
  post_install_message:
@@ -342,6 +343,7 @@ test_files:
342
343
  - spec/fixtures/rss/04_invalid_id.rss
343
344
  - spec/fixtures/rss/05_no_api_key.rss
344
345
  - spec/fixtures/rss/06_story_multiple_ids.rss
346
+ - spec/live.rb
345
347
  - spec/spec_helper.rb
346
348
  - spec/support/config_helper.rb
347
349
  - spec/support/fake_response.rb