dapp 0.31.15 → 0.31.16
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/dimg/git_artifact.rb +6 -11
- data/lib/dapp/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 006840d395cb3bbe50c14ed013d13900d248b792a47a736225c4c76cad7cbf89
|
|
4
|
+
data.tar.gz: b2b562cd536848897deb0a4a5ee5e52dd39eac404f69a2446137d50354624489
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4fafadbb602e99b7a0d3bafb6f01baa5735e244326d113fce719da93f092b33e787581f8844fe3c81b44dc397fba9d0b4b02a7ea5fb809834b106dafcbd2bf42
|
|
7
|
+
data.tar.gz: babf779c57652dfc0e1b632e093674b555520fb4b9ced2ff9131ea65045db4f666a3e60a22b48c4c3e168bab7d87989c97790c0097f524540af5f56761bd8e9d
|
|
@@ -108,7 +108,7 @@ module Dapp
|
|
|
108
108
|
options[:owner] = owner
|
|
109
109
|
options[:group] = group
|
|
110
110
|
|
|
111
|
-
options[:ignore_signature_auto_calculation]
|
|
111
|
+
options[:ignore_signature_auto_calculation]= ignore_signature_auto_calculation
|
|
112
112
|
end
|
|
113
113
|
end
|
|
114
114
|
|
|
@@ -130,20 +130,15 @@ module Dapp
|
|
|
130
130
|
test_path = [test_path, current_path_part].compact.join('/')
|
|
131
131
|
|
|
132
132
|
match = File.fnmatch(test_path, embedded_rel_path, File::FNM_PATHNAME|File::FNM_DOTMATCH)
|
|
133
|
-
break unless match ||
|
|
134
|
-
File.fnmatch(File.join(test_path, '**'), embedded_rel_path, File::FNM_PATHNAME|File::FNM_DOTMATCH) ||
|
|
135
|
-
check_subpath?(test_path, embedded_rel_path)
|
|
133
|
+
break unless match || File.fnmatch(File.join(test_path, '**'), embedded_rel_path, File::FNM_PATHNAME|File::FNM_DOTMATCH)
|
|
136
134
|
|
|
137
135
|
any = (current_path_part == '**')
|
|
138
136
|
|
|
139
137
|
if any
|
|
140
138
|
inherited_paths << [current_path_part, path_parts].flatten.join('/')
|
|
141
139
|
inherited_paths << path_parts.join('/') unless path_parts.empty?
|
|
142
|
-
elsif match
|
|
143
|
-
inherited_paths << path_parts.join('/')
|
|
144
|
-
break
|
|
145
|
-
elsif path_parts.empty?
|
|
146
|
-
inherited_paths << '**'
|
|
140
|
+
elsif match
|
|
141
|
+
inherited_paths << (path_parts.empty? ? '**' : path_parts.join('/'))
|
|
147
142
|
break
|
|
148
143
|
end
|
|
149
144
|
end
|
|
@@ -310,9 +305,9 @@ module Dapp
|
|
|
310
305
|
else
|
|
311
306
|
repo.head_commit
|
|
312
307
|
end
|
|
308
|
+
end.tap do |c|
|
|
309
|
+
repo.dapp.log_info("Repository `#{repo.name}`: latest commit `#{c}` to `#{to}`") unless ignore_signature_auto_calculation
|
|
313
310
|
end
|
|
314
|
-
end.tap do |c|
|
|
315
|
-
repo.dapp.log_info("Repository `#{repo.name}`: latest commit `#{c}` to `#{to}`") unless ignore_signature_auto_calculation
|
|
316
311
|
end
|
|
317
312
|
end
|
|
318
313
|
|
data/lib/dapp/version.rb
CHANGED