keithsalisbury-subtrac 0.1.11 → 0.1.12

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/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 1
4
- :patch: 11
4
+ :patch: 12
@@ -1,19 +1,19 @@
1
1
  [[PageOutline]]
2
2
  = Welcome to the Saint Development Server =
3
3
 
4
- This is the home of development for #{client}. This page is editable by design. That means YOU. If something is missing, fix it. This is what you make of it so get involved.
4
+ This is the home of development for <%= client %>. This page is editable by design. That means YOU. If something is missing, fix it. This is what you make of it so get involved.
5
5
 
6
6
  == Starting Points ==
7
7
 
8
- * [#{@APP_CONFIG[:urls][:svn]}/ Browse all #{client_name} SVN Repositories]
9
- * [#{@APP_CONFIG[:urls][:svn]}/#{client_name}/#{project_name} Browse the #{project_name} repository]
8
+ * [<%= @APP_CONFIG[:urls][:svn] %>/ Browse all <%= client_name %> SVN Repositories]
9
+ * [<%= @APP_CONFIG[:urls][:svn] %>/<%= client_name %>/<%= project_name %> Browse the <%= project_name %> repository]
10
10
 
11
11
  === How to check this project out ===
12
12
 
13
13
  Make sure you have subversion client installed, then you can check the project out using:
14
14
 
15
15
  {{{
16
- svn checkout http://#{@server_hostname}#{@APP_CONFIG[:urls][:svn]}/#{client_name}/#{project_name}/trunk #{project_name}
16
+ svn checkout http://<%= @server_hostname %><%= @APP_CONFIG[:urls][:svn] %>/<%= client_name %>/<%= project_name %>/trunk <%= project_name %>
17
17
  }}}
18
18
 
19
19
  === Using SVN ===
@@ -24,7 +24,7 @@ svn checkout http://#{@server_hostname}#{@APP_CONFIG[:urls][:svn]}/#{client_name
24
24
 
25
25
  == Template Projects ==
26
26
 
27
- This system allows you to set up a default template for different project types. All templates are available to browse in the [#{@APP_CONFIG[:urls][:svn]}/templates/svn/ Browse all Templates Repositories] area.
27
+ This system allows you to set up a default template for different project types. All templates are available to browse in the [<%= @APP_CONFIG[:urls][:svn] %>/templates/svn/ Browse all Templates Repositories] area.
28
28
 
29
29
 
30
30
  = About Trac =
data/lib/subtrac.rb CHANGED
@@ -201,7 +201,7 @@ module Subtrac
201
201
 
202
202
  unless !File.directory?(@install_dir)
203
203
  # Ask if the user agrees (yes or no)
204
- confirm_clean = agree("Err, that dirctory's got stuff init. You sure you want me to overwrite? [Y/n]") if options.clean
204
+ confirm_clean = agree("Err, that directory's got stuff init. You sure you want me to overwrite? [Y/n]") if options.clean
205
205
  end
206
206
 
207
207
  # right lets install
@@ -249,7 +249,7 @@ module Subtrac
249
249
  end
250
250
 
251
251
  # creates a directory if it does not exist
252
- def self.create_if_missing *names
252
+ def self.create_if_missing(*names)
253
253
  names.each do |name|
254
254
  unless File.directory?(name)
255
255
  puts "Creating directory called #{names}..."
@@ -402,6 +402,7 @@ module Subtrac
402
402
  # do something with the file here
403
403
  unless ['.', '..','.svn'].include? file
404
404
  temp_file = File.join(temp_dir,file)
405
+ puts = binding
405
406
  parse_template(File.join(project_template,"trac/wiki",file), temp_file, binding)
406
407
  `trac-admin #{project_trac_dir} wiki import #{file} #{temp_file}` if SUBTRAC_ENV != 'test'
407
408
  FileUtils.rm(temp_file)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keithsalisbury-subtrac
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keith Salisbury