moki_ruby 0.2.3 → 0.2.4
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 +4 -4
- data/lib/moki_ruby/device_iosprofile.rb +2 -2
- data/lib/moki_ruby/version.rb +1 -1
- data/spec/lib/device_iosprofile_spec.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 56027031c39138938e7188216d06f3f69bb3ef68
|
|
4
|
+
data.tar.gz: 8d9d2c741b7b205c7bc9486dd5297327e32ae9a8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5c033443917bd65ae79495d1b67ec5c8325f2f2c9a46fa6d48e1d698ccf0a0ae7b086bb1dfd0f93ca5497dac97d00019de50b90f37116f1afa90053d3c65123c
|
|
7
|
+
data.tar.gz: 9d80620cf743fe3334883ee14f0e33f7195cc587c47cf86e2aa251a41eda473e2c4450f5ea8d25b5331a9cf72cbf0bd17ef58bdec08cc99382772491a94250dd
|
|
@@ -32,12 +32,12 @@ module MokiRuby
|
|
|
32
32
|
def install_hash
|
|
33
33
|
raise "under construction"
|
|
34
34
|
actionable_hash.merge({ "action" => "installprofile",
|
|
35
|
-
"payload" => "
|
|
35
|
+
"payload" => "#{ self.id }" })
|
|
36
36
|
end
|
|
37
37
|
|
|
38
38
|
def removal_hash
|
|
39
39
|
actionable_hash.merge({ "action" => "removeprofile",
|
|
40
|
-
"payload" => "
|
|
40
|
+
"payload" => "#{ self.identifier }" })
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
private
|
data/lib/moki_ruby/version.rb
CHANGED
|
@@ -59,7 +59,7 @@ describe DeviceIOSProfile do
|
|
|
59
59
|
"clientName" => "MokiRuby",
|
|
60
60
|
"itemName" => "Profile Name",
|
|
61
61
|
"notify" => true,
|
|
62
|
-
"payload" => "
|
|
62
|
+
"payload" => "01234699-5767-8abc-d123-ffffffffffff" })
|
|
63
63
|
end
|
|
64
64
|
|
|
65
65
|
it "will return a hash for removal" do
|
|
@@ -69,6 +69,6 @@ describe DeviceIOSProfile do
|
|
|
69
69
|
"clientName" => "MokiRuby",
|
|
70
70
|
"itemName" => "Belly MDM Installation",
|
|
71
71
|
"notify" => true,
|
|
72
|
-
"payload" => "
|
|
72
|
+
"payload" => "com.belly.mdm" })
|
|
73
73
|
end
|
|
74
74
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: moki_ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Trey Springer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-08-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|