dyndoc-ruby 1.4.6 → 1.4.7

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/bin/dyn-rebase-url +3 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8ca881ea3393dc076e5e9c0906d7b1b6ada9e7e137ed7b51c6e2747d87e0eab5
4
- data.tar.gz: 0d70c629074f76cffc709ead2f8672676f5f301c63addca578307ed7656ddca0
3
+ metadata.gz: bbb6fee9fd8763baddb05232c91681f83da007607e61c827b1df68023da59c17
4
+ data.tar.gz: 2df0d8e67b5393d1904b78f5565d01b4ae0ff6ec0ba894fdbc3d2e76eea6e482
5
5
  SHA512:
6
- metadata.gz: 057d227514732b85c02080275d55fae7c1523c93df7e397ba6d559709cbdce21e17c46770fbf4a3370fb78e76ec6ab710fbaddb9d903031f41cc444340833751
7
- data.tar.gz: 6f0723b13c1f65ca9fd028b18c05d312a9f0459c571ab191a6c8043059f5c3b88b176bffff10eb7a28f7c93f4f1e4823b835f9b5c6ae0518555ac48212204044
6
+ metadata.gz: 49c984dc6000558a481084c4656626fe812cb25af73c9aa72d5344cbc883ea3483d5fc8b4e2d2254315bf042aeaf91181c6d7dc51a547be3e49fca0bc13b6bdc
7
+ data.tar.gz: 5b6b70d9673737187d929a65a4cf2e4f6ae616d001bc019025cd15721474a07928af944dfd8a4893b6dfedf928e5d3882aa651ba5716f2d92dfba06c815c58cc
data/bin/dyn-rebase-url CHANGED
@@ -9,7 +9,7 @@ while ["--dir","--mode","--from","--to","--help","--ext"].include? ARGV[cur]
9
9
  ##p [:cur,ARGV[cur]]
10
10
  case ARGV[cur]
11
11
  when "--dir","--help"
12
- opts[ARGV[cur].to_sym]=true
12
+ opts[ARGV[cur][2..-1].to_sym]=true
13
13
  cur += 1
14
14
  when "--mode"
15
15
  opts[:mode]==ARGV[cur+1].to_sym if ["default","href"].include? ARGV[cur+1]
@@ -18,7 +18,7 @@ while ["--dir","--mode","--from","--to","--help","--ext"].include? ARGV[cur]
18
18
  opts[ARGV[cur][2..-1].to_sym]=ARGV[cur+1]
19
19
  cur += 2
20
20
  when "--ext"
21
- opts[ARGV[cur].to_sym]=ARGV[cur+1]
21
+ opts[ARGV[cur][2..-1].to_sym]=ARGV[cur+1]
22
22
  cur += 2
23
23
  end
24
24
  end
@@ -29,7 +29,7 @@ if opts[:help]
29
29
  puts "rebase_url [--dir] [--from <from_path>] [--to <to_path>] [--ext <extension>] file"
30
30
  else
31
31
  ext=opts[:ext] ? "."+opts[:ext] : ""
32
- files=opts[:"--dir"] ? Dir[File.join(file,"*"+ext)] : [file]
32
+ files=opts[:dir] ? Dir[File.join(file,"*"+ext)] : [file]
33
33
  ##p files
34
34
  ##p opts
35
35
  files.each do |filename|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dyndoc-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.6
4
+ version: 1.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - RCqls
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-11 00:00:00.000000000 Z
11
+ date: 2021-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: R4rb