itgwiki_mirror 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/itgwiki_mirror_backup +1 -1
- metadata +3 -3
data/bin/itgwiki_mirror_backup
CHANGED
|
@@ -40,7 +40,7 @@ end.parse!
|
|
|
40
40
|
# set user, host, port, and mirror target path from ARGV (port is optional)
|
|
41
41
|
#
|
|
42
42
|
begin
|
|
43
|
-
options[:user] = /^(.+)
|
|
43
|
+
options[:user] = /^(.+)@/.match(ARGV[0])[1]
|
|
44
44
|
options[:host] = /@([^:]+)/.match(ARGV[0])[1]
|
|
45
45
|
options[:port] = /:(\d+)/.match(ARGV[0])[1].to_i if /:.*:/.match ARGV[0]
|
|
46
46
|
options[:rsync] = /:([^:]+$)/.match(ARGV[0])[1]
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: itgwiki_mirror
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 31
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 1.0.
|
|
9
|
+
- 4
|
|
10
|
+
version: 1.0.4
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Justin Force
|