effuse 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1d68dcfbe45037643f26e40c799f57b68aa930d1
4
- data.tar.gz: 6867ba6d3a880dbf9a2a92068a0e7178c2b1e4fe
3
+ metadata.gz: 4e208d054b1eb72349a276a147661a166d1ebe4f
4
+ data.tar.gz: d2e9ea2a776e62cfa3e1f4ae75ba4f6308d43e9a
5
5
  SHA512:
6
- metadata.gz: 4c6f1c2f9f94c3c7c95ff82668d9ec50e8d8c01c3c3547535306ed870f31ff56f42a81038335b980fb5acae42951172397dd62e842e3d282f7ee16866f4aac95
7
- data.tar.gz: 7cfc78918e423fa35938dd5136d4382c8d2bf162ab26e145c26e1ff7bae097b6f7b6026e50311861cf7af401e4587e9b9d95e7f47e66c4bc8d9f9fdc77030a69
6
+ metadata.gz: 2823430b0105b2bd90fbe46e8a62920cc0830e2675320123ce25c08b35586b5d2e185b33c0c1ea163052ec78471774cea0ceb20729ec2cac1e2b14ec30a39334
7
+ data.tar.gz: c91052dda97b8a0e8ff34a3bbe2041b118911386faed70bbe9a2ff211b50dbc913ff9802f6953b19457ae208029385f3ca83b59a93fb08bcdbadd76accb3b9c2
data/ChangeLog.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change Log
2
2
 
3
+ ## 2.0.1 (May 14 2013)
4
+
5
+ * Fix: Backup files by appending `.effuse`
6
+ * Fix: Ignore effuse backup files
7
+
3
8
  ## 2.0.0 (May 13 2013)
4
9
 
5
10
  * Replace existing files by default
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Effuse
2
2
 
3
- A tool for managing symlinks
3
+ A tool for symlinking dotfiles
4
4
 
5
5
  ## Install
6
6
 
data/bin/effuse CHANGED
@@ -11,8 +11,9 @@ opts = OpenStruct.new(dest_dir: Dir.home,
11
11
  backup: true,
12
12
  prefix: '',
13
13
  verbose: false,
14
- exclude: %w[.effuseignore .git .gitignore .gitmodules
15
- *~ .*~ .*.swp])
14
+ exclude: %w[*~ .*~ .*.swp
15
+ .effuseignore *.effuse .*.effuse
16
+ .git .gitignore .gitmodules])
16
17
 
17
18
  if File.file?('.effuseignore')
18
19
  File.open('.effuseignore').each_line do |glob|
@@ -84,9 +85,8 @@ end
84
85
 
85
86
  def backup(src)
86
87
  if $opts.backup
87
- dest = File.join(File.dirname(src), ".#{File.basename(src)}.effuse")
88
- vputs "renaming '#{src}' -> '#{dest}'"
89
- File.rename(src, dest)
88
+ vputs "renaming '#{src}' -> '#{src}.effuse'"
89
+ File.rename(src, src + '.effuse')
90
90
  else
91
91
  vputs "deleting '#{src}'"
92
92
  File.delete(src)
data/effuse.gemspec CHANGED
@@ -1,10 +1,10 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'effuse'
3
- s.version = '2.0.0'
3
+ s.version = '2.0.1'
4
4
  s.authors = ['Curtis McEnroe']
5
5
  s.email = ['programble@gmail.com']
6
6
  s.homepage = 'https://github.com/programble/effuse'
7
- s.summary = 'A tool for managing symlinks'
7
+ s.summary = 'A tool for symlinking dotfiles'
8
8
  s.description = s.summary
9
9
 
10
10
  s.files = `git ls-files`.split("\n")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effuse
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Curtis McEnroe
@@ -10,7 +10,7 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2013-05-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: A tool for managing symlinks
13
+ description: A tool for symlinking dotfiles
14
14
  email:
15
15
  - programble@gmail.com
16
16
  executables:
@@ -45,5 +45,5 @@ rubyforge_project:
45
45
  rubygems_version: 2.0.0
46
46
  signing_key:
47
47
  specification_version: 4
48
- summary: A tool for managing symlinks
48
+ summary: A tool for symlinking dotfiles
49
49
  test_files: []