jss-api 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +7 -0
- data/CHANGES.md +9 -1
- data/README.md +10 -5
- data/bin/cgrouper +485 -0
- data/bin/subnet-update +400 -0
- data/lib/jss-api/api_connection.rb +22 -11
- data/lib/jss-api/api_object.rb +9 -2
- data/lib/jss-api/api_object/locatable.rb +1 -1
- data/lib/jss-api/api_object/osx_configuration_profile.rb +261 -0
- data/lib/jss-api/api_object/self_servable.rb +355 -0
- data/lib/jss-api/configuration.rb +2 -0
- data/lib/jss-api/version.rb +1 -1
- metadata +25 -43
@@ -62,6 +62,7 @@ module JSS
|
|
62
62
|
### The known attributes are:
|
63
63
|
### - api_server_name [String] the hostname of the JSS API server
|
64
64
|
### - api_server_port [Integer] the port number for the API connection
|
65
|
+
### - api_ssl_version [String] the SSL version (from the open_ssl module) to use for the connection.
|
65
66
|
### - api_verify_cert [Boolean] if SSL is used, should the SSL certificate be verified (usually false for a self-signed cert)
|
66
67
|
### - api_username [String] the JSS username for connecting to the API
|
67
68
|
### - api_timeout_open [Integer] the number of seconds for the open-connection timeout
|
@@ -110,6 +111,7 @@ module JSS
|
|
110
111
|
CONF_KEYS = {
|
111
112
|
:api_server_name => :to_s,
|
112
113
|
:api_server_port => :to_i,
|
114
|
+
:api_ssl_version => :to_s,
|
113
115
|
:api_verify_cert => :jss_to_bool,
|
114
116
|
:api_username => :to_s,
|
115
117
|
:api_timeout_open => :to_i,
|
data/lib/jss-api/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jss-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 6
|
10
|
+
version: 0.5.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Chris Lasell
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2014-
|
18
|
+
date: 2014-11-04 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: plist
|
@@ -46,21 +46,23 @@ dependencies:
|
|
46
46
|
type: :runtime
|
47
47
|
version_requirements: *id002
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
|
-
name:
|
49
|
+
name: rest-client
|
50
50
|
prerelease: false
|
51
51
|
requirement: &id003 !ruby/object:Gem::Requirement
|
52
52
|
none: false
|
53
53
|
requirements:
|
54
54
|
- - ">="
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
hash:
|
56
|
+
hash: 11
|
57
57
|
segments:
|
58
|
+
- 1
|
59
|
+
- 7
|
58
60
|
- 0
|
59
|
-
version:
|
61
|
+
version: 1.7.0
|
60
62
|
type: :runtime
|
61
63
|
version_requirements: *id003
|
62
64
|
- !ruby/object:Gem::Dependency
|
63
|
-
name:
|
65
|
+
name: net-ldap
|
64
66
|
prerelease: false
|
65
67
|
requirement: &id004 !ruby/object:Gem::Requirement
|
66
68
|
none: false
|
@@ -73,38 +75,11 @@ dependencies:
|
|
73
75
|
version: "0"
|
74
76
|
type: :runtime
|
75
77
|
version_requirements: *id004
|
76
|
-
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
requirements:
|
82
|
-
- - ">="
|
83
|
-
- !ruby/object:Gem::Version
|
84
|
-
hash: 3
|
85
|
-
segments:
|
86
|
-
- 0
|
87
|
-
version: "0"
|
88
|
-
type: :runtime
|
89
|
-
version_requirements: *id005
|
90
|
-
- !ruby/object:Gem::Dependency
|
91
|
-
name: net-ldap
|
92
|
-
prerelease: false
|
93
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
94
|
-
none: false
|
95
|
-
requirements:
|
96
|
-
- - ">="
|
97
|
-
- !ruby/object:Gem::Version
|
98
|
-
hash: 3
|
99
|
-
segments:
|
100
|
-
- 0
|
101
|
-
version: "0"
|
102
|
-
type: :runtime
|
103
|
-
version_requirements: *id006
|
104
|
-
description: " The jss-api gem provides the JSS module, a framework for interacting with the REST API of the\n JAMF Software Server (JSS), the core of the Casper Suite from JAMF Software, LLC.\n JSS API objects are implemented as Ruby classes, and interact with each oher to\n allow simpler automation of Casper-related tasks. For details see the README file.\"\n"
|
105
|
-
email: chrisl@pixar.com
|
106
|
-
executables: []
|
107
|
-
|
78
|
+
description: " The jss-api gem provides the JSS module, a framework for interacting with the REST API of the\n JAMF Software Server (JSS), the core of the Casper Suite, an enterprise/education\n tool for managing Apple devices, from JAMF Software LLC.\n JSS API objects are implemented as Ruby classes, and interact with each oher to\n allow simpler automation of Casper-related tasks. For details see the README file.\"\n"
|
79
|
+
email: jss-api-gem@pixar.com
|
80
|
+
executables:
|
81
|
+
- cgrouper
|
82
|
+
- subnet-update
|
108
83
|
extensions: []
|
109
84
|
|
110
85
|
extra_rdoc_files:
|
@@ -142,6 +117,7 @@ files:
|
|
142
117
|
- lib/jss-api/api_object/mobile_device.rb
|
143
118
|
- lib/jss-api/api_object/netboot_server.rb
|
144
119
|
- lib/jss-api/api_object/network_segment.rb
|
120
|
+
- lib/jss-api/api_object/osx_configuration_profile.rb
|
145
121
|
- lib/jss-api/api_object/package.rb
|
146
122
|
- lib/jss-api/api_object/peripheral.rb
|
147
123
|
- lib/jss-api/api_object/peripheral_type.rb
|
@@ -151,6 +127,7 @@ files:
|
|
151
127
|
- lib/jss-api/api_object/scopable/scope.rb
|
152
128
|
- lib/jss-api/api_object/scopable.rb
|
153
129
|
- lib/jss-api/api_object/script.rb
|
130
|
+
- lib/jss-api/api_object/self_servable.rb
|
154
131
|
- lib/jss-api/api_object/site.rb
|
155
132
|
- lib/jss-api/api_object/software_update_server.rb
|
156
133
|
- lib/jss-api/api_object/updatable.rb
|
@@ -173,10 +150,13 @@ files:
|
|
173
150
|
- lib/jss-api/server.rb
|
174
151
|
- lib/jss-api/version.rb
|
175
152
|
- lib/jss-api.rb
|
153
|
+
- .yardopts
|
176
154
|
- README.md
|
177
155
|
- LICENSE.txt
|
178
156
|
- CHANGES.md
|
179
157
|
- THANKS.md
|
158
|
+
- bin/cgrouper
|
159
|
+
- bin/subnet-update
|
180
160
|
homepage: http://pixaranimationstudios.github.io/jss-api-gem/
|
181
161
|
licenses:
|
182
162
|
- Modified Apache-2.0
|
@@ -194,10 +174,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
194
174
|
requirements:
|
195
175
|
- - ">="
|
196
176
|
- !ruby/object:Gem::Version
|
197
|
-
hash:
|
177
|
+
hash: 53
|
198
178
|
segments:
|
199
|
-
-
|
200
|
-
|
179
|
+
- 1
|
180
|
+
- 9
|
181
|
+
- 3
|
182
|
+
version: 1.9.3
|
201
183
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
202
184
|
none: false
|
203
185
|
requirements:
|