debugger 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,7 @@
1
+ ## 1.1.1
2
+ * Fix allowing user's to pass --with-ruby-include
3
+ * Improve rvm src autodetection - works for 1.9.3-head
4
+
1
5
  ## 1.1.0
2
6
  * Point to new debugger-ruby_core_source API
3
7
  * General cleanup
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  ## Description
2
- A fork of ruby-debug19 that works on 1.9.2 and 1.9.3 and installs easily for rvm/rbenv rubies.
2
+ A fork of ruby-debug(19) that works on 1.9.2 and 1.9.3 and installs easily for rvm/rbenv rubies.
3
3
 
4
4
  [![Build Status](https://secure.travis-ci.org/cldwalker/debugger.png?branch=master)](http://travis-ci.org/cldwalker/debugger)
5
5
 
@@ -15,6 +15,7 @@ For Windows install instructions, see OLD\_README.
15
15
  ## Usage
16
16
 
17
17
  Wherever you need a debugger, simply:
18
+
18
19
  ```ruby
19
20
  require 'debugger'; debugger
20
21
  ```
@@ -62,7 +63,7 @@ Let's keep this working for the ruby community!
62
63
  ## Credits
63
64
 
64
65
  * Thanks to the original authors: Kent Sibilev and Mark Moseley
65
- * Contributors: jnimety
66
+ * Contributors: jnimety, adammck
66
67
  * Fork started on awesome @relevance fridays!
67
68
 
68
69
  ## TODO
@@ -1,12 +1,15 @@
1
- require 'rbconfig'
2
- bindir = RbConfig::CONFIG['bindir']
3
1
  # autodetect ruby headers
4
- if bindir =~ %r{(^.*/\.rbenv/versions)/([^/]+)/bin$}
5
- ruby_include = "#{$1}/#{$2}/include/ruby-1.9.1/ruby-#{$2}"
6
- ARGV << "--with-ruby-include=#{ruby_include}"
7
- elsif bindir =~ %r{(^.*/\.rvm/rubies)/([^/]+)/bin$}
8
- ruby_include = "#{$1}/#{$2}/include/ruby-1.9.1/#{$2}"
9
- ARGV << "--with-ruby-include=#{ruby_include}"
2
+ unless ARGV.any? {|arg| arg.include?('--with-ruby-include') }
3
+ require 'rbconfig'
4
+ bindir = RbConfig::CONFIG['bindir']
5
+ if bindir =~ %r{(^.*/\.rbenv/versions)/([^/]+)/bin$}
6
+ ruby_include = "#{$1}/#{$2}/include/ruby-1.9.1/ruby-#{$2}"
7
+ ARGV << "--with-ruby-include=#{ruby_include}"
8
+ elsif bindir =~ %r{(^.*/\.rvm/rubies)/([^/]+)/bin$}
9
+ ruby_include = "#{$1}/#{$2}/include/ruby-1.9.1/#{$2}"
10
+ ruby_include = "#{ENV['rvm_path']}/src/#{$2}" unless File.exist?(ruby_include)
11
+ ARGV << "--with-ruby-include=#{ruby_include}"
12
+ end
10
13
  end
11
14
 
12
15
  require "mkmf"
@@ -1,5 +1,5 @@
1
1
  module Debugger
2
2
  # TODO: remove version from C ext
3
3
  send :remove_const, :VERSION if const_defined? :VERSION
4
- VERSION = '1.1.0'
4
+ VERSION = '1.1.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: debugger
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,11 +11,11 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-04-06 00:00:00.000000000 Z
14
+ date: 2012-04-10 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: columnize
18
- requirement: &70308627854160 !ruby/object:Gem::Requirement
18
+ requirement: !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,10 +23,15 @@ dependencies:
23
23
  version: 0.3.1
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *70308627854160
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ none: false
28
+ requirements:
29
+ - - ! '>='
30
+ - !ruby/object:Gem::Version
31
+ version: 0.3.1
27
32
  - !ruby/object:Gem::Dependency
28
33
  name: debugger-ruby_core_source
29
- requirement: &70308627853700 !ruby/object:Gem::Requirement
34
+ requirement: !ruby/object:Gem::Requirement
30
35
  none: false
31
36
  requirements:
32
37
  - - ~>
@@ -34,10 +39,15 @@ dependencies:
34
39
  version: '1.1'
35
40
  type: :runtime
36
41
  prerelease: false
37
- version_requirements: *70308627853700
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '1.1'
38
48
  - !ruby/object:Gem::Dependency
39
49
  name: debugger-linecache
40
- requirement: &70308627853180 !ruby/object:Gem::Requirement
50
+ requirement: !ruby/object:Gem::Requirement
41
51
  none: false
42
52
  requirements:
43
53
  - - ~>
@@ -45,10 +55,15 @@ dependencies:
45
55
  version: '1.1'
46
56
  type: :runtime
47
57
  prerelease: false
48
- version_requirements: *70308627853180
58
+ version_requirements: !ruby/object:Gem::Requirement
59
+ none: false
60
+ requirements:
61
+ - - ~>
62
+ - !ruby/object:Gem::Version
63
+ version: '1.1'
49
64
  - !ruby/object:Gem::Dependency
50
65
  name: rake
51
- requirement: &70308627852700 !ruby/object:Gem::Requirement
66
+ requirement: !ruby/object:Gem::Requirement
52
67
  none: false
53
68
  requirements:
54
69
  - - ~>
@@ -56,10 +71,15 @@ dependencies:
56
71
  version: 0.9.2.2
57
72
  type: :development
58
73
  prerelease: false
59
- version_requirements: *70308627852700
74
+ version_requirements: !ruby/object:Gem::Requirement
75
+ none: false
76
+ requirements:
77
+ - - ~>
78
+ - !ruby/object:Gem::Version
79
+ version: 0.9.2.2
60
80
  - !ruby/object:Gem::Dependency
61
81
  name: rake-compiler
62
- requirement: &70308627852140 !ruby/object:Gem::Requirement
82
+ requirement: !ruby/object:Gem::Requirement
63
83
  none: false
64
84
  requirements:
65
85
  - - ~>
@@ -67,7 +87,12 @@ dependencies:
67
87
  version: 0.8.0
68
88
  type: :development
69
89
  prerelease: false
70
- version_requirements: *70308627852140
90
+ version_requirements: !ruby/object:Gem::Requirement
91
+ none: false
92
+ requirements:
93
+ - - ~>
94
+ - !ruby/object:Gem::Version
95
+ version: 0.8.0
71
96
  description: ! 'debugger is a fast implementation of the standard Ruby debugger debug.rb.
72
97
 
73
98
  It is implemented by utilizing a new Ruby C API hook. The core component
@@ -369,7 +394,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
369
394
  version: 1.3.6
370
395
  requirements: []
371
396
  rubyforge_project:
372
- rubygems_version: 1.8.11
397
+ rubygems_version: 1.8.21
373
398
  signing_key:
374
399
  specification_version: 3
375
400
  summary: Fast Ruby debugger - base + cli