silver_mother 0.0.1 → 0.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ea61ac5c02969e7b8258501fbe2a54ff25185993
4
- data.tar.gz: a6331dc774f99fb5274164ffeb592f54d0b83c22
3
+ metadata.gz: 28304f6fe42f3d1cf17ccde978f37d6adbab5ec2
4
+ data.tar.gz: 558d9a026ac8ed434c5ab7fc03595ada670f6ca4
5
5
  SHA512:
6
- metadata.gz: 16fc121ae5ae3ce7dfdb43639b7363d2426de9f68500e4645c13805616f170cae3c72c589b3881810007caf6a036da939ba05c3996e95b40a1ac014f52ba4972
7
- data.tar.gz: 669369ebf8a8c52cee0e4829ec2689379ba44902a23005ce7f710f8599d157718f9503aa7fe2e340ff6f13a394aaa565da99439db4b505e637ad3602a6a0a82b
6
+ metadata.gz: 3fb2a1cda38af8e7243a65f469dcd0b5426697cdc10d4be30f42dbca58993ebc022da778f498663389774cc01d6eee253558c1636b606bf7e03326101d9aa4b8
7
+ data.tar.gz: 7f2bd4f159bb98051c7951e4c9b42f01a569ede71f69760c076b616baca1f9a94f2a3f45af3cdf018ae09bbb79230d67b93f3a122e3b290c8ed87eb1ab22ae08
data/README.md CHANGED
@@ -55,11 +55,11 @@ app.get_token('2zykyywQ5bcGAVzMbLUjW4hJSqm4rO')
55
55
  The `app.token` object would now have the following attributes:
56
56
 
57
57
  * access_token
58
- * token_type
59
58
  * expires_in
59
+ * expires_on (gets calculated based on `expires_in` and the current time)
60
60
  * refresh_token
61
61
  * scope
62
- * expires_on (gets calculated based on `expires_in` and the current time)
62
+ * token_type
63
63
 
64
64
 
65
65
  ```ruby
@@ -169,13 +169,13 @@ feed = feeds_api.feed(uid)
169
169
 
170
170
  Attributes/methods now available for the `feed` object:
171
171
 
172
- * uid
173
172
  * eventsModel
174
173
  * eventsUrl
175
174
  * label
176
175
  * node
177
176
  * object
178
177
  * type
178
+ * uid
179
179
  * url
180
180
  * used
181
181
 
@@ -202,18 +202,18 @@ node = nodes.first
202
202
 
203
203
  Attributes/methods now available for the `node` object:
204
204
 
205
- * uid
205
+ * createdAt
206
+ * geometry
206
207
  * label
207
- * url
208
- * resource
209
- * token
210
208
  * object
211
- * geometry
212
- * createdAt
213
- * updatedAt
214
209
  * paused
215
- * subscribes
216
210
  * publishes
211
+ * resource
212
+ * subscribes
213
+ * token
214
+ * uid
215
+ * updatedAt
216
+ * url
217
217
 
218
218
  Some attributes are, in turn, objects or arrays of objects that you could further explore, i.e.
219
219
 
@@ -245,14 +245,14 @@ person = persons.first
245
245
 
246
246
  Attributes/methods now available for the `person` object:
247
247
 
248
- * uid
249
248
  * avatarUrl
250
249
  * email
251
250
  * firstName
252
- * lastName
253
251
  * gender
252
+ * lastName
254
253
  * object
255
254
  * phoneNumber
255
+ * uid
256
256
 
257
257
  ### Subscriptions
258
258
 
@@ -265,9 +265,7 @@ subscription = subscriptions.first
265
265
 
266
266
  Attributes/methods now available for the `subscription` object:
267
267
 
268
- * uid
269
268
  * createdAt
270
- * updatedAt
271
269
  * gatewayUrl
272
270
  * geometry
273
271
  * label
@@ -276,6 +274,8 @@ Attributes/methods now available for the `subscription` object:
276
274
  * publishes
277
275
  * resource
278
276
  * subscribes
277
+ * uid
278
+ * updatedAt
279
279
  * url
280
280
 
281
281
  Some attributes might, in turn, be objects or arrays of objects that you could explore further, i.e.
@@ -294,22 +294,22 @@ user = users_api.user
294
294
 
295
295
  Attributes/methods now available for the `user` object:
296
296
 
297
- * uid
298
- * email
299
- * language
300
- * object
301
- * timezone
302
- * country
303
- * username
304
- * subscriptions
305
297
  * applications
298
+ * country
306
299
  * createdAt
307
- * updatedAt
308
- * is_developer
300
+ * devices
301
+ * email
309
302
  * firstName
303
+ * is_developer
304
+ * language
310
305
  * lastName
311
- * devices
306
+ * object
312
307
  * persons
308
+ * subscriptions
309
+ * timezone
310
+ * uid
311
+ * updatedAt
312
+ * username
313
313
 
314
314
  Some attributes might be objects or arrays of objects that you could explore further, i.e.
315
315
 
@@ -351,6 +351,11 @@ To install this gem onto your local machine, run `bundle exec rake install`.
351
351
  * Push to the branch. (`git push origin my-new-feature`)
352
352
  * Create a new Pull Request.
353
353
 
354
+ ## Support
355
+
356
+ Please report bugs at [the project page on Github](https://github.com/mkreyman/silver_mother/issues). Don't
357
+ hesitate to [ask questions](http://stackoverflow.com/questions/tagged/silver-mother-api-ruby-client) about the client on [StackOverflow](http://stackoverflow.com).
358
+
354
359
  ## License
355
360
 
356
361
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -1,3 +1,3 @@
1
1
  module SilverMother
2
- VERSION = '0.0.1'.freeze
2
+ VERSION = '0.0.2'.freeze
3
3
  end
@@ -9,10 +9,10 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ['Mark Kreyman']
10
10
  spec.email = ['mark@kreyman.com']
11
11
 
12
- spec.summary = 'A library for communicating with the SilverMother API.'
13
- spec.description = 'A ruby library for communicating with the SilverMother \
14
- REST API. Register your application at \
15
- https://sen.se/developers/'
12
+ spec.summary = 'Client for Sen.se/SilverMother API.'
13
+ spec.description = 'A library for communicating with the SilverMother' \
14
+ 'REST API. Register your application at' \
15
+ 'https://sen.se/developers/'
16
16
 
17
17
  spec.homepage = 'https://github.com/mkreyman/silver_mother'
18
18
  spec.license = 'MIT'
@@ -25,10 +25,12 @@ Gem::Specification.new do |spec|
25
25
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
26
  spec.require_paths = ['lib']
27
27
 
28
+ spec.required_ruby_version = '~> 2.0'
29
+
28
30
  spec.add_development_dependency 'bundler', '~> 1.13.6'
29
31
  spec.add_development_dependency 'rake', '~> 10.0'
30
32
  spec.add_development_dependency 'rspec', '~> 3.0'
31
- spec.add_development_dependency 'webmock'
33
+ spec.add_development_dependency 'webmock', '~> 2.3.1'
32
34
 
33
35
  spec.add_dependency 'httparty', '~> 0.14.0'
34
36
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: silver_mother
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Kreyman
@@ -56,16 +56,16 @@ dependencies:
56
56
  name: webmock
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: 2.3.1
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: 2.3.1
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: httparty
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -80,10 +80,8 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: 0.14.0
83
- description: |-
84
- A ruby library for communicating with the SilverMother \
85
- REST API. Register your application at \
86
- https://sen.se/developers/
83
+ description: A library for communicating with the SilverMotherREST API. Register your
84
+ application athttps://sen.se/developers/
87
85
  email:
88
86
  - mark@kreyman.com
89
87
  executables: []
@@ -123,9 +121,9 @@ require_paths:
123
121
  - lib
124
122
  required_ruby_version: !ruby/object:Gem::Requirement
125
123
  requirements:
126
- - - ">="
124
+ - - "~>"
127
125
  - !ruby/object:Gem::Version
128
- version: '0'
126
+ version: '2.0'
129
127
  required_rubygems_version: !ruby/object:Gem::Requirement
130
128
  requirements:
131
129
  - - ">="
@@ -136,5 +134,5 @@ rubyforge_project:
136
134
  rubygems_version: 2.5.1
137
135
  signing_key:
138
136
  specification_version: 4
139
- summary: A library for communicating with the SilverMother API.
137
+ summary: Client for Sen.se/SilverMother API.
140
138
  test_files: []