losant_rest 1.1.1 → 1.1.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: a6903262043118870ff55033c47b172fad616e0b
4
- data.tar.gz: f882c3508c9f3ba13edcf378fabddbe1c8f541b9
3
+ metadata.gz: 25d2c627fa270888f48ef83fccffc78c601d6e0e
4
+ data.tar.gz: 13305771929f9838a8fafaa64daf48adb7b0536f
5
5
  SHA512:
6
- metadata.gz: 64091cffad4184637d763254fd9dcafc5f194f5fae2219e9a3afa64e2fb681093464df45c6c3321bf18434c47c61c7485011c567be301ba06f5b3a99f1bed444
7
- data.tar.gz: 9ae85b832a687debaee8d7794580f57214ea8d9dac270fe74344f5db76ffb95ae2b1be128dbcb806422d685750209d11c2833f4a84b94a36c431ef12d02637fe
6
+ metadata.gz: 3bf25cd6b5c90d3bf17d4daeb18f4164453317398f1cf8b149e4386868163f328af9f6113e8a1f81ba2925d6a1d9bed2397902d2c2b73dff3d42697a7c593535
7
+ data.tar.gz: d39ac804b9cddf2bf5104cca0b40570634ff59f437acc1cc4a068a9c9e847e36dc8266c3611d9d9de857d30ac162bd0896fbb938456eaf4d70152924f4b2b466
data/docs/_schemas.md CHANGED
@@ -9141,6 +9141,14 @@ Schema for a single Webhook
9141
9141
  },
9142
9142
  "waitForReply": {
9143
9143
  "type": "boolean"
9144
+ },
9145
+ "basicAuthUsername": {
9146
+ "type": "string",
9147
+ "maxLength": 255
9148
+ },
9149
+ "basicAuthPassword": {
9150
+ "type": "string",
9151
+ "maxLength": 255
9144
9152
  }
9145
9153
  }
9146
9154
  }
@@ -9198,6 +9206,14 @@ Schema for the body of a Webhook modification request
9198
9206
  },
9199
9207
  "waitForReply": {
9200
9208
  "type": "boolean"
9209
+ },
9210
+ "basicAuthUsername": {
9211
+ "type": "string",
9212
+ "maxLength": 255
9213
+ },
9214
+ "basicAuthPassword": {
9215
+ "type": "string",
9216
+ "maxLength": 255
9201
9217
  }
9202
9218
  },
9203
9219
  "additionalProperties": false
@@ -9250,6 +9266,14 @@ Schema for the body of a Webhook creation request
9250
9266
  },
9251
9267
  "waitForReply": {
9252
9268
  "type": "boolean"
9269
+ },
9270
+ "basicAuthUsername": {
9271
+ "type": "string",
9272
+ "maxLength": 255
9273
+ },
9274
+ "basicAuthPassword": {
9275
+ "type": "string",
9276
+ "maxLength": 255
9253
9277
  }
9254
9278
  },
9255
9279
  "required": [
@@ -9335,6 +9359,14 @@ Schema for a collection of Webhooks
9335
9359
  },
9336
9360
  "waitForReply": {
9337
9361
  "type": "boolean"
9362
+ },
9363
+ "basicAuthUsername": {
9364
+ "type": "string",
9365
+ "maxLength": 255
9366
+ },
9367
+ "basicAuthPassword": {
9368
+ "type": "string",
9369
+ "maxLength": 255
9338
9370
  }
9339
9371
  }
9340
9372
  }
@@ -27,7 +27,7 @@ module LosantRest
27
27
  #
28
28
  # User API for accessing Losant data
29
29
  #
30
- # Built For Version 1.5.4
30
+ # Built For Version 1.5.5
31
31
  class Client
32
32
  attr_accessor :auth_token, :url
33
33
 
@@ -162,7 +162,7 @@ module LosantRest
162
162
 
163
163
  headers["Accept"] = "application/json"
164
164
  headers["Content-Type"] = "application/json"
165
- headers["Accept-Version"] = "^1.5.4"
165
+ headers["Accept-Version"] = "^1.5.5"
166
166
  headers["Authorization"] = "Bearer #{self.auth_token}" if self.auth_token
167
167
  path = self.url + options.fetch(:path, "")
168
168
 
@@ -21,5 +21,5 @@
21
21
  # SOFTWARE.
22
22
 
23
23
  module LosantRest
24
- VERSION = "1.1.1"
24
+ VERSION = "1.1.2"
25
25
  end
data/schemas/webhook.json CHANGED
@@ -51,6 +51,14 @@
51
51
  },
52
52
  "waitForReply": {
53
53
  "type": "boolean"
54
+ },
55
+ "basicAuthUsername": {
56
+ "type": "string",
57
+ "maxLength": 255
58
+ },
59
+ "basicAuthPassword": {
60
+ "type": "string",
61
+ "maxLength": 255
54
62
  }
55
63
  }
56
64
  }
@@ -27,6 +27,14 @@
27
27
  },
28
28
  "waitForReply": {
29
29
  "type": "boolean"
30
+ },
31
+ "basicAuthUsername": {
32
+ "type": "string",
33
+ "maxLength": 255
34
+ },
35
+ "basicAuthPassword": {
36
+ "type": "string",
37
+ "maxLength": 255
30
38
  }
31
39
  },
32
40
  "additionalProperties": false
@@ -27,6 +27,14 @@
27
27
  },
28
28
  "waitForReply": {
29
29
  "type": "boolean"
30
+ },
31
+ "basicAuthUsername": {
32
+ "type": "string",
33
+ "maxLength": 255
34
+ },
35
+ "basicAuthPassword": {
36
+ "type": "string",
37
+ "maxLength": 255
30
38
  }
31
39
  },
32
40
  "required": [
@@ -58,6 +58,14 @@
58
58
  },
59
59
  "waitForReply": {
60
60
  "type": "boolean"
61
+ },
62
+ "basicAuthUsername": {
63
+ "type": "string",
64
+ "maxLength": 255
65
+ },
66
+ "basicAuthPassword": {
67
+ "type": "string",
68
+ "maxLength": 255
61
69
  }
62
70
  }
63
71
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: losant_rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Kuehl
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-15 00:00:00.000000000 Z
11
+ date: 2017-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty