world_bank 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.autotest +1 -0
- data/.gemtest +0 -0
- data/.gitignore +41 -0
- data/.rspec +3 -0
- data/.travis.yml +7 -0
- data/.yardopts +3 -0
- data/Gemfile +4 -0
- data/LICENSE.md +10 -0
- data/README.md +131 -0
- data/Rakefile +18 -0
- data/country_aliases +257 -0
- data/lib/world_bank/client.rb +88 -0
- data/lib/world_bank/country.rb +35 -0
- data/lib/world_bank/income_level.rb +30 -0
- data/lib/world_bank/indicator.rb +36 -0
- data/lib/world_bank/lending_type.rb +30 -0
- data/lib/world_bank/query.rb +107 -0
- data/lib/world_bank/region.rb +29 -0
- data/lib/world_bank/source.rb +31 -0
- data/lib/world_bank/topic.rb +32 -0
- data/lib/world_bank/version.rb +3 -0
- data/lib/world_bank.rb +19 -0
- data/notes +33 -0
- data/notes_part_2 +108 -0
- data/projects_notes +11 -0
- data/spec/fixtures/brazil.json +43 -0
- data/spec/fixtures/countries.json +2 -0
- data/spec/fixtures/countries_india.json +2 -0
- data/spec/fixtures/income_level_lmc.json +1 -0
- data/spec/fixtures/income_levels.json +2 -0
- data/spec/fixtures/indicators.json +2 -0
- data/spec/fixtures/indicators_tractors.json +1 -0
- data/spec/fixtures/lending_type_idb.json +1 -0
- data/spec/fixtures/lending_types.json +1 -0
- data/spec/fixtures/regions.json +2 -0
- data/spec/fixtures/regions_world.json +1 -0
- data/spec/fixtures/source_21.json +2 -0
- data/spec/fixtures/sources.json +1 -0
- data/spec/fixtures/topic_6.json +2 -0
- data/spec/fixtures/topics.json +2 -0
- data/spec/helper.rb +48 -0
- data/spec/world_bank/client_spec.rb +85 -0
- data/spec/world_bank/country_spec.rb +47 -0
- data/spec/world_bank/income_level_spec.rb +33 -0
- data/spec/world_bank/indicator_spec.rb +38 -0
- data/spec/world_bank/lending_type_spec.rb +32 -0
- data/spec/world_bank/query_spec.rb +114 -0
- data/spec/world_bank/region_spec.rb +29 -0
- data/spec/world_bank/source_spec.rb +38 -0
- data/spec/world_bank/topic_spec.rb +41 -0
- data/spec/world_bank_spec.rb +9 -0
- data/world_bank.gemspec +31 -0
- metadata +261 -0
metadata
ADDED
@@ -0,0 +1,261 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: world_bank
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 0.0.1
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Code for America - DevTools
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
|
13
|
+
date: 2011-08-05 00:00:00 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: ZenTest
|
17
|
+
prerelease: false
|
18
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
20
|
+
requirements:
|
21
|
+
- - ~>
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: "4.5"
|
24
|
+
type: :development
|
25
|
+
version_requirements: *id001
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: maruku
|
28
|
+
prerelease: false
|
29
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
30
|
+
none: false
|
31
|
+
requirements:
|
32
|
+
- - ~>
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: "0.6"
|
35
|
+
type: :development
|
36
|
+
version_requirements: *id002
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: rake
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: "0.9"
|
46
|
+
type: :development
|
47
|
+
version_requirements: *id003
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: rspec
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
53
|
+
requirements:
|
54
|
+
- - ~>
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: "2.6"
|
57
|
+
type: :development
|
58
|
+
version_requirements: *id004
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
|
+
name: simplecov
|
61
|
+
prerelease: false
|
62
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
63
|
+
none: false
|
64
|
+
requirements:
|
65
|
+
- - ~>
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: "0.4"
|
68
|
+
type: :development
|
69
|
+
version_requirements: *id005
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: yard
|
72
|
+
prerelease: false
|
73
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
75
|
+
requirements:
|
76
|
+
- - ~>
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: "0.7"
|
79
|
+
type: :development
|
80
|
+
version_requirements: *id006
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: webmock
|
83
|
+
prerelease: false
|
84
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
85
|
+
none: false
|
86
|
+
requirements:
|
87
|
+
- - ~>
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: "1.6"
|
90
|
+
type: :development
|
91
|
+
version_requirements: *id007
|
92
|
+
- !ruby/object:Gem::Dependency
|
93
|
+
name: faraday
|
94
|
+
prerelease: false
|
95
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
96
|
+
none: false
|
97
|
+
requirements:
|
98
|
+
- - ~>
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: 0.6.1
|
101
|
+
type: :runtime
|
102
|
+
version_requirements: *id008
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: faraday_middleware
|
105
|
+
prerelease: false
|
106
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
107
|
+
none: false
|
108
|
+
requirements:
|
109
|
+
- - ~>
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: 0.6.3
|
112
|
+
type: :runtime
|
113
|
+
version_requirements: *id009
|
114
|
+
- !ruby/object:Gem::Dependency
|
115
|
+
name: hashie
|
116
|
+
prerelease: false
|
117
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
118
|
+
none: false
|
119
|
+
requirements:
|
120
|
+
- - ~>
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: 1.0.0
|
123
|
+
type: :runtime
|
124
|
+
version_requirements: *id010
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: multi_json
|
127
|
+
prerelease: false
|
128
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ~>
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: 1.0.2
|
134
|
+
type: :runtime
|
135
|
+
version_requirements: *id011
|
136
|
+
- !ruby/object:Gem::Dependency
|
137
|
+
name: rash
|
138
|
+
prerelease: false
|
139
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
140
|
+
none: false
|
141
|
+
requirements:
|
142
|
+
- - ~>
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: 0.3.0
|
145
|
+
type: :runtime
|
146
|
+
version_requirements: *id012
|
147
|
+
description: A Ruby wrapper around the World Bank's Development Indicators API
|
148
|
+
email: info@codeforamerica.org
|
149
|
+
executables: []
|
150
|
+
|
151
|
+
extensions: []
|
152
|
+
|
153
|
+
extra_rdoc_files: []
|
154
|
+
|
155
|
+
files:
|
156
|
+
- .autotest
|
157
|
+
- .gemtest
|
158
|
+
- .gitignore
|
159
|
+
- .rspec
|
160
|
+
- .travis.yml
|
161
|
+
- .yardopts
|
162
|
+
- Gemfile
|
163
|
+
- LICENSE.md
|
164
|
+
- README.md
|
165
|
+
- Rakefile
|
166
|
+
- country_aliases
|
167
|
+
- lib/world_bank.rb
|
168
|
+
- lib/world_bank/client.rb
|
169
|
+
- lib/world_bank/country.rb
|
170
|
+
- lib/world_bank/income_level.rb
|
171
|
+
- lib/world_bank/indicator.rb
|
172
|
+
- lib/world_bank/lending_type.rb
|
173
|
+
- lib/world_bank/query.rb
|
174
|
+
- lib/world_bank/region.rb
|
175
|
+
- lib/world_bank/source.rb
|
176
|
+
- lib/world_bank/topic.rb
|
177
|
+
- lib/world_bank/version.rb
|
178
|
+
- notes
|
179
|
+
- notes_part_2
|
180
|
+
- projects_notes
|
181
|
+
- spec/fixtures/brazil.json
|
182
|
+
- spec/fixtures/countries.json
|
183
|
+
- spec/fixtures/countries_india.json
|
184
|
+
- spec/fixtures/income_level_lmc.json
|
185
|
+
- spec/fixtures/income_levels.json
|
186
|
+
- spec/fixtures/indicators.json
|
187
|
+
- spec/fixtures/indicators_tractors.json
|
188
|
+
- spec/fixtures/lending_type_idb.json
|
189
|
+
- spec/fixtures/lending_types.json
|
190
|
+
- spec/fixtures/regions.json
|
191
|
+
- spec/fixtures/regions_world.json
|
192
|
+
- spec/fixtures/source_21.json
|
193
|
+
- spec/fixtures/sources.json
|
194
|
+
- spec/fixtures/topic_6.json
|
195
|
+
- spec/fixtures/topics.json
|
196
|
+
- spec/helper.rb
|
197
|
+
- spec/world_bank/client_spec.rb
|
198
|
+
- spec/world_bank/country_spec.rb
|
199
|
+
- spec/world_bank/income_level_spec.rb
|
200
|
+
- spec/world_bank/indicator_spec.rb
|
201
|
+
- spec/world_bank/lending_type_spec.rb
|
202
|
+
- spec/world_bank/query_spec.rb
|
203
|
+
- spec/world_bank/region_spec.rb
|
204
|
+
- spec/world_bank/source_spec.rb
|
205
|
+
- spec/world_bank/topic_spec.rb
|
206
|
+
- spec/world_bank_spec.rb
|
207
|
+
- world_bank.gemspec
|
208
|
+
homepage: https://github.com/codeforamerica/world_bank_ruby
|
209
|
+
licenses: []
|
210
|
+
|
211
|
+
post_install_message:
|
212
|
+
rdoc_options: []
|
213
|
+
|
214
|
+
require_paths:
|
215
|
+
- lib
|
216
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
218
|
+
requirements:
|
219
|
+
- - ">="
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: "0"
|
222
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
223
|
+
none: false
|
224
|
+
requirements:
|
225
|
+
- - ">="
|
226
|
+
- !ruby/object:Gem::Version
|
227
|
+
version: "0"
|
228
|
+
requirements: []
|
229
|
+
|
230
|
+
rubyforge_project:
|
231
|
+
rubygems_version: 1.8.3
|
232
|
+
signing_key:
|
233
|
+
specification_version: 3
|
234
|
+
summary: A Ruby wrapper around the World Bank's Development Indicators API
|
235
|
+
test_files:
|
236
|
+
- spec/fixtures/brazil.json
|
237
|
+
- spec/fixtures/countries.json
|
238
|
+
- spec/fixtures/countries_india.json
|
239
|
+
- spec/fixtures/income_level_lmc.json
|
240
|
+
- spec/fixtures/income_levels.json
|
241
|
+
- spec/fixtures/indicators.json
|
242
|
+
- spec/fixtures/indicators_tractors.json
|
243
|
+
- spec/fixtures/lending_type_idb.json
|
244
|
+
- spec/fixtures/lending_types.json
|
245
|
+
- spec/fixtures/regions.json
|
246
|
+
- spec/fixtures/regions_world.json
|
247
|
+
- spec/fixtures/source_21.json
|
248
|
+
- spec/fixtures/sources.json
|
249
|
+
- spec/fixtures/topic_6.json
|
250
|
+
- spec/fixtures/topics.json
|
251
|
+
- spec/helper.rb
|
252
|
+
- spec/world_bank/client_spec.rb
|
253
|
+
- spec/world_bank/country_spec.rb
|
254
|
+
- spec/world_bank/income_level_spec.rb
|
255
|
+
- spec/world_bank/indicator_spec.rb
|
256
|
+
- spec/world_bank/lending_type_spec.rb
|
257
|
+
- spec/world_bank/query_spec.rb
|
258
|
+
- spec/world_bank/region_spec.rb
|
259
|
+
- spec/world_bank/source_spec.rb
|
260
|
+
- spec/world_bank/topic_spec.rb
|
261
|
+
- spec/world_bank_spec.rb
|