byebug 4.0.0 → 4.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fc54398c97430d4013fb5fdd5da3672314551d35
4
- data.tar.gz: cfbfeb9194527c74bab904a4fdd82030d9b6c1b3
3
+ metadata.gz: c79612b5c56016ff992fbeedd226e1fe316e943b
4
+ data.tar.gz: 901a31886d40faf9e28b0a04b6ad8d4fe924e390
5
5
  SHA512:
6
- metadata.gz: 33a26c3c2cd4faf997e833bb89d92fa93494bf2217972c11772569b5634a86bd18679de22378cf2995d9975e54ff73f14c0c0f96671c1712f0b4edb13459df0b
7
- data.tar.gz: ada07126a8516c85d11a42795a2cdaed04848f0df02d639f2614fa972b9e460c3fefecb09424663636e2e5434e46e1099f7d7dd7537898470d0166f9feeabd78
6
+ metadata.gz: a457f41948172713e24c576c55cd59879dd385aaf6cc422ab60dcf40d9e0289cc84a59afed3f0ab54c34d9b9033f0af3ab38b1abcecd36cafb354777a97a5af6
7
+ data.tar.gz: 7489fe433a6aed0f0e21b7723ff045cf7f77d26c90313d39ebf45166939298e7bff66f24be8b6c13da68531d142bba1783d00213445dbf6d3f24d7456667d67b
@@ -1,3 +1,7 @@
1
+ ## 4.0.1
2
+ ### Fixed
3
+ * .yml files needed for printers support were missing from the release... :S
4
+
1
5
  ## 4.0.0
2
6
  ### Added
3
7
  - `untracevar` command that stops tracing a global variable.
@@ -0,0 +1,116 @@
1
+ base:
2
+ errors:
3
+ only_local: 'Command is available only in local mode.'
4
+
5
+ break:
6
+ errors:
7
+ line: "Line {line} is not a valid breakpoint in file {file}"
8
+ location: "Invalid breakpoint location"
9
+ state: "We are not in a state that has an associated file"
10
+ class: "Unknown class {klass}"
11
+ far_line: "There are only {lines} lines in file {file}"
12
+ source: "No file named {file}"
13
+ expression: "Incorrect expression \"{expr}\"; breakpoint disabled"
14
+ no_breakpoint: "Invalid breakpoint id. Use \"info breakpoint\" to find out the correct id"
15
+ no_breakpoint_delete: "No breakpoint number {pos}"
16
+ not_changed: "Incorrect expression \"{expr}\", breakpoint not changed"
17
+ confirmations:
18
+ delete_all: "Delete all breakpoints?"
19
+
20
+ catch:
21
+ catching: "Catching exception {exception}."
22
+ errors:
23
+ off: "Off expected. Got {off}"
24
+ not_class: "Warning {class} is not known to be a Class"
25
+ removed: "Catch for exception {exception} removed"
26
+ not_found: "Catch for exception {exception} not found"
27
+ confirmations:
28
+ delete_all: "Delete all catchpoints? (y or n) "
29
+
30
+ condition:
31
+ errors:
32
+ no_breakpoints: "No breakpoints have been set"
33
+
34
+ continue:
35
+ errors:
36
+ unstopped_line: "Line {line} is not a valid stopping point in file"
37
+
38
+ display:
39
+ confirmations:
40
+ clear_all: "Clear all expressions?"
41
+ errors:
42
+ undefined: "Display expression {expr} is not defined"
43
+
44
+ edit:
45
+ errors:
46
+ state: "We are not in a state that has an associated file"
47
+ file_line: "Invalid file[:line] number specification: {file_line}"
48
+ not_readable: "File {file} is not readable."
49
+ not_exist: "File {file} does not exist."
50
+
51
+ frame:
52
+ errors:
53
+ too_low: "Can't navigate beyond the oldest frame"
54
+ too_high: "Can't navigate beyond the newest frame"
55
+ c_frame: "Can't navigate to c-frame"
56
+
57
+ help:
58
+ errors:
59
+ undefined: "Undefined command: {cmd}. Try: help"
60
+
61
+ info:
62
+ errors:
63
+ undefined_file: "{file} is not a valid source file"
64
+
65
+ pry:
66
+ errors:
67
+ not_installed: 'You need to install pry in order to run this command'
68
+
69
+ quit:
70
+ confirmations:
71
+ really: "Really quit?"
72
+
73
+ save:
74
+ messages:
75
+ done: "Saved to '{path}'"
76
+
77
+ set:
78
+ errors:
79
+ unknown_setting: "Unknown setting :{key}"
80
+ must_specify_value: "You must specify a value for setting :{key}"
81
+ on_off: "Expecting 'on', 1, true, 'off', 0, false. Got: {arg}."
82
+
83
+ show:
84
+ errors:
85
+ unknown_setting: "Unknown setting :{key}"
86
+
87
+ source:
88
+ errors:
89
+ not_found: "File \"{file}\" not found"
90
+ not_available: "Source commmand not available at this time"
91
+
92
+ thread:
93
+ errors:
94
+ no_thread: "No such thread"
95
+ current_thread: "It's the current thread"
96
+ wrong_action: "Can't {subcmd} thread {arg}"
97
+ already_running: "Already running"
98
+
99
+ toggle:
100
+ errors:
101
+ no_breakpoints: "No breakpoints have been set"
102
+ no_display: "No display expressions have been set"
103
+ syntax: "\"{toggle}\" must be followed by \"display\", \"breakpoints\" or breakpoint ids"
104
+ expression: "Expression \"{expr}\" syntactically incorrect; breakpoint remains disabled."
105
+
106
+ parse:
107
+ errors:
108
+ int:
109
+ too_low: "\"{cmd}\" argument \"{str}\" needs to be at least {min}"
110
+ too_high: "\"{cmd}\" argument \"{str}\" needs to be at most {max}"
111
+ not_number: "\"{cmd}\" argument \"{str}\" needs to be a number"
112
+
113
+ variable:
114
+ errors:
115
+ not_module: "Should be Class/Module: {object}"
116
+ cant_get_class_vars: "can't get class variables here.\n"
@@ -0,0 +1,33 @@
1
+ break:
2
+ created: "Successfully created breakpoint with id {id}"
3
+
4
+ display:
5
+ result: "{n}: {exp} = {result}"
6
+
7
+ eval:
8
+ exception: "{text_message}"
9
+ result: "{result}"
10
+
11
+ frame:
12
+ line: "{mark} #{pos} {call} at {file}:{line}"
13
+
14
+ method:
15
+ methods: "{name}|c"
16
+
17
+ restart:
18
+ success: "Re exec'ing:\n\t{cmd}"
19
+
20
+ thread:
21
+ context: "{status_flag}{debug_flag}{id} {thread} {file_line}"
22
+
23
+ trace:
24
+ messages:
25
+ success: "Tracing global variable \"{var}\"."
26
+ on_change: "traced global variable '{name}' has value '{value}'"
27
+ undo: "Not tracing global variable \"{var}\" anymore."
28
+ errors:
29
+ var_is_not_global: "'{name}' is not a global variable."
30
+ needs_global_variable: "tracevar needs a global variable name"
31
+
32
+ variable:
33
+ variable: "{key} = {value}"
@@ -1,3 +1,3 @@
1
1
  module Byebug
2
- VERSION = '4.0.0'
2
+ VERSION = '4.0.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: byebug
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Rodriguez
@@ -26,6 +26,20 @@ dependencies:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
28
  version: 0.9.0
29
+ - !ruby/object:Gem::Dependency
30
+ name: rb-readline
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - '='
34
+ - !ruby/object:Gem::Version
35
+ version: 0.5.2
36
+ type: :runtime
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - '='
41
+ - !ruby/object:Gem::Version
42
+ version: 0.5.2
29
43
  - !ruby/object:Gem::Dependency
30
44
  name: bundler
31
45
  requirement: !ruby/object:Gem::Requirement
@@ -58,18 +72,12 @@ extra_rdoc_files:
58
72
  - README.md
59
73
  - GUIDE.md
60
74
  files:
61
- - ".gitignore"
62
- - ".rubocop.yml"
63
- - ".travis.yml"
64
75
  - CHANGELOG.md
65
76
  - CONTRIBUTING.md
66
77
  - GUIDE.md
67
- - Gemfile
68
78
  - LICENSE
69
79
  - README.md
70
- - Rakefile
71
80
  - bin/byebug
72
- - byebug.gemspec
73
81
  - ext/byebug/breakpoint.c
74
82
  - ext/byebug/byebug.c
75
83
  - ext/byebug/byebug.h
@@ -124,6 +132,8 @@ files:
124
132
  - lib/byebug/interfaces/test_interface.rb
125
133
  - lib/byebug/printers/base.rb
126
134
  - lib/byebug/printers/plain.rb
135
+ - lib/byebug/printers/texts/base.yml
136
+ - lib/byebug/printers/texts/plain.yml
127
137
  - lib/byebug/processor.rb
128
138
  - lib/byebug/processors/command_processor.rb
129
139
  - lib/byebug/processors/control_command_processor.rb
data/.gitignore DELETED
@@ -1,18 +0,0 @@
1
- #
2
- # Only generated files & Byebug specific files to be kept here.
3
- #
4
- tmp
5
- pkg
6
- doc
7
- coverage
8
-
9
- .gdb_history
10
- .bundle
11
- .byebugrc
12
- .byebug_hist
13
-
14
- Gemfile.lock
15
-
16
- lib/byebug/byebug.so
17
- lib/byebug/byebug.bundle
18
- .ruby-version
@@ -1,20 +0,0 @@
1
- # Until https://github.com/bbatsov/rubocop/issues/1151 is closed
2
- AllCops:
3
- Exclude:
4
- - tmp/**/*
5
- - pkg/**/*
6
-
7
- TrivialAccessors:
8
- ExactNameMatch: true
9
-
10
- Style/ModuleFunction:
11
- Enabled: false
12
-
13
- # https://github.com/bbatsov/rubocop/pull/72
14
- Style/AsciiComments:
15
- Enabled: false
16
-
17
- Style/ExtraSpacing:
18
- Enabled: true
19
-
20
- inherit_from: .rubocop_todo.yml
@@ -1,31 +0,0 @@
1
- os:
2
- - linux
3
- - osx
4
-
5
- language: ruby
6
-
7
- install:
8
- - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install indent; fi
9
- - bundle install --jobs=3 --retry=3
10
-
11
- script:
12
- - if [ "$TRAVIS_OS_NAME" == "linux" ]; then bundle exec rake ; fi
13
- - if [ "$TRAVIS_OS_NAME" == "osx" ]; then bundle exec rake compile test ; fi
14
-
15
- rvm:
16
- - 2.0.0
17
- - 2.1
18
- - 2.2.1
19
- - ruby-head
20
-
21
- env:
22
- - CC=gcc
23
- - CC=clang
24
-
25
- matrix:
26
- allow_failures:
27
- - rvm: ruby-head
28
-
29
- addons:
30
- code_climate:
31
- repo_token: 02530029b1e956220f05076c590b84b9ab078362c9083312eb2ad41cab138408
data/Gemfile DELETED
@@ -1,15 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
4
-
5
- gem 'rake', '~> 10.4'
6
-
7
- group :development, :test do
8
- gem 'rake-compiler', '0.9.5'
9
- gem 'rubocop', '0.29.1'
10
- gem 'mocha', '~> 1.1'
11
- gem 'minitest', '~> 5.5'
12
- gem 'simplecov', '0.9.2', require: false
13
- gem 'codeclimate-test-reporter', '0.4.7', require: false
14
- gem 'pry', '0.10.1', require: false
15
- end
data/Rakefile DELETED
@@ -1,43 +0,0 @@
1
- #
2
- # For the `rake release` task
3
- #
4
- require 'bundler/gem_tasks'
5
-
6
- #
7
- # Prepend DevKit into compilation phase
8
- #
9
- task compile: :devkit if RUBY_PLATFORM =~ /mingw/
10
-
11
- require 'rake/extensiontask'
12
-
13
- spec = Gem::Specification.load('byebug.gemspec')
14
- Rake::ExtensionTask.new('byebug', spec) do |ext|
15
- ext.lib_dir = 'lib/byebug'
16
- end
17
-
18
- desc 'Run the test suite'
19
- task :test do
20
- files = Dir.glob('test/**/*_test.rb').join(' ')
21
- system("ruby -w -Ilib test/test_helper.rb #{files}") || exit(false)
22
- end
23
-
24
- desc 'Activates DevKit'
25
- task :devkit do
26
- begin
27
- require 'devkit'
28
- rescue LoadError
29
- abort "Failed to activate RubyInstaller's DevKit required for compilation."
30
- end
31
- end
32
-
33
- require 'rubocop/rake_task'
34
-
35
- desc 'Run RuboCop'
36
- task :rubocop do
37
- RuboCop::RakeTask.new
38
- end
39
-
40
- require_relative 'tasks/ccop.rb'
41
- require_relative 'tasks/dev_utils.rb'
42
-
43
- task default: [:compile, :test, :rubocop, :ccop]
@@ -1,31 +0,0 @@
1
- require File.dirname(__FILE__) + '/lib/byebug/version'
2
-
3
- Gem::Specification.new do |s|
4
- s.name = 'byebug'
5
- s.version = Byebug::VERSION
6
- s.authors = ['David Rodriguez', 'Kent Sibilev', 'Mark Moseley']
7
- s.email = 'deivid.rodriguez@mail.com'
8
- s.license = 'BSD'
9
- s.homepage = 'http://github.com/deivid-rodriguez/byebug'
10
- s.summary = 'Ruby 2.0 fast debugger - base + CLI'
11
- s.description = "Byebug is a Ruby 2 debugger. It's implemented using the
12
- Ruby 2 TracePoint C API for execution control and the Debug Inspector C API
13
- for call stack navigation. The core component provides support that
14
- front-ends can build on. It provides breakpoint handling and bindings for
15
- stack frames among other things and it comes with an easy to use command
16
- line interface."
17
-
18
- s.required_ruby_version = '>= 2.0.0'
19
-
20
- s.files = Dir['lib/**/*.rb', 'ext/**/*.[ch]', '.gitignore', 'LICENSE']
21
- s.files += %w(.rubocop.yml .travis.yml byebug.gemspec Gemfile Rakefile)
22
- s.bindir = 'bin'
23
- s.executables = ['byebug']
24
- s.extra_rdoc_files = %w(CHANGELOG.md CONTRIBUTING.md README.md GUIDE.md)
25
- s.extensions = ['ext/byebug/extconf.rb']
26
- s.require_path = 'lib'
27
-
28
- s.add_dependency 'columnize', '0.9.0'
29
-
30
- s.add_development_dependency 'bundler', '~> 1.7'
31
- end