tomkersten-vixploder 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. data/History.txt +4 -0
  2. data/Manifest.txt +105 -0
  3. data/PostInstall.txt +21 -0
  4. data/README.rdoc +131 -0
  5. data/Rakefile +21 -0
  6. data/bin/256colors2.pl +63 -0
  7. data/bin/colortest +365 -0
  8. data/bin/vixplode +10 -0
  9. data/lib/dotfiles/aliases +30 -0
  10. data/lib/dotfiles/gvimrc +20 -0
  11. data/lib/dotfiles/vim/.VimballRecord +2 -0
  12. data/lib/dotfiles/vim/after/ftplugin/actionscript_snippets.vim +9 -0
  13. data/lib/dotfiles/vim/after/ftplugin/aspvbs_snippets.vim +17 -0
  14. data/lib/dotfiles/vim/after/ftplugin/c_snippets.vim +58 -0
  15. data/lib/dotfiles/vim/after/ftplugin/css_snippets.vim +30 -0
  16. data/lib/dotfiles/vim/after/ftplugin/django_model_snippets.vim +61 -0
  17. data/lib/dotfiles/vim/after/ftplugin/django_template_snippets.vim +32 -0
  18. data/lib/dotfiles/vim/after/ftplugin/f-script_snippets.vim +14 -0
  19. data/lib/dotfiles/vim/after/ftplugin/haskell_snippets.vim +9 -0
  20. data/lib/dotfiles/vim/after/ftplugin/html_snippets.vim +57 -0
  21. data/lib/dotfiles/vim/after/ftplugin/java_snippets.vim +52 -0
  22. data/lib/dotfiles/vim/after/ftplugin/javascript_snippets.vim +10 -0
  23. data/lib/dotfiles/vim/after/ftplugin/latex_snippets.vim +13 -0
  24. data/lib/dotfiles/vim/after/ftplugin/logo_snippets.vim +9 -0
  25. data/lib/dotfiles/vim/after/ftplugin/markdown_snippets.vim +10 -0
  26. data/lib/dotfiles/vim/after/ftplugin/movable_type_snippets.vim +14 -0
  27. data/lib/dotfiles/vim/after/ftplugin/objc_snippets.vim +53 -0
  28. data/lib/dotfiles/vim/after/ftplugin/ocaml_snippets.vim +26 -0
  29. data/lib/dotfiles/vim/after/ftplugin/perl_snippets.vim +23 -0
  30. data/lib/dotfiles/vim/after/ftplugin/php_snippets.vim +30 -0
  31. data/lib/dotfiles/vim/after/ftplugin/phpdoc_snippets.vim +19 -0
  32. data/lib/dotfiles/vim/after/ftplugin/propel_snippets.vim +14 -0
  33. data/lib/dotfiles/vim/after/ftplugin/python_snippets.vim +202 -0
  34. data/lib/dotfiles/vim/after/ftplugin/rails_snippets.vim +54 -0
  35. data/lib/dotfiles/vim/after/ftplugin/ruby_snippets.vim +32 -0
  36. data/lib/dotfiles/vim/after/ftplugin/sh_snippets.vim +12 -0
  37. data/lib/dotfiles/vim/after/ftplugin/slate_snippets.vim +19 -0
  38. data/lib/dotfiles/vim/after/ftplugin/smarty_snippets.vim +35 -0
  39. data/lib/dotfiles/vim/after/ftplugin/symfony_snippets.vim +21 -0
  40. data/lib/dotfiles/vim/after/ftplugin/tcl_snippets.vim +14 -0
  41. data/lib/dotfiles/vim/after/ftplugin/template_toolkit_snippets.vim +13 -0
  42. data/lib/dotfiles/vim/after/ftplugin/tex_snippets.vim +13 -0
  43. data/lib/dotfiles/vim/after/ftplugin/xhtml_snippets.vim +48 -0
  44. data/lib/dotfiles/vim/autoload/fakeclip.vim +253 -0
  45. data/lib/dotfiles/vim/autoload/rails.vim +4377 -0
  46. data/lib/dotfiles/vim/autoload/rubycomplete.vim +802 -0
  47. data/lib/dotfiles/vim/colors/inkpot.vim +212 -0
  48. data/lib/dotfiles/vim/colors/ir_black.vim +212 -0
  49. data/lib/dotfiles/vim/colors/ir_black_mod.vim +213 -0
  50. data/lib/dotfiles/vim/colors/railscasts.vim +100 -0
  51. data/lib/dotfiles/vim/colors/rubyblue.vim +74 -0
  52. data/lib/dotfiles/vim/colors/twilight.vim +75 -0
  53. data/lib/dotfiles/vim/colors/twilight2.vim +74 -0
  54. data/lib/dotfiles/vim/colors/wombat256.vim +302 -0
  55. data/lib/dotfiles/vim/compiler/eruby.vim +41 -0
  56. data/lib/dotfiles/vim/compiler/ruby.vim +68 -0
  57. data/lib/dotfiles/vim/compiler/rubyunit.vim +35 -0
  58. data/lib/dotfiles/vim/doc/NERD_tree.txt +1235 -0
  59. data/lib/dotfiles/vim/doc/fakeclip.txt +190 -0
  60. data/lib/dotfiles/vim/doc/matchit.txt +406 -0
  61. data/lib/dotfiles/vim/doc/project.txt +710 -0
  62. data/lib/dotfiles/vim/doc/rails.txt +1123 -0
  63. data/lib/dotfiles/vim/doc/snippets_emu.txt +354 -0
  64. data/lib/dotfiles/vim/doc/surround.txt +218 -0
  65. data/lib/dotfiles/vim/doc/tags +433 -0
  66. data/lib/dotfiles/vim/filetype.vim +13 -0
  67. data/lib/dotfiles/vim/ftdetect/gist.vim +3 -0
  68. data/lib/dotfiles/vim/ftdetect/ruby.vim +14 -0
  69. data/lib/dotfiles/vim/ftplugin/eruby.vim +101 -0
  70. data/lib/dotfiles/vim/ftplugin/ruby.vim +230 -0
  71. data/lib/dotfiles/vim/indent/eruby.vim +73 -0
  72. data/lib/dotfiles/vim/indent/ruby.vim +373 -0
  73. data/lib/dotfiles/vim/plugin/NERD_tree.vim +3536 -0
  74. data/lib/dotfiles/vim/plugin/comments.vim +321 -0
  75. data/lib/dotfiles/vim/plugin/fakeclip.vim +174 -0
  76. data/lib/dotfiles/vim/plugin/fuzzyfinder.vim +1676 -0
  77. data/lib/dotfiles/vim/plugin/fuzzyfinder_textmate.vim +150 -0
  78. data/lib/dotfiles/vim/plugin/gist.vim +241 -0
  79. data/lib/dotfiles/vim/plugin/gitdiff.vim +141 -0
  80. data/lib/dotfiles/vim/plugin/matchit.vim +812 -0
  81. data/lib/dotfiles/vim/plugin/mru.vim +787 -0
  82. data/lib/dotfiles/vim/plugin/rails.vim +310 -0
  83. data/lib/dotfiles/vim/plugin/rspec.vim +12 -0
  84. data/lib/dotfiles/vim/plugin/snippets.vim +17 -0
  85. data/lib/dotfiles/vim/plugin/snippetsEmu.vim +973 -0
  86. data/lib/dotfiles/vim/plugin/supertab.vim +531 -0
  87. data/lib/dotfiles/vim/plugin/surround.vim +632 -0
  88. data/lib/dotfiles/vim/ref_vimrc +80 -0
  89. data/lib/dotfiles/vim/ruby/fuzzy_file_finder.rb +353 -0
  90. data/lib/dotfiles/vim/syntax/eruby.vim +85 -0
  91. data/lib/dotfiles/vim/syntax/haml.vim +113 -0
  92. data/lib/dotfiles/vim/syntax/mkd.vim +86 -0
  93. data/lib/dotfiles/vim/syntax/ruby.vim +324 -0
  94. data/lib/dotfiles/vim/syntax/sass.vim +93 -0
  95. data/lib/dotfiles/vimrc +269 -0
  96. data/lib/vixplode/cli.rb +73 -0
  97. data/lib/vixploder.rb +6 -0
  98. data/script/console +10 -0
  99. data/script/destroy +14 -0
  100. data/script/generate +14 -0
  101. data/spec/spec.opts +1 -0
  102. data/spec/spec_helper.rb +10 -0
  103. data/spec/vixplode_cli_spec.rb +15 -0
  104. data/spec/vixploder_spec.rb +7 -0
  105. data/tasks/rspec.rake +21 -0
  106. metadata +202 -8
data/script/destroy ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+ APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
3
+
4
+ begin
5
+ require 'rubigen'
6
+ rescue LoadError
7
+ require 'rubygems'
8
+ require 'rubigen'
9
+ end
10
+ require 'rubigen/scripts/destroy'
11
+
12
+ ARGV.shift if ['--help', '-h'].include?(ARGV[0])
13
+ RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
14
+ RubiGen::Scripts::Destroy.new.run(ARGV)
data/script/generate ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+ APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
3
+
4
+ begin
5
+ require 'rubigen'
6
+ rescue LoadError
7
+ require 'rubygems'
8
+ require 'rubigen'
9
+ end
10
+ require 'rubigen/scripts/generate'
11
+
12
+ ARGV.shift if ['--help', '-h'].include?(ARGV[0])
13
+ RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
14
+ RubiGen::Scripts::Generate.new.run(ARGV)
data/spec/spec.opts ADDED
@@ -0,0 +1 @@
1
+ --colour
@@ -0,0 +1,10 @@
1
+ begin
2
+ require 'spec'
3
+ rescue LoadError
4
+ require 'rubygems'
5
+ gem 'rspec'
6
+ require 'spec'
7
+ end
8
+
9
+ $:.unshift(File.dirname(__FILE__) + '/../lib')
10
+ require 'dev_configurator'
@@ -0,0 +1,15 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
+ require 'vixplode/cli'
3
+
4
+ describe Vixplode::CLI, "execute" do
5
+ before(:each) do
6
+ @stdout_io = StringIO.new
7
+ Vixplode::CLI.execute(@stdout_io, [])
8
+ @stdout_io.rewind
9
+ @stdout = @stdout_io.read
10
+ end
11
+
12
+ it "should do something" do
13
+ @stdout.should_not =~ /To update this executable/
14
+ end
15
+ end
@@ -0,0 +1,7 @@
1
+ require File.dirname(__FILE__) + '/spec_helper.rb'
2
+
3
+ describe "Place your specs here" do
4
+ it "find this spec in spec directory" do
5
+ violated "Be sure to write your specs"
6
+ end
7
+ end
data/tasks/rspec.rake ADDED
@@ -0,0 +1,21 @@
1
+ begin
2
+ require 'spec'
3
+ rescue LoadError
4
+ require 'rubygems'
5
+ require 'spec'
6
+ end
7
+ begin
8
+ require 'spec/rake/spectask'
9
+ rescue LoadError
10
+ puts <<-EOS
11
+ To use rspec for testing you must install rspec gem:
12
+ gem install rspec
13
+ EOS
14
+ exit(0)
15
+ end
16
+
17
+ desc "Run the specs under spec/models"
18
+ Spec::Rake::SpecTask.new do |t|
19
+ t.spec_opts = ['--options', "spec/spec.opts"]
20
+ t.spec_files = FileList['spec/**/*_spec.rb']
21
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tomkersten-vixploder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Kersten
@@ -30,20 +30,214 @@ dependencies:
30
30
  - !ruby/object:Gem::Version
31
31
  version: 1.8.0
32
32
  version:
33
- description: "A simple 'dotfiles' management tool used to distribute common configuration files across multiple machines (initially consisting of a solid base for VIM, a few handy aliases for Rails development, and working with Git). The idea is not incredibly novel, but after realizing how poor the default VIM configuration is (at least on OS X), I wanted to be able to share mine with a few friends. Standard configuration files for other tools can easily be added to the tool, such as a core +.profile+, +.screenrc+ file, or Emacs config files...VIM is just the \"test-case\" for the distribution method at this point. Vixploder is designed to give room for machine-/user-specific overrides. For example, the +.vimrc+ file sources a <tt>~/.local_vimrc</tt> file. These 'local dotfiles' are intentionally left out of version control and intended for settings that are either machine-specific or something a user may not want to be in a publicly-available repository. A couple examples of such content would be aliases for SSH-ing into a server with a particular username (ie: +site+ aliased to <tt>ssh my_username@my_website.com</tt>), or aliases to machine-specific paths for a project directory (both of these examples would be for your shell setup files, not vimrc, but the logic is the same...maybe you want a different colorscheme on a particular server in VIM). The VIM configuration is tailored to Ruby/Rails developers at this point, as that is what I currently work with/on. The intention of this project is not to be the \"setup everyone uses without changing\". Instead, fork it and set your own \"sane\" defaults for whatever your preferences are and then use that as your own base. The +.vimrc+ file is extensively commented. Turning off a setting is as easy as putting a '\"' (double-quote character) as the first character of the line. Modifying it is either intuitive or as easy as typing <tt>:help <setting name></tt> (in vi) to check the possible parameters the setting accepts. The +vixplode+ command will backup & symlink any files named <tt>.[filename]</tt> in your home directory (which it replaces) with each file/directory in +lib/dotfiles+ (of the vixploder directory structure). For example, there is a +vimrc+ file in +lib/dotfiles+...which will be symlinked to <tt>~/.vimrc</tt>. Same goes for the +vim+ directory. The original files are backed up to <tt>~/vixploder_backup/</tt>. If you want to revert the installation, you can remove the symlinks created and copy your files back into your home directory (there will be a script to do this for you soon...)."
33
+ description: A simple 'dotfiles' management tool used to distribute common configuration files across multiple machines
34
34
  email:
35
35
  - tom.kersten@cosyntech.com
36
- executables: []
37
-
36
+ executables:
37
+ - vixplode
38
38
  extensions: []
39
39
 
40
40
  extra_rdoc_files: []
41
41
 
42
- files: []
43
-
42
+ files:
43
+ - History.txt
44
+ - Manifest.txt
45
+ - PostInstall.txt
46
+ - README.rdoc
47
+ - Rakefile
48
+ - bin/256colors2.pl
49
+ - bin/colortest
50
+ - bin/vixplode
51
+ - lib/dotfiles/aliases
52
+ - lib/dotfiles/gvimrc
53
+ - lib/dotfiles/vim/.VimballRecord
54
+ - lib/dotfiles/vim/after/ftplugin/actionscript_snippets.vim
55
+ - lib/dotfiles/vim/after/ftplugin/aspvbs_snippets.vim
56
+ - lib/dotfiles/vim/after/ftplugin/c_snippets.vim
57
+ - lib/dotfiles/vim/after/ftplugin/css_snippets.vim
58
+ - lib/dotfiles/vim/after/ftplugin/django_model_snippets.vim
59
+ - lib/dotfiles/vim/after/ftplugin/django_template_snippets.vim
60
+ - lib/dotfiles/vim/after/ftplugin/f-script_snippets.vim
61
+ - lib/dotfiles/vim/after/ftplugin/haskell_snippets.vim
62
+ - lib/dotfiles/vim/after/ftplugin/html_snippets.vim
63
+ - lib/dotfiles/vim/after/ftplugin/java_snippets.vim
64
+ - lib/dotfiles/vim/after/ftplugin/javascript_snippets.vim
65
+ - lib/dotfiles/vim/after/ftplugin/latex_snippets.vim
66
+ - lib/dotfiles/vim/after/ftplugin/logo_snippets.vim
67
+ - lib/dotfiles/vim/after/ftplugin/markdown_snippets.vim
68
+ - lib/dotfiles/vim/after/ftplugin/movable_type_snippets.vim
69
+ - lib/dotfiles/vim/after/ftplugin/objc_snippets.vim
70
+ - lib/dotfiles/vim/after/ftplugin/ocaml_snippets.vim
71
+ - lib/dotfiles/vim/after/ftplugin/perl_snippets.vim
72
+ - lib/dotfiles/vim/after/ftplugin/php_snippets.vim
73
+ - lib/dotfiles/vim/after/ftplugin/phpdoc_snippets.vim
74
+ - lib/dotfiles/vim/after/ftplugin/propel_snippets.vim
75
+ - lib/dotfiles/vim/after/ftplugin/python_snippets.vim
76
+ - lib/dotfiles/vim/after/ftplugin/rails_snippets.vim
77
+ - lib/dotfiles/vim/after/ftplugin/ruby_snippets.vim
78
+ - lib/dotfiles/vim/after/ftplugin/sh_snippets.vim
79
+ - lib/dotfiles/vim/after/ftplugin/slate_snippets.vim
80
+ - lib/dotfiles/vim/after/ftplugin/smarty_snippets.vim
81
+ - lib/dotfiles/vim/after/ftplugin/symfony_snippets.vim
82
+ - lib/dotfiles/vim/after/ftplugin/tcl_snippets.vim
83
+ - lib/dotfiles/vim/after/ftplugin/template_toolkit_snippets.vim
84
+ - lib/dotfiles/vim/after/ftplugin/tex_snippets.vim
85
+ - lib/dotfiles/vim/after/ftplugin/xhtml_snippets.vim
86
+ - lib/dotfiles/vim/autoload/fakeclip.vim
87
+ - lib/dotfiles/vim/autoload/rails.vim
88
+ - lib/dotfiles/vim/autoload/rubycomplete.vim
89
+ - lib/dotfiles/vim/colors/inkpot.vim
90
+ - lib/dotfiles/vim/colors/ir_black.vim
91
+ - lib/dotfiles/vim/colors/ir_black_mod.vim
92
+ - lib/dotfiles/vim/colors/railscasts.vim
93
+ - lib/dotfiles/vim/colors/rubyblue.vim
94
+ - lib/dotfiles/vim/colors/twilight.vim
95
+ - lib/dotfiles/vim/colors/twilight2.vim
96
+ - lib/dotfiles/vim/colors/wombat256.vim
97
+ - lib/dotfiles/vim/compiler/eruby.vim
98
+ - lib/dotfiles/vim/compiler/ruby.vim
99
+ - lib/dotfiles/vim/compiler/rubyunit.vim
100
+ - lib/dotfiles/vim/doc/NERD_tree.txt
101
+ - lib/dotfiles/vim/doc/fakeclip.txt
102
+ - lib/dotfiles/vim/doc/matchit.txt
103
+ - lib/dotfiles/vim/doc/project.txt
104
+ - lib/dotfiles/vim/doc/rails.txt
105
+ - lib/dotfiles/vim/doc/snippets_emu.txt
106
+ - lib/dotfiles/vim/doc/surround.txt
107
+ - lib/dotfiles/vim/doc/tags
108
+ - lib/dotfiles/vim/filetype.vim
109
+ - lib/dotfiles/vim/ftdetect/gist.vim
110
+ - lib/dotfiles/vim/ftdetect/ruby.vim
111
+ - lib/dotfiles/vim/ftplugin/eruby.vim
112
+ - lib/dotfiles/vim/ftplugin/ruby.vim
113
+ - lib/dotfiles/vim/indent/eruby.vim
114
+ - lib/dotfiles/vim/indent/ruby.vim
115
+ - lib/dotfiles/vim/plugin/NERD_tree.vim
116
+ - lib/dotfiles/vim/plugin/comments.vim
117
+ - lib/dotfiles/vim/plugin/fakeclip.vim
118
+ - lib/dotfiles/vim/plugin/fuzzyfinder.vim
119
+ - lib/dotfiles/vim/plugin/fuzzyfinder_textmate.vim
120
+ - lib/dotfiles/vim/plugin/gist.vim
121
+ - lib/dotfiles/vim/plugin/gitdiff.vim
122
+ - lib/dotfiles/vim/plugin/matchit.vim
123
+ - lib/dotfiles/vim/plugin/mru.vim
124
+ - lib/dotfiles/vim/plugin/rails.vim
125
+ - lib/dotfiles/vim/plugin/rspec.vim
126
+ - lib/dotfiles/vim/plugin/snippets.vim
127
+ - lib/dotfiles/vim/plugin/snippetsEmu.vim
128
+ - lib/dotfiles/vim/plugin/supertab.vim
129
+ - lib/dotfiles/vim/plugin/surround.vim
130
+ - lib/dotfiles/vim/ref_vimrc
131
+ - lib/dotfiles/vim/ruby/fuzzy_file_finder.rb
132
+ - lib/dotfiles/vim/syntax/eruby.vim
133
+ - lib/dotfiles/vim/syntax/haml.vim
134
+ - lib/dotfiles/vim/syntax/mkd.vim
135
+ - lib/dotfiles/vim/syntax/ruby.vim
136
+ - lib/dotfiles/vim/syntax/sass.vim
137
+ - lib/dotfiles/vimrc
138
+ - lib/vixplode/cli.rb
139
+ - lib/vixploder.rb
140
+ - script/console
141
+ - script/destroy
142
+ - script/generate
143
+ - spec/spec.opts
144
+ - spec/spec_helper.rb
145
+ - spec/vixplode_cli_spec.rb
146
+ - spec/vixploder_spec.rb
147
+ - tasks/rspec.rake
44
148
  has_rdoc: false
45
149
  homepage:
46
- post_install_message: PostInstall.txt
150
+ post_install_message:
151
+ - To
152
+ - use
153
+ - vixploder,
154
+ - "execute:"
155
+ - vixplode
156
+ - ...and
157
+ - try
158
+ - out
159
+ - VI.
160
+ - If
161
+ - you
162
+ - have
163
+ - issues
164
+ - with
165
+ - a
166
+ - blinking
167
+ - background
168
+ - or
169
+ - errors
170
+ - "on"
171
+ - startup,
172
+ - confirm
173
+ - your
174
+ - system
175
+ - meets
176
+ - all
177
+ - the
178
+ - requirements
179
+ - outlined
180
+ - in
181
+ - the
182
+ - README
183
+ - (http://bit.ly/m9Wk).
184
+ - If
185
+ - you
186
+ - want
187
+ - to
188
+ - "\"undo\""
189
+ - the
190
+ - changes,
191
+ - you
192
+ - can
193
+ - unlink
194
+ - the
195
+ - newly
196
+ - created
197
+ - files
198
+ - in
199
+ - your
200
+ - home
201
+ - directory
202
+ - and
203
+ - restore
204
+ - them
205
+ - from
206
+ - "~/vixploder_backups:"
207
+ - mv
208
+ - ~/vixploder_backups/.*
209
+ - ~/
210
+ - For
211
+ - more
212
+ - information
213
+ - "on"
214
+ - vixploder,
215
+ - see
216
+ - https://github.com/tomkersten/vixploder
217
+ - "NOTE:"
218
+ - To
219
+ - create
220
+ - private
221
+ - Gists
222
+ - "on"
223
+ - http://gist.github.com,
224
+ - make
225
+ - sure
226
+ - you
227
+ - have
228
+ - set
229
+ - up
230
+ - your
231
+ - username/token
232
+ - entries
233
+ - in
234
+ - your
235
+ - ~/.gitconfig
236
+ - file
237
+ - (refer
238
+ - "to:"
239
+ - http://bit.ly/OCgg)
240
+ - Enjoy!
47
241
  rdoc_options:
48
242
  - --main
49
243
  - README.rdoc
@@ -63,7 +257,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
257
  version:
64
258
  requirements: []
65
259
 
66
- rubyforge_project: vixploder
260
+ rubyforge_project:
67
261
  rubygems_version: 1.2.0
68
262
  signing_key:
69
263
  specification_version: 2