dis 1.1.14 → 1.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dis/layer.rb +1 -4
- data/lib/dis/logging.rb +1 -1
- data/lib/dis/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01be14250b0e693d08af2c904da29c44285336a51badd8d546cacb8174f6825e
|
4
|
+
data.tar.gz: 515b5ec19664cbbe29fd33881a9ba64b13f1c9f874d580d3eb4d40c00b24f714
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65d8d59a4016559b04f1c6a68d73effbb41fa6ce945cf6ef7dfee44cfc27f61892f978408dc5a96b9f429386bd642b5a5fc7d87cb82e0179f891bf69711247e3
|
7
|
+
data.tar.gz: 9d4e5092d6a2e2025fc93c5fe459732eecb6e920813c1e4d846a5c3451942dab28b948691e21e6c09d5d6561828e618e1742ac474a5a4f93f1bb5c665aaeb646
|
data/lib/dis/layer.rb
CHANGED
@@ -108,10 +108,7 @@ module Dis
|
|
108
108
|
def existing(type, keys)
|
109
109
|
return [] if keys.empty?
|
110
110
|
|
111
|
-
list =
|
112
|
-
directory(type, keys.first).files.each do |file|
|
113
|
-
list << file.key
|
114
|
-
end
|
111
|
+
list = directory(type, keys.first).files.map(&:key)
|
115
112
|
|
116
113
|
keys.select { |key| list.include?(key_component(type, key)) }
|
117
114
|
end
|
data/lib/dis/logging.rb
CHANGED
@@ -4,7 +4,7 @@ module Dis
|
|
4
4
|
module Logging
|
5
5
|
def debug_log(message, &block)
|
6
6
|
result = nil
|
7
|
-
duration = Benchmark.
|
7
|
+
duration = Benchmark.realtime { result = block.call } * 1000
|
8
8
|
logger.debug(format("[Dis] %<message>s (%<duration>.1fms)",
|
9
9
|
message:,
|
10
10
|
duration:))
|
data/lib/dis/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Inge Jørgensen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog-core
|
@@ -109,14 +109,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
109
109
|
requirements:
|
110
110
|
- - ">="
|
111
111
|
- !ruby/object:Gem::Version
|
112
|
-
version: 3.
|
112
|
+
version: 3.2.0
|
113
113
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
requirements: []
|
119
|
-
rubygems_version: 3.5.
|
119
|
+
rubygems_version: 3.5.17
|
120
120
|
signing_key:
|
121
121
|
specification_version: 4
|
122
122
|
summary: A file store for your Rails app
|