debase 0.2.5.beta2 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +144 -21
- data/README.md +2 -6
- data/Rakefile +57 -9
- data/debase.gemspec +2 -2
- data/ext/attach/extconf.rb +1 -1
- data/ext/extconf.rb +1 -1
- data/lib/debase/version.rb +1 -1
- data/lib/debase.rb +5 -0
- data/test/test_load.rb +1 -1
- metadata +8 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a0b2560b719fe614e148e0d2f0f9cd1b5ad3f6c9bb1bfbad36fc957cbe6c3d3
|
4
|
+
data.tar.gz: 2374e0d45d23031a0dfa4b9d893bed152adbae9a5e2ccce1fc1ba43f1b7a0574
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5ce212e4a5ef1cc0d77baa622e1ff57be9cd8d870792a02b5fd8b292f14cf0853538b6036e3145fafd2fbaf22ec9e11354e1bf1a936ecc6a67c60b9c444ad64
|
7
|
+
data.tar.gz: 770191bba610c04f18d51dfc60d589cf0b2db15844f25ecf01446c4a5c783d7594e73a85c602a35a413dde6a86db1de220d333aa7933f29981d9543030300eb5
|
data/.travis.yml
CHANGED
@@ -1,31 +1,154 @@
|
|
1
1
|
language: ruby
|
2
|
-
os:
|
3
|
-
- linux
|
4
|
-
- osx
|
5
|
-
rvm:
|
6
|
-
- 2.0
|
7
|
-
- 2.1
|
8
|
-
- 2.2
|
9
|
-
- 2.3
|
10
|
-
- 2.4
|
11
|
-
- 2.5
|
12
|
-
- 2.6
|
13
|
-
- 2.7
|
14
|
-
- 3.0
|
15
|
-
- ruby-head
|
16
|
-
|
17
2
|
matrix:
|
18
|
-
|
3
|
+
fast_finish: true
|
4
|
+
include:
|
5
|
+
- os: linux
|
6
|
+
dist: xenial
|
7
|
+
rvm: 3.4-preview2
|
8
|
+
- os: linux
|
9
|
+
dist: xenial
|
10
|
+
rvm: 3.3
|
11
|
+
- os: linux
|
12
|
+
dist: xenial
|
13
|
+
rvm: 3.2
|
14
|
+
- os: linux
|
15
|
+
dist: xenial
|
16
|
+
rvm: 3.1
|
17
|
+
- os: linux
|
18
|
+
dist: xenial
|
19
|
+
rvm: 3.0
|
20
|
+
- os: linux
|
21
|
+
dist: xenial
|
22
|
+
rvm: 2.7
|
23
|
+
- os: linux
|
24
|
+
dist: xenial
|
25
|
+
rvm: 2.6
|
26
|
+
- os: linux
|
27
|
+
dist: xenial
|
28
|
+
rvm: 2.5
|
29
|
+
- os: linux
|
30
|
+
dist: xenial
|
31
|
+
rvm: 2.4
|
32
|
+
- os: linux
|
33
|
+
dist: xenial
|
34
|
+
rvm: 2.3
|
35
|
+
- os: linux
|
36
|
+
dist: xenial
|
37
|
+
rvm: 2.2
|
38
|
+
- os: linux
|
39
|
+
dist: xenial
|
40
|
+
rvm: 2.1
|
41
|
+
- os: linux
|
42
|
+
dist: bionic
|
43
|
+
rvm: 3.4-preview2
|
44
|
+
- os: linux
|
45
|
+
dist: bionic
|
46
|
+
rvm: 3.3
|
47
|
+
- os: linux
|
48
|
+
dist: bionic
|
49
|
+
rvm: 3.2
|
50
|
+
- os: linux
|
51
|
+
dist: bionic
|
52
|
+
rvm: 3.1
|
53
|
+
- os: linux
|
54
|
+
dist: bionic
|
55
|
+
rvm: 3.0
|
56
|
+
- os: linux
|
57
|
+
dist: bionic
|
58
|
+
rvm: 2.7
|
59
|
+
- os: linux
|
60
|
+
dist: bionic
|
61
|
+
rvm: 2.6
|
62
|
+
- os: linux
|
63
|
+
dist: bionic
|
64
|
+
rvm: 2.5
|
65
|
+
- os: linux
|
66
|
+
dist: bionic
|
67
|
+
rvm: 2.4
|
68
|
+
- os: linux
|
69
|
+
dist: bionic
|
70
|
+
rvm: 2.3
|
71
|
+
- os: linux
|
72
|
+
dist: focal
|
73
|
+
rvm: 3.4-preview2
|
74
|
+
- os: linux
|
75
|
+
dist: focal
|
76
|
+
rvm: 3.3
|
77
|
+
- os: linux
|
78
|
+
dist: focal
|
79
|
+
rvm: 3.2
|
80
|
+
- os: linux
|
81
|
+
dist: focal
|
82
|
+
rvm: 3.1
|
83
|
+
- os: linux
|
84
|
+
dist: focal
|
85
|
+
rvm: 3.0
|
86
|
+
- os: linux
|
87
|
+
dist: focal
|
88
|
+
rvm: 2.7
|
89
|
+
- os: linux
|
90
|
+
dist: focal
|
91
|
+
rvm: 2.6
|
92
|
+
- os: linux
|
93
|
+
dist: focal
|
94
|
+
rvm: 2.5
|
95
|
+
- os: linux
|
96
|
+
dist: focal
|
97
|
+
rvm: 2.4
|
19
98
|
- os: osx
|
20
|
-
|
99
|
+
osx_image: xcode11.3
|
100
|
+
rvm: 3.4-preview2
|
21
101
|
- os: osx
|
22
|
-
|
102
|
+
osx_image: xcode11.3
|
103
|
+
rvm: 3.3
|
23
104
|
- os: osx
|
24
|
-
|
105
|
+
osx_image: xcode11.3
|
106
|
+
rvm: 3.2
|
25
107
|
- os: osx
|
26
|
-
|
27
|
-
|
108
|
+
osx_image: xcode11.3
|
109
|
+
rvm: 3.1
|
110
|
+
- os: osx
|
111
|
+
osx_image: xcode11.3
|
112
|
+
rvm: 3.0
|
28
113
|
- os: osx
|
114
|
+
osx_image: xcode11.3
|
115
|
+
rvm: 2.7
|
116
|
+
- os: osx
|
117
|
+
osx_image: xcode11.3
|
118
|
+
rvm: 2.6
|
119
|
+
- os: osx
|
120
|
+
osx_image: xcode11.3
|
121
|
+
rvm: 2.5
|
122
|
+
- os: osx
|
123
|
+
osx_image: xcode11.3
|
124
|
+
rvm: 2.4
|
125
|
+
- os: osx
|
126
|
+
osx_image: xcode12.2
|
127
|
+
rvm: 3.4-preview2
|
128
|
+
- os: osx
|
129
|
+
osx_image: xcode12.2
|
130
|
+
rvm: 3.3
|
131
|
+
- os: osx
|
132
|
+
osx_image: xcode12.2
|
133
|
+
rvm: 3.2
|
134
|
+
- os: osx
|
135
|
+
osx_image: xcode12.2
|
136
|
+
rvm: 3.1
|
137
|
+
- os: osx
|
138
|
+
osx_image: xcode12.2
|
29
139
|
rvm: 3.0
|
30
140
|
- os: osx
|
141
|
+
osx_image: xcode12.2
|
142
|
+
rvm: 2.7
|
143
|
+
- os: osx
|
144
|
+
osx_image: xcode12.2
|
145
|
+
rvm: 2.6
|
146
|
+
- os: osx
|
147
|
+
osx_image: xcode12.2
|
148
|
+
rvm: 2.5
|
149
|
+
- os: osx
|
150
|
+
osx_image: xcode12.2
|
151
|
+
rvm: 2.4
|
152
|
+
- os: osx
|
153
|
+
osx_image: xcode12.2
|
31
154
|
rvm: ruby-head
|
data/README.md
CHANGED
@@ -1,9 +1,5 @@
|
|
1
|
-
[
|
2
|
-
|
3
|
-
[travis]: https://travis-ci.org/ruby-debug/debase
|
4
|
-
|
5
|
-
[![Gem Version](https://badge.fury.io/rb/debase.png)][gem]
|
6
|
-
[![Build Status](https://secure.travis-ci.org/ruby-debug/debase.png)][travis]
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/debase.png)](https://rubygems.org/gems/debase)
|
2
|
+
[![Build Status](https://travis-ci.org/ruby-debug/debase.svg?branch=master)](https://travis-ci.org/ruby-debug/debase)
|
7
3
|
|
8
4
|
## Overview
|
9
5
|
|
data/Rakefile
CHANGED
@@ -3,25 +3,73 @@ require 'rake/testtask'
|
|
3
3
|
|
4
4
|
BASE_TEST_FILE_LIST = Dir['test/**/test_*.rb']
|
5
5
|
|
6
|
+
# see https://docs.travis-ci.com/user/reference/osx/
|
7
|
+
# see https://docs.travis-ci.com/user/reference/linux/
|
8
|
+
# see https://rubies.travis-ci.org/
|
9
|
+
desc "Generate travis.yml"
|
10
|
+
task :gen_travis do
|
11
|
+
matrix = []
|
12
|
+
|
13
|
+
def matrix.macos(image, *versions)
|
14
|
+
versions.each { |version| self << ['osx', 'osx_image', image, version] }
|
15
|
+
end
|
16
|
+
|
17
|
+
def matrix.linux(distro, *versions)
|
18
|
+
versions.each { |version| self << ['linux', 'dist', distro, version] }
|
19
|
+
end
|
20
|
+
|
21
|
+
since_24 = %w[2.4 2.5 2.6 2.7 3.0 3.1 3.2 3.3 3.4-preview2].reverse
|
22
|
+
since_23 = [*since_24, '2.3']
|
23
|
+
since_22 = [*since_23, '2.2']
|
24
|
+
since_21 = [*since_22, '2.1']
|
25
|
+
|
26
|
+
# Ubuntu 16.04
|
27
|
+
matrix.linux 'xenial', *since_21
|
28
|
+
# Ubuntu 18.04
|
29
|
+
matrix.linux 'bionic', *since_23
|
30
|
+
# Ubuntu 20.04
|
31
|
+
matrix.linux 'focal', *since_24
|
32
|
+
# macOS 10.14.6
|
33
|
+
matrix.macos 'xcode11.3', *since_24
|
34
|
+
# macOS 10.15.7
|
35
|
+
matrix.macos 'xcode12.2', *since_24, 'ruby-head'
|
36
|
+
|
37
|
+
puts <<'EOM'
|
38
|
+
language: ruby
|
39
|
+
matrix:
|
40
|
+
fast_finish: true
|
41
|
+
include:
|
42
|
+
EOM
|
43
|
+
|
44
|
+
matrix.each do |data|
|
45
|
+
puts <<EOM
|
46
|
+
- os: #{data[0]}
|
47
|
+
#{data[1]}: #{data[2]}
|
48
|
+
rvm: #{data[3]}
|
49
|
+
EOM
|
50
|
+
end
|
51
|
+
|
52
|
+
end
|
53
|
+
|
6
54
|
desc "Remove built files"
|
7
55
|
task :clean do
|
8
56
|
cd "ext" do
|
9
|
-
if File.
|
57
|
+
if File.exist?("Makefile")
|
10
58
|
sh "make clean"
|
11
|
-
rm
|
59
|
+
rm "Makefile"
|
12
60
|
end
|
13
61
|
derived_files = Dir.glob(".o") + Dir.glob("*.so") + Dir.glob("*.bundle")
|
14
62
|
rm derived_files unless derived_files.empty?
|
15
63
|
end
|
16
64
|
cd "ext/attach" do
|
17
|
-
if File.
|
65
|
+
if File.exist?("Makefile")
|
18
66
|
sh "make clean"
|
19
|
-
rm
|
67
|
+
rm "Makefile"
|
20
68
|
end
|
21
69
|
derived_files = Dir.glob(".o") + Dir.glob("*.so") + Dir.glob("*.bundle")
|
22
70
|
rm derived_files unless derived_files.empty?
|
23
71
|
end
|
24
|
-
if File.
|
72
|
+
if File.exist?('pkg')
|
25
73
|
cd 'pkg' do
|
26
74
|
derived_files = Dir.glob('*.gem')
|
27
75
|
rm derived_files unless derived_files.empty?
|
@@ -43,10 +91,10 @@ end
|
|
43
91
|
|
44
92
|
desc "Test debase."
|
45
93
|
Rake::TestTask.new(:test) do |t|
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
94
|
+
t.libs += ['./ext', './lib']
|
95
|
+
t.test_files = FileList[BASE_TEST_FILE_LIST]
|
96
|
+
t.verbose = true
|
97
|
+
end
|
50
98
|
task :test => :lib
|
51
99
|
|
52
100
|
task :default => :test
|
data/debase.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.authors = ["Alexandr Evstigneev", "Dennis Ushakov"]
|
10
10
|
s.email = ["hurricup@gmail.com", "dennis.ushakov@gmail.com"]
|
11
11
|
s.homepage = "https://github.com/ruby-debug/debase"
|
12
|
-
s.summary
|
12
|
+
s.summary = %q{debase is a fast implementation of the standard Ruby debugger debug.rb for Ruby 2.0+}
|
13
13
|
s.description = <<-EOF
|
14
14
|
debase is a fast implementation of the standard Ruby debugger debug.rb for Ruby 2.0+.
|
15
15
|
It is implemented by utilizing a new Ruby TracePoint class. The core component
|
@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
|
|
26
26
|
|
27
27
|
s.required_ruby_version = ">= 2.0"
|
28
28
|
|
29
|
-
s.add_dependency "debase-ruby_core_source", ">=
|
29
|
+
s.add_dependency "debase-ruby_core_source", ">= 3.3.6"
|
30
30
|
s.add_development_dependency "test-unit"
|
31
31
|
s.add_development_dependency "rake"
|
32
32
|
end
|
data/ext/attach/extconf.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
if defined?(RUBY_ENGINE) && '
|
1
|
+
if defined?(RUBY_ENGINE) && RUBY_ENGINE != 'ruby'
|
2
2
|
# create dummy Makefile to indicate success
|
3
3
|
f = File.open(File.join(File.dirname(__FILE__), "Makefile"), "w")
|
4
4
|
f.write("all:\n\techo all\ninstall:\n\techo installed\n")
|
data/ext/extconf.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
if defined?(RUBY_ENGINE) && '
|
1
|
+
if defined?(RUBY_ENGINE) && RUBY_ENGINE != 'ruby'
|
2
2
|
# create dummy Makefile to indicate success
|
3
3
|
f = File.open(File.join(File.dirname(__FILE__), "Makefile"), "w")
|
4
4
|
f.write("all:\n\techo all\ninstall:\n\techo installed\n")
|
data/lib/debase/version.rb
CHANGED
data/lib/debase.rb
CHANGED
data/test/test_load.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: debase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexandr Evstigneev
|
8
8
|
- Dennis Ushakov
|
9
|
-
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2024-11-01 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: debase-ruby_core_source
|
@@ -17,14 +16,14 @@ dependencies:
|
|
17
16
|
requirements:
|
18
17
|
- - ">="
|
19
18
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
19
|
+
version: 3.3.6
|
21
20
|
type: :runtime
|
22
21
|
prerelease: false
|
23
22
|
version_requirements: !ruby/object:Gem::Requirement
|
24
23
|
requirements:
|
25
24
|
- - ">="
|
26
25
|
- !ruby/object:Gem::Version
|
27
|
-
version:
|
26
|
+
version: 3.3.6
|
28
27
|
- !ruby/object:Gem::Dependency
|
29
28
|
name: test-unit
|
30
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,7 +122,6 @@ homepage: https://github.com/ruby-debug/debase
|
|
123
122
|
licenses:
|
124
123
|
- MIT
|
125
124
|
metadata: {}
|
126
|
-
post_install_message:
|
127
125
|
rdoc_options: []
|
128
126
|
require_paths:
|
129
127
|
- lib
|
@@ -134,13 +132,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
134
132
|
version: '2.0'
|
135
133
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
134
|
requirements:
|
137
|
-
- - "
|
135
|
+
- - ">="
|
138
136
|
- !ruby/object:Gem::Version
|
139
|
-
version:
|
137
|
+
version: '0'
|
140
138
|
requirements: []
|
141
|
-
rubygems_version: 3.
|
142
|
-
signing_key:
|
139
|
+
rubygems_version: 3.6.0.dev
|
143
140
|
specification_version: 4
|
144
141
|
summary: debase is a fast implementation of the standard Ruby debugger debug.rb for
|
145
|
-
Ruby 2.0
|
142
|
+
Ruby 2.0+
|
146
143
|
test_files: []
|