sundae 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/History.txt +5 -0
  2. data/lib/sundae.rb +2 -2
  3. metadata +4 -4
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ === 0.9.1 / 2009-04-27
2
+
3
+ * 1 minor enhancement
4
+ * checks if pre-existing symlink points to the correct location
5
+
1
6
  === 0.9.0 / 2008-10-18
2
7
 
3
8
  * Initial release.
data/lib/sundae.rb CHANGED
@@ -7,7 +7,7 @@ require 'find'
7
7
  # together using symbolic links.
8
8
  #
9
9
  module Sundae
10
- VERSION = "0.9.0"
10
+ VERSION = "0.9.1"
11
11
 
12
12
  DEFAULT_CONFIG_FILE = File.expand_path(File.join(ENV['HOME'], '.sundae'))
13
13
 
@@ -279,7 +279,7 @@ module Sundae
279
279
  FileUtils.ln_s(target, link_name)
280
280
  else
281
281
  unless (File.symlink?(link_name) &&
282
- (File.readlink(link_name) == target || (not File.exist?(File.readlink(link_name)))))
282
+ (File.expand_path(File.readlink(link_name)) == File.expand_path(target)))
283
283
  raise "Could not link #{target} to #{link_name}"
284
284
  end
285
285
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sundae
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Don
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-10-19 00:00:00 -04:00
12
+ date: 2009-04-27 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -30,7 +30,7 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 1.8.0
33
+ version: 1.12.2
34
34
  version:
35
35
  description: Mix collections of files while maintaining complete separation. Synchronize any combination of your documents and configuration settings between all of your computers.
36
36
  email: don@ohspite.net
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  requirements: []
77
77
 
78
78
  rubyforge_project: sundae
79
- rubygems_version: 1.3.0
79
+ rubygems_version: 1.3.1
80
80
  signing_key:
81
81
  specification_version: 2
82
82
  summary: Mix collections of files while maintaining complete separation.