ruby-jss 0.6.3
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.
Potentially problematic release.
This version of ruby-jss might be problematic. Click here for more details.
- checksums.yaml +7 -0
- data/.yardopts +7 -0
- data/CHANGES.md +112 -0
- data/LICENSE.txt +174 -0
- data/README.md +426 -0
- data/THANKS.md +6 -0
- data/bin/cgrouper +485 -0
- data/bin/subnet-update +400 -0
- data/lib/jss-api.rb +2 -0
- data/lib/jss.rb +190 -0
- data/lib/jss/api_connection.rb +410 -0
- data/lib/jss/api_object.rb +616 -0
- data/lib/jss/api_object/advanced_search.rb +389 -0
- data/lib/jss/api_object/advanced_search/advanced_computer_search.rb +95 -0
- data/lib/jss/api_object/advanced_search/advanced_mobile_device_search.rb +96 -0
- data/lib/jss/api_object/advanced_search/advanced_user_search.rb +95 -0
- data/lib/jss/api_object/building.rb +92 -0
- data/lib/jss/api_object/category.rb +147 -0
- data/lib/jss/api_object/computer.rb +852 -0
- data/lib/jss/api_object/creatable.rb +98 -0
- data/lib/jss/api_object/criteriable.rb +189 -0
- data/lib/jss/api_object/criteriable/criteria.rb +231 -0
- data/lib/jss/api_object/criteriable/criterion.rb +228 -0
- data/lib/jss/api_object/department.rb +93 -0
- data/lib/jss/api_object/distribution_point.rb +560 -0
- data/lib/jss/api_object/extendable.rb +221 -0
- data/lib/jss/api_object/extension_attribute.rb +466 -0
- data/lib/jss/api_object/extension_attribute/computer_extension_attribute.rb +362 -0
- data/lib/jss/api_object/extension_attribute/mobile_device_extension_attribute.rb +189 -0
- data/lib/jss/api_object/extension_attribute/user_extension_attribute.rb +117 -0
- data/lib/jss/api_object/group.rb +380 -0
- data/lib/jss/api_object/group/computer_group.rb +124 -0
- data/lib/jss/api_object/group/mobile_device_group.rb +139 -0
- data/lib/jss/api_object/group/user_group.rb +139 -0
- data/lib/jss/api_object/ldap_server.rb +535 -0
- data/lib/jss/api_object/locatable.rb +286 -0
- data/lib/jss/api_object/matchable.rb +97 -0
- data/lib/jss/api_object/mobile_device.rb +556 -0
- data/lib/jss/api_object/netboot_server.rb +148 -0
- data/lib/jss/api_object/network_segment.rb +414 -0
- data/lib/jss/api_object/osx_configuration_profile.rb +262 -0
- data/lib/jss/api_object/package.rb +839 -0
- data/lib/jss/api_object/peripheral.rb +335 -0
- data/lib/jss/api_object/peripheral_type.rb +295 -0
- data/lib/jss/api_object/policy.rb +898 -0
- data/lib/jss/api_object/purchasable.rb +316 -0
- data/lib/jss/api_object/removable_macaddr.rb +98 -0
- data/lib/jss/api_object/scopable.rb +136 -0
- data/lib/jss/api_object/scopable/scope.rb +621 -0
- data/lib/jss/api_object/script.rb +631 -0
- data/lib/jss/api_object/self_servable.rb +356 -0
- data/lib/jss/api_object/site.rb +93 -0
- data/lib/jss/api_object/software_update_server.rb +109 -0
- data/lib/jss/api_object/updatable.rb +117 -0
- data/lib/jss/api_object/uploadable.rb +138 -0
- data/lib/jss/api_object/user.rb +272 -0
- data/lib/jss/client.rb +504 -0
- data/lib/jss/compatibility.rb +66 -0
- data/lib/jss/composer.rb +185 -0
- data/lib/jss/configuration.rb +306 -0
- data/lib/jss/db_connection.rb +298 -0
- data/lib/jss/exceptions.rb +95 -0
- data/lib/jss/ruby_extensions.rb +35 -0
- data/lib/jss/ruby_extensions/filetest.rb +43 -0
- data/lib/jss/ruby_extensions/hash.rb +79 -0
- data/lib/jss/ruby_extensions/ipaddr.rb +91 -0
- data/lib/jss/ruby_extensions/pathname.rb +77 -0
- data/lib/jss/ruby_extensions/string.rb +59 -0
- data/lib/jss/ruby_extensions/time.rb +63 -0
- data/lib/jss/server.rb +108 -0
- data/lib/jss/utility.rb +478 -0
- data/lib/jss/version.rb +31 -0
- metadata +187 -0
data/lib/jss/version.rb
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
### Copyright 2016 Pixar
|
2
|
+
###
|
3
|
+
### Licensed under the Apache License, Version 2.0 (the "Apache License")
|
4
|
+
### with the following modification; you may not use this file except in
|
5
|
+
### compliance with the Apache License and the following modification to it:
|
6
|
+
### Section 6. Trademarks. is deleted and replaced with:
|
7
|
+
###
|
8
|
+
### 6. Trademarks. This License does not grant permission to use the trade
|
9
|
+
### names, trademarks, service marks, or product names of the Licensor
|
10
|
+
### and its affiliates, except as required to comply with Section 4(c) of
|
11
|
+
### the License and to reproduce the content of the NOTICE file.
|
12
|
+
###
|
13
|
+
### You may obtain a copy of the Apache License at
|
14
|
+
###
|
15
|
+
### http://www.apache.org/licenses/LICENSE-2.0
|
16
|
+
###
|
17
|
+
### Unless required by applicable law or agreed to in writing, software
|
18
|
+
### distributed under the Apache License with the above modification is
|
19
|
+
### distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
20
|
+
### KIND, either express or implied. See the Apache License for the specific
|
21
|
+
### language governing permissions and limitations under the Apache License.
|
22
|
+
###
|
23
|
+
###
|
24
|
+
|
25
|
+
###
|
26
|
+
module JSS
|
27
|
+
|
28
|
+
### The version of the JSS ruby gem
|
29
|
+
VERSION = "0.6.3"
|
30
|
+
|
31
|
+
end # module
|
metadata
ADDED
@@ -0,0 +1,187 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ruby-jss
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.6.3
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Chris Lasell
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-03-09 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: plist
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: ruby-mysql
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rest-client
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.7.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.7.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: net-ldap
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
description: |2
|
70
|
+
The ruby-jss gem provides the JSS module, a framework for interacting with the REST API
|
71
|
+
of the JAMF Software Server (JSS), the core of the Casper Suite, an enterprise/education
|
72
|
+
tool for managing Apple devices, from JAMF Software LLC.
|
73
|
+
JSS API objects are implemented as Ruby classes, and interact with each oher to
|
74
|
+
allow simpler automation of Casper-related tasks. For details see the README file."
|
75
|
+
email: ruby-jss@pixar.com
|
76
|
+
executables:
|
77
|
+
- cgrouper
|
78
|
+
- subnet-update
|
79
|
+
extensions: []
|
80
|
+
extra_rdoc_files:
|
81
|
+
- README.md
|
82
|
+
- LICENSE.txt
|
83
|
+
- CHANGES.md
|
84
|
+
- THANKS.md
|
85
|
+
files:
|
86
|
+
- .yardopts
|
87
|
+
- CHANGES.md
|
88
|
+
- LICENSE.txt
|
89
|
+
- README.md
|
90
|
+
- THANKS.md
|
91
|
+
- bin/cgrouper
|
92
|
+
- bin/subnet-update
|
93
|
+
- lib/jss-api.rb
|
94
|
+
- lib/jss.rb
|
95
|
+
- lib/jss/api_connection.rb
|
96
|
+
- lib/jss/api_object.rb
|
97
|
+
- lib/jss/api_object/advanced_search.rb
|
98
|
+
- lib/jss/api_object/advanced_search/advanced_computer_search.rb
|
99
|
+
- lib/jss/api_object/advanced_search/advanced_mobile_device_search.rb
|
100
|
+
- lib/jss/api_object/advanced_search/advanced_user_search.rb
|
101
|
+
- lib/jss/api_object/building.rb
|
102
|
+
- lib/jss/api_object/category.rb
|
103
|
+
- lib/jss/api_object/computer.rb
|
104
|
+
- lib/jss/api_object/creatable.rb
|
105
|
+
- lib/jss/api_object/criteriable.rb
|
106
|
+
- lib/jss/api_object/criteriable/criteria.rb
|
107
|
+
- lib/jss/api_object/criteriable/criterion.rb
|
108
|
+
- lib/jss/api_object/department.rb
|
109
|
+
- lib/jss/api_object/distribution_point.rb
|
110
|
+
- lib/jss/api_object/extendable.rb
|
111
|
+
- lib/jss/api_object/extension_attribute.rb
|
112
|
+
- lib/jss/api_object/extension_attribute/computer_extension_attribute.rb
|
113
|
+
- lib/jss/api_object/extension_attribute/mobile_device_extension_attribute.rb
|
114
|
+
- lib/jss/api_object/extension_attribute/user_extension_attribute.rb
|
115
|
+
- lib/jss/api_object/group.rb
|
116
|
+
- lib/jss/api_object/group/computer_group.rb
|
117
|
+
- lib/jss/api_object/group/mobile_device_group.rb
|
118
|
+
- lib/jss/api_object/group/user_group.rb
|
119
|
+
- lib/jss/api_object/ldap_server.rb
|
120
|
+
- lib/jss/api_object/locatable.rb
|
121
|
+
- lib/jss/api_object/matchable.rb
|
122
|
+
- lib/jss/api_object/mobile_device.rb
|
123
|
+
- lib/jss/api_object/netboot_server.rb
|
124
|
+
- lib/jss/api_object/network_segment.rb
|
125
|
+
- lib/jss/api_object/osx_configuration_profile.rb
|
126
|
+
- lib/jss/api_object/package.rb
|
127
|
+
- lib/jss/api_object/peripheral.rb
|
128
|
+
- lib/jss/api_object/peripheral_type.rb
|
129
|
+
- lib/jss/api_object/policy.rb
|
130
|
+
- lib/jss/api_object/purchasable.rb
|
131
|
+
- lib/jss/api_object/removable_macaddr.rb
|
132
|
+
- lib/jss/api_object/scopable.rb
|
133
|
+
- lib/jss/api_object/scopable/scope.rb
|
134
|
+
- lib/jss/api_object/script.rb
|
135
|
+
- lib/jss/api_object/self_servable.rb
|
136
|
+
- lib/jss/api_object/site.rb
|
137
|
+
- lib/jss/api_object/software_update_server.rb
|
138
|
+
- lib/jss/api_object/updatable.rb
|
139
|
+
- lib/jss/api_object/uploadable.rb
|
140
|
+
- lib/jss/api_object/user.rb
|
141
|
+
- lib/jss/client.rb
|
142
|
+
- lib/jss/compatibility.rb
|
143
|
+
- lib/jss/composer.rb
|
144
|
+
- lib/jss/configuration.rb
|
145
|
+
- lib/jss/db_connection.rb
|
146
|
+
- lib/jss/exceptions.rb
|
147
|
+
- lib/jss/ruby_extensions.rb
|
148
|
+
- lib/jss/ruby_extensions/filetest.rb
|
149
|
+
- lib/jss/ruby_extensions/hash.rb
|
150
|
+
- lib/jss/ruby_extensions/ipaddr.rb
|
151
|
+
- lib/jss/ruby_extensions/pathname.rb
|
152
|
+
- lib/jss/ruby_extensions/string.rb
|
153
|
+
- lib/jss/ruby_extensions/time.rb
|
154
|
+
- lib/jss/server.rb
|
155
|
+
- lib/jss/utility.rb
|
156
|
+
- lib/jss/version.rb
|
157
|
+
homepage: http://pixaranimationstudios.github.io/ruby-jss/
|
158
|
+
licenses:
|
159
|
+
- Apache-2.0 WITH Modifications
|
160
|
+
metadata: {}
|
161
|
+
post_install_message:
|
162
|
+
rdoc_options:
|
163
|
+
- --title
|
164
|
+
- JSS
|
165
|
+
- --line-numbers
|
166
|
+
- --main
|
167
|
+
- README.md
|
168
|
+
require_paths:
|
169
|
+
- lib
|
170
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - '>='
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: 1.9.3
|
175
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - '>='
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '0'
|
180
|
+
requirements: []
|
181
|
+
rubyforge_project:
|
182
|
+
rubygems_version: 2.6.1
|
183
|
+
signing_key:
|
184
|
+
specification_version: 4
|
185
|
+
summary: A Ruby interface to the Casper Suite's JSS API
|
186
|
+
test_files: []
|
187
|
+
has_rdoc: true
|