ruby-miradore 2.2.9 → 2.3.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 32cd1130d315e189325c8d73590b1ce1d5889734b50d157dd3495cdd1f3ea229
4
- data.tar.gz: 6aa9217dedeb2b880035d6067ffa4e1934167fb5e07b99d62cc16f85e7e01f23
3
+ metadata.gz: 3d105a9262cdf40781a3d3ba95f13a1c29a7eb763c242da1a5c2b7d20b7cdfc6
4
+ data.tar.gz: b365339169bb49d5eeef8b21fb9716b0867b7736bef1d5deebbe160d042877f5
5
5
  SHA512:
6
- metadata.gz: b72485967e471d2e5245e0274176c10d16ed76965fc688aaf5cc9f836e27ef2cc39a6384378993a048714334312b35467e5128c46d759ba16ac302584c439c5e
7
- data.tar.gz: cf835f493a6be0b063bcb34e5acc883e15b30ced00f9a1f691e3848c4397b93c9c6c2723920bbe004e4597cc9ba672a3dad381645441a633d8780dbfad47276c
6
+ metadata.gz: 31f5262f5a999807db3ad81bcfe50438e96864d44b505c4b417793d7adad4a7cef0d1677f93225dc9b6396244010ca898f3112ccd7802e9b3d5252c3c60b2fbb
7
+ data.tar.gz: 3d3aebc88688facb5ea60ad44849b7e42dca93f36ab47ad72295f183a219184642cf65ae9d75bb0831faea999cd84d5b3fa97c920e165fe183dbbed6eb83fa01
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby-miradore (2.2.8)
4
+ ruby-miradore (2.2.9)
5
5
  activesupport (~> 6.1)
6
6
  builder (~> 3.1)
7
7
  crack (~> 0.4)
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: patch
5
- uri: https://rzilient.online.miradore.com/API/v2/Device/1/
5
+ uri: https://test634.online.miradore.com/API/v2/Device/13/
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"userEmailAddress":"eduard@rzilient.club"}'
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Accept:
13
13
  - application/json
14
14
  X-Api-Key:
15
- -
15
+ - 1_8,Yo-TV8QyCiBUF
16
16
  Accept-Encoding:
17
17
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
18
  User-Agent:
@@ -28,11 +28,11 @@ http_interactions:
28
28
  - SAMEORIGIN
29
29
  - SAMEORIGIN
30
30
  Date:
31
- - Fri, 29 Oct 2021 13:37:42 GMT
31
+ - Mon, 08 Nov 2021 17:14:13 GMT
32
32
  Content-Length:
33
33
  - '0'
34
34
  body:
35
35
  encoding: UTF-8
36
36
  string: ''
37
- recorded_at: Fri, 29 Oct 2021 13:37:40 GMT
37
+ recorded_at: Mon, 08 Nov 2021 17:14:13 GMT
38
38
  recorded_with: VCR 6.0.0
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ruby
4
4
  module Miradore
5
- VERSION = "2.2.9"
5
+ VERSION = "2.3.9"
6
6
  end
7
7
  end
data/lib/ruby/miradore.rb CHANGED
@@ -149,12 +149,8 @@ module Ruby
149
149
  !!invdevice&.imei
150
150
  end
151
151
 
152
- def patch(**args)
153
- http_method(args.merge(method: __method__))
154
- end
155
-
156
- def post(**args)
157
- http_method(args.merge(method: __method__))
152
+ def call(**args)
153
+ http_method(args)
158
154
  end
159
155
 
160
156
  private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-miradore
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.9
4
+ version: 2.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduard Garcia Castelló