Skip to content

Commit 94e135d

Browse files
committed
New upstream version 3.1.0
1 parent 5b10641 commit 94e135d

File tree

4,054 files changed

+648329
-261361
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,054 files changed

+648329
-261361
lines changed

.appveyor.yml

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
---
2+
version: '{build}'
3+
init:
4+
- git config --global user.name git
5+
- git config --global user.email [email protected]
6+
- git config --global core.autocrlf false
7+
- git config --global core.eol lf
8+
- git config --global advice.detachedHead 0
9+
shallow_clone: true
10+
clone_depth: 10
11+
platform:
12+
- x64
13+
skip_commits:
14+
message: /^\[DOC\]/
15+
files:
16+
- doc/*
17+
- '**/*.md'
18+
- '**/*.rdoc'
19+
environment:
20+
ruby_version: "24-%Platform%"
21+
zlib_version: "1.2.11"
22+
matrix:
23+
- build: vs
24+
vs: 120
25+
ssl: OpenSSL
26+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
27+
GEMS_FOR_TEST: ""
28+
- build: vs
29+
vs: 140
30+
ssl: OpenSSL-v111
31+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
32+
GEMS_FOR_TEST: ""
33+
RELINE_TEST_ENCODING: "UTF-8"
34+
for:
35+
-
36+
matrix:
37+
only:
38+
- build: vs
39+
install:
40+
- ver
41+
- chcp
42+
- SET BITS=%Platform:x86=32%
43+
- SET BITS=%BITS:x=%
44+
- SET OPENSSL_DIR=C:\%ssl%-Win%BITS%
45+
- CALL SET vcvars=%%^VS%VS%COMNTOOLS^%%..\..\VC\vcvarsall.bat
46+
- SET vcvars
47+
- '"%vcvars%" %Platform:x64=amd64%'
48+
- SET ruby_path=C:\Ruby%ruby_version:-x86=%
49+
- SET PATH=\usr\local\bin;%ruby_path%\bin;%PATH%;C:\msys64\mingw64\bin;C:\msys64\usr\bin
50+
- ruby --version
51+
- 'cl'
52+
- echo> Makefile srcdir=.
53+
- echo>> Makefile MSC_VER=0
54+
- echo>> Makefile RT=none
55+
- echo>> Makefile RT_VER=0
56+
- echo>> Makefile BUILTIN_ENCOBJS=nul
57+
- type win32\Makefile.sub >> Makefile
58+
- nmake %mflags% up VCSUP="echo Update OK"
59+
- nmake %mflags% extract-extlibs
60+
- del Makefile
61+
- mkdir \usr\local\bin
62+
- mkdir \usr\local\include
63+
- mkdir \usr\local\lib
64+
- SET ZLIB_ZIP=.downloaded-cache\zlib%zlib_version:.=%.zip
65+
- if not exist %ZLIB_ZIP% curl -fsSL -o %ZLIB_ZIP% --retry 10 https://zlib.net/zlib%zlib_version:.=%.zip
66+
- 7z x -aos -o%APPVEYOR_BUILD_FOLDER%\ext\zlib %ZLIB_ZIP%
67+
- for %%I in (%OPENSSL_DIR%\*.dll) do mklink /h \usr\local\bin\%%~nxI %%I
68+
- attrib +r /s /d
69+
- mkdir %Platform%-mswin_%vs%
70+
build_script:
71+
- cd %APPVEYOR_BUILD_FOLDER%
72+
- cd %Platform%-mswin_%vs%
73+
- ..\win32\configure.bat --without-ext=+,dbm,gdbm,readline --with-opt-dir=/usr/local --with-openssl-dir=%OPENSSL_DIR:\=/%
74+
- nmake -l
75+
- nmake install-nodoc
76+
- \usr\bin\ruby -v -e "p :locale => Encoding.find('locale'), :filesystem => Encoding.find('filesystem')"
77+
- if not "%GEMS_FOR_TEST%" == "" \usr\bin\gem install --no-document %GEMS_FOR_TEST%
78+
- \usr\bin\ruby -ropenssl -e "puts 'Build ' + OpenSSL::OPENSSL_VERSION, 'Runtime ' + OpenSSL::OPENSSL_LIBRARY_VERSION"
79+
test_script:
80+
- set /a JOBS=%NUMBER_OF_PROCESSORS%
81+
- nmake -l "TESTOPTS=-v -q" btest
82+
- nmake -l "TESTOPTS=-v -q" test-basic
83+
- nmake -l "TESTOPTS=-v --timeout-scale=3.0 --excludes=../test/excludes/_appveyor -j%JOBS% --exclude readline --exclude win32ole --exclude test_bignum --exclude test_syntax --exclude test_open-uri --exclude test_bundled_ca" test-all
84+
# separately execute tests without -j which may crash worker with -j.
85+
- nmake -l "TESTOPTS=-v --timeout-scale=3.0 --excludes=../test/excludes/_appveyor" test-all TESTS="../test/win32ole ../test/ruby/test_bignum.rb ../test/ruby/test_syntax.rb ../test/open-uri/test_open-uri.rb ../test/rubygems/test_bundled_ca.rb"
86+
- nmake -l test-spec MSPECOPT=-fs # not using `-j` because sometimes `mspec -j` silently dies on Windows
87+
notifications:
88+
- provider: Webhook
89+
method: POST
90+
url:
91+
secure: CcFlJNDJ/a6to7u3Z4Fnz6dScEPNx7hTha2GkSRlV+1U6dqmxY/7uBcLXYb9gR3jfQk6w+2o/HrjNAyXMNGU/JOka3s2WRI4VKitzM+lQ08owvJIh0R7LxrGH0J2e81U # ruby-lang slack: ruby/simpler-alerts-bot
92+
body: >-
93+
{{^isPullRequest}}
94+
{
95+
"ci": "AppVeyor CI",
96+
"env": "Visual Studio 2013 / 2015",
97+
"url": "{{buildUrl}}",
98+
"commit": "{{commitId}}",
99+
"branch": "{{branch}}"
100+
}
101+
{{/isPullRequest}}
102+
on_build_success: false
103+
on_build_failure: true
104+
on_build_status_changed: false
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Your environment**
11+
12+
* `ruby -v`:
13+
* `rdbg -v`:
14+
15+
**Describe the bug**
16+
A clear and concise description of what the bug is.
17+
18+
**To Reproduce**
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Additional context**
24+
Add any other context about the problem here.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Custom issue template
3+
about: Blank issue
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Your proposal**
11+
What is your idea?
12+
13+
**Additional context**
14+
Add any other context or screenshots about the feature request here.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Thanks for your Pull Request 🎉
2+
3+
**Please follow these instructions to help us review it more efficiently:**
4+
5+
- Add references of related issues/PRs in the description if available.
6+
- If you're updating the readme file, make sure you followed [the instruction here](https://github.com/ruby/debug/blob/master/CONTRIBUTING.md#to-update-readme).
7+
8+
## Description
9+
Describe your changes:
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6+
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7+
8+
name: Ruby
9+
10+
on:
11+
push:
12+
branches: [ master ]
13+
pull_request:
14+
branches: [ master ]
15+
16+
jobs:
17+
test:
18+
19+
runs-on: ubuntu-latest
20+
strategy:
21+
matrix:
22+
ruby-version: ['2.6', '2.7', '3.0', 'head', 'debug']
23+
24+
steps:
25+
- uses: actions/checkout@v2
26+
- name: Set up Ruby
27+
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
28+
# change this to (see https://github.com/ruby/setup-ruby#versioning):
29+
uses: ruby/setup-ruby@v1
30+
with:
31+
ruby-version: ${{ matrix.ruby-version }}
32+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
33+
- name: Run tests
34+
run: bundle exec rake

.bundle/gems/debug-1.4.0/.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/.bundle/
2+
/.yardoc
3+
/_yardoc/
4+
/coverage/
5+
/doc/
6+
/pkg/
7+
/spec/reports/
8+
/tmp/
9+
*.bundle
10+
/Gemfile.lock
11+
/lib/debug/debug.so
12+
.ruby-version

0 commit comments

Comments
 (0)