wallabee 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +19 -0
- data/.rspec +2 -0
- data/Gemfile +4 -0
- data/Guardfile +10 -0
- data/LICENSE.txt +22 -0
- data/README.md +0 -0
- data/Rakefile +1 -0
- data/lib/wallabee.rb +9 -0
- data/lib/wallabee/api.rb +48 -0
- data/lib/wallabee/resource.rb +9 -0
- data/lib/wallabee/resource/achievements.rb +9 -0
- data/lib/wallabee/resource/base.rb +9 -0
- data/lib/wallabee/resource/branded.rb +9 -0
- data/lib/wallabee/version.rb +3 -0
- data/spec/cassettes/Wallabee_API/_achievements/returns_an_Array.yml +776 -0
- data/spec/cassettes/Wallabee_API/_branded/returns_an_Array.yml +287 -0
- data/spec/spec_helper.rb +25 -0
- data/spec/support/vcr.rb +13 -0
- data/spec/wallabee/api_spec.rb +42 -0
- data/spec/wallabee_spec.rb +7 -0
- data/wallabee.gemspec +35 -0
- metadata +288 -0
@@ -0,0 +1,287 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.wallab.ee/branded
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
X-WallaBee-API-Key:
|
11
|
+
- 50c3ab67-954c-48ea-b06b-71514d4902ab
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message:
|
16
|
+
headers:
|
17
|
+
!binary "ZGF0ZQ==":
|
18
|
+
- !binary |-
|
19
|
+
VHVlLCAxOSBGZWIgMjAxMyAwNzozNzo0MCBHTVQ=
|
20
|
+
!binary "c2VydmVy":
|
21
|
+
- !binary |-
|
22
|
+
QXBhY2hl
|
23
|
+
!binary "dmFyeQ==":
|
24
|
+
- !binary |-
|
25
|
+
QWNjZXB0LUVuY29kaW5nLFVzZXItQWdlbnQ=
|
26
|
+
!binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctb3JpZ2lu":
|
27
|
+
- !binary |-
|
28
|
+
Kg==
|
29
|
+
!binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctaGVhZGVycw==":
|
30
|
+
- !binary |-
|
31
|
+
WC1XYWxsYUJlZS1BUEktS2V5
|
32
|
+
!binary "Y29udGVudC1sZW5ndGg=":
|
33
|
+
- !binary |-
|
34
|
+
MzIyNA==
|
35
|
+
!binary "Y29udGVudC10eXBl":
|
36
|
+
- !binary |-
|
37
|
+
dGV4dC9odG1sOyBjaGFyc2V0PVVURi04
|
38
|
+
!binary "Y29ubmVjdGlvbg==":
|
39
|
+
- !binary |-
|
40
|
+
Y2xvc2U=
|
41
|
+
body:
|
42
|
+
encoding: ASCII-8BIT
|
43
|
+
string: !binary |-
|
44
|
+
eyJuYW1lIjoiQnJhbmRlZCBJdGVtcyIsImltYWdlX3VybF8yNSI6Imh0dHA6
|
45
|
+
XC9cL3dhbGxhYmVlLnMzLmFtYXpvbmF3cy5jb21cL2NvbGxlY3Rpb25zXC8y
|
46
|
+
MC00ZmFjZWE2NS0yNjBjLTRkNTQtODgxOS0yMWRmNGQ0OTAyYWItMjUucG5n
|
47
|
+
IiwiaW1hZ2VfdXJsXzUwIjoiaHR0cDpcL1wvd2FsbGFiZWUuczMuYW1hem9u
|
48
|
+
YXdzLmNvbVwvY29sbGVjdGlvbnNcLzIwLTRmYWNlYTY2LWE2NzAtNGQxNC04
|
49
|
+
Y2Y1LTIxZGY0ZDQ5MDJhYi01MC5wbmciLCJpbWFnZV91cmxfMTAwIjoiaHR0
|
50
|
+
cDpcL1wvd2FsbGFiZWUuczMuYW1hem9uYXdzLmNvbVwvY29sbGVjdGlvbnNc
|
51
|
+
LzIwLTRmYWNlYTY3LWI1ZGMtNDFjZC1iOWQwLTIxZGY0ZDQ5MDJhYi0xMDAu
|
52
|
+
cG5nIiwiaW1hZ2VfdXJsXzIwMCI6Imh0dHA6XC9cL3dhbGxhYmVlLnMzLmFt
|
53
|
+
YXpvbmF3cy5jb21cL2NvbGxlY3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CBvbiB0aGVpciBmZWV0LiBCZSByZWFkeSB0
|
282
|
+
byBqb2luIHRoZSBtb3N0IGVwaWMgd2FyIGluIGhpc3Rvcnkgb2YgdGhlIHVu
|
283
|
+
aXZlcnNlISIsInByaXplcyI6IjAiLCJ1cmwiOiJodHRwOlwvXC93d3cubmFr
|
284
|
+
cnVtLmNvbSJ9XX0=
|
285
|
+
http_version:
|
286
|
+
recorded_at: Tue, 19 Feb 2013 07:37:54 GMT
|
287
|
+
recorded_with: VCR 2.4.0
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
|
2
|
+
require 'rspec/autorun'
|
3
|
+
require 'wallabee'
|
4
|
+
require 'dotenv'
|
5
|
+
Dotenv.load
|
6
|
+
|
7
|
+
Dir["./spec/support/**/*.rb"].sort.each {|f| require f}
|
8
|
+
|
9
|
+
# This file was generated by the `rspec --init` command. Conventionally, all
|
10
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
11
|
+
# Require this file using `require "spec_helper"` to ensure that it is only
|
12
|
+
# loaded once.
|
13
|
+
#
|
14
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
15
|
+
RSpec.configure do |config|
|
16
|
+
config.treat_symbols_as_metadata_keys_with_true_values = true
|
17
|
+
config.run_all_when_everything_filtered = true
|
18
|
+
config.filter_run :focus
|
19
|
+
|
20
|
+
# Run specs in random order to surface order dependencies. If you find an
|
21
|
+
# order dependency and want to debug it, you can fix the order by providing
|
22
|
+
# the seed, which is printed after each run.
|
23
|
+
# --seed 1234
|
24
|
+
config.order = 'random'
|
25
|
+
end
|
data/spec/support/vcr.rb
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Wallabee::API, :vcr do
|
4
|
+
let(:client) { Wallabee::API.new api_key: api_key}
|
5
|
+
let(:api_key) { ENV['API_KEY'] }
|
6
|
+
|
7
|
+
describe "#new" do
|
8
|
+
it "raises ArgumentError when missing api key" do
|
9
|
+
expect { Wallabee::API.new({}) }.to raise_error(ArgumentError)
|
10
|
+
end
|
11
|
+
|
12
|
+
it "returns an instance when initialized" do
|
13
|
+
client = Wallabee::API.new api_key: api_key
|
14
|
+
expect(client).to be_instance_of(Wallabee::API)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
describe "#achievements" do
|
19
|
+
let(:response){ client.achievements.list}
|
20
|
+
|
21
|
+
it "returns an Array" do
|
22
|
+
expect(response).to be_instance_of(Array)
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
26
|
+
|
27
|
+
describe "#branded" do
|
28
|
+
let(:response){ client.branded.items }
|
29
|
+
|
30
|
+
it "returns an Array" do
|
31
|
+
expect(response).to be_instance_of(Array)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
describe "#items" do
|
36
|
+
let(:response){ client.items.info 1}
|
37
|
+
|
38
|
+
it "returns a Hashie::Rash" do
|
39
|
+
expect(response).to be_instance_of(Hashie::Rash)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
data/wallabee.gemspec
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'wallabee/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |gem|
|
7
|
+
gem.name = "wallabee"
|
8
|
+
gem.version = Wallabee::VERSION
|
9
|
+
gem.authors = ["Mike Ballou"]
|
10
|
+
gem.email = ["mikeballou@gmail.com"]
|
11
|
+
gem.description = %q{Wallab.ee Api Wrapper}
|
12
|
+
gem.summary = %q{A simple ruby api wrapper for the wallab.ee api}
|
13
|
+
gem.homepage = ""
|
14
|
+
|
15
|
+
gem.files = `git ls-files`.split($/)
|
16
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
17
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
|
+
gem.require_paths = ["lib"]
|
19
|
+
|
20
|
+
gem.add_dependency 'faraday', '~> 0.8.4'
|
21
|
+
gem.add_dependency 'faraday_middleware'
|
22
|
+
gem.add_dependency 'json'
|
23
|
+
gem.add_dependency 'rash'
|
24
|
+
|
25
|
+
gem.add_development_dependency 'rspec', '~> 2.0'
|
26
|
+
gem.add_development_dependency 'rake'
|
27
|
+
gem.add_development_dependency 'guard'
|
28
|
+
gem.add_development_dependency 'guard-rspec'
|
29
|
+
gem.add_development_dependency 'rb-fsevent'
|
30
|
+
gem.add_development_dependency 'dotenv'
|
31
|
+
|
32
|
+
gem.add_development_dependency 'vcr', '~> 2.4'
|
33
|
+
gem.add_development_dependency 'fakeweb', '~> 1.3.0'
|
34
|
+
gem.add_development_dependency 'yard'
|
35
|
+
end
|
metadata
ADDED
@@ -0,0 +1,288 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: wallabee
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Mike Ballou
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-02-19 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: faraday
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.8.4
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.8.4
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: faraday_middleware
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: json
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rash
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: rspec
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '2.0'
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '2.0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: rake
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: guard
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: guard-rspec
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ! '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ! '>='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: rb-fsevent
|
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'
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
|
+
name: dotenv
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
162
|
+
requirements:
|
163
|
+
- - ! '>='
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
166
|
+
type: :development
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
170
|
+
requirements:
|
171
|
+
- - ! '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
- !ruby/object:Gem::Dependency
|
175
|
+
name: vcr
|
176
|
+
requirement: !ruby/object:Gem::Requirement
|
177
|
+
none: false
|
178
|
+
requirements:
|
179
|
+
- - ~>
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '2.4'
|
182
|
+
type: :development
|
183
|
+
prerelease: false
|
184
|
+
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
186
|
+
requirements:
|
187
|
+
- - ~>
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '2.4'
|
190
|
+
- !ruby/object:Gem::Dependency
|
191
|
+
name: fakeweb
|
192
|
+
requirement: !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
194
|
+
requirements:
|
195
|
+
- - ~>
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
version: 1.3.0
|
198
|
+
type: :development
|
199
|
+
prerelease: false
|
200
|
+
version_requirements: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
202
|
+
requirements:
|
203
|
+
- - ~>
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: 1.3.0
|
206
|
+
- !ruby/object:Gem::Dependency
|
207
|
+
name: yard
|
208
|
+
requirement: !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
210
|
+
requirements:
|
211
|
+
- - ! '>='
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: '0'
|
214
|
+
type: :development
|
215
|
+
prerelease: false
|
216
|
+
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
218
|
+
requirements:
|
219
|
+
- - ! '>='
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '0'
|
222
|
+
description: Wallab.ee Api Wrapper
|
223
|
+
email:
|
224
|
+
- mikeballou@gmail.com
|
225
|
+
executables: []
|
226
|
+
extensions: []
|
227
|
+
extra_rdoc_files: []
|
228
|
+
files:
|
229
|
+
- .gitignore
|
230
|
+
- .rspec
|
231
|
+
- Gemfile
|
232
|
+
- Guardfile
|
233
|
+
- LICENSE.txt
|
234
|
+
- README.md
|
235
|
+
- Rakefile
|
236
|
+
- lib/wallabee.rb
|
237
|
+
- lib/wallabee/.DS_Store
|
238
|
+
- lib/wallabee/api.rb
|
239
|
+
- lib/wallabee/resource.rb
|
240
|
+
- lib/wallabee/resource/achievements.rb
|
241
|
+
- lib/wallabee/resource/base.rb
|
242
|
+
- lib/wallabee/resource/branded.rb
|
243
|
+
- lib/wallabee/version.rb
|
244
|
+
- spec/cassettes/Wallabee_API/_achievements/returns_an_Array.yml
|
245
|
+
- spec/cassettes/Wallabee_API/_branded/returns_an_Array.yml
|
246
|
+
- spec/spec_helper.rb
|
247
|
+
- spec/support/vcr.rb
|
248
|
+
- spec/wallabee/api_spec.rb
|
249
|
+
- spec/wallabee_spec.rb
|
250
|
+
- wallabee.gemspec
|
251
|
+
homepage: ''
|
252
|
+
licenses: []
|
253
|
+
post_install_message:
|
254
|
+
rdoc_options: []
|
255
|
+
require_paths:
|
256
|
+
- lib
|
257
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
258
|
+
none: false
|
259
|
+
requirements:
|
260
|
+
- - ! '>='
|
261
|
+
- !ruby/object:Gem::Version
|
262
|
+
version: '0'
|
263
|
+
segments:
|
264
|
+
- 0
|
265
|
+
hash: 1351640799345221495
|
266
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
267
|
+
none: false
|
268
|
+
requirements:
|
269
|
+
- - ! '>='
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: '0'
|
272
|
+
segments:
|
273
|
+
- 0
|
274
|
+
hash: 1351640799345221495
|
275
|
+
requirements: []
|
276
|
+
rubyforge_project:
|
277
|
+
rubygems_version: 1.8.25
|
278
|
+
signing_key:
|
279
|
+
specification_version: 3
|
280
|
+
summary: A simple ruby api wrapper for the wallab.ee api
|
281
|
+
test_files:
|
282
|
+
- spec/cassettes/Wallabee_API/_achievements/returns_an_Array.yml
|
283
|
+
- spec/cassettes/Wallabee_API/_branded/returns_an_Array.yml
|
284
|
+
- spec/spec_helper.rb
|
285
|
+
- spec/support/vcr.rb
|
286
|
+
- spec/wallabee/api_spec.rb
|
287
|
+
- spec/wallabee_spec.rb
|
288
|
+
has_rdoc:
|