depot3 3.0.14 → 3.0.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 16ccf3f7c58877a4d5cab64e36ec412aba7f4b04
4
- data.tar.gz: 96f9128b249fb8fa2c1ca7a2bb6b67a2cd014bc9
3
+ metadata.gz: 0e483eb6fd0aae3cf4d824414f9cf8c1e7d78bec
4
+ data.tar.gz: 2dc642d46f5adc58ca5b6c980492ba71e8b3d93e
5
5
  SHA512:
6
- metadata.gz: 75c17b5a895ea1efa62a09458bb88cdbb89d50d66d312c3eae253f7f2de6f0cb2233b5ba36230812c9d061ac8bd1277265bcd92b13edcd04c69920a5df433927
7
- data.tar.gz: 4ddec6877a7b22eb2edf09fb2f65a396365ce02a4560d78412a26c2a66b3847946f40ddb93de012eaeb48bb00929bf2bd75a98d0e0cde8873f71dd26504dd909
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 singulare 'prohibiting_process' are now handled and updated to the plural 'prohibiting_processes'
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
 
@@ -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 this
1127
- # expiration path, and append it to all_usages
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
@@ -25,5 +25,5 @@
25
25
 
26
26
  ###
27
27
  module D3
28
- VERSION = '3.0.14'.freeze
28
+ VERSION = '3.0.15'.freeze
29
29
  end # module
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.14
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: 2016-12-08 00:00:00.000000000 Z
11
+ date: 2017-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-keychain