effuse 1.1.0 → 1.1.1
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.
- checksums.yaml +7 -0
- data/ChangeLog.md +4 -0
- data/bin/effuse +5 -5
- data/effuse.gemspec +1 -1
- metadata +7 -9
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 9af763c78ab8f6214154acfccb9ac9ae84597af4
|
|
4
|
+
data.tar.gz: a1688e2e82a8cccad953594be015bf5717a3097e
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 0aa2d3fd247e8e99bfe7b878415936545bcf9ebeec5d03a457745ddc071f9ff197e818c5f4a0989933080547f7c493ce0570e0599c8e01d399aa2369d7b7fbe1
|
|
7
|
+
data.tar.gz: 224a780aac1d07a85f92a4171d7a58a93a1ce0bb58571eca22c5d165679a49e6389b196f38810858a7f6b7a8f259d0322702ca4e5dd8a0ec358de19d8b78e705
|
data/ChangeLog.md
CHANGED
data/bin/effuse
CHANGED
|
@@ -12,7 +12,7 @@ options = OpenStruct.new(:verbose => false,
|
|
|
12
12
|
:exclude => %w[.effuseignore .git .gitignore .gitmodules *~ .*~ .*.swp])
|
|
13
13
|
|
|
14
14
|
if File.exist?('.effuseignore')
|
|
15
|
-
File.open('.effuseignore').
|
|
15
|
+
File.open('.effuseignore').each_line do |line|
|
|
16
16
|
options.exclude << line.chomp
|
|
17
17
|
end
|
|
18
18
|
end
|
|
@@ -37,7 +37,7 @@ OptionParser.new do |o|
|
|
|
37
37
|
o.separator ''
|
|
38
38
|
|
|
39
39
|
o.on('-y', '--noconfirm CHOICE', 'Assume CHOICE on file conflicts') do |choice|
|
|
40
|
-
options.noconfirm = choice.downcase[0]
|
|
40
|
+
options.noconfirm = choice.downcase[0]
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
o.on('-n', '--no-backup', 'Do not create backup files') do
|
|
@@ -62,7 +62,7 @@ OptionParser.new do |o|
|
|
|
62
62
|
end
|
|
63
63
|
end.parse!
|
|
64
64
|
|
|
65
|
-
dest_dir = ARGV[0] ||
|
|
65
|
+
dest_dir = ARGV[0] || Dir.home
|
|
66
66
|
|
|
67
67
|
if File.identical?(dest_dir, '.')
|
|
68
68
|
puts 'error: destination directory is current directory'
|
|
@@ -93,7 +93,7 @@ dirs.each do |dir|
|
|
|
93
93
|
puts "found #{file}" if options.verbose
|
|
94
94
|
relpath = file.split('/')[1..-1]
|
|
95
95
|
dest = File.join([dest_dir, options.prefix + relpath[0]] + relpath[1..-1])
|
|
96
|
-
files[File.
|
|
96
|
+
files[File.absolute_path(file)] = dest
|
|
97
97
|
end
|
|
98
98
|
end
|
|
99
99
|
|
|
@@ -123,7 +123,7 @@ else
|
|
|
123
123
|
puts " [k] Keep original file"
|
|
124
124
|
|
|
125
125
|
loop do
|
|
126
|
-
input = gets.chomp.downcase[0]
|
|
126
|
+
input = gets.chomp.downcase[0] || 'r'
|
|
127
127
|
break if 'rik'.include?(input)
|
|
128
128
|
puts "Error: '#{input}' is not an option"
|
|
129
129
|
end
|
data/effuse.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: effuse
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 1.1.1
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- Curtis McEnroe
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 2013-03-12 00:00:00.000000000 Z
|
|
13
12
|
dependencies: []
|
|
14
13
|
description: A tool for managing symlinks
|
|
15
14
|
email:
|
|
@@ -26,26 +25,25 @@ files:
|
|
|
26
25
|
- effuse.gemspec
|
|
27
26
|
homepage: https://github.com/programble/effuse
|
|
28
27
|
licenses: []
|
|
28
|
+
metadata: {}
|
|
29
29
|
post_install_message:
|
|
30
30
|
rdoc_options: []
|
|
31
31
|
require_paths:
|
|
32
32
|
- lib
|
|
33
33
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
34
|
-
none: false
|
|
35
34
|
requirements:
|
|
36
|
-
- -
|
|
35
|
+
- - '>='
|
|
37
36
|
- !ruby/object:Gem::Version
|
|
38
37
|
version: '0'
|
|
39
38
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
40
|
-
none: false
|
|
41
39
|
requirements:
|
|
42
|
-
- -
|
|
40
|
+
- - '>='
|
|
43
41
|
- !ruby/object:Gem::Version
|
|
44
42
|
version: '0'
|
|
45
43
|
requirements: []
|
|
46
44
|
rubyforge_project:
|
|
47
|
-
rubygems_version:
|
|
45
|
+
rubygems_version: 2.0.0
|
|
48
46
|
signing_key:
|
|
49
|
-
specification_version:
|
|
47
|
+
specification_version: 4
|
|
50
48
|
summary: A tool for managing symlinks
|
|
51
49
|
test_files: []
|