bones 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,9 @@
1
+ == 1.2.1 /
2
+
3
+ * 2 bug fixes
4
+ - With no arguments, the bones command was not showing the help message
5
+ - Freezing a second time was not updating all the skeleton tasks
6
+
1
7
  == 1.2.0 / 2007-12-31
2
8
 
3
9
  * 1 major enhancement
data/README.txt CHANGED
@@ -172,8 +172,8 @@ the ".mrbones" directory before it is removed.
172
172
  ==== Custom Modifications
173
173
 
174
174
  Mr Bones will perform a limited set of substitutions on the files in the
175
- skeleton when it generates a new project. ERB is the to insert the project name
176
- and the derived class name into any template files. The file must end in an
175
+ skeleton when it generates a new project. ERB is used to insert the project
176
+ name and the derived class name into template files. The file must end in an
177
177
  ".erb" suffix for ERB substitutions to take place. The ".erb" suffix is
178
178
  stripped from the file during project generation. Therefore, your ERB files
179
179
  should have two suffixes -- the ".erb" suffix that will be stripped, and the
data/Rakefile CHANGED
@@ -19,7 +19,7 @@ PROJ.rdoc_remote_dir = 'bones'
19
19
  PROJ.version = Bones::VERSION
20
20
 
21
21
  PROJ.rdoc_exclude << '^data'
22
- PROJ.annotation_exclude = %w(README\.txt ^data\/)
22
+ PROJ.annotation_exclude = %w(^README\.txt$ ^data\/)
23
23
 
24
24
  PROJ.spec_opts << '--color'
25
25
 
@@ -1,9 +1,9 @@
1
- # $Id: bones.rb 432 2007-12-31 23:41:04Z tim_pease $
1
+ # $Id: bones.rb 448 2008-01-02 16:40:37Z tim_pease $
2
2
 
3
3
  module Bones
4
4
 
5
5
  # :stopdoc:
6
- VERSION = '1.2.0'
6
+ VERSION = '1.2.1'
7
7
  PATH = File.expand_path(File.join(File.dirname(__FILE__), '..'))
8
8
  WIN32 = %r/win32/ =~ RUBY_PLATFORM
9
9
  DEV_NULL = WIN32 ? 'NUL:' : '/dev/null'
@@ -1,4 +1,4 @@
1
- # $Id: main.rb 433 2008-01-01 04:32:48Z tim_pease $
1
+ # $Id: main.rb 448 2008-01-02 16:40:37Z tim_pease $
2
2
 
3
3
  require 'fileutils'
4
4
  require 'optparse'
@@ -61,7 +61,7 @@ class Main
61
61
 
62
62
  # parse the command line arguments
63
63
  opts.parse! args
64
- self.name = args.join('_')
64
+ self.name = args.empty? ? nil : args.join('_')
65
65
 
66
66
  if name.nil?
67
67
  puts opts
@@ -142,7 +142,7 @@ class Main
142
142
  # Bones skeleton will be copied to the user's data directory.
143
143
  #
144
144
  def freeze
145
- bones_data_dir = File.join(::Bones::PATH, 'data')
145
+ self.data = File.join(::Bones::PATH, 'data')
146
146
  data_dir = File.join(mrbones_dir, 'data')
147
147
  archive_dir = File.join(mrbones_dir, 'archive')
148
148
  tasks_only = false
@@ -160,7 +160,7 @@ class Main
160
160
  files_to_copy.each do |file|
161
161
  next if tasks_only && !(%r/^tasks\// =~ file)
162
162
 
163
- src = File.join(bones_data_dir, file)
163
+ src = File.join(data, file)
164
164
  dst = File.join(data_dir, file)
165
165
 
166
166
  STDOUT.puts "freezing #{dst}" if verbose
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bones
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Pease
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2007-12-31 00:00:00 -07:00
12
+ date: 2008-01-02 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15