dotman 0.0.3.2 → 0.0.3.3

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: ba09c98df605af2940299b8b47265c7654bbbd80
4
- data.tar.gz: b3f1df8ed7ffc5149b44106aa715e153445a592b
3
+ metadata.gz: 47db4de8cd357937cc89cbd170b0c7131224f28b
4
+ data.tar.gz: aa17b057f5f8f67bcc3b80fbf5b5a78b5d3ac214
5
5
  SHA512:
6
- metadata.gz: 7737e0f1283d0de789bb5c1b1509dc673615702d9a6faac32f260e316b7f61d88921dd29abccd7410decb1060d5266774f8741c568ab2220472043d78c0db72c
7
- data.tar.gz: 307dc3144004e4e915c07d4d3636d5c4955b293c5c3933888833df07f8eecd43da4d41956c121283fb3305ad73943c673b8d67de93e8d6f1c0fda0115c4b5c59
6
+ metadata.gz: a9ef108aebcc75859653c3e01da81c22fafcac9b9e5b7b70e42ddb4cf8a7ff4d31455d19bf22cdb98a471157d7c1e2a9a845520e291f310507df0ae10d1d378a
7
+ data.tar.gz: e2eb4e7f4cd7ef97010f9cbcb800e8ceddfc1b7ee07243da94ace81e7d3793200fda89c9f4a2f7916647b79b126ec639e0c3c3e46fe099dca267d9947957132a
data/README.md CHANGED
@@ -1,14 +1,16 @@
1
1
  # Dotman
2
2
 
3
- This is a work in progress.
3
+ This gem allows you to switch between different dotfiles on the same user account.
4
4
 
5
- This gem will allows you to switch between different dotfiles on the same user account.
5
+ ## Requirements
6
+
7
+ ruby 1.9.3, 2.0
6
8
 
7
9
  ## Installation
8
10
 
9
- Add this line to your application's Gemfile:
11
+ Download this repository:
10
12
 
11
- gem 'dotman'
13
+ git clone git@github.com:Timbinous/dotfiles.git
12
14
 
13
15
  And then execute:
14
16
 
@@ -20,14 +22,33 @@ Or install it yourself as:
20
22
 
21
23
  ## Usage
22
24
 
23
- To retrieve your dotfiles and store them
24
- dot clone your\_dotfiles\_repo alias
25
+ To retrieve your dotfiles and store them:
26
+
27
+ dot clone <git repository> <alias>
28
+
29
+ To use cloned dotfiles:
30
+
31
+ dot use <alias>
32
+
33
+ To list currently downloaded dotfiles:
34
+
35
+ dot alias list
36
+
37
+ or simply just
38
+
39
+ dot list
40
+
41
+ To change the alias name:
42
+
43
+ dot alias rename <old alias name> <new alias name>
44
+
45
+ To revert dotfiles back to original state:
46
+
47
+ dot use default
25
48
 
26
- To use cloned dotfiles
27
- dot use alias
49
+ To create a new dotfiles directory with all current dotfiles located in the HOME directory:
28
50
 
29
- To revert dotfiles back to original
30
- dot use default
51
+ dot collect
31
52
 
32
53
  ## Contributing
33
54
 
data/bin/dot CHANGED
@@ -15,7 +15,7 @@ when 'collect'
15
15
  when 'list'
16
16
  Dotman::DotfileCollection.show_all_aliases
17
17
  when 'alias'
18
- if ARGV[1] == 'change'
18
+ if ARGV[1] == 'rename'
19
19
  Dotman::DotfileCollection.change_alias(ARGV[2], ARGV[3])
20
20
  elsif ARGV[1] == 'list'
21
21
  Dotman::DotfileCollection.show_all_aliases
@@ -27,6 +27,6 @@ else
27
27
  dot list : lists all downloaded dotfile aliases\n
28
28
  dot use default : switch to the default dot files\n
29
29
  dot collect : collects all dot files within a directory called dotfiles\n
30
- dot alias change <old alias> <new alias> : changes alias from old to new\n
30
+ dot alias rename <old alias> <new alias> : changes alias from old to new\n
31
31
  dot alias list : same as dot list"
32
32
  end
@@ -1,3 +1,3 @@
1
1
  module Dotman
2
- VERSION = "0.0.3.2"
2
+ VERSION = "0.0.3.3"
3
3
  end
@@ -20,5 +20,6 @@ RSpec.configure do |config|
20
20
  FileUtils.rm(File.join(ENV['HOME'], '.vim')) if File.symlink? (File.join(ENV['HOME'], '.vim'))
21
21
  FileUtils.rm(File.join(ENV['HOME'], '.vimrc')) if File.symlink? (File.join(ENV['HOME'], '.vimrc'))
22
22
  FileUtils.rm(File.join(ENV['HOME'], '.zshrc')) if File.symlink? (File.join(ENV['HOME'], '.zshrc'))
23
+ FileUtils.rm(File.join(ENV['HOME'], 'tim.zsh-theme')) if File.symlink? (File.join(ENV['HOME'], 'tim.zsh-theme'))
23
24
  end
24
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dotman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3.2
4
+ version: 0.0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-09 00:00:00.000000000 Z
11
+ date: 2013-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler