debugger 1.3.1 → 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,6 @@
1
+ ## 1.3.2
2
+ * Bump ruby_core_source dependency
3
+
1
4
  ## 1.3.1
2
5
  * Bump ruby_core_source dependency
3
6
 
@@ -0,0 +1 @@
1
+ Thanks for trying out this project! [See here for contribution guidelines.](http://tagaholic.me/contributing.html)
data/README.md CHANGED
@@ -128,7 +128,7 @@ Let's keep this working for the ruby community!
128
128
 
129
129
  * Thanks to the original authors: Kent Sibilev and Mark Moseley
130
130
  * Thanks to astashov for bringing in a new and improved test suite and various bug fixes.
131
- * Contributors: ericpromislow, jnimety, adammck, hipe, FooBarWidget
131
+ * Contributors: ericpromislow, jnimety, adammck, hipe, FooBarWidget, aghull
132
132
  * Fork started on awesome @relevance fridays!
133
133
 
134
134
  ## TODO
@@ -20,7 +20,7 @@ handling, bindings for stack frames among other things.
20
20
  s.extensions << "ext/ruby_debug/extconf.rb"
21
21
  s.executables = ["rdebug"]
22
22
  s.add_dependency "columnize", ">= 0.3.1"
23
- s.add_dependency "debugger-ruby_core_source", '~> 1.1.8'
23
+ s.add_dependency "debugger-ruby_core_source", '~> 1.1.9'
24
24
  s.add_dependency "debugger-linecache", '~> 1.1.1'
25
25
  s.add_development_dependency 'rake', '~> 0.9.2.2'
26
26
  s.add_development_dependency 'rake-compiler', '~> 0.8.0'
@@ -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.3.1'
4
+ VERSION = '1.3.2'
5
5
  end
@@ -141,8 +141,10 @@ set history size -- Set the size of the command history"],
141
141
  when /^size$/
142
142
  interface.history_length = get_int(args[1],
143
143
  "Set history size")
144
+ when /^filename$/
145
+ interface.histfile = File.join(ENV["HOME"]||ENV["HOMEPATH"]||".", args[1])
144
146
  else
145
- print "Invalid history parameter #{args[0]}. Should be 'save' or 'size'.\n"
147
+ print "Invalid history parameter #{args[0]}. Should be 'filename', 'save' or 'size'.\n"
146
148
  end
147
149
  else
148
150
  print "Need two parameters for 'set history'; got #{args.size}.\n"
@@ -122,10 +122,24 @@ describe "Set Command" do
122
122
  end
123
123
  end
124
124
 
125
+ describe "filename" do
126
+ it "must set history filename" do
127
+ enter 'set history filename .debugger-hist'
128
+ debug_file 'set'
129
+ interface.histfile.must_equal File.join(ENV["HOME"]||ENV["HOMEPATH"]||".", '.debugger-hist')
130
+ end
131
+
132
+ it "must show a message" do
133
+ enter 'set history filename .debugger-hist'
134
+ debug_file 'set'
135
+ check_output_includes "The filename in which to record the command history is \"#{File.join(ENV["HOME"]||ENV["HOMEPATH"]||".", ".debugger-hist")}\""
136
+ end
137
+ end
138
+
125
139
  it "must show an error message if used wrong subcommand" do
126
140
  enter 'set history bla 2'
127
141
  debug_file 'set'
128
- check_output_includes "Invalid history parameter bla. Should be 'save' or 'size'."
142
+ check_output_includes "Invalid history parameter bla. Should be 'filename', 'save' or 'size'."
129
143
  end
130
144
 
131
145
  it "must show an error message if provided only one argument" do
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.3.1
4
+ version: 1.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-02-07 00:00:00.000000000 Z
14
+ date: 2013-02-23 00:00:00.000000000Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: columnize
@@ -36,7 +36,7 @@ dependencies:
36
36
  requirements:
37
37
  - - ~>
38
38
  - !ruby/object:Gem::Version
39
- version: 1.1.8
39
+ version: 1.1.9
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
@@ -44,7 +44,7 @@ dependencies:
44
44
  requirements:
45
45
  - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: 1.1.8
47
+ version: 1.1.9
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: debugger-linecache
50
50
  requirement: !ruby/object:Gem::Requirement
@@ -146,6 +146,7 @@ files:
146
146
  - .travis.yml
147
147
  - AUTHORS
148
148
  - CHANGELOG.md
149
+ - CONTRIBUTING.md
149
150
  - Gemfile
150
151
  - LICENSE
151
152
  - OLDER_CHANGELOG
@@ -345,7 +346,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
345
346
  version: 1.3.6
346
347
  requirements: []
347
348
  rubyforge_project:
348
- rubygems_version: 1.8.24
349
+ rubygems_version: 1.8.19
349
350
  signing_key:
350
351
  specification_version: 3
351
352
  summary: Fast Ruby debugger - base + cli