ruby-jss 0.6.4 → 0.6.5

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.

@@ -94,7 +94,7 @@ module JSS
94
94
  raise JSS::InvalidDataError, "Names can't be empty!" if newname.to_s.empty?
95
95
  raise JSS::AlreadyExistsError, "A #{self.class::RSRC_OBJECT_KEY} named '#{newname}' already exsists in the JSS" if self.class.all_names(:refresh).include? newname
96
96
  @name = newname
97
- @rest_rsrc = "#{self.class::RSRC_BASE}/name/#{URI.escape @name}" if @rest_rsrc.include? '/name/'
97
+ @rest_rsrc = "#{self.class::RSRC_BASE}/name/#{CGI.escape @name}" if @rest_rsrc.include? '/name/'
98
98
  @need_to_update = true
99
99
  end # name=(newname)
100
100
 
data/lib/jss/client.rb CHANGED
@@ -489,7 +489,7 @@ module JSS
489
489
  args << opts[opt].to_s
490
490
 
491
491
  when :lock_hud
492
- args << " -lockHUD "
492
+ args << "-lockHUD"
493
493
  end # case opt
494
494
  end # each do opt
495
495
 
data/lib/jss/version.rb CHANGED
@@ -26,6 +26,6 @@
26
26
  module JSS
27
27
 
28
28
  ### The version of the JSS ruby gem
29
- VERSION = '0.6.4'
29
+ VERSION = '0.6.5'
30
30
 
31
31
  end # module
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-jss
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.4
4
+ version: 0.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Lasell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-01 00:00:00.000000000 Z
11
+ date: 2016-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: plist
@@ -107,6 +107,7 @@ files:
107
107
  - lib/jss.rb
108
108
  - lib/jss/api_connection.rb
109
109
  - lib/jss/api_object.rb
110
+ - lib/jss/api_object/account.rb
110
111
  - lib/jss/api_object/advanced_search.rb
111
112
  - lib/jss/api_object/advanced_search/advanced_computer_search.rb
112
113
  - lib/jss/api_object/advanced_search/advanced_mobile_device_search.rb
@@ -114,6 +115,7 @@ files:
114
115
  - lib/jss/api_object/building.rb
115
116
  - lib/jss/api_object/category.rb
116
117
  - lib/jss/api_object/computer.rb
118
+ - lib/jss/api_object/computer_invitation.rb
117
119
  - lib/jss/api_object/creatable.rb
118
120
  - lib/jss/api_object/criteriable.rb
119
121
  - lib/jss/api_object/criteriable/criteria.rb
@@ -142,6 +144,7 @@ files:
142
144
  - lib/jss/api_object/policy.rb
143
145
  - lib/jss/api_object/purchasable.rb
144
146
  - lib/jss/api_object/removable_macaddr.rb
147
+ - lib/jss/api_object/restricted_software.rb
145
148
  - lib/jss/api_object/scopable.rb
146
149
  - lib/jss/api_object/scopable/scope.rb
147
150
  - lib/jss/api_object/script.rb