harleytt-gvoice-ruby 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.bundle/config +2 -0
- data/.gitignore +5 -0
- data/Gemfile +19 -0
- data/Gemfile.lock +24 -0
- data/README.rdoc +90 -0
- data/Rakefile +12 -0
- data/VERSION +1 -0
- data/bin/gv-notifier +78 -0
- data/bin/gv-place-call +22 -0
- data/bin/gv-send-sms +16 -0
- data/config/gvoice-ruby-config.yml.sample +11 -0
- data/gvoice-ruby.gemspec +34 -0
- data/lib/gvoice-ruby/call.rb +9 -0
- data/lib/gvoice-ruby/client.rb +277 -0
- data/lib/gvoice-ruby/compatibility.rb +75 -0
- data/lib/gvoice-ruby/config.rb +39 -0
- data/lib/gvoice-ruby/errors.rb +5 -0
- data/lib/gvoice-ruby/inbox_parser.rb +126 -0
- data/lib/gvoice-ruby/sms.rb +9 -0
- data/lib/gvoice-ruby/user.rb +12 -0
- data/lib/gvoice-ruby/version.rb +4 -0
- data/lib/gvoice-ruby/voicemail.rb +10 -0
- data/lib/gvoice-ruby.rb +5 -0
- data/test/client_test.rb +59 -0
- data/test/compatibility_test.rb +47 -0
- data/test/config_test.rb +50 -0
- data/test/fixtures/config_fixture.yml +11 -0
- data/test/fixtures/inbox.json +1 -0
- data/test/fixtures/inbox.yml +206 -0
- data/test/fixtures/inbox_fixture.html +2657 -0
- data/test/fixtures/login_fixture.html +567 -0
- data/test/gvoice-ruby_test.rb +9 -0
- data/test/inbox_parser_test.rb +53 -0
- data/test/test_helper.rb +20 -0
- metadata +223 -0
@@ -0,0 +1,206 @@
|
|
1
|
+
---
|
2
|
+
messages:
|
3
|
+
c6abad9419d82dfe8396b00771fa74d6636f4cf0:
|
4
|
+
isSpam: false
|
5
|
+
isRead: true
|
6
|
+
displayStartTime: 5:28 PM
|
7
|
+
displayNumber: (555) 555-5555
|
8
|
+
relativeStartTime: 3 days ago
|
9
|
+
phoneNumber: "+15555555555"
|
10
|
+
id: c6abad9419d82dfe8396b00771fa74d6636f4cf0
|
11
|
+
type: 10
|
12
|
+
star: false
|
13
|
+
isTrash: false
|
14
|
+
note: ""
|
15
|
+
displayStartDateTime: 2/19/10 5:28 PM
|
16
|
+
startTime: "1266622094675"
|
17
|
+
children: ""
|
18
|
+
labels:
|
19
|
+
- inbox
|
20
|
+
- sms
|
21
|
+
- all
|
22
|
+
cbcdfac3c081607cd1588dc294fe00fe34d617de:
|
23
|
+
isSpam: false
|
24
|
+
isRead: true
|
25
|
+
displayStartTime: 7:38 AM
|
26
|
+
displayNumber: (555) 555-5555
|
27
|
+
relativeStartTime: 4 days ago
|
28
|
+
phoneNumber: "+15555555555"
|
29
|
+
id: cbcdfac3c081607cd1588dc294fe00fe34d617de
|
30
|
+
type: 10
|
31
|
+
star: false
|
32
|
+
isTrash: false
|
33
|
+
note: ""
|
34
|
+
displayStartDateTime: 2/19/10 7:38 AM
|
35
|
+
startTime: "1266586686797"
|
36
|
+
children: ""
|
37
|
+
labels:
|
38
|
+
- inbox
|
39
|
+
- sms
|
40
|
+
- all
|
41
|
+
0fcaa4e5ed97beedf9ee6301343a6cbafc97fe50:
|
42
|
+
isSpam: false
|
43
|
+
isRead: true
|
44
|
+
displayStartTime: 4:20 PM
|
45
|
+
displayNumber: (555) 555-5555
|
46
|
+
relativeStartTime: 2 days ago
|
47
|
+
phoneNumber: "+15555555555"
|
48
|
+
id: 0fcaa4e5ed97beedf9ee6301343a6cbafc97fe50
|
49
|
+
type: 10
|
50
|
+
star: false
|
51
|
+
isTrash: false
|
52
|
+
note: ""
|
53
|
+
displayStartDateTime: 2/20/10 4:20 PM
|
54
|
+
startTime: "1266704456578"
|
55
|
+
children: ""
|
56
|
+
labels:
|
57
|
+
- inbox
|
58
|
+
- sms
|
59
|
+
- all
|
60
|
+
64889074992f75f1dd4e6bc1950ef1de17345151:
|
61
|
+
isSpam: false
|
62
|
+
isRead: true
|
63
|
+
displayStartTime: 11:36 AM
|
64
|
+
displayNumber: (555) 555-5555
|
65
|
+
relativeStartTime: 6 days ago
|
66
|
+
phoneNumber: "+15555555555"
|
67
|
+
id: 64889074992f75f1dd4e6bc1950ef1de17345151
|
68
|
+
type: 10
|
69
|
+
star: false
|
70
|
+
isTrash: false
|
71
|
+
note: ""
|
72
|
+
displayStartDateTime: 2/17/10 11:36 AM
|
73
|
+
startTime: "1266428177718"
|
74
|
+
children: ""
|
75
|
+
labels:
|
76
|
+
- inbox
|
77
|
+
- sms
|
78
|
+
- all
|
79
|
+
28d989bcd117827a9bc1052c382bfd2b9257ea4e:
|
80
|
+
isSpam: false
|
81
|
+
isRead: true
|
82
|
+
displayStartTime: 9:18 AM
|
83
|
+
displayNumber: (555) 555-5555
|
84
|
+
relativeStartTime: 5 hours ago
|
85
|
+
phoneNumber: "+15555555555"
|
86
|
+
id: 28d989bcd117827a9bc1052c382bfd2b9257ea4e
|
87
|
+
type: 10
|
88
|
+
star: false
|
89
|
+
isTrash: false
|
90
|
+
note: ""
|
91
|
+
displayStartDateTime: 2/23/10 9:18 AM
|
92
|
+
startTime: "1266938315278"
|
93
|
+
children: ""
|
94
|
+
labels:
|
95
|
+
- inbox
|
96
|
+
- sms
|
97
|
+
- all
|
98
|
+
5090a19706f95fb33066ca661e15731e39ac4ed9:
|
99
|
+
isSpam: false
|
100
|
+
isRead: true
|
101
|
+
displayStartTime: 2:20 PM
|
102
|
+
displayNumber: (555) 555-5555
|
103
|
+
relativeStartTime: 5 days ago
|
104
|
+
phoneNumber: "+15555555555"
|
105
|
+
id: 5090a19706f95fb33066ca661e15731e39ac4ed9
|
106
|
+
type: 10
|
107
|
+
star: false
|
108
|
+
isTrash: false
|
109
|
+
note: ""
|
110
|
+
displayStartDateTime: 2/18/10 2:20 PM
|
111
|
+
startTime: "1266524404778"
|
112
|
+
children: ""
|
113
|
+
labels:
|
114
|
+
- inbox
|
115
|
+
- sms
|
116
|
+
- all
|
117
|
+
3d5a9ada717f976e2281dc0d8dcab2a94fc21bf6:
|
118
|
+
isSpam: false
|
119
|
+
isRead: true
|
120
|
+
displayStartTime: 3:49 PM
|
121
|
+
displayNumber: (555) 555-5555
|
122
|
+
relativeStartTime: 46 hours ago
|
123
|
+
phoneNumber: "+15555555555"
|
124
|
+
id: 3d5a9ada717f976e2281dc0d8dcab2a94fc21bf6
|
125
|
+
type: 10
|
126
|
+
star: false
|
127
|
+
isTrash: false
|
128
|
+
note: ""
|
129
|
+
displayStartDateTime: 2/21/10 3:49 PM
|
130
|
+
startTime: "1266788989428"
|
131
|
+
children: ""
|
132
|
+
labels:
|
133
|
+
- inbox
|
134
|
+
- sms
|
135
|
+
- all
|
136
|
+
e2326066e1606316299dc2bc26c9991865675b52:
|
137
|
+
isSpam: false
|
138
|
+
isRead: true
|
139
|
+
displayStartTime: 9:12 AM
|
140
|
+
displayNumber: (555) 555-5555
|
141
|
+
relativeStartTime: 3 days ago
|
142
|
+
phoneNumber: "+15555555555"
|
143
|
+
id: e2326066e1606316299dc2bc26c9991865675b52
|
144
|
+
type: 2
|
145
|
+
star: false
|
146
|
+
isTrash: false
|
147
|
+
note: ""
|
148
|
+
displayStartDateTime: 2/20/10 9:12 AM
|
149
|
+
startTime: "1266678734000"
|
150
|
+
children: ""
|
151
|
+
labels:
|
152
|
+
- inbox
|
153
|
+
- voicemail
|
154
|
+
- all
|
155
|
+
23bf4133c9338662977679b8f850b2dc6b7441b4:
|
156
|
+
isSpam: false
|
157
|
+
isRead: true
|
158
|
+
displayStartTime: 8:02 PM
|
159
|
+
displayNumber: (555) 555-5555
|
160
|
+
relativeStartTime: 18 hours ago
|
161
|
+
phoneNumber: "+15555555555"
|
162
|
+
id: 23bf4133c9338662977679b8f850b2dc6b7441b4
|
163
|
+
type: 10
|
164
|
+
star: false
|
165
|
+
isTrash: false
|
166
|
+
note: ""
|
167
|
+
displayStartDateTime: 2/22/10 8:02 PM
|
168
|
+
startTime: "1266890573024"
|
169
|
+
children: ""
|
170
|
+
labels:
|
171
|
+
- inbox
|
172
|
+
- sms
|
173
|
+
- all
|
174
|
+
f644b96d5f643f930e7ecd0300fc8a91ea96357d:
|
175
|
+
isSpam: false
|
176
|
+
isRead: true
|
177
|
+
displayStartTime: 6:08 PM
|
178
|
+
displayNumber: (555) 555-5555
|
179
|
+
relativeStartTime: 20 hours ago
|
180
|
+
phoneNumber: "+15555555555"
|
181
|
+
id: f644b96d5f643f930e7ecd0300fc8a91ea96357d
|
182
|
+
type: 2
|
183
|
+
star: false
|
184
|
+
isTrash: false
|
185
|
+
note: ""
|
186
|
+
displayStartDateTime: 2/22/10 6:08 PM
|
187
|
+
startTime: "1266883686000"
|
188
|
+
children: ""
|
189
|
+
labels:
|
190
|
+
- inbox
|
191
|
+
- voicemail
|
192
|
+
- all
|
193
|
+
unreadCounts:
|
194
|
+
all: 0
|
195
|
+
starred: 0
|
196
|
+
sms: 0
|
197
|
+
unread: 0
|
198
|
+
trash: 0
|
199
|
+
recorded: 0
|
200
|
+
received: 0
|
201
|
+
inbox: 0
|
202
|
+
placed: 0
|
203
|
+
missed: 0
|
204
|
+
voicemail: 0
|
205
|
+
resultsPerPage: 10
|
206
|
+
totalSize: 309
|