jumpstart 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (168) hide show
  1. data/.bundle/config +2 -0
  2. data/.document +5 -0
  3. data/.gitignore +28 -0
  4. data/Gemfile +8 -0
  5. data/LICENSE +20 -0
  6. data/README.rdoc +19 -0
  7. data/Rakefile +54 -0
  8. data/VERSION +1 -0
  9. data/bin/jumpstart +5 -0
  10. data/config/jumpstart_setup.yml +2 -0
  11. data/jumpstart.gemspec +222 -0
  12. data/jumpstart_templates/i0n_rails_3/.gitignore +11 -0
  13. data/jumpstart_templates/i0n_rails_3/_._Gemfile +5 -0
  14. data/jumpstart_templates/i0n_rails_3/app/views/home/index.haml +4 -0
  15. data/jumpstart_templates/i0n_rails_3/app/views/layouts/application.haml +32 -0
  16. data/jumpstart_templates/i0n_rails_3/config/_2._routes.rb +1 -0
  17. data/jumpstart_templates/i0n_rails_3/config/_L._database.yml +1 -0
  18. data/jumpstart_templates/i0n_rails_3/config/deploy.rb +62 -0
  19. data/jumpstart_templates/i0n_rails_3/config/environments/_18._development.rb +5 -0
  20. data/jumpstart_templates/i0n_rails_3/config/environments/_27._test.rb +1 -0
  21. data/jumpstart_templates/i0n_rails_3/config/environments/_41._production.rb +3 -0
  22. data/jumpstart_templates/i0n_rails_3/config/initializers/setup_mail.rb +14 -0
  23. data/jumpstart_templates/i0n_rails_3/jumpstart_config/i0n_rails_3.yml +40 -0
  24. data/jumpstart_templates/i0n_rails_3/jumpstart_config/nginx.local.conf +11 -0
  25. data/jumpstart_templates/i0n_rails_3/jumpstart_config/nginx.remote.conf +37 -0
  26. data/jumpstart_templates/i0n_rails_3/lib/development_mail_interceptor.rb +8 -0
  27. data/jumpstart_templates/i0n_rails_3/lib/generators/authlogic.rb +11 -0
  28. data/jumpstart_templates/i0n_rails_3/lib/generators/authlogic/session/session_generator.rb +18 -0
  29. data/jumpstart_templates/i0n_rails_3/lib/generators/authlogic/session/templates/session.rb +2 -0
  30. data/jumpstart_templates/i0n_rails_3/lib/generators/datamapper.rb +80 -0
  31. data/jumpstart_templates/i0n_rails_3/lib/generators/datamapper/migration/migration_generator.rb +26 -0
  32. data/jumpstart_templates/i0n_rails_3/lib/generators/datamapper/migration/templates/migration.rb +21 -0
  33. data/jumpstart_templates/i0n_rails_3/lib/generators/datamapper/model/model_generator.rb +29 -0
  34. data/jumpstart_templates/i0n_rails_3/lib/generators/datamapper/model/templates/migration.rb +17 -0
  35. data/jumpstart_templates/i0n_rails_3/lib/generators/datamapper/model/templates/model.rb +10 -0
  36. data/jumpstart_templates/i0n_rails_3/lib/generators/datamapper/observer/observer_generator.rb +15 -0
  37. data/jumpstart_templates/i0n_rails_3/lib/generators/datamapper/observer/templates/observer.rb +5 -0
  38. data/jumpstart_templates/i0n_rails_3/lib/generators/factory_girl.rb +11 -0
  39. data/jumpstart_templates/i0n_rails_3/lib/generators/factory_girl/model/model_generator.rb +14 -0
  40. data/jumpstart_templates/i0n_rails_3/lib/generators/factory_girl/model/templates/fixtures.rb +7 -0
  41. data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb.rb +9 -0
  42. data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/USAGE +8 -0
  43. data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/controller/controller_generator.rb +24 -0
  44. data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/controller/templates/view.html.erb +0 -0
  45. data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/scaffold/scaffold_generator.rb +27 -0
  46. data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/scaffold/templates/_form.html.erb +12 -0
  47. data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/scaffold/templates/edit.html.erb +6 -0
  48. data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/scaffold/templates/index.html.erb +27 -0
  49. data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/scaffold/templates/layout.html.erb +16 -0
  50. data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/scaffold/templates/new.html.erb +5 -0
  51. data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/scaffold/templates/show.html.erb +10 -0
  52. data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml.rb +9 -0
  53. data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/USAGE +8 -0
  54. data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/controller/controller_generator.rb +24 -0
  55. data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/controller/templates/view.html.haml +0 -0
  56. data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/scaffold/scaffold_generator.rb +23 -0
  57. data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/scaffold/templates/_form.haml.erb +9 -0
  58. data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/scaffold/templates/edit.haml.erb +7 -0
  59. data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/scaffold/templates/index.haml.erb +23 -0
  60. data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/scaffold/templates/layout.haml.erb +9 -0
  61. data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/scaffold/templates/new.haml.erb +5 -0
  62. data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/scaffold/templates/show.haml.erb +9 -0
  63. data/jumpstart_templates/i0n_rails_3/lib/generators/haml.rb +9 -0
  64. data/jumpstart_templates/i0n_rails_3/lib/generators/haml/controller/controller_generator.rb +24 -0
  65. data/jumpstart_templates/i0n_rails_3/lib/generators/haml/controller/templates/view.html.haml +0 -0
  66. data/jumpstart_templates/i0n_rails_3/lib/generators/haml/scaffold/scaffold_generator.rb +26 -0
  67. data/jumpstart_templates/i0n_rails_3/lib/generators/haml/scaffold/templates/_form.haml.erb +9 -0
  68. data/jumpstart_templates/i0n_rails_3/lib/generators/haml/scaffold/templates/edit.haml.erb +7 -0
  69. data/jumpstart_templates/i0n_rails_3/lib/generators/haml/scaffold/templates/index.haml.erb +23 -0
  70. data/jumpstart_templates/i0n_rails_3/lib/generators/haml/scaffold/templates/layout.haml.erb +9 -0
  71. data/jumpstart_templates/i0n_rails_3/lib/generators/haml/scaffold/templates/new.haml.erb +5 -0
  72. data/jumpstart_templates/i0n_rails_3/lib/generators/haml/scaffold/templates/show.haml.erb +9 -0
  73. data/jumpstart_templates/i0n_rails_3/lib/generators/machinist.rb +11 -0
  74. data/jumpstart_templates/i0n_rails_3/lib/generators/machinist/model/model_generator.rb +19 -0
  75. data/jumpstart_templates/i0n_rails_3/lib/generators/machinist/model/templates/blueprint.rb +5 -0
  76. data/jumpstart_templates/i0n_rails_3/lib/generators/machinist/model/templates/machinist_initializer.rb +19 -0
  77. data/jumpstart_templates/i0n_rails_3/lib/generators/mongomapper.rb +80 -0
  78. data/jumpstart_templates/i0n_rails_3/lib/generators/mongomapper/model/model_generator.rb +29 -0
  79. data/jumpstart_templates/i0n_rails_3/lib/generators/mongomapper/model/templates/model.rb +24 -0
  80. data/jumpstart_templates/i0n_rails_3/lib/generators/mongomapper/observer/observer_generator.rb +15 -0
  81. data/jumpstart_templates/i0n_rails_3/lib/generators/shoulda.rb +11 -0
  82. data/jumpstart_templates/i0n_rails_3/lib/generators/shoulda/controller/controller_generator.rb +16 -0
  83. data/jumpstart_templates/i0n_rails_3/lib/generators/shoulda/controller/templates/controller.rb +84 -0
  84. data/jumpstart_templates/i0n_rails_3/lib/generators/shoulda/model/model_generator.rb +16 -0
  85. data/jumpstart_templates/i0n_rails_3/lib/generators/shoulda/model/templates/model.rb +7 -0
  86. data/jumpstart_templates/i0n_rails_3/lib/tasks/populate.rake +91 -0
  87. data/jumpstart_templates/i0n_rails_3/public/javascripts/init.js +6 -0
  88. data/jumpstart_templates/i0n_rails_3/public/javascripts/jquery-1.4.2.min.js +154 -0
  89. data/jumpstart_templates/i0n_rails_3/public/javascripts/jquery-ui-1.8.custom.min.js +404 -0
  90. data/jumpstart_templates/i0n_rails_3/public/javascripts/rails.js +126 -0
  91. data/jumpstart_templates/i0n_rails_3/public/stylesheets/sass/_setup.sass +86 -0
  92. data/jumpstart_templates/i0n_rails_3/public/stylesheets/sass/global.sass +58 -0
  93. data/jumpstart_templates/i0n_rails_3/public/stylesheets/sass/handheld.sass +7 -0
  94. data/jumpstart_templates/i0n_rails_3/public/stylesheets/sass/ie.sass +40 -0
  95. data/jumpstart_templates/i0n_rails_3/public/stylesheets/sass/print.sass +57 -0
  96. data/jumpstart_templates/i0n_rails_3/public/stylesheets/sass/screen.sass +170 -0
  97. data/lib/jumpstart.rb +71 -0
  98. data/lib/jumpstart/base.rb +547 -0
  99. data/lib/jumpstart/doc/JumpStart.html +139 -0
  100. data/lib/jumpstart/doc/JumpStart/Base.html +1566 -0
  101. data/lib/jumpstart/doc/base_rb.html +52 -0
  102. data/lib/jumpstart/doc/created.rid +2 -0
  103. data/lib/jumpstart/doc/index.html +101 -0
  104. data/lib/jumpstart/doc/rdoc.css +706 -0
  105. data/lib/jumpstart/filetools.rb +270 -0
  106. data/source_templates/template_config.yml +77 -0
  107. data/test/fake_nginx_path/local_nginx_1.conf +81 -0
  108. data/test/fake_nginx_path/remote_nginx_1.conf +54 -0
  109. data/test/helper.rb +31 -0
  110. data/test/jumpstart/test_base.rb +422 -0
  111. data/test/jumpstart/test_filetools.rb +350 -0
  112. data/test/test_jumpstart.rb +9 -0
  113. data/test/test_jumpstart_templates/test_base/_._test_file.txt +0 -0
  114. data/test/test_jumpstart_templates/test_base/_._test_file_.txt +0 -0
  115. data/test/test_jumpstart_templates/test_base/_1._test_file1.txt +0 -0
  116. data/test/test_jumpstart_templates/test_base/_1._test_file1_.txt +0 -0
  117. data/test/test_jumpstart_templates/test_base/_10._test_file2.txt +0 -0
  118. data/test/test_jumpstart_templates/test_base/_99999._test_file3.txt +0 -0
  119. data/test/test_jumpstart_templates/test_base/_a._test_file4.txt +0 -0
  120. data/test/test_jumpstart_templates/test_base/test_file +0 -0
  121. data/test/test_jumpstart_templates/test_base/test_file5.txt +0 -0
  122. data/test/test_jumpstart_templates/test_base/test_file_.6txt +0 -0
  123. data/test/test_jumpstart_templates/test_fileutils/append_after_line_test.txt +6 -0
  124. data/test/test_jumpstart_templates/test_fileutils/append_to_end_of_file_source.txt +1 -0
  125. data/test/test_jumpstart_templates/test_fileutils/append_to_end_of_file_test.txt +5 -0
  126. data/test/test_jumpstart_templates/test_fileutils/check_source_type +5 -0
  127. data/test/test_jumpstart_templates/test_fileutils/check_source_type.txt +10 -0
  128. data/test/test_jumpstart_templates/test_fileutils/config_capistrano_source.rb +62 -0
  129. data/test/test_jumpstart_templates/test_fileutils/config_capistrano_test.rb +62 -0
  130. data/test/test_jumpstart_templates/test_fileutils/config_nginx_source.txt +1 -0
  131. data/test/test_jumpstart_templates/test_fileutils/config_nginx_test.txt +82 -0
  132. data/test/test_jumpstart_templates/test_fileutils/hosts_test +11 -0
  133. data/test/test_jumpstart_templates/test_fileutils/insert_text_at_line_number_source.txt +1 -0
  134. data/test/test_jumpstart_templates/test_fileutils/insert_text_at_line_number_test.txt +4 -0
  135. data/test/test_jumpstart_templates/test_fileutils/remove_files_test_2.txt +0 -0
  136. data/test/test_jumpstart_templates/test_fileutils/remove_files_test_3.txt +0 -0
  137. data/test/test_jumpstart_templates/test_fileutils/remove_lines_test.txt +10 -0
  138. data/test/test_jumpstart_templates/test_fileutils/replace_strings_test.rb +62 -0
  139. data/test/test_jumpstart_templates/test_template_1/_._test_append_file_with_extension.txt +1 -0
  140. data/test/test_jumpstart_templates/test_template_1/_._test_append_file_without_extension +1 -0
  141. data/test/test_jumpstart_templates/test_template_1/_20._test_line_file_without_extension +1 -0
  142. data/test/test_jumpstart_templates/test_template_1/_5._test_line_file_with_extension.txt +1 -0
  143. data/test/test_jumpstart_templates/test_template_1/_L._test_append_to_end_of_file_remove_last_line_1.txt +1 -0
  144. data/test/test_jumpstart_templates/test_template_1/_l._test_append_to_end_of_file_remove_last_line_2.txt +1 -0
  145. data/test/test_jumpstart_templates/test_template_1/folder with spaces/_._test_append_file_with_extension.txt +1 -0
  146. data/test/test_jumpstart_templates/test_template_1/folder with spaces/_._test_append_file_without_extension +1 -0
  147. data/test/test_jumpstart_templates/test_template_1/folder with spaces/_5._test_line_file_with_extension.txt +1 -0
  148. data/test/test_jumpstart_templates/test_template_1/folder with spaces/_50._test_line_file_without_extension +1 -0
  149. data/test/test_jumpstart_templates/test_template_1/folder with spaces/test_whole_file_with_extension.txt +1 -0
  150. data/test/test_jumpstart_templates/test_template_1/folder with spaces/test_whole_file_without_extension +1 -0
  151. data/test/test_jumpstart_templates/test_template_1/jumpstart_config/test_template_1.yml +31 -0
  152. data/test/test_jumpstart_templates/test_template_1/normal_folder_name/_._test_append_file_with_extension.txt +1 -0
  153. data/test/test_jumpstart_templates/test_template_1/normal_folder_name/_._test_append_file_without_extension +1 -0
  154. data/test/test_jumpstart_templates/test_template_1/normal_folder_name/_5._test_line_file_with_extension.txt +1 -0
  155. data/test/test_jumpstart_templates/test_template_1/normal_folder_name/_50._test_line_file_without_extension +1 -0
  156. data/test/test_jumpstart_templates/test_template_1/normal_folder_name/test_whole_file_with_extension.txt +1 -0
  157. data/test/test_jumpstart_templates/test_template_1/normal_folder_name/test_whole_file_without_extension +1 -0
  158. data/test/test_jumpstart_templates/test_template_1/test_append_to_end_of_file_remove_last_line_1.txt +10 -0
  159. data/test/test_jumpstart_templates/test_template_1/test_append_to_end_of_file_remove_last_line_2.txt +10 -0
  160. data/test/test_jumpstart_templates/test_template_1/test_remove_files/file_with_extension.txt +1 -0
  161. data/test/test_jumpstart_templates/test_template_1/test_remove_files/file_without_extension +1 -0
  162. data/test/test_jumpstart_templates/test_template_1/test_replace_strings/replace_strings_1.rb +62 -0
  163. data/test/test_jumpstart_templates/test_template_1/test_replace_strings/replace_strings_2.txt +23 -0
  164. data/test/test_jumpstart_templates/test_template_1/test_whole_file_with_extension.txt +1 -0
  165. data/test/test_jumpstart_templates/test_template_1/test_whole_file_without_extension +1 -0
  166. data/test/test_jumpstart_templates/test_template_2/jumpstart_config/test_template_2.yml +8 -0
  167. data/test/test_jumpstart_templates/test_template_3/jumpstart_config/test_template_3.yml +22 -0
  168. metadata +254 -0
data/.bundle/config ADDED
@@ -0,0 +1,2 @@
1
+ ---
2
+ BUNDLE_WITHOUT: ""
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ README.rdoc
2
+ lib/**/*.rb
3
+ bin/*
4
+ features/**/*.feature
5
+ LICENSE
data/.gitignore ADDED
@@ -0,0 +1,28 @@
1
+ ## MAC OS
2
+ .DS_Store
3
+
4
+ ## TEXTMATE
5
+ *.tmproj
6
+ tmtags
7
+
8
+ ## EMACS
9
+ *~
10
+ \#*
11
+ .\#*
12
+
13
+ ## VIM
14
+ *.swp
15
+
16
+ ## PROJECT::GENERAL
17
+ coverage
18
+ rdoc
19
+ pkg
20
+
21
+ ## PROJECT::SPECIFIC
22
+ test/destination_dir/*
23
+
24
+ ## Bundler
25
+ vendor/gems/gems
26
+ vendor/gems/specifications
27
+ vendor/gems/doc
28
+ vendor/gems/environment.rb
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ source 'http://gemcutter.org'
2
+
3
+ gem 'jumpstart'
4
+
5
+ group :test do
6
+ require 'test/unit'
7
+ require 'shoulda'
8
+ end
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2009 i0n
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,19 @@
1
+ = jumpstart
2
+
3
+ jumpstart is a gem for quickly creating projects.
4
+ It does this by running options from a YAML file that you can create, or you can let the gem do it for you.
5
+ It's dead easy to do.
6
+
7
+ == Note on Patches/Pull Requests
8
+
9
+ * Fork the project.
10
+ * Make your feature addition or bug fix.
11
+ * Add tests for it. This is important so I don't break it in a
12
+ future version unintentionally.
13
+ * Commit, do not mess with rakefile, version, or history.
14
+ (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
15
+ * Send me a pull request. Bonus points for topic branches.
16
+
17
+ == Copyright
18
+
19
+ Copyright (c) 2010 i0n. See LICENSE for details.
data/Rakefile ADDED
@@ -0,0 +1,54 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+
4
+ begin
5
+ require 'jeweler'
6
+ Jeweler::Tasks.new do |gem|
7
+ gem.name = "jumpstart"
8
+ gem.summary = %Q{Quickly start Ruby projects just the way you want them using a single YAML file and reusable templates.}
9
+ gem.description = %Q{JumpStart is a script runner and template parser written in Ruby with Ruby projects in mind.\n
10
+ That said it should function equally well for any project in any language where many actions need to be performed to setup a new project.\n}
11
+ gem.email = "ianalexanderwood@gmail.com"
12
+ gem.homepage = "http://github.com/i0n/jumpstart"
13
+ gem.authors = ["i0n"]
14
+ gem.add_development_dependency "shoulda", ">= 0"
15
+ # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
16
+ end
17
+ Jeweler::GemcutterTasks.new
18
+ rescue LoadError
19
+ puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
20
+ end
21
+
22
+ require 'rake/testtask'
23
+ Rake::TestTask.new(:test) do |test|
24
+ test.libs << 'lib' << 'test'
25
+ test.pattern = 'test/**/test_*.rb'
26
+ test.verbose = true
27
+ end
28
+
29
+ begin
30
+ require 'rcov/rcovtask'
31
+ Rcov::RcovTask.new do |test|
32
+ test.libs << 'test'
33
+ test.pattern = 'test/**/test_*.rb'
34
+ test.verbose = true
35
+ end
36
+ rescue LoadError
37
+ task :rcov do
38
+ abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
39
+ end
40
+ end
41
+
42
+ task :test => :check_dependencies
43
+
44
+ task :default => :test
45
+
46
+ require 'rake/rdoctask'
47
+ Rake::RDocTask.new do |rdoc|
48
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
49
+
50
+ rdoc.rdoc_dir = 'rdoc'
51
+ rdoc.title = "jumpstart #{version}"
52
+ rdoc.rdoc_files.include('README*')
53
+ rdoc.rdoc_files.include('lib/**/*.rb')
54
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.0
data/bin/jumpstart ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+ $LOAD_PATH << File.join(File.dirname(__FILE__), "/../lib")
3
+ require "jumpstart"
4
+ project = JumpStart::Base.new(ARGV)
5
+ project.start
@@ -0,0 +1,2 @@
1
+ ---
2
+ :jumpstart_templates_path: /Users/i0n/Sites/jumpstart/jumpstart_templates
data/jumpstart.gemspec ADDED
@@ -0,0 +1,222 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{jumpstart}
8
+ s.version = "0.1.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["i0n"]
12
+ s.date = %q{2010-05-24}
13
+ s.default_executable = %q{jumpstart}
14
+ s.description = %q{JumpStart is a script runner and template parser written in Ruby with Ruby projects in mind.
15
+
16
+ That said it should function equally well for any project in any language where many actions need to be performed to setup a new project.
17
+ }
18
+ s.email = %q{ianalexanderwood@gmail.com}
19
+ s.executables = ["jumpstart"]
20
+ s.extra_rdoc_files = [
21
+ "LICENSE",
22
+ "README.rdoc"
23
+ ]
24
+ s.files = [
25
+ ".bundle/config",
26
+ ".document",
27
+ ".gitignore",
28
+ "Gemfile",
29
+ "LICENSE",
30
+ "README.rdoc",
31
+ "Rakefile",
32
+ "VERSION",
33
+ "bin/jumpstart",
34
+ "config/jumpstart_setup.yml",
35
+ "jumpstart.gemspec",
36
+ "jumpstart_templates/i0n_rails_3/.gitignore",
37
+ "jumpstart_templates/i0n_rails_3/_._Gemfile",
38
+ "jumpstart_templates/i0n_rails_3/app/views/home/index.haml",
39
+ "jumpstart_templates/i0n_rails_3/app/views/layouts/application.haml",
40
+ "jumpstart_templates/i0n_rails_3/config/_2._routes.rb",
41
+ "jumpstart_templates/i0n_rails_3/config/_L._database.yml",
42
+ "jumpstart_templates/i0n_rails_3/config/deploy.rb",
43
+ "jumpstart_templates/i0n_rails_3/config/environments/_18._development.rb",
44
+ "jumpstart_templates/i0n_rails_3/config/environments/_27._test.rb",
45
+ "jumpstart_templates/i0n_rails_3/config/environments/_41._production.rb",
46
+ "jumpstart_templates/i0n_rails_3/config/initializers/setup_mail.rb",
47
+ "jumpstart_templates/i0n_rails_3/jumpstart_config/i0n_rails_3.yml",
48
+ "jumpstart_templates/i0n_rails_3/jumpstart_config/nginx.local.conf",
49
+ "jumpstart_templates/i0n_rails_3/jumpstart_config/nginx.remote.conf",
50
+ "jumpstart_templates/i0n_rails_3/lib/development_mail_interceptor.rb",
51
+ "jumpstart_templates/i0n_rails_3/lib/generators/authlogic.rb",
52
+ "jumpstart_templates/i0n_rails_3/lib/generators/authlogic/session/session_generator.rb",
53
+ "jumpstart_templates/i0n_rails_3/lib/generators/authlogic/session/templates/session.rb",
54
+ "jumpstart_templates/i0n_rails_3/lib/generators/datamapper.rb",
55
+ "jumpstart_templates/i0n_rails_3/lib/generators/datamapper/migration/migration_generator.rb",
56
+ "jumpstart_templates/i0n_rails_3/lib/generators/datamapper/migration/templates/migration.rb",
57
+ "jumpstart_templates/i0n_rails_3/lib/generators/datamapper/model/model_generator.rb",
58
+ "jumpstart_templates/i0n_rails_3/lib/generators/datamapper/model/templates/migration.rb",
59
+ "jumpstart_templates/i0n_rails_3/lib/generators/datamapper/model/templates/model.rb",
60
+ "jumpstart_templates/i0n_rails_3/lib/generators/datamapper/observer/observer_generator.rb",
61
+ "jumpstart_templates/i0n_rails_3/lib/generators/datamapper/observer/templates/observer.rb",
62
+ "jumpstart_templates/i0n_rails_3/lib/generators/factory_girl.rb",
63
+ "jumpstart_templates/i0n_rails_3/lib/generators/factory_girl/model/model_generator.rb",
64
+ "jumpstart_templates/i0n_rails_3/lib/generators/factory_girl/model/templates/fixtures.rb",
65
+ "jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb.rb",
66
+ "jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/USAGE",
67
+ "jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/controller/controller_generator.rb",
68
+ "jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/controller/templates/view.html.erb",
69
+ "jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/scaffold/scaffold_generator.rb",
70
+ "jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/scaffold/templates/_form.html.erb",
71
+ "jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/scaffold/templates/edit.html.erb",
72
+ "jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/scaffold/templates/index.html.erb",
73
+ "jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/scaffold/templates/layout.html.erb",
74
+ "jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/scaffold/templates/new.html.erb",
75
+ "jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/scaffold/templates/show.html.erb",
76
+ "jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml.rb",
77
+ "jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/USAGE",
78
+ "jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/controller/controller_generator.rb",
79
+ "jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/controller/templates/view.html.haml",
80
+ "jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/scaffold/scaffold_generator.rb",
81
+ "jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/scaffold/templates/_form.haml.erb",
82
+ "jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/scaffold/templates/edit.haml.erb",
83
+ "jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/scaffold/templates/index.haml.erb",
84
+ "jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/scaffold/templates/layout.haml.erb",
85
+ "jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/scaffold/templates/new.haml.erb",
86
+ "jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/scaffold/templates/show.haml.erb",
87
+ "jumpstart_templates/i0n_rails_3/lib/generators/haml.rb",
88
+ "jumpstart_templates/i0n_rails_3/lib/generators/haml/controller/controller_generator.rb",
89
+ "jumpstart_templates/i0n_rails_3/lib/generators/haml/controller/templates/view.html.haml",
90
+ "jumpstart_templates/i0n_rails_3/lib/generators/haml/scaffold/scaffold_generator.rb",
91
+ "jumpstart_templates/i0n_rails_3/lib/generators/haml/scaffold/templates/_form.haml.erb",
92
+ "jumpstart_templates/i0n_rails_3/lib/generators/haml/scaffold/templates/edit.haml.erb",
93
+ "jumpstart_templates/i0n_rails_3/lib/generators/haml/scaffold/templates/index.haml.erb",
94
+ "jumpstart_templates/i0n_rails_3/lib/generators/haml/scaffold/templates/layout.haml.erb",
95
+ "jumpstart_templates/i0n_rails_3/lib/generators/haml/scaffold/templates/new.haml.erb",
96
+ "jumpstart_templates/i0n_rails_3/lib/generators/haml/scaffold/templates/show.haml.erb",
97
+ "jumpstart_templates/i0n_rails_3/lib/generators/machinist.rb",
98
+ "jumpstart_templates/i0n_rails_3/lib/generators/machinist/model/model_generator.rb",
99
+ "jumpstart_templates/i0n_rails_3/lib/generators/machinist/model/templates/blueprint.rb",
100
+ "jumpstart_templates/i0n_rails_3/lib/generators/machinist/model/templates/machinist_initializer.rb",
101
+ "jumpstart_templates/i0n_rails_3/lib/generators/mongomapper.rb",
102
+ "jumpstart_templates/i0n_rails_3/lib/generators/mongomapper/model/model_generator.rb",
103
+ "jumpstart_templates/i0n_rails_3/lib/generators/mongomapper/model/templates/model.rb",
104
+ "jumpstart_templates/i0n_rails_3/lib/generators/mongomapper/observer/observer_generator.rb",
105
+ "jumpstart_templates/i0n_rails_3/lib/generators/shoulda.rb",
106
+ "jumpstart_templates/i0n_rails_3/lib/generators/shoulda/controller/controller_generator.rb",
107
+ "jumpstart_templates/i0n_rails_3/lib/generators/shoulda/controller/templates/controller.rb",
108
+ "jumpstart_templates/i0n_rails_3/lib/generators/shoulda/model/model_generator.rb",
109
+ "jumpstart_templates/i0n_rails_3/lib/generators/shoulda/model/templates/model.rb",
110
+ "jumpstart_templates/i0n_rails_3/lib/tasks/populate.rake",
111
+ "jumpstart_templates/i0n_rails_3/public/javascripts/init.js",
112
+ "jumpstart_templates/i0n_rails_3/public/javascripts/jquery-1.4.2.min.js",
113
+ "jumpstart_templates/i0n_rails_3/public/javascripts/jquery-ui-1.8.custom.min.js",
114
+ "jumpstart_templates/i0n_rails_3/public/javascripts/rails.js",
115
+ "jumpstart_templates/i0n_rails_3/public/stylesheets/sass/_setup.sass",
116
+ "jumpstart_templates/i0n_rails_3/public/stylesheets/sass/global.sass",
117
+ "jumpstart_templates/i0n_rails_3/public/stylesheets/sass/handheld.sass",
118
+ "jumpstart_templates/i0n_rails_3/public/stylesheets/sass/ie.sass",
119
+ "jumpstart_templates/i0n_rails_3/public/stylesheets/sass/print.sass",
120
+ "jumpstart_templates/i0n_rails_3/public/stylesheets/sass/screen.sass",
121
+ "lib/jumpstart.rb",
122
+ "lib/jumpstart/base.rb",
123
+ "lib/jumpstart/doc/JumpStart.html",
124
+ "lib/jumpstart/doc/JumpStart/Base.html",
125
+ "lib/jumpstart/doc/base_rb.html",
126
+ "lib/jumpstart/doc/created.rid",
127
+ "lib/jumpstart/doc/index.html",
128
+ "lib/jumpstart/doc/rdoc.css",
129
+ "lib/jumpstart/filetools.rb",
130
+ "source_templates/template_config.yml",
131
+ "test/fake_nginx_path/local_nginx_1.conf",
132
+ "test/fake_nginx_path/remote_nginx_1.conf",
133
+ "test/helper.rb",
134
+ "test/jumpstart/test_base.rb",
135
+ "test/jumpstart/test_filetools.rb",
136
+ "test/test_jumpstart.rb",
137
+ "test/test_jumpstart_templates/test_base/_._test_file.txt",
138
+ "test/test_jumpstart_templates/test_base/_._test_file_.txt",
139
+ "test/test_jumpstart_templates/test_base/_1._test_file1.txt",
140
+ "test/test_jumpstart_templates/test_base/_1._test_file1_.txt",
141
+ "test/test_jumpstart_templates/test_base/_10._test_file2.txt",
142
+ "test/test_jumpstart_templates/test_base/_99999._test_file3.txt",
143
+ "test/test_jumpstart_templates/test_base/_a._test_file4.txt",
144
+ "test/test_jumpstart_templates/test_base/test_file",
145
+ "test/test_jumpstart_templates/test_base/test_file5.txt",
146
+ "test/test_jumpstart_templates/test_base/test_file_.6txt",
147
+ "test/test_jumpstart_templates/test_fileutils/append_after_line_test.txt",
148
+ "test/test_jumpstart_templates/test_fileutils/append_to_end_of_file_source.txt",
149
+ "test/test_jumpstart_templates/test_fileutils/append_to_end_of_file_test.txt",
150
+ "test/test_jumpstart_templates/test_fileutils/check_source_type",
151
+ "test/test_jumpstart_templates/test_fileutils/check_source_type.txt",
152
+ "test/test_jumpstart_templates/test_fileutils/config_capistrano_source.rb",
153
+ "test/test_jumpstart_templates/test_fileutils/config_capistrano_test.rb",
154
+ "test/test_jumpstart_templates/test_fileutils/config_nginx_source.txt",
155
+ "test/test_jumpstart_templates/test_fileutils/config_nginx_test.txt",
156
+ "test/test_jumpstart_templates/test_fileutils/hosts_test",
157
+ "test/test_jumpstart_templates/test_fileutils/insert_text_at_line_number_source.txt",
158
+ "test/test_jumpstart_templates/test_fileutils/insert_text_at_line_number_test.txt",
159
+ "test/test_jumpstart_templates/test_fileutils/remove_files_test_2.txt",
160
+ "test/test_jumpstart_templates/test_fileutils/remove_files_test_3.txt",
161
+ "test/test_jumpstart_templates/test_fileutils/remove_lines_test.txt",
162
+ "test/test_jumpstart_templates/test_fileutils/replace_strings_test.rb",
163
+ "test/test_jumpstart_templates/test_template_1/_._test_append_file_with_extension.txt",
164
+ "test/test_jumpstart_templates/test_template_1/_._test_append_file_without_extension",
165
+ "test/test_jumpstart_templates/test_template_1/_20._test_line_file_without_extension",
166
+ "test/test_jumpstart_templates/test_template_1/_5._test_line_file_with_extension.txt",
167
+ "test/test_jumpstart_templates/test_template_1/_L._test_append_to_end_of_file_remove_last_line_1.txt",
168
+ "test/test_jumpstart_templates/test_template_1/_l._test_append_to_end_of_file_remove_last_line_2.txt",
169
+ "test/test_jumpstart_templates/test_template_1/folder with spaces/_._test_append_file_with_extension.txt",
170
+ "test/test_jumpstart_templates/test_template_1/folder with spaces/_._test_append_file_without_extension",
171
+ "test/test_jumpstart_templates/test_template_1/folder with spaces/_5._test_line_file_with_extension.txt",
172
+ "test/test_jumpstart_templates/test_template_1/folder with spaces/_50._test_line_file_without_extension",
173
+ "test/test_jumpstart_templates/test_template_1/folder with spaces/test_whole_file_with_extension.txt",
174
+ "test/test_jumpstart_templates/test_template_1/folder with spaces/test_whole_file_without_extension",
175
+ "test/test_jumpstart_templates/test_template_1/jumpstart_config/test_template_1.yml",
176
+ "test/test_jumpstart_templates/test_template_1/normal_folder_name/_._test_append_file_with_extension.txt",
177
+ "test/test_jumpstart_templates/test_template_1/normal_folder_name/_._test_append_file_without_extension",
178
+ "test/test_jumpstart_templates/test_template_1/normal_folder_name/_5._test_line_file_with_extension.txt",
179
+ "test/test_jumpstart_templates/test_template_1/normal_folder_name/_50._test_line_file_without_extension",
180
+ "test/test_jumpstart_templates/test_template_1/normal_folder_name/test_whole_file_with_extension.txt",
181
+ "test/test_jumpstart_templates/test_template_1/normal_folder_name/test_whole_file_without_extension",
182
+ "test/test_jumpstart_templates/test_template_1/test_append_to_end_of_file_remove_last_line_1.txt",
183
+ "test/test_jumpstart_templates/test_template_1/test_append_to_end_of_file_remove_last_line_2.txt",
184
+ "test/test_jumpstart_templates/test_template_1/test_remove_files/file_with_extension.txt",
185
+ "test/test_jumpstart_templates/test_template_1/test_remove_files/file_without_extension",
186
+ "test/test_jumpstart_templates/test_template_1/test_replace_strings/replace_strings_1.rb",
187
+ "test/test_jumpstart_templates/test_template_1/test_replace_strings/replace_strings_2.txt",
188
+ "test/test_jumpstart_templates/test_template_1/test_whole_file_with_extension.txt",
189
+ "test/test_jumpstart_templates/test_template_1/test_whole_file_without_extension",
190
+ "test/test_jumpstart_templates/test_template_2/jumpstart_config/test_template_2.yml",
191
+ "test/test_jumpstart_templates/test_template_3/jumpstart_config/test_template_3.yml"
192
+ ]
193
+ s.homepage = %q{http://github.com/i0n/jumpstart}
194
+ s.rdoc_options = ["--charset=UTF-8"]
195
+ s.require_paths = ["lib"]
196
+ s.rubygems_version = %q{1.3.7}
197
+ s.summary = %q{Quickly start Ruby projects just the way you want them using a single YAML file and reusable templates.}
198
+ s.test_files = [
199
+ "test/helper.rb",
200
+ "test/jumpstart/test_base.rb",
201
+ "test/jumpstart/test_filetools.rb",
202
+ "test/test_jumpstart.rb",
203
+ "test/test_jumpstart_templates/test_fileutils/config_capistrano_source.rb",
204
+ "test/test_jumpstart_templates/test_fileutils/config_capistrano_test.rb",
205
+ "test/test_jumpstart_templates/test_fileutils/replace_strings_test.rb",
206
+ "test/test_jumpstart_templates/test_template_1/test_replace_strings/replace_strings_1.rb"
207
+ ]
208
+
209
+ if s.respond_to? :specification_version then
210
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
211
+ s.specification_version = 3
212
+
213
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
214
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
215
+ else
216
+ s.add_dependency(%q<shoulda>, [">= 0"])
217
+ end
218
+ else
219
+ s.add_dependency(%q<shoulda>, [">= 0"])
220
+ end
221
+ end
222
+
@@ -0,0 +1,11 @@
1
+ .DS_Store
2
+ log/*.log
3
+ tmp/*/*
4
+ db/*.sqlite3
5
+ public/system/photos/*
6
+ public/stylesheets/global.css
7
+ public/stylesheets/handheld.css
8
+ public/stylesheets/ie.css
9
+ public/stylesheets/print.css
10
+ public/stylesheets/screen.css
11
+ mkmf.log
@@ -0,0 +1,5 @@
1
+ gem 'haml'
2
+
3
+ group :development do
4
+ # gem "rails-footnotes"
5
+ end
@@ -0,0 +1,4 @@
1
+ - content_for :title do
2
+ Home Index Page
3
+ %p
4
+ Holding page for Home Index action
@@ -0,0 +1,32 @@
1
+ !!! 5
2
+ %html
3
+ %head
4
+ %meta{ :content => "text/html;charset=UTF-8", "http-equiv" => "content-type" }
5
+ %meta{:name => 'description', :content => ''}
6
+ %meta{:name => 'keywords', :content => ''}
7
+ = csrf_meta_tag
8
+ %title
9
+ #{yield :title}
10
+ = stylesheet_link_tag 'global', :media => :all
11
+ = stylesheet_link_tag 'screen', :media => :screen
12
+ = stylesheet_link_tag 'print', :media => :print
13
+ = stylesheet_link_tag 'handheld', :media => :handheld
14
+ /
15
+ [if IE 7]>
16
+ = stylesheet_link_tag 'ie', :media => 'screen, projection'
17
+ = stylesheet_link_tag 'print', :media => 'print'
18
+ <![endif]
19
+ %body
20
+ - if flash[:notice] != nil
21
+ %p{:class => "flash_notice"}
22
+ = flash[:notice]
23
+ - elsif flash[:error] != nil
24
+ %p{:class => "flash_error"}
25
+ = flash[:error]
26
+ =yield
27
+ = javascript_include_tag "jquery-1.4.2.min.js"
28
+ / = javascript_include_tag "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"
29
+ = javascript_include_tag "jquery-ui-1.8.custom.min.js"
30
+ / = javascript_include_tag "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js"
31
+ = javascript_include_tag 'rails'
32
+ = javascript_include_tag "init.js"