apple_dep_client 2.2.2 → 2.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.drone.yml +29 -0
- data/CHANGELOG.md +9 -0
- data/Gemfile +0 -3
- data/README.md +5 -5
- data/apple_dep_client.gemspec +8 -9
- data/lib/apple_dep_client/version.rb +1 -1
- metadata +25 -45
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b0ee6e858822f277de954c07b1bfdde84e2c3f123a790dcd03397c45695e8d31
|
4
|
+
data.tar.gz: ceac07b642b8abfa684ab86fec174fd7016857bf4fe7bba7a19ecb6a2ef0c14b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e38c9a22579eed6aafdba387e93114e4275e26a35ae1761aa858caf496ec174bb714dbd571d7b8cdb64003a0502bb8f8f91e36b1d3a3e2f3826178307c00363
|
7
|
+
data.tar.gz: c072889a2df6ef1b20d5686be7861ad91ff9d3bf2a3ec54524ad51f95838e9f739b4bdb537f55ebdf1ae8afe35cede8702d24b73a514e56c41949df46734313d
|
data/.drone.yml
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
kind: pipeline
|
2
|
+
type: docker
|
3
|
+
name: test
|
4
|
+
|
5
|
+
steps:
|
6
|
+
- name: Test Ruby
|
7
|
+
image: ruby:3.0.1
|
8
|
+
commands:
|
9
|
+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > "${HOME}/bin/cc-test-reporter"
|
10
|
+
- chmod +x "${HOME}/bin/cc-test-reporter"
|
11
|
+
- bundle -v
|
12
|
+
- bundle install
|
13
|
+
- cc-test-reporter before-build
|
14
|
+
- bundle exec rake
|
15
|
+
- cc-test-reporter after-build --exit-code $? -t simplecov
|
16
|
+
environment:
|
17
|
+
CC_TEST_REPORTER_ID: dfac1bcda9df0ca61c7debeb31d56eeaee8f1388ea1d7487993dddfbae1ca282
|
18
|
+
|
19
|
+
- name: Upload to RubyGems
|
20
|
+
image: ruby:3.0.1
|
21
|
+
commands:
|
22
|
+
- gem build apple_dep_client.gemspec
|
23
|
+
- gem push -V *.gem
|
24
|
+
environment:
|
25
|
+
GEM_HOST_API_KEY:
|
26
|
+
from_secret: RUBYGEMS_API_KEY
|
27
|
+
when:
|
28
|
+
event:
|
29
|
+
- tag
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -2,6 +2,3 @@ source "https://rubygems.org"
|
|
2
2
|
|
3
3
|
# Specify your gem's dependencies in apple_dep_client.gemspec
|
4
4
|
gemspec
|
5
|
-
|
6
|
-
# This isn't in the gemspec file because it is being read from github
|
7
|
-
gem "plist", git: "https://github.com/cellabus/plist" # Used to handle responses in plist format
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# Apple Device Enrollment Program Client
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/apple_dep_client.svg)](https://badge.fury.io/rb/apple_dep_client)
|
4
|
-
[
|
5
|
-
[![Dependency Status](https://
|
4
|
+
[![Build Status](https://drone.albertyw.com/api/badges/albertyw/apple_dep_client/status.svg)](https://drone.albertyw.com/albertyw/apple_dep_client)
|
5
|
+
[![Dependency Status](https://img.shields.io/librariesio/release/rubygems/apple_dep_client.svg)](https://libraries.io/rubygems/apple_dep_client)
|
6
6
|
[![Code Climate](https://codeclimate.com/github/albertyw/apple_dep_client/badges/gpa.svg)](https://codeclimate.com/github/albertyw/apple_dep_client)
|
7
7
|
[![Test Coverage](https://codeclimate.com/github/albertyw/apple_dep_client/badges/coverage.svg)](https://codeclimate.com/github/albertyw/apple_dep_client/coverage)
|
8
8
|
[![security](https://hakiri.io/github/albertyw/apple_dep_client/master.svg)](https://hakiri.io/github/albertyw/apple_dep_client/master)
|
@@ -18,13 +18,13 @@ This gem also also requires `OpenSSL` to be installed. You can test it by
|
|
18
18
|
running `require 'openssl'` in `irb` and checking that it works.
|
19
19
|
|
20
20
|
It is highly recommended that you use a patched version of the `plist` gem
|
21
|
-
available at https://github.com/
|
22
|
-
`gem 'plist', git: 'https://github.com/
|
21
|
+
available at https://github.com/albertyw/plist. To do so, you should add
|
22
|
+
`gem 'plist', git: 'https://github.com/albertyw/plist', ref: '3.1.2'` to your
|
23
23
|
software's `Gemfile`.
|
24
24
|
|
25
25
|
## Usage
|
26
26
|
|
27
|
-
See Apple's
|
27
|
+
See Apple's [Mobile Device Management Protocol Reference](https://developer.apple.com/library/content/documentation/Miscellaneous/Reference/MobileDeviceManagementProtocolRef/3-MDM_Protocol/MDM_Protocol.html) for more information
|
28
28
|
about the high level usage of their DEP Workflow. All commands are under the
|
29
29
|
`AppleDEPClient` namespace. `AppleDEPClient` will
|
30
30
|
automatically handle OAuth for DEP endpoints.
|
data/apple_dep_client.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = AppleDEPClient::VERSION
|
9
9
|
spec.license = "AGPL-3.0"
|
10
10
|
spec.authors = ["Albert Wang"]
|
11
|
-
spec.email = ["
|
11
|
+
spec.email = ["git@albertyw.com"]
|
12
12
|
spec.summary = "Client for Apple Device Enrollment Program"
|
13
13
|
spec.description = "This gem provides an easy way to authenticate and interact with Apple's Device Enrollment Program"
|
14
14
|
spec.homepage = "https://github.com/albertyw/apple_dep_client"
|
@@ -18,12 +18,11 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency "oauth", "~> 0.
|
22
|
-
spec.add_dependency "typhoeus",
|
23
|
-
spec.add_dependency "plist", "
|
24
|
-
spec.add_development_dependency "bundler", "~>
|
25
|
-
spec.add_development_dependency "rake", "
|
26
|
-
spec.add_development_dependency "rspec", "~> 3.
|
27
|
-
spec.add_development_dependency "simplecov", "~> 0.
|
28
|
-
spec.add_development_dependency "codeclimate-test-reporter", "~> 1"
|
21
|
+
spec.add_dependency "oauth", "~> 0.5.6"
|
22
|
+
spec.add_dependency "typhoeus", "~> 1.4.0"
|
23
|
+
spec.add_dependency "plist", "~> 3.6.0"
|
24
|
+
spec.add_development_dependency "bundler", "~> 2.2"
|
25
|
+
spec.add_development_dependency "rake", "~> 13"
|
26
|
+
spec.add_development_dependency "rspec", "~> 3.10"
|
27
|
+
spec.add_development_dependency "simplecov", "~> 0.21.2"
|
29
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apple_dep_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Albert Wang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oauth
|
@@ -16,127 +16,108 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.5.6
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 0.5.6
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: typhoeus
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0.7'
|
34
|
-
- - "<"
|
31
|
+
- - "~>"
|
35
32
|
- !ruby/object:Gem::Version
|
36
|
-
version:
|
33
|
+
version: 1.4.0
|
37
34
|
type: :runtime
|
38
35
|
prerelease: false
|
39
36
|
version_requirements: !ruby/object:Gem::Requirement
|
40
37
|
requirements:
|
41
|
-
- - "
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: '0.7'
|
44
|
-
- - "<"
|
38
|
+
- - "~>"
|
45
39
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
40
|
+
version: 1.4.0
|
47
41
|
- !ruby/object:Gem::Dependency
|
48
42
|
name: plist
|
49
43
|
requirement: !ruby/object:Gem::Requirement
|
50
44
|
requirements:
|
51
|
-
- - "
|
45
|
+
- - "~>"
|
52
46
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
47
|
+
version: 3.6.0
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
51
|
requirements:
|
58
|
-
- - "
|
52
|
+
- - "~>"
|
59
53
|
- !ruby/object:Gem::Version
|
60
|
-
version:
|
54
|
+
version: 3.6.0
|
61
55
|
- !ruby/object:Gem::Dependency
|
62
56
|
name: bundler
|
63
57
|
requirement: !ruby/object:Gem::Requirement
|
64
58
|
requirements:
|
65
59
|
- - "~>"
|
66
60
|
- !ruby/object:Gem::Version
|
67
|
-
version: '
|
61
|
+
version: '2.2'
|
68
62
|
type: :development
|
69
63
|
prerelease: false
|
70
64
|
version_requirements: !ruby/object:Gem::Requirement
|
71
65
|
requirements:
|
72
66
|
- - "~>"
|
73
67
|
- !ruby/object:Gem::Version
|
74
|
-
version: '
|
68
|
+
version: '2.2'
|
75
69
|
- !ruby/object:Gem::Dependency
|
76
70
|
name: rake
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - ">="
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '10'
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - ">="
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '10'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: rspec
|
91
71
|
requirement: !ruby/object:Gem::Requirement
|
92
72
|
requirements:
|
93
73
|
- - "~>"
|
94
74
|
- !ruby/object:Gem::Version
|
95
|
-
version: '
|
75
|
+
version: '13'
|
96
76
|
type: :development
|
97
77
|
prerelease: false
|
98
78
|
version_requirements: !ruby/object:Gem::Requirement
|
99
79
|
requirements:
|
100
80
|
- - "~>"
|
101
81
|
- !ruby/object:Gem::Version
|
102
|
-
version: '
|
82
|
+
version: '13'
|
103
83
|
- !ruby/object:Gem::Dependency
|
104
|
-
name:
|
84
|
+
name: rspec
|
105
85
|
requirement: !ruby/object:Gem::Requirement
|
106
86
|
requirements:
|
107
87
|
- - "~>"
|
108
88
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
89
|
+
version: '3.10'
|
110
90
|
type: :development
|
111
91
|
prerelease: false
|
112
92
|
version_requirements: !ruby/object:Gem::Requirement
|
113
93
|
requirements:
|
114
94
|
- - "~>"
|
115
95
|
- !ruby/object:Gem::Version
|
116
|
-
version: '
|
96
|
+
version: '3.10'
|
117
97
|
- !ruby/object:Gem::Dependency
|
118
|
-
name:
|
98
|
+
name: simplecov
|
119
99
|
requirement: !ruby/object:Gem::Requirement
|
120
100
|
requirements:
|
121
101
|
- - "~>"
|
122
102
|
- !ruby/object:Gem::Version
|
123
|
-
version:
|
103
|
+
version: 0.21.2
|
124
104
|
type: :development
|
125
105
|
prerelease: false
|
126
106
|
version_requirements: !ruby/object:Gem::Requirement
|
127
107
|
requirements:
|
128
108
|
- - "~>"
|
129
109
|
- !ruby/object:Gem::Version
|
130
|
-
version:
|
110
|
+
version: 0.21.2
|
131
111
|
description: This gem provides an easy way to authenticate and interact with Apple's
|
132
112
|
Device Enrollment Program
|
133
113
|
email:
|
134
|
-
-
|
114
|
+
- git@albertyw.com
|
135
115
|
executables: []
|
136
116
|
extensions: []
|
137
117
|
extra_rdoc_files: []
|
138
118
|
files:
|
139
119
|
- ".codeclimate.yml"
|
120
|
+
- ".drone.yml"
|
140
121
|
- ".gitignore"
|
141
122
|
- ".rspec"
|
142
123
|
- ".rubocop.yml"
|
@@ -192,8 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
192
173
|
- !ruby/object:Gem::Version
|
193
174
|
version: '0'
|
194
175
|
requirements: []
|
195
|
-
|
196
|
-
rubygems_version: 2.5.1
|
176
|
+
rubygems_version: 3.2.15
|
197
177
|
signing_key:
|
198
178
|
specification_version: 4
|
199
179
|
summary: Client for Apple Device Enrollment Program
|