ruby-zoom 4.7.4 → 4.7.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (8) hide show
  1. checksums.yaml +4 -4
  2. data/bin/z +8 -8
  3. data/bin/zc +8 -8
  4. data/bin/zf +8 -8
  5. data/bin/zg +8 -8
  6. data/bin/zl +8 -8
  7. data/bin/zr +8 -8
  8. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6843baed11f9e6b614aaacc38f34fece8a0239fd
4
- data.tar.gz: 59610e3fb8bb0410d35becb87a03c5e77191fea0
3
+ metadata.gz: f50ea2ed4508bd93d9cc8655ec96f81cc904b1db
4
+ data.tar.gz: a035d5e4b80e05b9b2d2a844229cb88c923358b0
5
5
  SHA512:
6
- metadata.gz: a818690796273fc2c7328a0b67a2995f9179f995b338949a108aa51bedf8855ae2e31ee718bbdfef34e415a827c75ad3c1551237ca8c406851718ddad7e29c96
7
- data.tar.gz: b21f8e7d9716d09826bcfdb43359dc0f3037dc30bc172874c99d59781d9cc5d7e4a606752738ddcc4f75e772148c0d179913bb3ae99590794585e5c0ccdf4a36
6
+ metadata.gz: e9e86d4c7d2e90e0e9cf5de79efccc37f124fc2f1009083c88437c7e80d74b7ebd8e9291a6ea60cd049713cdf1e0dfa1c7a34f80219ae8ee2b89901a217ae0d0
7
+ data.tar.gz: 5d1da7f94dbb2936501dbc36b0a4ae26c46532fd41634d2acc477324cce78855616fc202bc5efe6c512f0130d7124f684773bb134d28f1ca9c9e5eb81907af01
data/bin/z CHANGED
@@ -42,8 +42,8 @@ def parse(args)
42
42
  opts.summary_width = 25
43
43
 
44
44
  opts.banner = [
45
- "Usage: #{File.basename($0)} [OPTIONS] [pattern]",
46
- "[path1]...[pathN]"
45
+ "Usage: #{File.basename($0)} [OPTIONS]",
46
+ "[passthru options] [pattern] [path1]...[pathN]"
47
47
  ].join(" ")
48
48
 
49
49
  opts.on("", "DESCRIPTION")
@@ -230,10 +230,10 @@ def parse(args)
230
230
  end
231
231
 
232
232
  paths = Array.new
233
- path = args.delete_at(-1)
234
- while (path && Pathname.new(path).exist?)
235
- paths.push(path)
236
- path = args.delete_at(-1)
233
+ pattern = args.delete_at(-1)
234
+ while (pattern && Pathname.new(pattern).exist?)
235
+ paths.push(pattern)
236
+ pattern = args.delete_at(-1)
237
237
  end
238
238
 
239
239
  if (!paths.empty?)
@@ -243,9 +243,9 @@ def parse(args)
243
243
  end
244
244
 
245
245
  if (options["pattern"])
246
- args.insert(0, path)
246
+ args.push(pattern)
247
247
  else
248
- options["pattern"] = path
248
+ options["pattern"] = pattern
249
249
  end
250
250
  options["pass_args"] = args.join(" ")
251
251
 
data/bin/zc CHANGED
@@ -42,8 +42,8 @@ def parse(args)
42
42
  opts.summary_width = 25
43
43
 
44
44
  opts.banner = [
45
- "Usage: #{File.basename($0)} [OPTIONS] [pattern]",
46
- "[path1]...[pathN]"
45
+ "Usage: #{File.basename($0)} [OPTIONS]",
46
+ "[passthru options] [pattern] [path1]...[pathN]"
47
47
  ].join(" ")
48
48
 
49
49
  opts.on("", "DESCRIPTION")
@@ -230,10 +230,10 @@ def parse(args)
230
230
  end
231
231
 
232
232
  paths = Array.new
233
- path = args.delete_at(-1)
234
- while (path && Pathname.new(path).exist?)
235
- paths.push(path)
236
- path = args.delete_at(-1)
233
+ pattern = args.delete_at(-1)
234
+ while (pattern && Pathname.new(pattern).exist?)
235
+ paths.push(pattern)
236
+ pattern = args.delete_at(-1)
237
237
  end
238
238
 
239
239
  if (!paths.empty?)
@@ -243,9 +243,9 @@ def parse(args)
243
243
  end
244
244
 
245
245
  if (options["pattern"])
246
- args.insert(0, path)
246
+ args.push(pattern)
247
247
  else
248
- options["pattern"] = path
248
+ options["pattern"] = pattern
249
249
  end
250
250
  options["pass_args"] = args.join(" ")
251
251
 
data/bin/zf CHANGED
@@ -42,8 +42,8 @@ def parse(args)
42
42
  opts.summary_width = 25
43
43
 
44
44
  opts.banner = [
45
- "Usage: #{File.basename($0)} [OPTIONS] [pattern]",
46
- "[path1]...[pathN]"
45
+ "Usage: #{File.basename($0)} [OPTIONS]",
46
+ "[passthru options] [pattern] [path1]...[pathN]"
47
47
  ].join(" ")
48
48
 
49
49
  opts.on("", "DESCRIPTION")
@@ -230,10 +230,10 @@ def parse(args)
230
230
  end
231
231
 
232
232
  paths = Array.new
233
- path = args.delete_at(-1)
234
- while (path && Pathname.new(path).exist?)
235
- paths.push(path)
236
- path = args.delete_at(-1)
233
+ pattern = args.delete_at(-1)
234
+ while (pattern && Pathname.new(pattern).exist?)
235
+ paths.push(pattern)
236
+ pattern = args.delete_at(-1)
237
237
  end
238
238
 
239
239
  if (!paths.empty?)
@@ -243,9 +243,9 @@ def parse(args)
243
243
  end
244
244
 
245
245
  if (options["pattern"])
246
- args.insert(0, path)
246
+ args.push(pattern)
247
247
  else
248
- options["pattern"] = path
248
+ options["pattern"] = pattern
249
249
  end
250
250
  options["pass_args"] = args.join(" ")
251
251
 
data/bin/zg CHANGED
@@ -42,8 +42,8 @@ def parse(args)
42
42
  opts.summary_width = 25
43
43
 
44
44
  opts.banner = [
45
- "Usage: #{File.basename($0)} [OPTIONS] [pattern]",
46
- "[path1]...[pathN]"
45
+ "Usage: #{File.basename($0)} [OPTIONS]",
46
+ "[passthru options] [pattern] [path1]...[pathN]"
47
47
  ].join(" ")
48
48
 
49
49
  opts.on("", "DESCRIPTION")
@@ -230,10 +230,10 @@ def parse(args)
230
230
  end
231
231
 
232
232
  paths = Array.new
233
- path = args.delete_at(-1)
234
- while (path && Pathname.new(path).exist?)
235
- paths.push(path)
236
- path = args.delete_at(-1)
233
+ pattern = args.delete_at(-1)
234
+ while (pattern && Pathname.new(pattern).exist?)
235
+ paths.push(pattern)
236
+ pattern = args.delete_at(-1)
237
237
  end
238
238
 
239
239
  if (!paths.empty?)
@@ -243,9 +243,9 @@ def parse(args)
243
243
  end
244
244
 
245
245
  if (options["pattern"])
246
- args.insert(0, path)
246
+ args.push(pattern)
247
247
  else
248
- options["pattern"] = path
248
+ options["pattern"] = pattern
249
249
  end
250
250
  options["pass_args"] = args.join(" ")
251
251
 
data/bin/zl CHANGED
@@ -42,8 +42,8 @@ def parse(args)
42
42
  opts.summary_width = 25
43
43
 
44
44
  opts.banner = [
45
- "Usage: #{File.basename($0)} [OPTIONS] [pattern]",
46
- "[path1]...[pathN]"
45
+ "Usage: #{File.basename($0)} [OPTIONS]",
46
+ "[passthru options] [pattern] [path1]...[pathN]"
47
47
  ].join(" ")
48
48
 
49
49
  opts.on("", "DESCRIPTION")
@@ -230,10 +230,10 @@ def parse(args)
230
230
  end
231
231
 
232
232
  paths = Array.new
233
- path = args.delete_at(-1)
234
- while (path && Pathname.new(path).exist?)
235
- paths.push(path)
236
- path = args.delete_at(-1)
233
+ pattern = args.delete_at(-1)
234
+ while (pattern && Pathname.new(pattern).exist?)
235
+ paths.push(pattern)
236
+ pattern = args.delete_at(-1)
237
237
  end
238
238
 
239
239
  if (!paths.empty?)
@@ -243,9 +243,9 @@ def parse(args)
243
243
  end
244
244
 
245
245
  if (options["pattern"])
246
- args.insert(0, path)
246
+ args.push(pattern)
247
247
  else
248
- options["pattern"] = path
248
+ options["pattern"] = pattern
249
249
  end
250
250
  options["pass_args"] = args.join(" ")
251
251
 
data/bin/zr CHANGED
@@ -42,8 +42,8 @@ def parse(args)
42
42
  opts.summary_width = 25
43
43
 
44
44
  opts.banner = [
45
- "Usage: #{File.basename($0)} [OPTIONS] [pattern]",
46
- "[path1]...[pathN]"
45
+ "Usage: #{File.basename($0)} [OPTIONS]",
46
+ "[passthru options] [pattern] [path1]...[pathN]"
47
47
  ].join(" ")
48
48
 
49
49
  opts.on("", "DESCRIPTION")
@@ -230,10 +230,10 @@ def parse(args)
230
230
  end
231
231
 
232
232
  paths = Array.new
233
- path = args.delete_at(-1)
234
- while (path && Pathname.new(path).exist?)
235
- paths.push(path)
236
- path = args.delete_at(-1)
233
+ pattern = args.delete_at(-1)
234
+ while (pattern && Pathname.new(pattern).exist?)
235
+ paths.push(pattern)
236
+ pattern = args.delete_at(-1)
237
237
  end
238
238
 
239
239
  if (!paths.empty?)
@@ -243,9 +243,9 @@ def parse(args)
243
243
  end
244
244
 
245
245
  if (options["pattern"])
246
- args.insert(0, path)
246
+ args.push(pattern)
247
247
  else
248
- options["pattern"] = path
248
+ options["pattern"] = pattern
249
249
  end
250
250
  options["pass_args"] = args.join(" ")
251
251
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-zoom
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.7.4
4
+ version: 4.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Whittaker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-12 00:00:00.000000000 Z
11
+ date: 2017-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest