wot_api 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +25 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +45 -0
- data/Rakefile +28 -0
- data/lib/wot_api/base.rb +73 -0
- data/lib/wot_api/player.rb +28 -0
- data/lib/wot_api/version.rb +3 -0
- data/lib/wot_api.rb +5 -0
- data/spec/base_spec.rb +86 -0
- data/spec/fixtures/account_achievements.json +12 -0
- data/spec/fixtures/account_info.json +13 -0
- data/spec/fixtures/account_list.json +13 -0
- data/spec/fixtures/account_tanks.json +13 -0
- data/spec/fixtures/clan_battles.json +12 -0
- data/spec/fixtures/clan_info.json +13 -0
- data/spec/fixtures/clan_list.json +13 -0
- data/spec/fixtures/clan_membersinfo.json +12 -0
- data/spec/fixtures/clan_provinces.json +12 -0
- data/spec/fixtures/clan_top.json +13 -0
- data/spec/fixtures/clan_victorypointshistory.json +12 -0
- data/spec/fixtures/encyclopedia_achievements.json +13 -0
- data/spec/fixtures/encyclopedia_tankchassis.json +13 -0
- data/spec/fixtures/encyclopedia_tankengines.json +13 -0
- data/spec/fixtures/encyclopedia_tankguns.json +13 -0
- data/spec/fixtures/encyclopedia_tankinfo.json +13 -0
- data/spec/fixtures/encyclopedia_tankradios.json +13 -0
- data/spec/fixtures/encyclopedia_tanks.json +13 -0
- data/spec/fixtures/encyclopedia_tankturrets.json +13 -0
- data/spec/fixtures/endpoints.yml +61 -0
- data/spec/fixtures/globalwar_clans.json +13 -0
- data/spec/fixtures/globalwar_famepoints.json +12 -0
- data/spec/fixtures/globalwar_maps.json +12 -0
- data/spec/fixtures/globalwar_provinces.json +13 -0
- data/spec/fixtures/globalwar_top.json +13 -0
- data/spec/fixtures/globalwar_tournaments.json +12 -0
- data/spec/fixtures/ratings_accounts.json +13 -0
- data/spec/fixtures/ratings_dates.json +12 -0
- data/spec/fixtures/ratings_neighbors.json +13 -0
- data/spec/fixtures/ratings_top.json +13 -0
- data/spec/fixtures/ratings_types.json +13 -0
- data/spec/fixtures/tanks_achievements.json +13 -0
- data/spec/fixtures/tanks_stats.json +13 -0
- data/spec/player_spec.rb +32 -0
- data/spec/spec_helper.rb +21 -0
- data/wot_api.gemspec +30 -0
- metadata +212 -0
metadata
ADDED
@@ -0,0 +1,212 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: wot_api
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jesse Cantara
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-06-10 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.6'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.6'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 3.0.0.rc1
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 3.0.0.rc1
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: fakeweb
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.3'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.3'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: simplecov
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.7.1
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.7.1
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: httparty
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.13'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.13'
|
97
|
+
description: API wrapper for the game 'World of Tanks'; including User Accounts, and
|
98
|
+
Clans, but not OpenID Authentication.
|
99
|
+
email:
|
100
|
+
- jcantara@gmail.com
|
101
|
+
executables: []
|
102
|
+
extensions: []
|
103
|
+
extra_rdoc_files: []
|
104
|
+
files:
|
105
|
+
- ".gitignore"
|
106
|
+
- Gemfile
|
107
|
+
- LICENSE.txt
|
108
|
+
- README.md
|
109
|
+
- Rakefile
|
110
|
+
- lib/wot_api.rb
|
111
|
+
- lib/wot_api/base.rb
|
112
|
+
- lib/wot_api/player.rb
|
113
|
+
- lib/wot_api/version.rb
|
114
|
+
- spec/base_spec.rb
|
115
|
+
- spec/fixtures/account_achievements.json
|
116
|
+
- spec/fixtures/account_info.json
|
117
|
+
- spec/fixtures/account_list.json
|
118
|
+
- spec/fixtures/account_tanks.json
|
119
|
+
- spec/fixtures/clan_battles.json
|
120
|
+
- spec/fixtures/clan_info.json
|
121
|
+
- spec/fixtures/clan_list.json
|
122
|
+
- spec/fixtures/clan_membersinfo.json
|
123
|
+
- spec/fixtures/clan_provinces.json
|
124
|
+
- spec/fixtures/clan_top.json
|
125
|
+
- spec/fixtures/clan_victorypointshistory.json
|
126
|
+
- spec/fixtures/encyclopedia_achievements.json
|
127
|
+
- spec/fixtures/encyclopedia_tankchassis.json
|
128
|
+
- spec/fixtures/encyclopedia_tankengines.json
|
129
|
+
- spec/fixtures/encyclopedia_tankguns.json
|
130
|
+
- spec/fixtures/encyclopedia_tankinfo.json
|
131
|
+
- spec/fixtures/encyclopedia_tankradios.json
|
132
|
+
- spec/fixtures/encyclopedia_tanks.json
|
133
|
+
- spec/fixtures/encyclopedia_tankturrets.json
|
134
|
+
- spec/fixtures/endpoints.yml
|
135
|
+
- spec/fixtures/globalwar_clans.json
|
136
|
+
- spec/fixtures/globalwar_famepoints.json
|
137
|
+
- spec/fixtures/globalwar_maps.json
|
138
|
+
- spec/fixtures/globalwar_provinces.json
|
139
|
+
- spec/fixtures/globalwar_top.json
|
140
|
+
- spec/fixtures/globalwar_tournaments.json
|
141
|
+
- spec/fixtures/ratings_accounts.json
|
142
|
+
- spec/fixtures/ratings_dates.json
|
143
|
+
- spec/fixtures/ratings_neighbors.json
|
144
|
+
- spec/fixtures/ratings_top.json
|
145
|
+
- spec/fixtures/ratings_types.json
|
146
|
+
- spec/fixtures/tanks_achievements.json
|
147
|
+
- spec/fixtures/tanks_stats.json
|
148
|
+
- spec/player_spec.rb
|
149
|
+
- spec/spec_helper.rb
|
150
|
+
- wot_api.gemspec
|
151
|
+
homepage: https://github.com/jcantara/wot_api
|
152
|
+
licenses:
|
153
|
+
- MIT
|
154
|
+
metadata: {}
|
155
|
+
post_install_message:
|
156
|
+
rdoc_options: []
|
157
|
+
require_paths:
|
158
|
+
- lib
|
159
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
160
|
+
requirements:
|
161
|
+
- - ">="
|
162
|
+
- !ruby/object:Gem::Version
|
163
|
+
version: '0'
|
164
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
165
|
+
requirements:
|
166
|
+
- - ">="
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: '0'
|
169
|
+
requirements:
|
170
|
+
- Application ID from Wargaming developers portal.
|
171
|
+
rubyforge_project:
|
172
|
+
rubygems_version: 2.2.2
|
173
|
+
signing_key:
|
174
|
+
specification_version: 4
|
175
|
+
summary: API wrapper for 'World of Tanks'.
|
176
|
+
test_files:
|
177
|
+
- spec/base_spec.rb
|
178
|
+
- spec/fixtures/account_achievements.json
|
179
|
+
- spec/fixtures/account_info.json
|
180
|
+
- spec/fixtures/account_list.json
|
181
|
+
- spec/fixtures/account_tanks.json
|
182
|
+
- spec/fixtures/clan_battles.json
|
183
|
+
- spec/fixtures/clan_info.json
|
184
|
+
- spec/fixtures/clan_list.json
|
185
|
+
- spec/fixtures/clan_membersinfo.json
|
186
|
+
- spec/fixtures/clan_provinces.json
|
187
|
+
- spec/fixtures/clan_top.json
|
188
|
+
- spec/fixtures/clan_victorypointshistory.json
|
189
|
+
- spec/fixtures/encyclopedia_achievements.json
|
190
|
+
- spec/fixtures/encyclopedia_tankchassis.json
|
191
|
+
- spec/fixtures/encyclopedia_tankengines.json
|
192
|
+
- spec/fixtures/encyclopedia_tankguns.json
|
193
|
+
- spec/fixtures/encyclopedia_tankinfo.json
|
194
|
+
- spec/fixtures/encyclopedia_tankradios.json
|
195
|
+
- spec/fixtures/encyclopedia_tanks.json
|
196
|
+
- spec/fixtures/encyclopedia_tankturrets.json
|
197
|
+
- spec/fixtures/endpoints.yml
|
198
|
+
- spec/fixtures/globalwar_clans.json
|
199
|
+
- spec/fixtures/globalwar_famepoints.json
|
200
|
+
- spec/fixtures/globalwar_maps.json
|
201
|
+
- spec/fixtures/globalwar_provinces.json
|
202
|
+
- spec/fixtures/globalwar_top.json
|
203
|
+
- spec/fixtures/globalwar_tournaments.json
|
204
|
+
- spec/fixtures/ratings_accounts.json
|
205
|
+
- spec/fixtures/ratings_dates.json
|
206
|
+
- spec/fixtures/ratings_neighbors.json
|
207
|
+
- spec/fixtures/ratings_top.json
|
208
|
+
- spec/fixtures/ratings_types.json
|
209
|
+
- spec/fixtures/tanks_achievements.json
|
210
|
+
- spec/fixtures/tanks_stats.json
|
211
|
+
- spec/player_spec.rb
|
212
|
+
- spec/spec_helper.rb
|