nytimes-articles 0.4.0
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.
- data/.gitignore +3 -0
- data/HISTORY +9 -0
- data/LICENSE +24 -0
- data/README +32 -0
- data/Rakefile +54 -0
- data/VERSION.yml +4 -0
- data/features/nytimes_articles.feature +9 -0
- data/features/steps/nytimes_articles_steps.rb +0 -0
- data/features/support/env.rb +13 -0
- data/lib/nytimes_articles.rb +6 -0
- data/lib/nytimes_articles/article.rb +466 -0
- data/lib/nytimes_articles/base.rb +124 -0
- data/lib/nytimes_articles/exceptions.rb +38 -0
- data/lib/nytimes_articles/facet.rb +128 -0
- data/lib/nytimes_articles/facet_hash.rb +26 -0
- data/lib/nytimes_articles/query.rb +28 -0
- data/lib/nytimes_articles/result_set.rb +66 -0
- data/lib/nytimes_articles/thumbnail.rb +30 -0
- data/nytimes-articles.gemspec +73 -0
- data/script/console +10 -0
- data/test/nytimes/articles/test_article.rb +584 -0
- data/test/nytimes/articles/test_base.rb +120 -0
- data/test/nytimes/articles/test_facet.rb +109 -0
- data/test/nytimes/articles/test_query.rb +89 -0
- data/test/nytimes/articles/test_result_set.rb +62 -0
- data/test/nytimes/articles/test_thumbnail.rb +47 -0
- data/test/test_helper.rb +31 -0
- metadata +98 -0
metadata
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: nytimes-articles
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.4.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Jacob Harris
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
|
|
12
|
+
date: 2009-07-23 00:00:00 -04:00
|
|
13
|
+
default_executable:
|
|
14
|
+
dependencies:
|
|
15
|
+
- !ruby/object:Gem::Dependency
|
|
16
|
+
name: htmlentities
|
|
17
|
+
type: :runtime
|
|
18
|
+
version_requirement:
|
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
20
|
+
requirements:
|
|
21
|
+
- - ">="
|
|
22
|
+
- !ruby/object:Gem::Version
|
|
23
|
+
version: "0"
|
|
24
|
+
version:
|
|
25
|
+
description: A gem for accessing the New York Times Article Search API
|
|
26
|
+
email: jharris@nytimes.com
|
|
27
|
+
executables: []
|
|
28
|
+
|
|
29
|
+
extensions: []
|
|
30
|
+
|
|
31
|
+
extra_rdoc_files:
|
|
32
|
+
- LICENSE
|
|
33
|
+
- README
|
|
34
|
+
files:
|
|
35
|
+
- .gitignore
|
|
36
|
+
- HISTORY
|
|
37
|
+
- LICENSE
|
|
38
|
+
- README
|
|
39
|
+
- Rakefile
|
|
40
|
+
- VERSION.yml
|
|
41
|
+
- features/nytimes_articles.feature
|
|
42
|
+
- features/steps/nytimes_articles_steps.rb
|
|
43
|
+
- features/support/env.rb
|
|
44
|
+
- lib/nytimes_articles.rb
|
|
45
|
+
- lib/nytimes_articles/article.rb
|
|
46
|
+
- lib/nytimes_articles/base.rb
|
|
47
|
+
- lib/nytimes_articles/exceptions.rb
|
|
48
|
+
- lib/nytimes_articles/facet.rb
|
|
49
|
+
- lib/nytimes_articles/facet_hash.rb
|
|
50
|
+
- lib/nytimes_articles/query.rb
|
|
51
|
+
- lib/nytimes_articles/result_set.rb
|
|
52
|
+
- lib/nytimes_articles/thumbnail.rb
|
|
53
|
+
- nytimes-articles.gemspec
|
|
54
|
+
- script/console
|
|
55
|
+
- test/nytimes/articles/test_article.rb
|
|
56
|
+
- test/nytimes/articles/test_base.rb
|
|
57
|
+
- test/nytimes/articles/test_facet.rb
|
|
58
|
+
- test/nytimes/articles/test_query.rb
|
|
59
|
+
- test/nytimes/articles/test_result_set.rb
|
|
60
|
+
- test/nytimes/articles/test_thumbnail.rb
|
|
61
|
+
- test/test_helper.rb
|
|
62
|
+
has_rdoc: false
|
|
63
|
+
homepage: http://github.com/harrisj/nytimes-articles
|
|
64
|
+
licenses: []
|
|
65
|
+
|
|
66
|
+
post_install_message:
|
|
67
|
+
rdoc_options:
|
|
68
|
+
- --charset=UTF-8
|
|
69
|
+
require_paths:
|
|
70
|
+
- lib
|
|
71
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: "0"
|
|
76
|
+
version:
|
|
77
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
78
|
+
requirements:
|
|
79
|
+
- - ">="
|
|
80
|
+
- !ruby/object:Gem::Version
|
|
81
|
+
version: "0"
|
|
82
|
+
version:
|
|
83
|
+
requirements:
|
|
84
|
+
- Unicode
|
|
85
|
+
- The htmlentities gem
|
|
86
|
+
rubyforge_project:
|
|
87
|
+
rubygems_version: 1.3.2
|
|
88
|
+
signing_key:
|
|
89
|
+
specification_version: 3
|
|
90
|
+
summary: A gem for accessing the NYTimes Article Search API
|
|
91
|
+
test_files:
|
|
92
|
+
- test/nytimes/articles/test_article.rb
|
|
93
|
+
- test/nytimes/articles/test_base.rb
|
|
94
|
+
- test/nytimes/articles/test_facet.rb
|
|
95
|
+
- test/nytimes/articles/test_query.rb
|
|
96
|
+
- test/nytimes/articles/test_result_set.rb
|
|
97
|
+
- test/nytimes/articles/test_thumbnail.rb
|
|
98
|
+
- test/test_helper.rb
|