dapp 0.31.15 → 0.31.16

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
  SHA256:
3
- metadata.gz: 7c8038323b15eae4d8ca002fe75314d1ec15c6399af305442e7d8a163a981013
4
- data.tar.gz: f22e2c78582d721b9b1aec1d1db953d3188c49eaea75d7de6183eccdc24028a6
3
+ metadata.gz: 006840d395cb3bbe50c14ed013d13900d248b792a47a736225c4c76cad7cbf89
4
+ data.tar.gz: b2b562cd536848897deb0a4a5ee5e52dd39eac404f69a2446137d50354624489
5
5
  SHA512:
6
- metadata.gz: 5cbdef16dd8859b9b1df96a5b5edb62d561f039515366508ec3ae6e2c333b811ab0e08eda0cb6ed6cb675f30f51485cae754c84dc13f7ca7828ec3ae7e53efbd
7
- data.tar.gz: eca193fd863de5c8386656c13bcf44f1d5b8c3dc81617c0f8e8fe35621160ba9c96d5eb18514300085c749af127ab4ca4533ba577f2339c6fe5621f314f28f61
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] = 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 && !path_parts.empty?
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
 
@@ -1,4 +1,4 @@
1
1
  module Dapp
2
- VERSION = "0.31.15"
2
+ VERSION = "0.31.16"
3
3
  BUILD_CACHE_VERSION = 30
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.15
4
+ version: 0.31.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Stolyarov