ruby-jss 1.0.3b2 → 1.0.3b3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of ruby-jss might be problematic. Click here for more details.

Files changed (125) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +5 -1
  3. data/README.md +31 -18
  4. data/bin/cgrouper +1 -1
  5. data/bin/jamfHelperBackgrounder +1 -1
  6. data/bin/netseg-update +1 -1
  7. data/data/ruby-jss.conf.example +24 -0
  8. data/lib/jss-api.rb +24 -0
  9. data/lib/jss.rb +1 -2
  10. data/lib/jss/api_connection.rb +7 -9
  11. data/lib/jss/api_object.rb +1 -1
  12. data/lib/jss/api_object/account.rb +1 -1
  13. data/lib/jss/api_object/advanced_search.rb +1 -1
  14. data/lib/jss/api_object/advanced_search/advanced_computer_search.rb +1 -1
  15. data/lib/jss/api_object/advanced_search/advanced_mobile_device_search.rb +1 -1
  16. data/lib/jss/api_object/advanced_search/advanced_user_search.rb +1 -1
  17. data/lib/jss/api_object/building.rb +1 -1
  18. data/lib/jss/api_object/categorizable.rb +1 -1
  19. data/lib/jss/api_object/category.rb +1 -1
  20. data/lib/jss/api_object/computer.rb +1 -1
  21. data/lib/jss/api_object/computer/application_installs.rb +1 -1
  22. data/lib/jss/api_object/computer_invitation.rb +1 -1
  23. data/lib/jss/api_object/configuration_profile.rb +1 -1
  24. data/lib/jss/api_object/configuration_profile/mobile_device_configuration_profile.rb +24 -0
  25. data/lib/jss/api_object/configuration_profile/osx_configuration_profile.rb +1 -1
  26. data/lib/jss/api_object/creatable.rb +1 -1
  27. data/lib/jss/api_object/criteriable.rb +1 -1
  28. data/lib/jss/api_object/criteriable/criteria.rb +1 -1
  29. data/lib/jss/api_object/criteriable/criterion.rb +1 -1
  30. data/lib/jss/api_object/department.rb +1 -1
  31. data/lib/jss/api_object/distribution_point.rb +1 -1
  32. data/lib/jss/api_object/ebook.rb +1 -1
  33. data/lib/jss/api_object/extendable.rb +1 -1
  34. data/lib/jss/api_object/extension_attribute.rb +1 -1
  35. data/lib/jss/api_object/extension_attribute/computer_extension_attribute.rb +1 -1
  36. data/lib/jss/api_object/extension_attribute/mobile_device_extension_attribute.rb +1 -1
  37. data/lib/jss/api_object/extension_attribute/user_extension_attribute.rb +1 -1
  38. data/lib/jss/api_object/group.rb +1 -1
  39. data/lib/jss/api_object/group/computer_group.rb +1 -1
  40. data/lib/jss/api_object/group/mobile_device_group.rb +1 -1
  41. data/lib/jss/api_object/group/user_group.rb +1 -1
  42. data/lib/jss/api_object/ldap_server.rb +1 -1
  43. data/lib/jss/api_object/locatable.rb +1 -1
  44. data/lib/jss/api_object/mac_application.rb +24 -0
  45. data/lib/jss/api_object/management_history.rb +1 -1
  46. data/lib/jss/api_object/management_history/audit_event.rb +24 -0
  47. data/lib/jss/api_object/management_history/casper_imaging_log.rb +24 -0
  48. data/lib/jss/api_object/management_history/casper_remote_log.rb +24 -0
  49. data/lib/jss/api_object/management_history/computer_usage_log.rb +24 -0
  50. data/lib/jss/api_object/management_history/ebook.rb +25 -0
  51. data/lib/jss/api_object/management_history/hashlike.rb +24 -0
  52. data/lib/jss/api_object/management_history/mac_app_store_app.rb +24 -0
  53. data/lib/jss/api_object/management_history/mdm_command.rb +24 -0
  54. data/lib/jss/api_object/management_history/mobile_device_app.rb +24 -0
  55. data/lib/jss/api_object/management_history/policy_log.rb +24 -0
  56. data/lib/jss/api_object/management_history/screen_sharing_log.rb +24 -0
  57. data/lib/jss/api_object/management_history/user_location_change.rb +24 -0
  58. data/lib/jss/api_object/matchable.rb +1 -1
  59. data/lib/jss/api_object/mdm.rb +1 -1
  60. data/lib/jss/api_object/mobile_device.rb +1 -1
  61. data/lib/jss/api_object/mobile_device_application.rb +1 -1
  62. data/lib/jss/api_object/netboot_server.rb +1 -1
  63. data/lib/jss/api_object/network_segment.rb +1 -1
  64. data/lib/jss/api_object/package.rb +1 -1
  65. data/lib/jss/api_object/patch_policy.rb +1 -1
  66. data/lib/jss/api_object/patch_source.rb +1 -1
  67. data/lib/jss/api_object/patch_source/patch_external_source.rb +1 -1
  68. data/lib/jss/api_object/patch_source/patch_internal_source.rb +1 -1
  69. data/lib/jss/api_object/patch_title.rb +1 -1
  70. data/lib/jss/api_object/patch_title/version.rb +1 -1
  71. data/lib/jss/api_object/peripheral.rb +1 -1
  72. data/lib/jss/api_object/peripheral_type.rb +1 -1
  73. data/lib/jss/api_object/policy.rb +1 -1
  74. data/lib/jss/api_object/purchasable.rb +1 -1
  75. data/lib/jss/api_object/removable_macaddr.rb +1 -1
  76. data/lib/jss/api_object/restricted_software.rb +24 -0
  77. data/lib/jss/api_object/scopable.rb +1 -1
  78. data/lib/jss/api_object/scopable/scope.rb +169 -155
  79. data/lib/jss/api_object/script.rb +1 -1
  80. data/lib/jss/api_object/self_servable.rb +1 -1
  81. data/lib/jss/api_object/self_servable/icon.rb +1 -1
  82. data/lib/jss/api_object/sitable.rb +1 -1
  83. data/lib/jss/api_object/site.rb +1 -1
  84. data/lib/jss/api_object/software_update_server.rb +1 -1
  85. data/lib/jss/api_object/updatable.rb +1 -1
  86. data/lib/jss/api_object/uploadable.rb +1 -1
  87. data/lib/jss/api_object/user.rb +1 -1
  88. data/lib/jss/api_object/vppable.rb +1 -1
  89. data/lib/jss/api_object/webhook.rb +1 -1
  90. data/lib/jss/client.rb +1 -1
  91. data/lib/jss/client/jamf_binary.rb +1 -1
  92. data/lib/jss/client/jamf_helper.rb +1 -1
  93. data/lib/jss/client/management_action.rb +1 -1
  94. data/lib/jss/compatibility.rb +1 -1
  95. data/lib/jss/composer.rb +1 -1
  96. data/lib/jss/configuration.rb +1 -1
  97. data/lib/jss/db_connection.rb +1 -1
  98. data/lib/jss/exceptions.rb +1 -1
  99. data/lib/jss/ruby_extensions.rb +1 -1
  100. data/lib/jss/ruby_extensions/array.rb +1 -1
  101. data/lib/jss/ruby_extensions/filetest.rb +1 -1
  102. data/lib/jss/ruby_extensions/hash.rb +1 -1
  103. data/lib/jss/ruby_extensions/ipaddr.rb +1 -1
  104. data/lib/jss/ruby_extensions/pathname.rb +1 -1
  105. data/lib/jss/ruby_extensions/string.rb +1 -1
  106. data/lib/jss/ruby_extensions/time.rb +1 -1
  107. data/lib/jss/server.rb +1 -1
  108. data/lib/jss/utility.rb +1 -1
  109. data/lib/jss/validate.rb +1 -1
  110. data/lib/jss/version.rb +2 -2
  111. data/lib/jss/xml_workaround.rb +1 -1
  112. data/lib/ruby-jss.rb +24 -0
  113. data/test/bin/runtests +1 -1
  114. data/test/lib/testhelper.rb +1 -1
  115. data/test/lib/testhelper/auth.rb +1 -1
  116. data/test/lib/testhelper/patch_mgmt.rb +1 -1
  117. data/test/specs/api_connection_spec.rb +1 -1
  118. data/test/specs/patch01_source_spec.rb +1 -1
  119. data/test/specs/patch02_internal_source_spec.rb +1 -1
  120. data/test/specs/patch03_external_source_spec.rb +1 -1
  121. data/test/specs/patch04_titles_spec.rb +1 -1
  122. data/test/specs/patch05_policies_spec.rb +1 -1
  123. data/test/specs/patch06_cleanup_spec.rb +1 -1
  124. data/test/specs/policy_spec.rb +1 -1
  125. metadata +2 -2
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,5 +1,5 @@
1
1
 
2
- ### Copyright 2018 Pixar
2
+ ### Copyright 2019 Pixar
3
3
 
4
4
  ###
5
5
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- # Copyright 2018 Pixar
1
+ # Copyright 2019 Pixar
2
2
 
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- # Copyright 2018 Pixar
1
+ # Copyright 2019 Pixar
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "Apache License")
4
4
  # with the following modification; you may not use this file except in
data/lib/jss/client.rb CHANGED
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
data/lib/jss/composer.rb CHANGED
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- # Copyright 2018 Pixar
1
+ # Copyright 2019 Pixar
2
2
 
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- # Copyright 2018 Pixar
1
+ # Copyright 2019 Pixar
2
2
 
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- # Copyright 2018 Pixar
1
+ # Copyright 2019 Pixar
2
2
 
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
data/lib/jss/server.rb CHANGED
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
data/lib/jss/utility.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright 2018 Pixar
1
+ # Copyright 2019 Pixar
2
2
 
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "Apache License")
data/lib/jss/validate.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright 2018 Pixar
1
+ # Copyright 2019 Pixar
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "Apache License")
4
4
  # with the following modification; you may not use this file except in
data/lib/jss/version.rb CHANGED
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -27,6 +27,6 @@
27
27
  module JSS
28
28
 
29
29
  ### The version of the JSS ruby gem
30
- VERSION = '1.0.3b2'.freeze
30
+ VERSION = '1.0.3b3'.freeze
31
31
 
32
32
  end # module
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
data/lib/ruby-jss.rb CHANGED
@@ -1,2 +1,26 @@
1
+ ### Copyright 2019 Pixar
2
+
3
+ ###
4
+ ### Licensed under the Apache License, Version 2.0 (the "Apache License")
5
+ ### with the following modification; you may not use this file except in
6
+ ### compliance with the Apache License and the following modification to it:
7
+ ### Section 6. Trademarks. is deleted and replaced with:
8
+ ###
9
+ ### 6. Trademarks. This License does not grant permission to use the trade
10
+ ### names, trademarks, service marks, or product names of the Licensor
11
+ ### and its affiliates, except as required to comply with Section 4(c) of
12
+ ### the License and to reproduce the content of the NOTICE file.
13
+ ###
14
+ ### You may obtain a copy of the Apache License at
15
+ ###
16
+ ### http://www.apache.org/licenses/LICENSE-2.0
17
+ ###
18
+ ### Unless required by applicable law or agreed to in writing, software
19
+ ### distributed under the Apache License with the above modification is
20
+ ### distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
21
+ ### KIND, either express or implied. See the Apache License for the specific
22
+ ### language governing permissions and limitations under the Apache License.
23
+ ###
24
+
1
25
  # for those who require the gem name
2
26
  require 'jss'
data/test/bin/runtests CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/ruby
2
2
 
3
- ### Copyright 2018 Pixar
3
+ ### Copyright 2019 Pixar
4
4
 
5
5
  ###
6
6
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
@@ -1,4 +1,4 @@
1
- ### Copyright 2018 Pixar
1
+ ### Copyright 2019 Pixar
2
2
 
3
3
  ###
4
4
  ### Licensed under the Apache License, Version 2.0 (the "Apache License")
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: 1.0.3b2
4
+ version: 1.0.3b3
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: 2019-02-05 00:00:00.000000000 Z
12
+ date: 2019-03-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: plist