zsh_dots 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,7 +13,6 @@ module Dots
13
13
  end
14
14
 
15
15
  desc :install, "Copies DOTS to your home directory."
16
- alias install install_framework
17
16
  def install
18
17
  copy_to_home_directory and link_dot_files
19
18
  end
@@ -34,20 +33,18 @@ module Dots
34
33
  end
35
34
 
36
35
  desc :persist, "Copy a dotfile to .dots/config and symlink the original location"
37
- alias persist persist_file
38
- def persist_file name
36
+ def persist name
39
37
  persist_dot_file name
40
38
  end
41
39
 
42
40
  desc :forget, "Remove the symlink and restore a dotfile back to its original location"
43
- alias forget forget_file
44
- def forget_file name
41
+ def forget name
45
42
  forget_dot_file name
46
43
  end
47
44
 
48
45
  desc :bootstrap, "Install the whole shebang: gems, C programs, Python stuff, DOTS."
49
46
  def bootstrap
50
- install_programs and install_bundle and install_framework
47
+ install_programs and install_bundle and install
51
48
  end
52
49
  end
53
50
  end
@@ -22,7 +22,7 @@ module Dots
22
22
  # saves the user from an ugly Git error...
23
23
  def update_the_framework
24
24
  if repo_is_clean?
25
- pull_from_origin and run 'reload_dots'
25
+ pull_latest_changes and run 'reload_dots'
26
26
  else
27
27
  say "You have uncommitted changes in ~/.dots. Please resolve them before updating."
28
28
  end
@@ -47,7 +47,7 @@ module Dots
47
47
  end
48
48
 
49
49
  def git_pull
50
- "git pull --rebase #{REMOTE} #{Dots::VERSION}"
50
+ "git pull --rebase #{REMOTE} v#{Dots::VERSION}"
51
51
  end
52
52
  end
53
53
  end
@@ -1,3 +1,3 @@
1
1
  module Dots
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zsh_dots
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: