zsh_dots 0.5.3 → 0.5.4
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.
- data/lib/ruby/dots/command.rb +3 -6
- data/lib/ruby/dots/installation.rb +2 -2
- data/lib/ruby/dots/version.rb +1 -1
- metadata +1 -1
data/lib/ruby/dots/command.rb
CHANGED
@@ -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
|
-
|
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
|
-
|
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
|
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
|
-
|
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
|
data/lib/ruby/dots/version.rb
CHANGED