depot3 3.0.14 → 3.0.15
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 +4 -1
- data/lib/d3/client/receipt.rb +3 -3
- data/lib/d3/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0e483eb6fd0aae3cf4d824414f9cf8c1e7d78bec
|
|
4
|
+
data.tar.gz: 2dc642d46f5adc58ca5b6c980492ba71e8b3d93e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a7b6a499e95d949397c4091b1314a7321c84054cf69d7ee60eda10a02feef3740dd5e02038fb99cf5e5c5b938924b410f1323ec02d29071963019ddac924ae2a
|
|
7
|
+
data.tar.gz: c98a7abc85aded9092ad66cb7657deba7b18bf665e4b182eaa88e99fa47919a1d7123d0e08d9a0bed109ebec492bfafdb88ed948617066fb2022faa27a0f6d55
|
data/CHANGES.md
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
# Change History
|
|
2
2
|
|
|
3
|
+
## v3.0.14 - 2017-02-28
|
|
4
|
+
- Bugfix: now correctly finds the most recent timestamp for an expiration path coming to the foreground
|
|
5
|
+
|
|
3
6
|
## v3.0.14 - 2016-12-08
|
|
4
7
|
|
|
5
|
-
- Bugfix: Stored receipts with the
|
|
8
|
+
- Bugfix: Stored receipts with the singular 'prohibiting_process' are now handled and updated to the plural 'prohibiting_processes'
|
|
6
9
|
|
|
7
10
|
## v3.0.13 - 2016-12-07
|
|
8
11
|
|
data/lib/d3/client/receipt.rb
CHANGED
|
@@ -1123,14 +1123,14 @@ Last brought to foreground: #{last_usage_display}
|
|
|
1123
1123
|
return nil
|
|
1124
1124
|
end
|
|
1125
1125
|
|
|
1126
|
-
# loop through the plists, get the newest usage time for
|
|
1127
|
-
# expiration
|
|
1126
|
+
# loop through the plists, get the newest usage time for any
|
|
1127
|
+
# expiration paths, and append it to all_usages
|
|
1128
1128
|
all_usages = []
|
|
1129
1129
|
plists.each do |plist|
|
|
1130
1130
|
usage_times = D3.parse_plist plist
|
|
1131
1131
|
my_usage_keys = usage_times.keys.map{|p| Pathname.new(p)}
|
|
1132
1132
|
exp_paths_with_usage = @expiration_paths & my_usage_keys
|
|
1133
|
-
exp_paths_with_usage.each{|p| all_usages << usage_times[p] }
|
|
1133
|
+
exp_paths_with_usage.each{|p| all_usages << usage_times[p.to_s] }
|
|
1134
1134
|
end # do plist
|
|
1135
1135
|
|
|
1136
1136
|
@last_usage = all_usages.compact.max
|
data/lib/d3/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: depot3
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.15
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Lasell
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-02-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ruby-keychain
|