bones 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/README.txt +2 -2
- data/Rakefile +3 -2
- data/data/tasks/setup.rb +3 -3
- data/data/tasks/spec.rake +1 -3
- data/lib/bones.rb +2 -2
- data/tasks/setup.rb +4 -4
- data/tasks/spec.rake +2 -4
- metadata +1 -1
data/History.txt
CHANGED
data/README.txt
CHANGED
@@ -135,8 +135,8 @@ most current version number for the installed gem is used.
|
|
135
135
|
|
136
136
|
Ryan Davis and Eric Hodel and their Hoe gem (from which much of the Mr Bones
|
137
137
|
rake tasks have been stolen). The rails team and their source annotation
|
138
|
-
extractor. Bruce Williams for help in coming up with the project name. Ara
|
139
|
-
|
138
|
+
extractor. Bruce Williams for help in coming up with the project name. Ara T.
|
139
|
+
Howard for letting me squat in the codeforpeople rubyforge project.
|
140
140
|
|
141
141
|
== LICENSE:
|
142
142
|
|
data/Rakefile
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# $Id$
|
2
2
|
|
3
|
-
|
3
|
+
$:.unshift('lib')
|
4
4
|
|
5
|
-
|
5
|
+
load 'tasks/setup.rb'
|
6
6
|
require 'bones'
|
7
7
|
|
8
8
|
task :default => 'spec:run'
|
@@ -17,6 +17,7 @@ PROJ.changes = paragraphs_of('History.txt', 0..1).join("\n\n")
|
|
17
17
|
PROJ.rubyforge_name = 'codeforpeople'
|
18
18
|
PROJ.rdoc_remote_dir = 'bones'
|
19
19
|
PROJ.version = Bones::VERSION
|
20
|
+
PROJ.specs = nil
|
20
21
|
|
21
22
|
PROJ.exclude << '^doc'
|
22
23
|
PROJ.rdoc_exclude << '^data'
|
data/data/tasks/setup.rb
CHANGED
@@ -89,12 +89,12 @@ SUDO = if WIN32 then ''
|
|
89
89
|
RCOV = WIN32 ? 'rcov.cmd' : 'rcov'
|
90
90
|
GEM = WIN32 ? 'gem.cmd' : 'gem'
|
91
91
|
|
92
|
-
%w(rcov spec rubyforge bones).each do |lib|
|
92
|
+
%w(rcov spec/rake/spectask rubyforge bones).each do |lib|
|
93
93
|
begin
|
94
94
|
require lib
|
95
|
-
Object.instance_eval {const_set "HAVE_#{lib.upcase}", true}
|
95
|
+
Object.instance_eval {const_set "HAVE_#{lib.tr('/','_').upcase}", true}
|
96
96
|
rescue LoadError
|
97
|
-
Object.instance_eval {const_set "HAVE_#{lib.upcase}", false}
|
97
|
+
Object.instance_eval {const_set "HAVE_#{lib.tr('/','_').upcase}", false}
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
data/data/tasks/spec.rake
CHANGED
data/lib/bones.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
# $Id: bones.rb
|
1
|
+
# $Id: bones.rb 427 2007-12-29 20:41:02Z tim_pease $
|
2
2
|
|
3
3
|
module Bones
|
4
4
|
|
5
5
|
# :stopdoc:
|
6
|
-
VERSION = '1.1.
|
6
|
+
VERSION = '1.1.1'
|
7
7
|
PATH = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
8
8
|
WIN32 = %r/win32/ =~ RUBY_PLATFORM unless defined? WIN32
|
9
9
|
DEV_NULL = WIN32 ? 'NUL:' : '/dev/null'
|
data/tasks/setup.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# $Id: setup.rb
|
1
|
+
# $Id: setup.rb 427 2007-12-29 20:41:02Z tim_pease $
|
2
2
|
|
3
3
|
require 'rubygems'
|
4
4
|
require 'rake'
|
@@ -89,12 +89,12 @@ SUDO = if WIN32 then ''
|
|
89
89
|
RCOV = WIN32 ? 'rcov.cmd' : 'rcov'
|
90
90
|
GEM = WIN32 ? 'gem.cmd' : 'gem'
|
91
91
|
|
92
|
-
%w(rcov spec rubyforge bones).each do |lib|
|
92
|
+
%w(rcov spec/rake/spectask rubyforge bones).each do |lib|
|
93
93
|
begin
|
94
94
|
require lib
|
95
|
-
Object.instance_eval {const_set "HAVE_#{lib.upcase}", true}
|
95
|
+
Object.instance_eval {const_set "HAVE_#{lib.tr('/','_').upcase}", true}
|
96
96
|
rescue LoadError
|
97
|
-
Object.instance_eval {const_set "HAVE_#{lib.upcase}", false}
|
97
|
+
Object.instance_eval {const_set "HAVE_#{lib.tr('/','_').upcase}", false}
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
data/tasks/spec.rake
CHANGED