big-door-fork 0.0.1
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/.bundle/config +2 -0
- data/.document +5 -0
- data/.gitignore +22 -0
- data/Gemfile +12 -0
- data/LICENSE +20 -0
- data/README.rdoc +17 -0
- data/Rakefile +60 -0
- data/VERSION +1 -0
- data/big-door-fork.gemspec +101 -0
- data/features/big-door.feature +34 -0
- data/features/step_definitions/big-door_steps.rb +83 -0
- data/features/support/env.rb +5 -0
- data/lib/big-door.rb +153 -0
- data/lib/big-door/base.rb +45 -0
- data/lib/big-door/currency.rb +25 -0
- data/lib/big-door/named_award.rb +25 -0
- data/lib/big-door/named_award_collection.rb +27 -0
- data/lib/big-door/named_level.rb +25 -0
- data/lib/big-door/named_level_collection.rb +27 -0
- data/lib/big-door/named_transaction.rb +25 -0
- data/lib/big-door/named_transaction_group.rb +27 -0
- data/lib/big-door/request.rb +7 -0
- data/lib/big-door/response_codes.rb +266 -0
- data/lib/big-door/user.rb +69 -0
- data/spec/.rspec +1 -0
- data/spec/big-door_spec.rb +127 -0
- data/spec/spec_helper.rb +19 -0
- data/spec/support/vcr.rb +7 -0
- data/vcr_cassettes/NamedTransaction/NamedTransaction.yml +213 -0
- data/vcr_cassettes/NamedTransaction/specific.yml +6043 -0
- data/vcr_cassettes/award/award_summary.yml +34 -0
- data/vcr_cassettes/currency/currency.yml +52 -0
- data/vcr_cassettes/currency/currency_type.yml +31 -0
- data/vcr_cassettes/currency/specific.yml +2980 -0
- data/vcr_cassettes/good/good_summary.yml +34 -0
- data/vcr_cassettes/level/level_summary.yml +34 -0
- data/vcr_cassettes/named_transaction/named_transactions.yml +107 -0
- data/vcr_cassettes/named_transaction_group/all.yml +145 -0
- data/vcr_cassettes/named_transaction_group/specific.yml +3171 -0
- data/vcr_cassettes/user/add_points.yml +36 -0
- data/vcr_cassettes/user/all.yml +10035 -0
- data/vcr_cassettes/user/create.yml +4259 -0
- data/vcr_cassettes/user/currency_balance.yml +738 -0
- data/vcr_cassettes/user/delete.yml +28 -0
- data/vcr_cassettes/user/new.yml +5660 -0
- data/vcr_cassettes/user/new_currency_balance.yml +470 -0
- data/vcr_cassettes/user/specific.yml +44 -0
- metadata +182 -0
@@ -0,0 +1,44 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://api.bigdoor.com:80/api/publisher/0deee7386916481199b5cbc16e4800b0/end_user/fakeemailer@trada.com?time=1283979570.45&format=json&sig=21964e6d1f45947c7c231dfbd2aa70e8d0cdd7ab32b83165809b8d9e6c34cf49
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
connection:
|
9
|
+
- close
|
10
|
+
response: !ruby/struct:VCR::Response
|
11
|
+
status: !ruby/struct:VCR::ResponseStatus
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
connection:
|
16
|
+
- Close
|
17
|
+
content-type:
|
18
|
+
- application/json; charset=utf-8
|
19
|
+
server:
|
20
|
+
- Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch mod_wsgi/2.5 Python/2.5.2
|
21
|
+
date:
|
22
|
+
- Wed, 08 Sep 2010 20:59:30 GMT
|
23
|
+
content-length:
|
24
|
+
- "449"
|
25
|
+
vary:
|
26
|
+
- Authorization,Cookie
|
27
|
+
body: |-
|
28
|
+
[
|
29
|
+
{
|
30
|
+
"read_only": 0,
|
31
|
+
"modified_timestamp": 1282851363,
|
32
|
+
"resource_name": "end_user",
|
33
|
+
"award_summaries": [],
|
34
|
+
"level_summaries": [],
|
35
|
+
"sent_good_summaries": [],
|
36
|
+
"currency_balances": [],
|
37
|
+
"created_timestamp": 1282851363,
|
38
|
+
"end_user_login": "fakeemailer@trada.com",
|
39
|
+
"guid": "29fc6bf5b14911dfa15a55a9222eea83",
|
40
|
+
"received_good_summaries": []
|
41
|
+
},
|
42
|
+
{}
|
43
|
+
]
|
44
|
+
http_version: "1.1"
|
metadata
ADDED
@@ -0,0 +1,182 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: big-door-fork
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 29
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 1
|
10
|
+
version: 0.0.1
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Michael Lavrisha
|
14
|
+
- Daniel Morris
|
15
|
+
autorequire:
|
16
|
+
bindir: bin
|
17
|
+
cert_chain: []
|
18
|
+
|
19
|
+
date: 2010-09-22 00:00:00 +01:00
|
20
|
+
default_executable:
|
21
|
+
dependencies:
|
22
|
+
- !ruby/object:Gem::Dependency
|
23
|
+
name: rspec
|
24
|
+
prerelease: false
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ~>
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
hash: 62196421
|
31
|
+
segments:
|
32
|
+
- 2
|
33
|
+
- 0
|
34
|
+
- 0
|
35
|
+
- beta
|
36
|
+
- 19
|
37
|
+
version: 2.0.0.beta.19
|
38
|
+
type: :development
|
39
|
+
version_requirements: *id001
|
40
|
+
- !ruby/object:Gem::Dependency
|
41
|
+
name: cucumber
|
42
|
+
prerelease: false
|
43
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
44
|
+
none: false
|
45
|
+
requirements:
|
46
|
+
- - ~>
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
hash: 53
|
49
|
+
segments:
|
50
|
+
- 0
|
51
|
+
- 8
|
52
|
+
- 5
|
53
|
+
version: 0.8.5
|
54
|
+
type: :development
|
55
|
+
version_requirements: *id002
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: httparty
|
58
|
+
prerelease: false
|
59
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
60
|
+
none: false
|
61
|
+
requirements:
|
62
|
+
- - ~>
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
hash: 7
|
65
|
+
segments:
|
66
|
+
- 0
|
67
|
+
- 6
|
68
|
+
- 0
|
69
|
+
version: 0.6.0
|
70
|
+
type: :runtime
|
71
|
+
version_requirements: *id003
|
72
|
+
- !ruby/object:Gem::Dependency
|
73
|
+
name: json
|
74
|
+
prerelease: false
|
75
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
76
|
+
none: false
|
77
|
+
requirements:
|
78
|
+
- - ~>
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
hash: 1
|
81
|
+
segments:
|
82
|
+
- 1
|
83
|
+
- 4
|
84
|
+
- 3
|
85
|
+
version: 1.4.3
|
86
|
+
type: :runtime
|
87
|
+
version_requirements: *id004
|
88
|
+
description: A fork of big-door (gem to interact with Big Door Media's API) to support awards and levels better.
|
89
|
+
email: mlavrisha@trada.com danieljohnmorris@gmail.com
|
90
|
+
executables: []
|
91
|
+
|
92
|
+
extensions: []
|
93
|
+
|
94
|
+
extra_rdoc_files:
|
95
|
+
- LICENSE
|
96
|
+
- README.rdoc
|
97
|
+
files:
|
98
|
+
- .bundle/config
|
99
|
+
- .document
|
100
|
+
- .gitignore
|
101
|
+
- Gemfile
|
102
|
+
- LICENSE
|
103
|
+
- README.rdoc
|
104
|
+
- Rakefile
|
105
|
+
- VERSION
|
106
|
+
- big-door-fork.gemspec
|
107
|
+
- features/big-door.feature
|
108
|
+
- features/step_definitions/big-door_steps.rb
|
109
|
+
- features/support/env.rb
|
110
|
+
- lib/big-door.rb
|
111
|
+
- lib/big-door/base.rb
|
112
|
+
- lib/big-door/currency.rb
|
113
|
+
- lib/big-door/named_award.rb
|
114
|
+
- lib/big-door/named_award_collection.rb
|
115
|
+
- lib/big-door/named_level.rb
|
116
|
+
- lib/big-door/named_level_collection.rb
|
117
|
+
- lib/big-door/named_transaction.rb
|
118
|
+
- lib/big-door/named_transaction_group.rb
|
119
|
+
- lib/big-door/request.rb
|
120
|
+
- lib/big-door/response_codes.rb
|
121
|
+
- lib/big-door/user.rb
|
122
|
+
- spec/.rspec
|
123
|
+
- spec/big-door_spec.rb
|
124
|
+
- spec/spec_helper.rb
|
125
|
+
- spec/support/vcr.rb
|
126
|
+
- vcr_cassettes/NamedTransaction/NamedTransaction.yml
|
127
|
+
- vcr_cassettes/NamedTransaction/specific.yml
|
128
|
+
- vcr_cassettes/award/award_summary.yml
|
129
|
+
- vcr_cassettes/currency/currency.yml
|
130
|
+
- vcr_cassettes/currency/currency_type.yml
|
131
|
+
- vcr_cassettes/currency/specific.yml
|
132
|
+
- vcr_cassettes/good/good_summary.yml
|
133
|
+
- vcr_cassettes/level/level_summary.yml
|
134
|
+
- vcr_cassettes/named_transaction/named_transactions.yml
|
135
|
+
- vcr_cassettes/named_transaction_group/all.yml
|
136
|
+
- vcr_cassettes/named_transaction_group/specific.yml
|
137
|
+
- vcr_cassettes/user/add_points.yml
|
138
|
+
- vcr_cassettes/user/all.yml
|
139
|
+
- vcr_cassettes/user/create.yml
|
140
|
+
- vcr_cassettes/user/currency_balance.yml
|
141
|
+
- vcr_cassettes/user/delete.yml
|
142
|
+
- vcr_cassettes/user/new.yml
|
143
|
+
- vcr_cassettes/user/new_currency_balance.yml
|
144
|
+
- vcr_cassettes/user/specific.yml
|
145
|
+
has_rdoc: true
|
146
|
+
homepage: http://github.com/danieljohnmorris/big-door
|
147
|
+
licenses: []
|
148
|
+
|
149
|
+
post_install_message:
|
150
|
+
rdoc_options:
|
151
|
+
- --charset=UTF-8
|
152
|
+
require_paths:
|
153
|
+
- lib
|
154
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
155
|
+
none: false
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
hash: 3
|
160
|
+
segments:
|
161
|
+
- 0
|
162
|
+
version: "0"
|
163
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
164
|
+
none: false
|
165
|
+
requirements:
|
166
|
+
- - ">="
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
hash: 3
|
169
|
+
segments:
|
170
|
+
- 0
|
171
|
+
version: "0"
|
172
|
+
requirements: []
|
173
|
+
|
174
|
+
rubyforge_project:
|
175
|
+
rubygems_version: 1.3.7
|
176
|
+
signing_key:
|
177
|
+
specification_version: 3
|
178
|
+
summary: Fork of Big Door Media gem
|
179
|
+
test_files:
|
180
|
+
- spec/big-door_spec.rb
|
181
|
+
- spec/spec_helper.rb
|
182
|
+
- spec/support/vcr.rb
|