pushbullet_client 0.0.26 → 0.0.27
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +19 -0
- data/lib/pushbullet/client.rb +20 -0
- data/lib/pushbullet/permanents.rb +12 -12
- data/lib/pushbullet/pushes.rb +8 -1
- data/lib/pushbullet/version.rb +1 -1
- metadata +253 -226
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cf2f5ea1bac4b0827e2df8120788cdd7dcefe29dcb255545a9518bc9cf258b0e
|
|
4
|
+
data.tar.gz: 2557c698fb5be356037319a74a9d0589aa71fbbc964553b87322f68fdc820da9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 14dc5bda8da1bde1b5e78f0c4e219bed875c8e4c44a35ab44127557ad3d73cff578eff84465efbe97ee85a1df335c8dfd4fd8a918d3ba6f78eaaa55c50c155d8
|
|
7
|
+
data.tar.gz: 766f2290926b1ed93cc9524a4ec48969d43ad9c2ca87d34bf31b39ea229ab6e30f47759eff81c0a730e014dcff5d261053c7f63f10e753e17499e5aa2688224b
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
pushbullet_client (0.0.
|
|
4
|
+
pushbullet_client (0.0.27)
|
|
5
5
|
httparty (~> 0.24.3)
|
|
6
6
|
nokogiri (~> 1.19.7)
|
|
7
7
|
oj (~> 3.17.8)
|
|
@@ -140,7 +140,7 @@ CHECKSUMS
|
|
|
140
140
|
prism (1.9.0) sha256=7b530c6a9f92c24300014919c9dcbc055bf4cdf51ec30aed099b06cd6674ef85
|
|
141
141
|
pry (0.16.0) sha256=d76c69065698ed1f85e717bd33d7942c38a50868f6b0673c636192b3d1b6054e
|
|
142
142
|
public_suffix (7.0.5) sha256=1a8bb08f1bbea19228d3bed6e5ed908d1cb4f7c2726d18bd9cadf60bc676f623
|
|
143
|
-
pushbullet_client (0.0.
|
|
143
|
+
pushbullet_client (0.0.27)
|
|
144
144
|
racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
|
|
145
145
|
rake (13.3.1) sha256=8c9e89d09f66a26a01264e7e3480ec0607f0c497a861ef16063604b1b08eb19c
|
|
146
146
|
reline (0.6.3) sha256=1198b04973565b36ec0f11542ab3f5cfeeec34823f4e54cebde90968092b1835
|
data/README.md
CHANGED
|
@@ -30,6 +30,25 @@ Or install it yourself as:
|
|
|
30
30
|
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
+
### Responses
|
|
34
|
+
Every call returns a hash with `body`, `headers`, `status` (HTTP code), `metadata` (including the
|
|
35
|
+
`cursor` for the next page) and `rate_limit`.
|
|
36
|
+
|
|
37
|
+
`rate_limit` is `{ 'limit', 'remaining', 'reset' }` parsed from the `X-Ratelimit-*` headers
|
|
38
|
+
(`reset` is Unix time in seconds; any value is `nil` if the header was not sent). Per the
|
|
39
|
+
[docs](https://docs.pushbullet.com/), a request costs 1 and each database operation (roughly each
|
|
40
|
+
object returned) costs 4, so a page of 250 pushes costs about 1001. Exceeding the limit returns
|
|
41
|
+
HTTP 429.
|
|
42
|
+
|
|
43
|
+
### Syncing cheaply
|
|
44
|
+
```ruby
|
|
45
|
+
# Only pushes modified since your newest stored one: a handful of units, not a whole page
|
|
46
|
+
client.pushes(modified_after: newest_modified)
|
|
47
|
+
|
|
48
|
+
# Leave out deleted pushes
|
|
49
|
+
client.pushes(active: true)
|
|
50
|
+
```
|
|
51
|
+
|
|
33
52
|
### Endpoints
|
|
34
53
|
- Chats
|
|
35
54
|
- Devices
|
data/lib/pushbullet/client.rb
CHANGED
|
@@ -94,10 +94,30 @@ module Pushbullet
|
|
|
94
94
|
{
|
|
95
95
|
'body' => parse_body(response, path),
|
|
96
96
|
'headers' => response.headers,
|
|
97
|
+
'status' => response.code,
|
|
98
|
+
'rate_limit' => construct_rate_limit(response),
|
|
97
99
|
'metadata' => construct_metadata(response, start_time, end_time)
|
|
98
100
|
}
|
|
99
101
|
end
|
|
100
102
|
|
|
103
|
+
# See https://docs.pushbullet.com/ "Ratelimiting": a request costs 1 and each database
|
|
104
|
+
# operation (roughly each object returned) costs 4. 'reset' is Unix time in seconds.
|
|
105
|
+
# Values are nil when the server did not send the header.
|
|
106
|
+
def construct_rate_limit(response)
|
|
107
|
+
headers = response.headers
|
|
108
|
+
return { 'limit' => nil, 'remaining' => nil, 'reset' => nil } unless headers
|
|
109
|
+
|
|
110
|
+
{
|
|
111
|
+
'limit' => integer_header(headers['x-ratelimit-limit']),
|
|
112
|
+
'remaining' => integer_header(headers['x-ratelimit-remaining']),
|
|
113
|
+
'reset' => integer_header(headers['x-ratelimit-reset'])
|
|
114
|
+
}
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
def integer_header(value)
|
|
118
|
+
value.nil? || value.to_s.empty? ? nil : value.to_i
|
|
119
|
+
end
|
|
120
|
+
|
|
101
121
|
def construct_metadata(response, start_time, end_time)
|
|
102
122
|
total_time = end_time - start_time
|
|
103
123
|
|
|
@@ -2,25 +2,25 @@ module Pushbullet
|
|
|
2
2
|
module Permanents
|
|
3
3
|
# See: https://stackoverflow.com/questions/38027963/pushbullet-api-thread-id-to-conversation-iden-for-sms
|
|
4
4
|
def permanents(device_identity:, params: {}, cursor: nil)
|
|
5
|
-
|
|
6
|
-
params = process_cursor(cursor, params: params)
|
|
7
|
-
|
|
8
|
-
path = "permanents/#{device_identity}_threads"
|
|
9
|
-
response = authorise_and_send(http_method: :get, path: path, params: params)
|
|
10
|
-
@disable_limit = false
|
|
11
|
-
|
|
12
|
-
response
|
|
5
|
+
permanents_request("permanents/#{device_identity}_threads", params, cursor)
|
|
13
6
|
end
|
|
14
7
|
|
|
15
8
|
def permanent_conversation(device_identity:, thread_id:, params: {}, cursor: nil)
|
|
9
|
+
permanents_request("permanents/#{device_identity}_thread_#{thread_id}", params, cursor)
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
private
|
|
13
|
+
|
|
14
|
+
# The permanents endpoints must not be sent a page limit. The flag is always reset,
|
|
15
|
+
# including when the request raises or the API returns an error, so a failed call
|
|
16
|
+
# cannot leave every later request without a limit.
|
|
17
|
+
def permanents_request(path, params, cursor)
|
|
16
18
|
@disable_limit = true
|
|
17
19
|
params = process_cursor(cursor, params: params)
|
|
18
20
|
|
|
19
|
-
path
|
|
20
|
-
|
|
21
|
+
authorise_and_send(http_method: :get, path: path, params: params)
|
|
22
|
+
ensure
|
|
21
23
|
@disable_limit = false
|
|
22
|
-
|
|
23
|
-
response
|
|
24
24
|
end
|
|
25
25
|
end
|
|
26
26
|
end
|
data/lib/pushbullet/pushes.rb
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
module Pushbullet
|
|
2
2
|
module Pushes
|
|
3
|
-
|
|
3
|
+
# modified_after: Unix timestamp (use the newest `modified` you have stored). Only pushes
|
|
4
|
+
# modified since then are returned, which costs far fewer rate limit units than
|
|
5
|
+
# re-reading everything.
|
|
6
|
+
# active: true to leave out deleted pushes (useful for a first full fetch).
|
|
7
|
+
def pushes(params: {}, cursor: nil, modified_after: nil, active: nil)
|
|
8
|
+
params = params.dup
|
|
9
|
+
params['modified_after'] = modified_after unless modified_after.nil?
|
|
10
|
+
params['active'] = active unless active.nil?
|
|
4
11
|
params = process_cursor(cursor, params: params)
|
|
5
12
|
path = 'pushes'
|
|
6
13
|
authorise_and_send(http_method: :get, path: path, params: params)
|
data/lib/pushbullet/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,252 +1,279 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pushbullet_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.27
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
- trex22
|
|
7
|
+
- trex22
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
|
-
- !ruby/object:Gem::Dependency
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
- !ruby/object:Gem::
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
- !ruby/object:Gem::
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
- !ruby/object:Gem::Dependency
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
- !ruby/object:Gem::
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: httparty
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
-
|
|
17
|
+
- ~>
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: 0.24.3
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
-
|
|
25
|
+
- ~>
|
|
26
|
+
- !ruby/object:Gem::Version
|
|
27
|
+
version: 0.24.3
|
|
28
|
+
- !ruby/object:Gem::Dependency
|
|
29
|
+
name: nokogiri
|
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
|
31
|
+
requirements:
|
|
32
|
+
-
|
|
33
|
+
- ~>
|
|
34
|
+
- !ruby/object:Gem::Version
|
|
35
|
+
version: 1.19.7
|
|
36
|
+
type: :runtime
|
|
37
|
+
prerelease: false
|
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
39
|
+
requirements:
|
|
40
|
+
-
|
|
41
|
+
- ~>
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
version: 1.19.7
|
|
44
|
+
- !ruby/object:Gem::Dependency
|
|
45
|
+
name: oj
|
|
46
|
+
requirement: !ruby/object:Gem::Requirement
|
|
47
|
+
requirements:
|
|
48
|
+
-
|
|
49
|
+
- ~>
|
|
50
|
+
- !ruby/object:Gem::Version
|
|
51
|
+
version: 3.17.8
|
|
52
|
+
type: :runtime
|
|
53
|
+
prerelease: false
|
|
54
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
55
|
+
requirements:
|
|
56
|
+
-
|
|
57
|
+
- ~>
|
|
58
|
+
- !ruby/object:Gem::Version
|
|
59
|
+
version: 3.17.8
|
|
60
|
+
- !ruby/object:Gem::Dependency
|
|
61
|
+
name: rake
|
|
62
|
+
requirement: !ruby/object:Gem::Requirement
|
|
63
|
+
requirements:
|
|
64
|
+
-
|
|
65
|
+
- ~>
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: 13.3.1
|
|
68
|
+
type: :development
|
|
69
|
+
prerelease: false
|
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
71
|
+
requirements:
|
|
72
|
+
-
|
|
73
|
+
- ~>
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: 13.3.1
|
|
76
|
+
- !ruby/object:Gem::Dependency
|
|
77
|
+
name: minitest
|
|
78
|
+
requirement: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
-
|
|
81
|
+
- ~>
|
|
82
|
+
- !ruby/object:Gem::Version
|
|
83
|
+
version: 6.0.2
|
|
84
|
+
type: :development
|
|
85
|
+
prerelease: false
|
|
86
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
87
|
+
requirements:
|
|
88
|
+
-
|
|
89
|
+
- ~>
|
|
90
|
+
- !ruby/object:Gem::Version
|
|
91
|
+
version: 6.0.2
|
|
92
|
+
- !ruby/object:Gem::Dependency
|
|
93
|
+
name: minitest-focus
|
|
94
|
+
requirement: !ruby/object:Gem::Requirement
|
|
95
|
+
requirements:
|
|
96
|
+
-
|
|
97
|
+
- ~>
|
|
98
|
+
- !ruby/object:Gem::Version
|
|
99
|
+
version: 1.4.1
|
|
100
|
+
type: :development
|
|
101
|
+
prerelease: false
|
|
102
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
103
|
+
requirements:
|
|
104
|
+
-
|
|
105
|
+
- ~>
|
|
106
|
+
- !ruby/object:Gem::Version
|
|
107
|
+
version: 1.4.1
|
|
108
|
+
- !ruby/object:Gem::Dependency
|
|
109
|
+
name: minitest-reporters
|
|
110
|
+
requirement: !ruby/object:Gem::Requirement
|
|
111
|
+
requirements:
|
|
112
|
+
-
|
|
113
|
+
- ~>
|
|
114
|
+
- !ruby/object:Gem::Version
|
|
115
|
+
version: 1.7.1
|
|
116
|
+
type: :development
|
|
117
|
+
prerelease: false
|
|
118
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
119
|
+
requirements:
|
|
120
|
+
-
|
|
121
|
+
- ~>
|
|
122
|
+
- !ruby/object:Gem::Version
|
|
123
|
+
version: 1.7.1
|
|
124
|
+
- !ruby/object:Gem::Dependency
|
|
125
|
+
name: timecop
|
|
126
|
+
requirement: !ruby/object:Gem::Requirement
|
|
127
|
+
requirements:
|
|
128
|
+
-
|
|
129
|
+
- ~>
|
|
130
|
+
- !ruby/object:Gem::Version
|
|
131
|
+
version: 0.9.10
|
|
132
|
+
type: :development
|
|
133
|
+
prerelease: false
|
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
135
|
+
requirements:
|
|
136
|
+
-
|
|
137
|
+
- ~>
|
|
138
|
+
- !ruby/object:Gem::Version
|
|
139
|
+
version: 0.9.10
|
|
140
|
+
- !ruby/object:Gem::Dependency
|
|
141
|
+
name: mocha
|
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
|
143
|
+
requirements:
|
|
144
|
+
-
|
|
145
|
+
- ~>
|
|
146
|
+
- !ruby/object:Gem::Version
|
|
147
|
+
version: 3.1.0
|
|
148
|
+
type: :development
|
|
149
|
+
prerelease: false
|
|
150
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
151
|
+
requirements:
|
|
152
|
+
-
|
|
153
|
+
- ~>
|
|
154
|
+
- !ruby/object:Gem::Version
|
|
155
|
+
version: 3.1.0
|
|
156
|
+
- !ruby/object:Gem::Dependency
|
|
157
|
+
name: pry
|
|
158
|
+
requirement: !ruby/object:Gem::Requirement
|
|
159
|
+
requirements:
|
|
160
|
+
-
|
|
161
|
+
- ~>
|
|
162
|
+
- !ruby/object:Gem::Version
|
|
163
|
+
version: 0.16.0
|
|
164
|
+
type: :development
|
|
165
|
+
prerelease: false
|
|
166
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
167
|
+
requirements:
|
|
168
|
+
-
|
|
169
|
+
- ~>
|
|
170
|
+
- !ruby/object:Gem::Version
|
|
171
|
+
version: 0.16.0
|
|
172
|
+
- !ruby/object:Gem::Dependency
|
|
173
|
+
name: webmock
|
|
174
|
+
requirement: !ruby/object:Gem::Requirement
|
|
175
|
+
requirements:
|
|
176
|
+
-
|
|
177
|
+
- ~>
|
|
178
|
+
- !ruby/object:Gem::Version
|
|
179
|
+
version: 3.26.2
|
|
180
|
+
type: :development
|
|
181
|
+
prerelease: false
|
|
182
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
183
|
+
requirements:
|
|
184
|
+
-
|
|
185
|
+
- ~>
|
|
186
|
+
- !ruby/object:Gem::Version
|
|
187
|
+
version: 3.26.2
|
|
188
|
+
- !ruby/object:Gem::Dependency
|
|
189
|
+
name: bundler-audit
|
|
190
|
+
requirement: !ruby/object:Gem::Requirement
|
|
191
|
+
requirements:
|
|
192
|
+
-
|
|
193
|
+
- ~>
|
|
194
|
+
- !ruby/object:Gem::Version
|
|
195
|
+
version: 0.9.3
|
|
196
|
+
type: :development
|
|
197
|
+
prerelease: false
|
|
198
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
199
|
+
requirements:
|
|
200
|
+
-
|
|
201
|
+
- ~>
|
|
202
|
+
- !ruby/object:Gem::Version
|
|
203
|
+
version: 0.9.3
|
|
204
|
+
- !ruby/object:Gem::Dependency
|
|
205
|
+
name: dotenv
|
|
206
|
+
requirement: !ruby/object:Gem::Requirement
|
|
207
|
+
requirements:
|
|
208
|
+
-
|
|
209
|
+
- ~>
|
|
210
|
+
- !ruby/object:Gem::Version
|
|
211
|
+
version: "2.8"
|
|
212
|
+
type: :development
|
|
213
|
+
prerelease: false
|
|
214
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
215
|
+
requirements:
|
|
216
|
+
-
|
|
217
|
+
- ~>
|
|
218
|
+
- !ruby/object:Gem::Version
|
|
219
|
+
version: "2.8"
|
|
220
|
+
description: "A client for using the Pushbullet API in Ruby. Built form their api documentation. https://docs.pushbullet.com/v10/#quick-start. This is an unofficial project."
|
|
196
221
|
email:
|
|
197
|
-
- contact@jasonchalom.com
|
|
222
|
+
- contact@jasonchalom.com
|
|
198
223
|
executables: []
|
|
199
224
|
extensions: []
|
|
200
225
|
extra_rdoc_files: []
|
|
201
226
|
files:
|
|
202
|
-
-
|
|
203
|
-
-
|
|
204
|
-
-
|
|
205
|
-
-
|
|
206
|
-
-
|
|
207
|
-
-
|
|
208
|
-
- CODE_OF_CONDUCT.md
|
|
209
|
-
- Gemfile
|
|
210
|
-
- Gemfile.lock
|
|
211
|
-
- LICENSE
|
|
212
|
-
- LICENSE.txt
|
|
213
|
-
- README.md
|
|
214
|
-
- Rakefile
|
|
215
|
-
- bin/console
|
|
216
|
-
- bin/make
|
|
217
|
-
- bin/setup
|
|
218
|
-
- lib/pushbullet.rb
|
|
219
|
-
- lib/pushbullet/chats.rb
|
|
220
|
-
- lib/pushbullet/client.rb
|
|
221
|
-
- lib/pushbullet/constants.rb
|
|
222
|
-
- lib/pushbullet/devices.rb
|
|
223
|
-
- lib/pushbullet/permanents.rb
|
|
224
|
-
- lib/pushbullet/pushes.rb
|
|
225
|
-
- lib/pushbullet/subscriptions.rb
|
|
226
|
-
- lib/pushbullet/texts.rb
|
|
227
|
-
- lib/pushbullet/users.rb
|
|
228
|
-
- lib/pushbullet/version.rb
|
|
229
|
-
- pushbullet_client.gemspec
|
|
230
|
-
- test_pushes.rb
|
|
231
|
-
homepage: https://github.com/TRex22/pushbullet_client
|
|
227
|
+
- .github/dependabot.yml
|
|
228
|
+
- .github/workflows/security.yml
|
|
229
|
+
- .github/workflows/semgrep.yml
|
|
230
|
+
- .gitignore
|
|
231
|
+
- .ruby-version
|
|
232
|
+
- .sublime-project
|
|
233
|
+
- CODE_OF_CONDUCT.md
|
|
234
|
+
- Gemfile
|
|
235
|
+
- Gemfile.lock
|
|
236
|
+
- LICENSE
|
|
237
|
+
- LICENSE.txt
|
|
238
|
+
- README.md
|
|
239
|
+
- Rakefile
|
|
240
|
+
- bin/console
|
|
241
|
+
- bin/make
|
|
242
|
+
- bin/setup
|
|
243
|
+
- lib/pushbullet.rb
|
|
244
|
+
- lib/pushbullet/chats.rb
|
|
245
|
+
- lib/pushbullet/client.rb
|
|
246
|
+
- lib/pushbullet/constants.rb
|
|
247
|
+
- lib/pushbullet/devices.rb
|
|
248
|
+
- lib/pushbullet/permanents.rb
|
|
249
|
+
- lib/pushbullet/pushes.rb
|
|
250
|
+
- lib/pushbullet/subscriptions.rb
|
|
251
|
+
- lib/pushbullet/texts.rb
|
|
252
|
+
- lib/pushbullet/users.rb
|
|
253
|
+
- lib/pushbullet/version.rb
|
|
254
|
+
- pushbullet_client.gemspec
|
|
255
|
+
- test_pushes.rb
|
|
256
|
+
homepage: "https://github.com/TRex22/pushbullet_client"
|
|
232
257
|
licenses:
|
|
233
|
-
- MIT
|
|
258
|
+
- MIT
|
|
234
259
|
metadata: {}
|
|
235
260
|
rdoc_options: []
|
|
236
261
|
require_paths:
|
|
237
|
-
- lib
|
|
262
|
+
- lib
|
|
238
263
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
239
264
|
requirements:
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
265
|
+
-
|
|
266
|
+
- ">="
|
|
267
|
+
- !ruby/object:Gem::Version
|
|
268
|
+
version: "0"
|
|
243
269
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
244
270
|
requirements:
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
271
|
+
-
|
|
272
|
+
- ">="
|
|
273
|
+
- !ruby/object:Gem::Version
|
|
274
|
+
version: "0"
|
|
248
275
|
requirements: []
|
|
249
|
-
rubygems_version: 4.0
|
|
276
|
+
rubygems_version: 4.1.0
|
|
250
277
|
specification_version: 4
|
|
251
278
|
summary: A client for using the Pushbullet API in Ruby.
|
|
252
279
|
test_files: []
|