big-door 0.0.0 → 0.1.0
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/VERSION +1 -1
- data/big-door.gemspec +97 -0
- data/lib/big-door.rb +4 -2
- data/lib/big-door/user.rb +4 -0
- data/spec/big-door_spec.rb +23 -1
- data/vcr_cassettes/user/all.yml +9571 -9
- data/vcr_cassettes/user/create.yml +3866 -0
- data/vcr_cassettes/user/delete.yml +28 -0
- data/vcr_cassettes/user/specific.yml +2 -171
- metadata +6 -4
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :delete
|
5
|
+
uri: http://api.bigdoor.com:80/api/publisher/0d38d9cd41b0440bbf22c0720be58b27/end_user/super_faker@trada.com?time=1283979571.76&delete_token=fcb932ab9d5f1549f0c81f691c37e8c8&format=json&sig=9e414dfed7a2e8073ef6c3605764a8c29a9252cad7813a5f05e1ff6da762cfbd
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
connection:
|
9
|
+
- close
|
10
|
+
response: !ruby/struct:VCR::Response
|
11
|
+
status: !ruby/struct:VCR::ResponseStatus
|
12
|
+
code: 204
|
13
|
+
message: NO CONTENT
|
14
|
+
headers:
|
15
|
+
connection:
|
16
|
+
- Close
|
17
|
+
content-type:
|
18
|
+
- text/plain
|
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:32 GMT
|
23
|
+
content-length:
|
24
|
+
- "0"
|
25
|
+
vary:
|
26
|
+
- Authorization,Cookie,Accept-Encoding
|
27
|
+
body:
|
28
|
+
http_version: "1.1"
|
@@ -2,74 +2,11 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://api.bigdoor.com:80/api/publisher/0d38d9cd41b0440bbf22c0720be58b27/end_user/
|
5
|
+
uri: http://api.bigdoor.com:80/api/publisher/0d38d9cd41b0440bbf22c0720be58b27/end_user/fakeemailer@trada.com?time=1283979570.45&format=json&sig=21964e6d1f45947c7c231dfbd2aa70e8d0cdd7ab32b83165809b8d9e6c34cf49
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
connection:
|
9
9
|
- close
|
10
|
-
host:
|
11
|
-
- api.bigdoor.com
|
12
|
-
response: !ruby/struct:VCR::Response
|
13
|
-
status: !ruby/struct:VCR::ResponseStatus
|
14
|
-
code: 200
|
15
|
-
message: OK
|
16
|
-
headers:
|
17
|
-
content-type:
|
18
|
-
- application/json; charset=utf-8
|
19
|
-
connection:
|
20
|
-
- Close
|
21
|
-
date:
|
22
|
-
- Thu, 26 Aug 2010 19:41:27 GMT
|
23
|
-
server:
|
24
|
-
- Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_wsgi/2.5 Python/2.5.2
|
25
|
-
content-length:
|
26
|
-
- "1080"
|
27
|
-
vary:
|
28
|
-
- Authorization,Cookie
|
29
|
-
body: |-
|
30
|
-
[
|
31
|
-
{
|
32
|
-
"read_only": 0,
|
33
|
-
"modified_timestamp": 1281043384,
|
34
|
-
"resource_name": "end_user",
|
35
|
-
"award_summaries": [],
|
36
|
-
"level_summaries": [],
|
37
|
-
"sent_good_summaries": [],
|
38
|
-
"currency_balances": [
|
39
|
-
{
|
40
|
-
"end_user_description": null,
|
41
|
-
"transaction_group_id": "fc39d1ebc8ca49c7b8ee97a9cec32970",
|
42
|
-
"modified_timestamp": 1282689777,
|
43
|
-
"pub_title": "temp_points",
|
44
|
-
"urls": [],
|
45
|
-
"current_balance": "30.00",
|
46
|
-
"adjustment_amount": "30.00",
|
47
|
-
"currency_id": 579,
|
48
|
-
"previous_balance": "0.00",
|
49
|
-
"currency_adjusted": false,
|
50
|
-
"created_timestamp": 1282689777,
|
51
|
-
"pub_description": null,
|
52
|
-
"end_user_title": "Temp Points"
|
53
|
-
}
|
54
|
-
],
|
55
|
-
"created_timestamp": 1281043384,
|
56
|
-
"end_user_login": "testers",
|
57
|
-
"guid": "a24ff58ca0d711df966120ad2f73afad",
|
58
|
-
"received_good_summaries": []
|
59
|
-
},
|
60
|
-
{}
|
61
|
-
]
|
62
|
-
http_version: "1.1"
|
63
|
-
- !ruby/struct:VCR::HTTPInteraction
|
64
|
-
request: !ruby/struct:VCR::Request
|
65
|
-
method: :get
|
66
|
-
uri: http://api.bigdoor.com:80/api/publisher/0d38d9cd41b0440bbf22c0720be58b27/end_user/fakeemailer@trada.com?sig=c71b94dbca4c1d29d0b8ab9d8bf40c112c03e5233b519fe59697a55c4f3b9a98&time=1282851686.47&format=json
|
67
|
-
body:
|
68
|
-
headers:
|
69
|
-
connection:
|
70
|
-
- close
|
71
|
-
host:
|
72
|
-
- api.bigdoor.com
|
73
10
|
response: !ruby/struct:VCR::Response
|
74
11
|
status: !ruby/struct:VCR::ResponseStatus
|
75
12
|
code: 200
|
@@ -82,113 +19,7 @@
|
|
82
19
|
server:
|
83
20
|
- Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch mod_wsgi/2.5 Python/2.5.2
|
84
21
|
date:
|
85
|
-
-
|
86
|
-
content-length:
|
87
|
-
- "449"
|
88
|
-
vary:
|
89
|
-
- Authorization,Cookie
|
90
|
-
body: |-
|
91
|
-
[
|
92
|
-
{
|
93
|
-
"read_only": 0,
|
94
|
-
"modified_timestamp": 1282851363,
|
95
|
-
"resource_name": "end_user",
|
96
|
-
"award_summaries": [],
|
97
|
-
"level_summaries": [],
|
98
|
-
"sent_good_summaries": [],
|
99
|
-
"currency_balances": [],
|
100
|
-
"created_timestamp": 1282851363,
|
101
|
-
"end_user_login": "fakeemailer@trada.com",
|
102
|
-
"guid": "29fc6bf5b14911dfa15a55a9222eea83",
|
103
|
-
"received_good_summaries": []
|
104
|
-
},
|
105
|
-
{}
|
106
|
-
]
|
107
|
-
http_version: "1.1"
|
108
|
-
- !ruby/struct:VCR::HTTPInteraction
|
109
|
-
request: !ruby/struct:VCR::Request
|
110
|
-
method: :get
|
111
|
-
uri: http://api.bigdoor.com:80/api/publisher/0d38d9cd41b0440bbf22c0720be58b27/end_user/testers?sig=b60722add9c3942c253c4b1a492bf620e30491a72e0d5dc411e151e9e3189e3e&time=1282851765.66&format=json
|
112
|
-
body:
|
113
|
-
headers:
|
114
|
-
connection:
|
115
|
-
- close
|
116
|
-
host:
|
117
|
-
- api.bigdoor.com
|
118
|
-
response: !ruby/struct:VCR::Response
|
119
|
-
status: !ruby/struct:VCR::ResponseStatus
|
120
|
-
code: 200
|
121
|
-
message: OK
|
122
|
-
headers:
|
123
|
-
content-type:
|
124
|
-
- application/json; charset=utf-8
|
125
|
-
connection:
|
126
|
-
- Close
|
127
|
-
date:
|
128
|
-
- Thu, 26 Aug 2010 19:42:46 GMT
|
129
|
-
server:
|
130
|
-
- Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch mod_wsgi/2.5 Python/2.5.2
|
131
|
-
content-length:
|
132
|
-
- "1080"
|
133
|
-
vary:
|
134
|
-
- Authorization,Cookie
|
135
|
-
body: |-
|
136
|
-
[
|
137
|
-
{
|
138
|
-
"read_only": 0,
|
139
|
-
"modified_timestamp": 1281043384,
|
140
|
-
"resource_name": "end_user",
|
141
|
-
"award_summaries": [],
|
142
|
-
"level_summaries": [],
|
143
|
-
"sent_good_summaries": [],
|
144
|
-
"currency_balances": [
|
145
|
-
{
|
146
|
-
"end_user_description": null,
|
147
|
-
"transaction_group_id": "fc39d1ebc8ca49c7b8ee97a9cec32970",
|
148
|
-
"modified_timestamp": 1282689777,
|
149
|
-
"pub_title": "temp_points",
|
150
|
-
"urls": [],
|
151
|
-
"current_balance": "30.00",
|
152
|
-
"adjustment_amount": "30.00",
|
153
|
-
"currency_id": 579,
|
154
|
-
"previous_balance": "0.00",
|
155
|
-
"currency_adjusted": false,
|
156
|
-
"created_timestamp": 1282689777,
|
157
|
-
"pub_description": null,
|
158
|
-
"end_user_title": "Temp Points"
|
159
|
-
}
|
160
|
-
],
|
161
|
-
"created_timestamp": 1281043384,
|
162
|
-
"end_user_login": "testers",
|
163
|
-
"guid": "a24ff58ca0d711df966120ad2f73afad",
|
164
|
-
"received_good_summaries": []
|
165
|
-
},
|
166
|
-
{}
|
167
|
-
]
|
168
|
-
http_version: "1.1"
|
169
|
-
- !ruby/struct:VCR::HTTPInteraction
|
170
|
-
request: !ruby/struct:VCR::Request
|
171
|
-
method: :get
|
172
|
-
uri: http://api.bigdoor.com:80/api/publisher/0d38d9cd41b0440bbf22c0720be58b27/end_user/fakeemailer@trada.com?sig=b54fc6fa44e11d922b9f366846d08a2d2344057aaab9a505e3fe077828b8f9b4&time=1282851765.97&format=json
|
173
|
-
body:
|
174
|
-
headers:
|
175
|
-
connection:
|
176
|
-
- close
|
177
|
-
host:
|
178
|
-
- api.bigdoor.com
|
179
|
-
response: !ruby/struct:VCR::Response
|
180
|
-
status: !ruby/struct:VCR::ResponseStatus
|
181
|
-
code: 200
|
182
|
-
message: OK
|
183
|
-
headers:
|
184
|
-
connection:
|
185
|
-
- Close
|
186
|
-
content-type:
|
187
|
-
- application/json; charset=utf-8
|
188
|
-
server:
|
189
|
-
- Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_wsgi/2.5 Python/2.5.2
|
190
|
-
date:
|
191
|
-
- Thu, 26 Aug 2010 19:42:59 GMT
|
22
|
+
- Wed, 08 Sep 2010 20:59:30 GMT
|
192
23
|
content-length:
|
193
24
|
- "449"
|
194
25
|
vary:
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: big-door
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
+
- 1
|
8
9
|
- 0
|
9
|
-
|
10
|
-
version: 0.0.0
|
10
|
+
version: 0.1.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michael Lavrisha
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-09-21 00:00:00 -06:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -102,6 +102,7 @@ files:
|
|
102
102
|
- README.rdoc
|
103
103
|
- Rakefile
|
104
104
|
- VERSION
|
105
|
+
- big-door.gemspec
|
105
106
|
- features/big-door.feature
|
106
107
|
- features/step_definitions/big-door_steps.rb
|
107
108
|
- features/support/env.rb
|
@@ -132,6 +133,7 @@ files:
|
|
132
133
|
- vcr_cassettes/user/all.yml
|
133
134
|
- vcr_cassettes/user/create.yml
|
134
135
|
- vcr_cassettes/user/currency_balance.yml
|
136
|
+
- vcr_cassettes/user/delete.yml
|
135
137
|
- vcr_cassettes/user/new.yml
|
136
138
|
- vcr_cassettes/user/new_currency_balance.yml
|
137
139
|
- vcr_cassettes/user/specific.yml
|