zeit 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.
- data/.travis.yml +1 -0
- data/Gemfile.lock +3 -1
- data/README.md +13 -1
- data/lib/zeit/version.rb +1 -1
- data/zeit.gemspec +3 -1
- metadata +22 -5
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
zeit (0.0.
|
|
4
|
+
zeit (0.0.2)
|
|
5
5
|
faraday
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -29,6 +29,7 @@ GEM
|
|
|
29
29
|
coderay (~> 1.0.5)
|
|
30
30
|
method_source (~> 0.8)
|
|
31
31
|
slop (~> 3.3.1)
|
|
32
|
+
rake (10.0.2)
|
|
32
33
|
rb-fsevent (0.9.2)
|
|
33
34
|
rspec (2.12.0)
|
|
34
35
|
rspec-core (~> 2.12.0)
|
|
@@ -51,6 +52,7 @@ DEPENDENCIES
|
|
|
51
52
|
fakeweb (~> 1.3.0)
|
|
52
53
|
guard-rspec (~> 2.1.2)
|
|
53
54
|
json (~> 1.7.5)
|
|
55
|
+
rake
|
|
54
56
|
rb-fsevent
|
|
55
57
|
rspec (~> 2.12.0)
|
|
56
58
|
vcr (~> 2.3.0)
|
data/README.md
CHANGED
|
@@ -4,11 +4,15 @@ This gem is a ruby client for the Zeit.de API (http://developer.zeit.de/).
|
|
|
4
4
|
|
|
5
5
|
The german newspaper "Die Zeit" recently announced a so called "content
|
|
6
6
|
API" to access their large collection of printed and online articles of
|
|
7
|
-
the past years. To access
|
|
7
|
+
the past years. To access their API you'll have to create an api-key which allows you to
|
|
8
8
|
make 10.000 requests per day, free of charge for non-commercial usage.
|
|
9
9
|
|
|
10
10
|
See http://developer.zeit.de/quickstart/
|
|
11
11
|
|
|
12
|
+
## Continous Integration / Tests
|
|
13
|
+
|
|
14
|
+
[](https://travis-ci.org/rmoriz/zeit)
|
|
15
|
+
|
|
12
16
|
## Installation
|
|
13
17
|
|
|
14
18
|
Add this line to your application's Gemfile:
|
|
@@ -76,3 +80,11 @@ Or install it yourself as:
|
|
|
76
80
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
|
77
81
|
4. Push to the branch (`git push origin my-new-feature`)
|
|
78
82
|
5. Create new Pull Request
|
|
83
|
+
|
|
84
|
+
## License (MIT)
|
|
85
|
+
|
|
86
|
+
see LICENSE.txt
|
|
87
|
+
|
|
88
|
+
## Copyright
|
|
89
|
+
|
|
90
|
+
2012 Roland Moriz, https://roland.io/
|
data/lib/zeit/version.rb
CHANGED
data/zeit.gemspec
CHANGED
|
@@ -9,8 +9,9 @@ Gem::Specification.new do |gem|
|
|
|
9
9
|
gem.authors = ['Roland Moriz']
|
|
10
10
|
gem.email = ['roland@moriz.de']
|
|
11
11
|
gem.description = %q{API client for Zeit.de API}
|
|
12
|
-
gem.summary = %q{API client for Zeit.de API
|
|
12
|
+
gem.summary = %q{API client for Zeit.de API}
|
|
13
13
|
gem.homepage = "http://github.com/rmoriz/zeit"
|
|
14
|
+
gem.license = 'MIT'
|
|
14
15
|
|
|
15
16
|
gem.files = `git ls-files`.split($/).select { |file| file !~ /^spec\/vcr/ }
|
|
16
17
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
|
@@ -30,5 +31,6 @@ Gem::Specification.new do |gem|
|
|
|
30
31
|
gem.add_development_dependency 'rb-fsevent'
|
|
31
32
|
gem.add_development_dependency 'vcr', '~> 2.3.0'
|
|
32
33
|
gem.add_development_dependency 'fakeweb', '~> 1.3.0'
|
|
34
|
+
gem.add_development_dependency 'rake'
|
|
33
35
|
gem.add_development_dependency 'yard'
|
|
34
36
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zeit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -139,6 +139,22 @@ dependencies:
|
|
|
139
139
|
- - ~>
|
|
140
140
|
- !ruby/object:Gem::Version
|
|
141
141
|
version: 1.3.0
|
|
142
|
+
- !ruby/object:Gem::Dependency
|
|
143
|
+
name: rake
|
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
|
145
|
+
none: false
|
|
146
|
+
requirements:
|
|
147
|
+
- - ! '>='
|
|
148
|
+
- !ruby/object:Gem::Version
|
|
149
|
+
version: '0'
|
|
150
|
+
type: :development
|
|
151
|
+
prerelease: false
|
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
153
|
+
none: false
|
|
154
|
+
requirements:
|
|
155
|
+
- - ! '>='
|
|
156
|
+
- !ruby/object:Gem::Version
|
|
157
|
+
version: '0'
|
|
142
158
|
- !ruby/object:Gem::Dependency
|
|
143
159
|
name: yard
|
|
144
160
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -195,7 +211,8 @@ files:
|
|
|
195
211
|
- spec/support/vcr.rb
|
|
196
212
|
- zeit.gemspec
|
|
197
213
|
homepage: http://github.com/rmoriz/zeit
|
|
198
|
-
licenses:
|
|
214
|
+
licenses:
|
|
215
|
+
- MIT
|
|
199
216
|
post_install_message:
|
|
200
217
|
rdoc_options: []
|
|
201
218
|
require_paths:
|
|
@@ -208,7 +225,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
208
225
|
version: '0'
|
|
209
226
|
segments:
|
|
210
227
|
- 0
|
|
211
|
-
hash:
|
|
228
|
+
hash: -4197996778355535057
|
|
212
229
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
213
230
|
none: false
|
|
214
231
|
requirements:
|
|
@@ -217,13 +234,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
217
234
|
version: '0'
|
|
218
235
|
segments:
|
|
219
236
|
- 0
|
|
220
|
-
hash:
|
|
237
|
+
hash: -4197996778355535057
|
|
221
238
|
requirements: []
|
|
222
239
|
rubyforge_project:
|
|
223
240
|
rubygems_version: 1.8.23
|
|
224
241
|
signing_key:
|
|
225
242
|
specification_version: 3
|
|
226
|
-
summary: API client for Zeit.de API
|
|
243
|
+
summary: API client for Zeit.de API
|
|
227
244
|
test_files:
|
|
228
245
|
- spec/api_spec.rb
|
|
229
246
|
- spec/resources/author_spec.rb
|