rbbt-util 5.26.80 → 5.26.81

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/share/rbbt_commands/migrate +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52f1d059287a3fcad30337313696c9ee8f8cb3d61c84d1d7ea0fb66fed58fa16
4
- data.tar.gz: f6eec6728c3cc73c23478adc03a22c4d4cb48b5cd2d8a8d77975c24285bb715a
3
+ metadata.gz: 1475ddc755e69f8ef8b3cdf626c72dfce423dd5f166fd0067e0bbc77d3a67e98
4
+ data.tar.gz: e5536d6a4cab451bfdc9fb4127ba594cc0bd40be100deb6912b6b4020bb06ef4
5
5
  SHA512:
6
- metadata.gz: 1629f81fceb586c66a0eafb53a8f4153f7af95e3ed2a1f09f1e366b53ee7016eea8d263aae3277be57f5dac696a5219b37e4dd1da650f021e2d4fbab566c7f18
7
- data.tar.gz: 8906111ee81b56ed3fecfa82f33b098c46bc978017307fe2b64d4ba96f547d14f41bb57beb5abf79be5cff3c201057ec0c3834045201f9e7bf4a5da7b5c006df
6
+ metadata.gz: 15f691a27a31afbe4e6a13474ba0008ccdabddb5cd841269f460909da9e8fcb2a25641f1c6015feada6a2388ec98391741552b1214e64c803d41383307f5dfe3
7
+ data.tar.gz: 2d242e123197d43685edccb127f059f63336c89b64752021caf3ab604134273d79e6805be705cdafc6d84ff5e1802300ac27ac669c905f2c417b86807302698c
@@ -50,7 +50,7 @@ if File.exists?(path)
50
50
  else
51
51
  path = Path.setup(path)
52
52
  end
53
- puts path.glob_all * "\n"
53
+ puts path.glob_all.collect{|p| File.directory?(p) ? p + "/" : p } * "\n"
54
54
  EOF
55
55
  [path, paths.collect{|p| [options[:source], p] * ":"}]
56
56
  else
@@ -77,7 +77,7 @@ puts resource[path].find(search_path)
77
77
  real_paths.each do |source|
78
78
 
79
79
 
80
- if File.directory?(source)
80
+ if File.directory?(source) || source =~ /\/$/
81
81
  source += "/" unless source[-1] == "/"
82
82
  target += "/" unless target[-1] == "/"
83
83
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbbt-util
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.26.80
4
+ version: 5.26.81
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez