ruby-jss 1.5.2 → 1.5.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.
- checksums.yaml +4 -4
- data/CHANGES.md +6 -0
- data/lib/jss/api_connection.rb +2 -0
- data/lib/jss/api_object/policy.rb +1 -1
- data/lib/jss/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5149851702056e5500ec5e13624a91c78510fceb3b3fa0545aac69f756adb984
|
|
4
|
+
data.tar.gz: 42c5312c401d7b1e626f5c97c9697a0ec9cf5070be310301e307e5b83f8c4cc1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '09b9e201339f62871c2eb74e78cf5d3674997b0d984eb1d537431be60efcbe83a82e383b88873d306d2a89e1a6fc3259c0b1e9fcbda1323caac48198510f6e1a'
|
|
7
|
+
data.tar.gz: bb07643c17c47532bb3469853ea0d0eb317e5e97bcbcf8ed07b44d7f9b6e7ce794a4f20154e2f2e4986ba4291576bb52ec0c645a180fb5c98d1b3443b5588317
|
data/CHANGES.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## \[1.5.3] - 2020-12-28
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Classic API connections were not setting their default timeouts properly when first connected. This was causing an error in Policy#flush_logs
|
|
12
|
+
|
|
7
13
|
## \[1.5.2] - 2020-12-21
|
|
8
14
|
|
|
9
15
|
### Added
|
data/lib/jss/api_connection.rb
CHANGED
|
@@ -329,7 +329,7 @@ module JSS
|
|
|
329
329
|
computers = [computers] unless computers.is_a? Array
|
|
330
330
|
|
|
331
331
|
# log flushes can be really slow
|
|
332
|
-
api.timeout = 1800 unless orig_timeout > 1800
|
|
332
|
+
api.timeout = 1800 unless orig_timeout && orig_timeout > 1800
|
|
333
333
|
|
|
334
334
|
return api.delete_rsrc "#{LOG_FLUSH_RSRC}/policy/id/#{pol_id}/interval/#{older_than}+#{period}" if computers.empty?
|
|
335
335
|
|
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: 1.5.
|
|
4
|
+
version: 1.5.3
|
|
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: 2020-12-
|
|
12
|
+
date: 2020-12-28 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: plist
|