ruby-jss 0.10.0 → 0.10.1a2
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 +4 -4
- data/lib/jss/api_object.rb +102 -0
- data/lib/jss/api_object/advanced_search/advanced_computer_search.rb +4 -0
- data/lib/jss/api_object/advanced_search/advanced_mobile_device_search.rb +5 -0
- data/lib/jss/api_object/advanced_search/advanced_user_search.rb +5 -0
- data/lib/jss/api_object/building.rb +5 -0
- data/lib/jss/api_object/category.rb +5 -0
- data/lib/jss/api_object/computer.rb +7 -2
- data/lib/jss/api_object/computer_invitation.rb +5 -0
- data/lib/jss/api_object/department.rb +26 -21
- data/lib/jss/api_object/distribution_point.rb +5 -0
- data/lib/jss/api_object/ebook.rb +5 -0
- data/lib/jss/api_object/extendable.rb +123 -148
- data/lib/jss/api_object/extension_attribute.rb +242 -301
- data/lib/jss/api_object/extension_attribute/computer_extension_attribute.rb +5 -0
- data/lib/jss/api_object/extension_attribute/mobile_device_extension_attribute.rb +14 -9
- data/lib/jss/api_object/extension_attribute/user_extension_attribute.rb +40 -35
- data/lib/jss/api_object/group/computer_group.rb +11 -6
- data/lib/jss/api_object/group/mobile_device_group.rb +11 -6
- data/lib/jss/api_object/group/user_group.rb +16 -11
- data/lib/jss/api_object/ldap_server.rb +5 -0
- data/lib/jss/api_object/mac_application.rb +5 -0
- data/lib/jss/api_object/mobile_device.rb +5 -0
- data/lib/jss/api_object/mobile_device_application.rb +5 -0
- data/lib/jss/api_object/mobile_device_configuration_profile.rb +5 -0
- data/lib/jss/api_object/netboot_server.rb +11 -6
- data/lib/jss/api_object/network_segment.rb +5 -0
- data/lib/jss/api_object/osx_configuration_profile.rb +4 -0
- data/lib/jss/api_object/package.rb +5 -0
- data/lib/jss/api_object/peripheral.rb +4 -0
- data/lib/jss/api_object/peripheral_type.rb +11 -6
- data/lib/jss/api_object/policy.rb +5 -0
- data/lib/jss/api_object/removable_macaddr.rb +28 -23
- data/lib/jss/api_object/restricted_software.rb +5 -0
- data/lib/jss/api_object/script.rb +5 -0
- data/lib/jss/api_object/site.rb +29 -24
- data/lib/jss/api_object/software_update_server.rb +11 -6
- data/lib/jss/api_object/user.rb +5 -0
- data/lib/jss/api_object/webhook.rb +5 -0
- data/lib/jss/version.rb +1 -1
- metadata +4 -4
@@ -1,26 +1,26 @@
|
|
1
1
|
### Copyright 2017 Pixar
|
2
2
|
|
3
|
-
###
|
3
|
+
###
|
4
4
|
### Licensed under the Apache License, Version 2.0 (the "Apache License")
|
5
5
|
### with the following modification; you may not use this file except in
|
6
6
|
### compliance with the Apache License and the following modification to it:
|
7
7
|
### Section 6. Trademarks. is deleted and replaced with:
|
8
|
-
###
|
8
|
+
###
|
9
9
|
### 6. Trademarks. This License does not grant permission to use the trade
|
10
10
|
### names, trademarks, service marks, or product names of the Licensor
|
11
11
|
### and its affiliates, except as required to comply with Section 4(c) of
|
12
12
|
### the License and to reproduce the content of the NOTICE file.
|
13
|
-
###
|
13
|
+
###
|
14
14
|
### You may obtain a copy of the Apache License at
|
15
|
-
###
|
15
|
+
###
|
16
16
|
### http://www.apache.org/licenses/LICENSE-2.0
|
17
|
-
###
|
17
|
+
###
|
18
18
|
### Unless required by applicable law or agreed to in writing, software
|
19
19
|
### distributed under the Apache License with the above modification is
|
20
20
|
### distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
21
21
|
### KIND, either express or implied. See the Apache License for the specific
|
22
22
|
### language governing permissions and limitations under the Apache License.
|
23
|
-
###
|
23
|
+
###
|
24
24
|
###
|
25
25
|
|
26
26
|
###
|
@@ -72,6 +72,11 @@ module JSS
|
|
72
72
|
### these keys, as well as :id and :name, are present in valid API JSON data for this class
|
73
73
|
VALID_DATA_KEYS = [:set_system_wide, :port]
|
74
74
|
|
75
|
+
# the object type for this object in
|
76
|
+
# the object history table.
|
77
|
+
# See {APIObject#add_object_history_entry}
|
78
|
+
OBJECT_HISTORY_OBJECT_TYPE = 82
|
79
|
+
|
75
80
|
#####################################
|
76
81
|
### Attributes
|
77
82
|
#####################################
|
data/lib/jss/api_object/user.rb
CHANGED
@@ -79,6 +79,11 @@ module JSS
|
|
79
79
|
### This is the class for relevant Extension Attributes
|
80
80
|
EXT_ATTRIB_CLASS = JSS::UserExtensionAttribute
|
81
81
|
|
82
|
+
# the object type for this object in
|
83
|
+
# the object history table.
|
84
|
+
# See {APIObject#add_object_history_entry}
|
85
|
+
OBJECT_HISTORY_OBJECT_TYPE = 53
|
86
|
+
|
82
87
|
#####################################
|
83
88
|
### Attributes
|
84
89
|
#####################################
|
@@ -86,6 +86,11 @@ module JSS
|
|
86
86
|
SmartGroupMobileDeviceMembershipChange
|
87
87
|
).freeze
|
88
88
|
|
89
|
+
# the object type for this object in
|
90
|
+
# the object history table.
|
91
|
+
# See {APIObject#add_object_history_entry}
|
92
|
+
OBJECT_HISTORY_OBJECT_TYPE = 500
|
93
|
+
|
89
94
|
# Attributes
|
90
95
|
###################################
|
91
96
|
|
data/lib/jss/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-jss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.1a2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Lasell
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-10-
|
12
|
+
date: 2017-10-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: plist
|
@@ -205,9 +205,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
205
205
|
version: 1.9.3
|
206
206
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
207
207
|
requirements:
|
208
|
-
- - "
|
208
|
+
- - ">"
|
209
209
|
- !ruby/object:Gem::Version
|
210
|
-
version:
|
210
|
+
version: 1.3.1
|
211
211
|
requirements: []
|
212
212
|
rubyforge_project:
|
213
213
|
rubygems_version: 2.6.8
|