ruby-miradore 3.3.12 → 3.3.13

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: 2f54ab89718dcbde8be0d4d268366f8d43e39eed654c33b7318eca67be7598bb
4
- data.tar.gz: 320d8e03fe3834d32fb75661b6c2b39f0f765ad478d2968dc9b20216b4402d30
3
+ metadata.gz: b80881eb5442f4ea7a7e8e3279696a4cbf289b6d51ecdaaeb377fe882fccc2c6
4
+ data.tar.gz: 1657c4b389ebd50a6971bd92b920d0643112e1d1f56c28a67db2616e4c4124bc
5
5
  SHA512:
6
- metadata.gz: 9239c64eab1a5a42c17df2d091beab29df016bef088f69527dc723544084c387ccc2f641663ca789e35f14644254371cb339061fbec31dbc2a359114f8f4d2c4
7
- data.tar.gz: bc0d8d435124370bbc8da0a2736ab4aa3f5c5e224eb5d6204e0e4cbe52304031d02b6d1539d80fb61cf8c37da728866dfa5cad0812dde4c5a68fcfe181853bdf
6
+ metadata.gz: '0285c18efabcc0bf982642829c77d4a18253e8329c41814ebd355133cd376827fb5bc5a4fa008db256fb269adb54719d76485fb33ad551bdc4920de7fc74ac36'
7
+ data.tar.gz: bf52662c76e2805d7d41b165b2b59f770938bceae9fd72315ed3fedfb84a4b2312145fb430aea3955cfb08cd65f8968c3541b2a78d1147ac94d02c8fc42f0507
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby-miradore (3.3.12)
4
+ ruby-miradore (3.3.13)
5
5
  activesupport (~> 6.1)
6
6
  builder (~> 3.1)
7
7
  crack (~> 0.4)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ruby
4
4
  module Miradore
5
- VERSION = "3.3.12"
5
+ VERSION = "3.3.13"
6
6
  end
7
7
  end
data/lib/ruby/miradore.rb CHANGED
@@ -135,6 +135,10 @@ module Ruby
135
135
  http_method(args.merge(method: :put, action: __method__))
136
136
  end
137
137
 
138
+ def activate(**args)
139
+ http_method(args.merge(method: :post, action: __method__))
140
+ end
141
+
138
142
  def device_serial_number
139
143
  invdevice.serial_number || invdevice.hardware_serial_number
140
144
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-miradore
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.12
4
+ version: 3.3.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduard Garcia Castelló
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-09 00:00:00.000000000 Z
11
+ date: 2021-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport