ruby-miradore 4.0.1 → 4.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -7
- data/lib/ruby/miradore/version.rb +1 -1
- data/lib/ruby/miradore.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7f2b4be6faff81b7256d7694e0991deef9a6705dde5747d9837211ad4b8a5e3
|
4
|
+
data.tar.gz: 8cf1cfef848c2980f45611bf45c9ec55bba8814f01bcad9478d73b81d048c23f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 759be87e1eab9d2088738dd602b0d0fd7b6d432238d3f9b45e5490d87096a602a4720588c0fb73a42375e3b2eaba5f86fd5695543bc08e52e6dca942425d81e2
|
7
|
+
data.tar.gz: b614f02aaaa6152619cf458b1803dbe87dc0f8a516e5b5d61ea2b7adbb46e645783f017b984f75a6fb4e1eb54b7e00532682ce6020183142706c2c70df2c0d9e
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ruby-miradore (4.0.
|
4
|
+
ruby-miradore (4.0.3)
|
5
5
|
activesupport (~> 7.0)
|
6
6
|
builder (~> 3.1)
|
7
7
|
crack (~> 0.4)
|
@@ -14,7 +14,7 @@ PATH
|
|
14
14
|
GEM
|
15
15
|
remote: https://rubygems.org/
|
16
16
|
specs:
|
17
|
-
activesupport (7.0.2)
|
17
|
+
activesupport (7.0.2.2)
|
18
18
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
19
19
|
i18n (>= 1.6, < 2)
|
20
20
|
minitest (>= 5.1)
|
@@ -32,7 +32,7 @@ GEM
|
|
32
32
|
httparty (0.20.0)
|
33
33
|
mime-types (~> 3.0)
|
34
34
|
multi_xml (>= 0.5.2)
|
35
|
-
i18n (1.
|
35
|
+
i18n (1.10.0)
|
36
36
|
concurrent-ruby (~> 1.0)
|
37
37
|
mime-types (3.4.1)
|
38
38
|
mime-types-data (~> 3.2015)
|
@@ -40,12 +40,12 @@ GEM
|
|
40
40
|
minitest (5.15.0)
|
41
41
|
multi_xml (0.6.0)
|
42
42
|
parallel (1.21.0)
|
43
|
-
parser (3.1.
|
43
|
+
parser (3.1.1.0)
|
44
44
|
ast (~> 2.4.1)
|
45
45
|
public_suffix (4.0.6)
|
46
46
|
rainbow (3.1.1)
|
47
47
|
rake (13.0.6)
|
48
|
-
regexp_parser (2.2.
|
48
|
+
regexp_parser (2.2.1)
|
49
49
|
rexml (3.2.5)
|
50
50
|
rspec (3.11.0)
|
51
51
|
rspec-core (~> 3.11.0)
|
@@ -69,8 +69,8 @@ GEM
|
|
69
69
|
rubocop-ast (>= 1.15.1, < 2.0)
|
70
70
|
ruby-progressbar (~> 1.7)
|
71
71
|
unicode-display_width (>= 1.4.0, < 3.0)
|
72
|
-
rubocop-ast (1.
|
73
|
-
parser (>= 3.
|
72
|
+
rubocop-ast (1.16.0)
|
73
|
+
parser (>= 3.1.1.0)
|
74
74
|
ruby-progressbar (1.11.0)
|
75
75
|
tzinfo (2.0.4)
|
76
76
|
concurrent-ruby (~> 1.0)
|
data/lib/ruby/miradore.rb
CHANGED
@@ -13,7 +13,7 @@ module Ruby
|
|
13
13
|
|
14
14
|
def self.url
|
15
15
|
{
|
16
|
-
item_v1: 'https://%<subdomain>s.online.miradore.com/API/%<item>s/%<id>s?auth=%<auth>s&select=*,%<attribute>s&filters=%<filter>s',
|
16
|
+
item_v1: 'https://%<subdomain>s.online.miradore.com/API/%<item>s/%<id>s?auth=%<auth>s&select=*,%<attribute>s&filters=%<filter>s&options=%<options>s',
|
17
17
|
request_v1: 'https://%<subdomain>s.online.miradore.com/API/Device?auth=%<auth>s&select=*,Category.*,InvDevice.*,InvStorage.*,InvOS.*,Enrollment.*,Client.*,User.*,Location.*,Security.*,ReportedLocation.*&filters=%<filter>s&options=%<options>s',
|
18
18
|
v2: 'https://%<subdomain>s.online.miradore.com/API/v2/Device/%<id>s/%<method>s'
|
19
19
|
}
|