parse-ruby-client 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/fixtures/vcr_cassettes/test_file_save.yml +87 -0
- data/fixtures/vcr_cassettes/test_image_file_associate_with_object.yml +2034 -0
- data/fixtures/vcr_cassettes/test_image_file_save.yml +1957 -0
- data/fixtures/vcr_cassettes/test_text_file_save.yml +170 -0
- data/lib/parse/client.rb +9 -1
- data/lib/parse/datatypes.rb +24 -9
- data/parse-ruby-client.gemspec +8 -2
- data/test/parsers.jpg +0 -0
- data/test/test_datatypes.rb +14 -11
- data/test/test_file.rb +68 -0
- metadata +9 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.12
|
@@ -0,0 +1,87 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.parse.com/1/files/hello_test.txt
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: Testing Hello World!
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- text/plain
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- Parse for Ruby, 0.0
|
16
|
+
X-Parse-Master-Key:
|
17
|
+
- ''
|
18
|
+
X-Parse-Rest-Api-Key:
|
19
|
+
- D3Y8jNCQk6kpkKhpRGnWLYTrFGQ7j8dtDVnWZRnZ
|
20
|
+
X-Parse-Application-Id:
|
21
|
+
- PPVk6L5M9R1R8GVk8Ye9jT8f5SQNBIeoJUDJLmkT
|
22
|
+
X-Parse-Session-Token:
|
23
|
+
- ''
|
24
|
+
Expect:
|
25
|
+
- ''
|
26
|
+
response:
|
27
|
+
status:
|
28
|
+
code: 201
|
29
|
+
message: !binary |-
|
30
|
+
Q3JlYXRlZA==
|
31
|
+
headers:
|
32
|
+
!binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
|
33
|
+
- !binary |-
|
34
|
+
Kg==
|
35
|
+
!binary "QWNjZXNzLUNvbnRyb2wtUmVxdWVzdC1NZXRob2Q=":
|
36
|
+
- !binary |-
|
37
|
+
Kg==
|
38
|
+
!binary "Q2FjaGUtQ29udHJvbA==":
|
39
|
+
- !binary |-
|
40
|
+
bm8tY2FjaGU=
|
41
|
+
!binary "Q29udGVudC1UeXBl":
|
42
|
+
- !binary |-
|
43
|
+
YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
|
44
|
+
!binary "RGF0ZQ==":
|
45
|
+
- !binary |-
|
46
|
+
VGh1LCAyNCBKYW4gMjAxMyAyMzozMzozNSBHTVQ=
|
47
|
+
!binary "TG9jYXRpb24=":
|
48
|
+
- !binary |-
|
49
|
+
aHR0cDovL2ZpbGVzLnBhcnNlLmNvbS8zNzJmY2JiOS03ZWFlLTRiOWEtYWJj
|
50
|
+
OC02ZGE5N2ZjYWM1MGQvM2ViM2ExNGEtMzY2My00ODAzLTljYWMtYzY3OWY3
|
51
|
+
NmY2NWNkLWhlbGxvX3Rlc3QudHh0
|
52
|
+
!binary "U2VydmVy":
|
53
|
+
- !binary |-
|
54
|
+
bmdpbngvMS4yLjI=
|
55
|
+
!binary "U2V0LUNvb2tpZQ==":
|
56
|
+
- !binary |-
|
57
|
+
X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
|
58
|
+
SWxNR1JpTmpnNU1ETXhOekUwWWpRMFpXTXpNVGN4WWpNME5Ea3pOalU0TW1Z
|
59
|
+
JTNELS1hMjdjZDc1NWY3YTExMzEyMGM4MWZiNGIzZWQxYTczYzVhNjhmNWMx
|
60
|
+
OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVR1ZSwgMjQt
|
61
|
+
SmFuLTIwMjMgMjM6MzM6MzUgR01UOyBzZWN1cmU7IEh0dHBPbmx5
|
62
|
+
!binary "U3RhdHVz":
|
63
|
+
- !binary |-
|
64
|
+
MjAxIENyZWF0ZWQ=
|
65
|
+
!binary "WC1SdW50aW1l":
|
66
|
+
- !binary |-
|
67
|
+
MC4xMDQ0NjI=
|
68
|
+
!binary "WC1VYS1Db21wYXRpYmxl":
|
69
|
+
- !binary |-
|
70
|
+
SUU9RWRnZSxjaHJvbWU9MQ==
|
71
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
72
|
+
- !binary |-
|
73
|
+
MTgy
|
74
|
+
!binary "Q29ubmVjdGlvbg==":
|
75
|
+
- !binary |-
|
76
|
+
a2VlcC1hbGl2ZQ==
|
77
|
+
body:
|
78
|
+
encoding: ASCII-8BIT
|
79
|
+
string: !binary |-
|
80
|
+
eyJ1cmwiOiJodHRwOi8vZmlsZXMucGFyc2UuY29tLzM3MmZjYmI5LTdlYWUt
|
81
|
+
NGI5YS1hYmM4LTZkYTk3ZmNhYzUwZC8zZWIzYTE0YS0zNjYzLTQ4MDMtOWNh
|
82
|
+
Yy1jNjc5Zjc2ZjY1Y2QtaGVsbG9fdGVzdC50eHQiLCJuYW1lIjoiM2ViM2Ex
|
83
|
+
NGEtMzY2My00ODAzLTljYWMtYzY3OWY3NmY2NWNkLWhlbGxvX3Rlc3QudHh0
|
84
|
+
In0=
|
85
|
+
http_version:
|
86
|
+
recorded_at: Thu, 24 Jan 2013 23:33:35 GMT
|
87
|
+
recorded_with: VCR 2.0.1
|