bones 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,8 @@
1
+ == 1.1.1 / 2007-12-29
2
+
3
+ * 1 bugfix
4
+ * Fixed the bad interaction with RSpec gem
5
+
1
6
  == 1.1.0 / 2007-12-29
2
7
 
3
8
  * 3 minor enhancements
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
- T. Howard for letting me squat in the codeforpeople rubyforge project.
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
- load 'tasks/setup.rb'
3
+ $:.unshift('lib')
4
4
 
5
- ensure_in_path 'lib'
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'
@@ -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
 
@@ -1,8 +1,6 @@
1
1
  # $Id$
2
2
 
3
- if HAVE_SPEC
4
-
5
- require 'spec/rake/spectask'
3
+ if HAVE_SPEC_RAKE_SPECTASK
6
4
 
7
5
  namespace :spec do
8
6
 
@@ -1,9 +1,9 @@
1
- # $Id: bones.rb 423 2007-12-29 18:32:34Z tim_pease $
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.0'
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'
@@ -1,4 +1,4 @@
1
- # $Id: setup.rb 423 2007-12-29 18:32:34Z tim_pease $
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
 
@@ -1,8 +1,6 @@
1
- # $Id: spec.rake 417 2007-12-29 03:21:48Z tim_pease $
1
+ # $Id: spec.rake 427 2007-12-29 20:41:02Z tim_pease $
2
2
 
3
- if HAVE_SPEC
4
-
5
- require 'spec/rake/spectask'
3
+ if HAVE_SPEC_RAKE_SPECTASK
6
4
 
7
5
  namespace :spec do
8
6
 
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.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Pease