bones 3.1.0 → 3.1.1

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.
Files changed (3) hide show
  1. data/History.txt +5 -0
  2. data/lib/bones.rb +3 -3
  3. metadata +5 -5
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ == 3.1.1 / 2009-12-03
2
+
3
+ * 1 bug fix
4
+ - Using "instance_method" to get a Method instance
5
+
1
6
  == 3.1.0 / 2009-10-21
2
7
 
3
8
  * 1 minor enhancements
data/lib/bones.rb CHANGED
@@ -13,7 +13,7 @@ module Bones
13
13
  extend LittlePlugger
14
14
 
15
15
  # :stopdoc:
16
- VERSION = '3.1.0'
16
+ VERSION = '3.1.1'
17
17
  PATH = File.expand_path(File.join(File.dirname(__FILE__), '..'))
18
18
  LIBPATH = File.expand_path(File.join(PATH, 'lib'))
19
19
  HOME = File.expand_path(ENV['HOME'] || ENV['USERPROFILE'])
@@ -88,8 +88,8 @@ module Kernel
88
88
  return ::Bones unless block
89
89
 
90
90
  config = ::Bones.config
91
- extend_method = Object.new.method(:extend).unbind.bind(config)
92
- instance_eval_method = Object.new.method(:instance_eval).unbind.bind(config)
91
+ extend_method = Object.instance_method(:extend).bind(config)
92
+ instance_eval_method = Object.instance_method(:instance_eval).bind(config)
93
93
 
94
94
  plugins.each { |plugin|
95
95
  ps = plugin.const_get :Syntax rescue next
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: 3.1.0
4
+ version: 3.1.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: 2009-11-21 00:00:00 -07:00
12
+ date: 2009-12-03 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -40,7 +40,7 @@ dependencies:
40
40
  requirements:
41
41
  - - ">="
42
42
  - !ruby/object:Gem::Version
43
- version: 1.4.0
43
+ version: 1.4.1
44
44
  version:
45
45
  - !ruby/object:Gem::Dependency
46
46
  name: rspec
@@ -70,7 +70,7 @@ dependencies:
70
70
  requirements:
71
71
  - - ">="
72
72
  - !ruby/object:Gem::Version
73
- version: 1.1.0
73
+ version: 1.2.1
74
74
  version:
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: bones
@@ -80,7 +80,7 @@ dependencies:
80
80
  requirements:
81
81
  - - ">="
82
82
  - !ruby/object:Gem::Version
83
- version: 3.1.0
83
+ version: 3.1.1
84
84
  version:
85
85
  description: |-
86
86
  Mr Bones is a handy tool that creates new Ruby projects from a code