bones 3.4.5 → 3.4.6

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ == 3.4.6 / 2010-06-09
2
+
3
+ 1 bug fix
4
+ - introduced a regression with dependency management
5
+
1
6
  == 3.4.5 / 2010-06-08
2
7
 
3
8
  3 bug fixes
data/lib/bones.rb CHANGED
@@ -115,7 +115,8 @@ module Kernel
115
115
  extend_method.call ps
116
116
  }
117
117
 
118
- ::Bones.config(&block)
118
+ instance_eval_method = Object.instance_method(:instance_eval).bind(::Bones.config)
119
+ instance_eval_method.call(&block)
119
120
 
120
121
  plugins.each { |plugin| plugin.post_load if plugin.respond_to? :post_load }
121
122
  plugins.each { |plugin| plugin.define_tasks if plugin.respond_to? :define_tasks }
@@ -1,6 +1,5 @@
1
1
 
2
- require File.expand_path(
3
- File.join(File.dirname(__FILE__), %w[.. .. spec_helper]))
2
+ require 'spec_helper'
4
3
 
5
4
  # --------------------------------------------------------------------------
6
5
  describe Bones::App::FileManager do
@@ -1,6 +1,5 @@
1
1
 
2
- require File.expand_path(
3
- File.join(File.dirname(__FILE__), %w[.. spec_helper]))
2
+ require 'spec_helper'
4
3
 
5
4
  class Runner
6
5
  attr_accessor :name
data/spec/bones_spec.rb CHANGED
@@ -1,6 +1,5 @@
1
1
 
2
- require File.expand_path(
3
- File.join(File.dirname(__FILE__), 'spec_helper'))
2
+ require 'spec_helper'
4
3
 
5
4
  describe Bones do
6
5
 
data/version.txt CHANGED
@@ -1 +1 @@
1
- 3.4.5
1
+ 3.4.6
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 3
7
7
  - 4
8
- - 5
9
- version: 3.4.5
8
+ - 6
9
+ version: 3.4.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - Tim Pease
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-06-08 00:00:00 -06:00
17
+ date: 2010-06-09 00:00:00 -06:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -71,7 +71,7 @@ dependencies:
71
71
  - 3
72
72
  - 0
73
73
  version: 1.3.0
74
- type: :runtime
74
+ type: :development
75
75
  version_requirements: *id004
76
76
  - !ruby/object:Gem::Dependency
77
77
  name: bones-git
@@ -85,7 +85,7 @@ dependencies:
85
85
  - 1
86
86
  - 2
87
87
  version: 1.1.2
88
- type: :runtime
88
+ type: :development
89
89
  version_requirements: *id005
90
90
  - !ruby/object:Gem::Dependency
91
91
  name: bones-extras
@@ -99,7 +99,7 @@ dependencies:
99
99
  - 2
100
100
  - 4
101
101
  version: 1.2.4
102
- type: :runtime
102
+ type: :development
103
103
  version_requirements: *id006
104
104
  description: |-
105
105
  Mr Bones is a handy tool that creates new Ruby projects from a code