dapp 0.21.7 → 0.21.8
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/lib/dapp/cli/command/update.rb +1 -1
- data/lib/dapp/dimg/git_repo/base.rb +5 -2
- data/lib/dapp/kube/dapp/command/render.rb +2 -2
- data/lib/dapp/version.rb +2 -2
- 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: 12baeedb09a5741d58e9ec84a38dde2baf68eb7a0eba62f769a7e2770cd7783d
|
4
|
+
data.tar.gz: fe53f1c9441819bd66a6f91b90b75a70a4b954a3972de1d82a03907354283b4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80184a1a145137345d7113c4f3dfa82b37b20538bbcbeca5f8ee5242021839a964426e04fa479bcb1a42c661776e2612730ff28b438a00cf51fa7177d09d093a
|
7
|
+
data.tar.gz: 8d4da9752f7f4f80c93a6f6b2c5e416fbdacb852bf26af50eb47a5e72f357389679df254bfb4fb3395acea9bd6fbe3dec4728986868ff8bb444ae3db1a97a671
|
@@ -4,7 +4,7 @@ module Dapp
|
|
4
4
|
class Update < ::Dapp::CLI
|
5
5
|
def run(_argv)
|
6
6
|
spec = Gem::Specification.find do |s|
|
7
|
-
File.fnmatch(File.join(s.full_gem_path, '*'), __FILE__)
|
7
|
+
File.fnmatch?(File.join(s.full_gem_path, '**', '*'), __FILE__, File::FNM_PATHNAME)
|
8
8
|
end
|
9
9
|
unless (latest_version = latest_beta_version(spec)).nil?
|
10
10
|
try_lock do
|
@@ -134,7 +134,10 @@ module Dapp
|
|
134
134
|
is_exclude_path = exclude_paths.any? { |p| check_path?(path, p) }
|
135
135
|
is_include_path = begin
|
136
136
|
paths.empty? ||
|
137
|
-
|
137
|
+
paths.any? do |p|
|
138
|
+
File.fnmatch?(p, path, File::FNM_PATHNAME) ||
|
139
|
+
File.fnmatch?(File.join(p, '**', '*'), path, File::FNM_PATHNAME)
|
140
|
+
end
|
138
141
|
end
|
139
142
|
|
140
143
|
is_exclude_path || !is_include_path
|
@@ -146,7 +149,7 @@ module Dapp
|
|
146
149
|
|
147
150
|
until path_parts.empty?
|
148
151
|
checking_path = [checking_path, path_parts.shift].compact.join('/')
|
149
|
-
return true if File.fnmatch(format, checking_path)
|
152
|
+
return true if File.fnmatch?(format, checking_path, File::FNM_PATHNAME)
|
150
153
|
end
|
151
154
|
false
|
152
155
|
end
|
@@ -13,8 +13,8 @@ module Dapp
|
|
13
13
|
template_relative_path_pattern = Pathname(File.expand_path(template_path_pattern)).subpath_of(path('.helm'))
|
14
14
|
template_relative_path_pattern ||= template_path_pattern
|
15
15
|
|
16
|
-
File.fnmatch(template_relative_path_pattern, template_path_without_chart_name) ||
|
17
|
-
File.fnmatch(template_relative_path_pattern, template_path)
|
16
|
+
File.fnmatch?(template_relative_path_pattern, template_path_without_chart_name, File::FNM_PATHNAME) ||
|
17
|
+
File.fnmatch?(template_relative_path_pattern, template_path, File::FNM_PATHNAME)
|
18
18
|
end
|
19
19
|
end
|
20
20
|
else
|
data/lib/dapp/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dapp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.21.
|
4
|
+
version: 0.21.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitry Stolyarov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mixlib-shellout
|