jumpstart 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
File without changes
data/Rakefile CHANGED
@@ -1,54 +0,0 @@
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
@@ -14,8 +14,6 @@ module JumpStart
14
14
  @output.puts(*args)
15
15
  end
16
16
 
17
- # TODO write a method to set :jumpstart_templates_path when the gem is run for the first time.
18
-
19
17
  def initialize(args)
20
18
  # setup for testing input
21
19
  @input = $stdin
@@ -37,6 +35,7 @@ module JumpStart
37
35
  # TODO Write integration tests.
38
36
  # TODO Document methods for RDOC
39
37
  # Finish README etc for github
38
+ # TODO try and find a way to automatically reset jumpstart_setup.yml while in development.
40
39
 
41
40
  # Look into moving @install_path or refactoring to make setting this variable easier.
42
41
  def set_config_file_options
@@ -0,0 +1,3 @@
1
+ module JumpStart
2
+ VERSION = "0.1.9"
3
+ end
metadata CHANGED
@@ -5,17 +5,17 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 8
9
- version: 0.1.8
8
+ - 9
9
+ version: 0.1.9
10
10
  platform: ruby
11
11
  authors:
12
- - i0n
12
+ - Ian Alexander Wood (i0n)
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-05-27 00:00:00 +01:00
18
- default_executable: jumpstart
17
+ date: 2010-05-28 00:00:00 +01:00
18
+ default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: shoulda
@@ -30,41 +30,38 @@ dependencies:
30
30
  version: "0"
31
31
  type: :development
32
32
  version_requirements: *id001
33
- description: |
33
+ - !ruby/object:Gem::Dependency
34
+ name: mocha
35
+ prerelease: false
36
+ requirement: &id002 !ruby/object:Gem::Requirement
37
+ none: false
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ segments:
42
+ - 0
43
+ version: "0"
44
+ type: :development
45
+ version_requirements: *id002
46
+ description: |-
34
47
  JumpStart is a script runner and template parser written in Ruby with Ruby projects in mind.
35
-
36
- 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.
37
-
38
- email: ianalexanderwood@gmail.com
48
+ 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.
49
+ email:
50
+ - ianalexanderwood@gmail.com
39
51
  executables:
40
52
  - jumpstart
41
53
  extensions: []
42
54
 
43
- extra_rdoc_files:
44
- - LICENSE
45
- - README.rdoc
55
+ extra_rdoc_files: []
56
+
46
57
  files:
47
- - .document
48
- - .gitignore
49
- - Gemfile
50
- - LICENSE
51
- - README.rdoc
52
- - Rakefile
53
- - VERSION
54
58
  - bin/jumpstart
55
59
  - config/jumpstart_setup.yml
56
- - jumpstart.gemspec
57
- - jumpstart_templates/.gitignore
58
- - lib/jumpstart.rb
59
60
  - lib/jumpstart/base.rb
60
- - lib/jumpstart/doc/JumpStart.html
61
- - lib/jumpstart/doc/JumpStart/Base.html
62
- - lib/jumpstart/doc/base_rb.html
63
- - lib/jumpstart/doc/created.rid
64
- - lib/jumpstart/doc/index.html
65
- - lib/jumpstart/doc/rdoc.css
66
61
  - lib/jumpstart/filetools.rb
67
62
  - lib/jumpstart/stringtools.rb
63
+ - lib/jumpstart/version.rb
64
+ - lib/jumpstart.rb
68
65
  - source_templates/template_config.yml
69
66
  - test/fake_nginx_path/local_nginx_1.conf
70
67
  - test/fake_nginx_path/remote_nginx_1.conf
@@ -135,13 +132,16 @@ files:
135
132
  - test/test_jumpstart_templates/test_template_1/test_whole_file_without_extension
136
133
  - test/test_jumpstart_templates/test_template_2/jumpstart_config/test_template_2.yml
137
134
  - test/test_jumpstart_templates/test_template_3/jumpstart_config/test_template_3.yml
135
+ - LICENSE
136
+ - Rakefile
137
+ - README.md
138
138
  has_rdoc: true
139
139
  homepage: http://github.com/i0n/jumpstart
140
140
  licenses: []
141
141
 
142
142
  post_install_message:
143
- rdoc_options:
144
- - --charset=UTF-8
143
+ rdoc_options: []
144
+
145
145
  require_paths:
146
146
  - lib
147
147
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -158,8 +158,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
158
  - - ">="
159
159
  - !ruby/object:Gem::Version
160
160
  segments:
161
- - 0
162
- version: "0"
161
+ - 1
162
+ - 3
163
+ - 6
164
+ version: 1.3.6
163
165
  requirements: []
164
166
 
165
167
  rubyforge_project:
@@ -167,13 +169,5 @@ rubygems_version: 1.3.7
167
169
  signing_key:
168
170
  specification_version: 3
169
171
  summary: Quickly start Ruby projects just the way you want them using a single YAML file and reusable templates.
170
- test_files:
171
- - test/helper.rb
172
- - test/jumpstart/test_base.rb
173
- - test/jumpstart/test_filetools.rb
174
- - test/jumpstart/test_stringutils.rb
175
- - test/test_jumpstart.rb
176
- - test/test_jumpstart_templates/test_fileutils/config_capistrano_source.rb
177
- - test/test_jumpstart_templates/test_fileutils/config_capistrano_test.rb
178
- - test/test_jumpstart_templates/test_fileutils/replace_strings_test.rb
179
- - test/test_jumpstart_templates/test_template_1/test_replace_strings/replace_strings_1.rb
172
+ test_files: []
173
+
data/.document DELETED
@@ -1,5 +0,0 @@
1
- README.rdoc
2
- lib/**/*.rb
3
- bin/*
4
- features/**/*.feature
5
- LICENSE
data/.gitignore DELETED
@@ -1,29 +0,0 @@
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
- jumpstart_templates/*/*
24
-
25
- ## Bundler
26
- vendor/gems/gems
27
- vendor/gems/specifications
28
- vendor/gems/doc
29
- vendor/gems/environment.rb
data/Gemfile DELETED
@@ -1,9 +0,0 @@
1
- source 'http://gemcutter.org'
2
-
3
- gem 'jumpstart'
4
-
5
- group :test do
6
- require 'test/unit'
7
- require 'shoulda'
8
- require 'mocha'
9
- end
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.1.8
data/jumpstart.gemspec DELETED
@@ -1,147 +0,0 @@
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.8"
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-27}
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
- ".document",
26
- ".gitignore",
27
- "Gemfile",
28
- "LICENSE",
29
- "README.rdoc",
30
- "Rakefile",
31
- "VERSION",
32
- "bin/jumpstart",
33
- "config/jumpstart_setup.yml",
34
- "jumpstart.gemspec",
35
- "jumpstart_templates/.gitignore",
36
- "lib/jumpstart.rb",
37
- "lib/jumpstart/base.rb",
38
- "lib/jumpstart/doc/JumpStart.html",
39
- "lib/jumpstart/doc/JumpStart/Base.html",
40
- "lib/jumpstart/doc/base_rb.html",
41
- "lib/jumpstart/doc/created.rid",
42
- "lib/jumpstart/doc/index.html",
43
- "lib/jumpstart/doc/rdoc.css",
44
- "lib/jumpstart/filetools.rb",
45
- "lib/jumpstart/stringtools.rb",
46
- "source_templates/template_config.yml",
47
- "test/fake_nginx_path/local_nginx_1.conf",
48
- "test/fake_nginx_path/remote_nginx_1.conf",
49
- "test/helper.rb",
50
- "test/jumpstart/test_base.rb",
51
- "test/jumpstart/test_filetools.rb",
52
- "test/jumpstart/test_stringutils.rb",
53
- "test/test_jumpstart.rb",
54
- "test/test_jumpstart_templates/test_base/_._test_file.txt",
55
- "test/test_jumpstart_templates/test_base/_._test_file_.txt",
56
- "test/test_jumpstart_templates/test_base/_1._test_file1.txt",
57
- "test/test_jumpstart_templates/test_base/_1._test_file1_.txt",
58
- "test/test_jumpstart_templates/test_base/_10._test_file2.txt",
59
- "test/test_jumpstart_templates/test_base/_99999._test_file3.txt",
60
- "test/test_jumpstart_templates/test_base/_a._test_file4.txt",
61
- "test/test_jumpstart_templates/test_base/current_files_and_dirs_test_file.txt",
62
- "test/test_jumpstart_templates/test_base/test_file",
63
- "test/test_jumpstart_templates/test_base/test_file5.txt",
64
- "test/test_jumpstart_templates/test_base/test_file_.6txt",
65
- "test/test_jumpstart_templates/test_fileutils/append_after_line_test.txt",
66
- "test/test_jumpstart_templates/test_fileutils/append_to_end_of_file_source.txt",
67
- "test/test_jumpstart_templates/test_fileutils/append_to_end_of_file_test.txt",
68
- "test/test_jumpstart_templates/test_fileutils/check_source_type",
69
- "test/test_jumpstart_templates/test_fileutils/check_source_type.txt",
70
- "test/test_jumpstart_templates/test_fileutils/config_capistrano_source.rb",
71
- "test/test_jumpstart_templates/test_fileutils/config_capistrano_test.rb",
72
- "test/test_jumpstart_templates/test_fileutils/config_nginx_source.txt",
73
- "test/test_jumpstart_templates/test_fileutils/config_nginx_test.txt",
74
- "test/test_jumpstart_templates/test_fileutils/hosts_test",
75
- "test/test_jumpstart_templates/test_fileutils/insert_text_at_line_number_source.txt",
76
- "test/test_jumpstart_templates/test_fileutils/insert_text_at_line_number_test.txt",
77
- "test/test_jumpstart_templates/test_fileutils/remove_files_test_2.txt",
78
- "test/test_jumpstart_templates/test_fileutils/remove_files_test_3.txt",
79
- "test/test_jumpstart_templates/test_fileutils/remove_lines_test.txt",
80
- "test/test_jumpstart_templates/test_fileutils/replace_strings_test.rb",
81
- "test/test_jumpstart_templates/test_fileutils/sort_contained_files_and_dirs_test/file_1.txt",
82
- "test/test_jumpstart_templates/test_fileutils/sort_contained_files_and_dirs_test/file_2",
83
- "test/test_jumpstart_templates/test_fileutils/sort_contained_files_and_dirs_test/folder_1/file_3.txt",
84
- "test/test_jumpstart_templates/test_fileutils/sort_contained_files_and_dirs_test/folder_1/folder_2/file_4.txt",
85
- "test/test_jumpstart_templates/test_fileutils/sort_contained_files_and_dirs_test/folder_1/folder_2/folder_3/file_5.txt",
86
- "test/test_jumpstart_templates/test_fileutils/sort_contained_files_and_dirs_test/folder_1/folder_2/folder_4/file_6.txt",
87
- "test/test_jumpstart_templates/test_template_1/_._test_append_file_with_extension.txt",
88
- "test/test_jumpstart_templates/test_template_1/_._test_append_file_without_extension",
89
- "test/test_jumpstart_templates/test_template_1/_20._test_line_file_without_extension",
90
- "test/test_jumpstart_templates/test_template_1/_5._test_line_file_with_extension.txt",
91
- "test/test_jumpstart_templates/test_template_1/_L._test_append_to_end_of_file_remove_last_line_1.txt",
92
- "test/test_jumpstart_templates/test_template_1/_l._test_append_to_end_of_file_remove_last_line_2.txt",
93
- "test/test_jumpstart_templates/test_template_1/folder with spaces/_._test_append_file_with_extension.txt",
94
- "test/test_jumpstart_templates/test_template_1/folder with spaces/_._test_append_file_without_extension",
95
- "test/test_jumpstart_templates/test_template_1/folder with spaces/_5._test_line_file_with_extension.txt",
96
- "test/test_jumpstart_templates/test_template_1/folder with spaces/_50._test_line_file_without_extension",
97
- "test/test_jumpstart_templates/test_template_1/folder with spaces/test_whole_file_with_extension.txt",
98
- "test/test_jumpstart_templates/test_template_1/folder with spaces/test_whole_file_without_extension",
99
- "test/test_jumpstart_templates/test_template_1/jumpstart_config/test_template_1.yml",
100
- "test/test_jumpstart_templates/test_template_1/normal_folder_name/_._test_append_file_with_extension.txt",
101
- "test/test_jumpstart_templates/test_template_1/normal_folder_name/_._test_append_file_without_extension",
102
- "test/test_jumpstart_templates/test_template_1/normal_folder_name/_5._test_line_file_with_extension.txt",
103
- "test/test_jumpstart_templates/test_template_1/normal_folder_name/_50._test_line_file_without_extension",
104
- "test/test_jumpstart_templates/test_template_1/normal_folder_name/test_whole_file_with_extension.txt",
105
- "test/test_jumpstart_templates/test_template_1/normal_folder_name/test_whole_file_without_extension",
106
- "test/test_jumpstart_templates/test_template_1/test_append_to_end_of_file_remove_last_line_1.txt",
107
- "test/test_jumpstart_templates/test_template_1/test_append_to_end_of_file_remove_last_line_2.txt",
108
- "test/test_jumpstart_templates/test_template_1/test_remove_files/file_with_extension.txt",
109
- "test/test_jumpstart_templates/test_template_1/test_remove_files/file_without_extension",
110
- "test/test_jumpstart_templates/test_template_1/test_replace_strings/replace_strings_1.rb",
111
- "test/test_jumpstart_templates/test_template_1/test_replace_strings/replace_strings_2.txt",
112
- "test/test_jumpstart_templates/test_template_1/test_whole_file_with_extension.txt",
113
- "test/test_jumpstart_templates/test_template_1/test_whole_file_without_extension",
114
- "test/test_jumpstart_templates/test_template_2/jumpstart_config/test_template_2.yml",
115
- "test/test_jumpstart_templates/test_template_3/jumpstart_config/test_template_3.yml"
116
- ]
117
- s.homepage = %q{http://github.com/i0n/jumpstart}
118
- s.rdoc_options = ["--charset=UTF-8"]
119
- s.require_paths = ["lib"]
120
- s.rubygems_version = %q{1.3.7}
121
- s.summary = %q{Quickly start Ruby projects just the way you want them using a single YAML file and reusable templates.}
122
- s.test_files = [
123
- "test/helper.rb",
124
- "test/jumpstart/test_base.rb",
125
- "test/jumpstart/test_filetools.rb",
126
- "test/jumpstart/test_stringutils.rb",
127
- "test/test_jumpstart.rb",
128
- "test/test_jumpstart_templates/test_fileutils/config_capistrano_source.rb",
129
- "test/test_jumpstart_templates/test_fileutils/config_capistrano_test.rb",
130
- "test/test_jumpstart_templates/test_fileutils/replace_strings_test.rb",
131
- "test/test_jumpstart_templates/test_template_1/test_replace_strings/replace_strings_1.rb"
132
- ]
133
-
134
- if s.respond_to? :specification_version then
135
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
136
- s.specification_version = 3
137
-
138
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
139
- s.add_development_dependency(%q<shoulda>, [">= 0"])
140
- else
141
- s.add_dependency(%q<shoulda>, [">= 0"])
142
- end
143
- else
144
- s.add_dependency(%q<shoulda>, [">= 0"])
145
- end
146
- end
147
-
File without changes
@@ -1,139 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
- <head>
6
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
7
-
8
- <title>Module: JumpStart</title>
9
-
10
- <link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
11
-
12
- <script src="./js/jquery.js" type="text/javascript"
13
- charset="utf-8"></script>
14
- <script src="./js/thickbox-compressed.js" type="text/javascript"
15
- charset="utf-8"></script>
16
- <script src="./js/quicksearch.js" type="text/javascript"
17
- charset="utf-8"></script>
18
- <script src="./js/darkfish.js" type="text/javascript"
19
- charset="utf-8"></script>
20
-
21
- </head>
22
- <body class="module">
23
-
24
- <div id="metadata">
25
- <div id="home-metadata">
26
- <div id="home-section" class="section">
27
- <h3 class="section-header">
28
- <a href="./index.html">Home</a>
29
- <a href="./index.html#classes">Classes</a>
30
- <a href="./index.html#methods">Methods</a>
31
- </h3>
32
- </div>
33
- </div>
34
-
35
- <div id="file-metadata">
36
- <div id="file-list-section" class="section">
37
- <h3 class="section-header">In Files</h3>
38
- <div class="section-body">
39
- <ul>
40
-
41
- <li><a href="./base_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
42
- class="thickbox" title="base.rb">base.rb</a></li>
43
-
44
- </ul>
45
- </div>
46
- </div>
47
-
48
-
49
- </div>
50
-
51
- <div id="class-metadata">
52
-
53
- <!-- Parent Class -->
54
-
55
-
56
- <!-- Namespace Contents -->
57
-
58
- <div id="namespace-list-section" class="section">
59
- <h3 class="section-header">Namespace</h3>
60
- <ul class="link-list">
61
-
62
- <li><span class="type">CLASS</span> <a href="JumpStart/Base.html">JumpStart::Base</a></li>
63
-
64
- </ul>
65
- </div>
66
-
67
-
68
- <!-- Method Quickref -->
69
-
70
-
71
- <!-- Included Modules -->
72
-
73
- </div>
74
-
75
- <div id="project-metadata">
76
-
77
-
78
-
79
- <div id="classindex-section" class="section project-section">
80
- <h3 class="section-header">Class Index
81
- <span class="search-toggle"><img src="./images/find.png"
82
- height="16" width="16" alt="[+]"
83
- title="show/hide quicksearch" /></span></h3>
84
- <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
85
- <fieldset>
86
- <legend>Quicksearch</legend>
87
- <input type="text" name="quicksearch" value=""
88
- class="quicksearch-field" />
89
- </fieldset>
90
- </form>
91
-
92
- <ul class="link-list">
93
-
94
- <li><a href="./JumpStart.html">JumpStart</a></li>
95
-
96
- <li><a href="./JumpStart/Base.html">JumpStart::Base</a></li>
97
-
98
- </ul>
99
- <div id="no-class-search-results" style="display: none;">No matching classes.</div>
100
- </div>
101
-
102
-
103
- </div>
104
- </div>
105
-
106
- <div id="documentation">
107
- <h1 class="module">JumpStart</h1>
108
-
109
- <div id="description">
110
-
111
- </div>
112
-
113
- <!-- Constants -->
114
-
115
-
116
- <!-- Attributes -->
117
-
118
-
119
- <!-- Methods -->
120
-
121
-
122
- </div>
123
-
124
-
125
- <div id="rdoc-debugging-section-dump" class="debugging-section">
126
-
127
- <p>Disabled; run with --debug to generate this.</p>
128
-
129
- </div>
130
-
131
- <div id="validator-badges">
132
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
133
- <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
134
- Rdoc Generator</a> 1.1.6</small>.</p>
135
- </div>
136
-
137
- </body>
138
- </html>
139
-