effuse 0.3.0 → 0.3.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.
Files changed (4) hide show
  1. data/ChangeLog.md +8 -4
  2. data/bin/effuse +5 -0
  3. data/effuse.gemspec +1 -1
  4. metadata +2 -2
data/ChangeLog.md CHANGED
@@ -1,21 +1,25 @@
1
1
  # Change Log
2
2
 
3
- ## 0.3.0 (23 January 2012)
3
+ ## 0.3.1 (March 29 2012)
4
+
5
+ * Fix: Check if destination directory is current directory
6
+
7
+ ## 0.3.0 (January 23 2012)
4
8
 
5
9
  * Added `--noconfirm` option
6
10
 
7
11
  * Fix: Ruby 1.8 compatibility
8
12
 
9
- ## 0.2.0 (22 January 2012)
13
+ ## 0.2.0 (January 22 2012)
10
14
 
11
15
  * Added `--include` option
12
16
 
13
17
  * Fix: Ignore `.git`, `.gitignore`, `.gitmodules` instead of `.git*`
14
18
 
15
- ## 0.1.2 (21 January 2012)
19
+ ## 0.1.2 (January 21 2012)
16
20
 
17
21
  * Fix: Ruby 1.8 compatibility
18
22
 
19
- ## 0.1.1 (21 January 2012)
23
+ ## 0.1.1 (January 21 2012)
20
24
 
21
25
  * Fix: Ruby 1.8 compatibility
data/bin/effuse CHANGED
@@ -43,6 +43,11 @@ end.parse!
43
43
 
44
44
  dest_dir = ARGV[0] || ENV['HOME'] # Shakes fist at Ruby 1.8 (Dir.home)
45
45
 
46
+ if File.identical?(dest_dir, '.')
47
+ puts 'error: destination directory is current directory'
48
+ exit 1
49
+ end
50
+
46
51
  files = {}
47
52
  dirs = ['.']
48
53
 
data/effuse.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'effuse'
3
- s.version = '0.3.0'
3
+ s.version = '0.3.1'
4
4
  s.authors = ['Curtis McEnroe']
5
5
  s.email = ['programble@gmail.com']
6
6
  s.homepage = 'https://github.com/programble/effuse'
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: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-24 00:00:00.000000000 Z
12
+ date: 2012-03-29 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: A tool for managing symlinks
15
15
  email: