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.
- checksums.yaml +4 -4
- data/bin/dyn-rebase-url +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbb6fee9fd8763baddb05232c91681f83da007607e61c827b1df68023da59c17
|
4
|
+
data.tar.gz: 2df0d8e67b5393d1904b78f5565d01b4ae0ff6ec0ba894fdbc3d2e76eea6e482
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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[:
|
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.
|
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
|
+
date: 2021-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: R4rb
|