highline 2.0.3 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +50 -0
- data/Changelog.md +6 -0
- data/Gemfile +2 -5
- data/README.md +1 -2
- data/highline.gemspec +1 -1
- data/lib/highline/menu.rb +0 -0
- data/lib/highline/question.rb +0 -0
- data/lib/highline/style.rb +0 -0
- data/lib/highline/terminal.rb +0 -0
- data/lib/highline/version.rb +1 -1
- data/lib/highline.rb +0 -0
- metadata +5 -6
- data/.travis.yml +0 -43
- data/appveyor.yml +0 -37
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bb41764d2e42ab3b3c52ca1735f0cd6a587ff5ed3bb4525d0e7703dc4ccb61f
|
4
|
+
data.tar.gz: 0424d1467c1f787881abfe6558afdc0aceeb0e854d05efac8c5c6db9d07ba3cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df0dd1fa4d206aace9512f7ad414bc1e6bdcbfe804fd91b3811a2bc5860dbe7862d3ab81a502fc812747134be1122a647ac9fdd8e95e88e3f9388f7a05f38c22
|
7
|
+
data.tar.gz: 70cbe01e01aeff63d8321a4768caaa43992082030ad4e3f93533693d7f7908b30175852c11286fe3a744c4a3a3be63ad3328e7b5b605a045ad4f634887e1340d
|
@@ -0,0 +1,50 @@
|
|
1
|
+
name: Tests
|
2
|
+
|
3
|
+
on: [push, pull_request]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
test:
|
7
|
+
strategy:
|
8
|
+
fail-fast: false
|
9
|
+
matrix:
|
10
|
+
os: [ubuntu-latest]
|
11
|
+
ruby-version:
|
12
|
+
- head
|
13
|
+
- '3.2'
|
14
|
+
- '3.1'
|
15
|
+
- '3.0'
|
16
|
+
- '2.7'
|
17
|
+
- '2.6'
|
18
|
+
- '2.5'
|
19
|
+
- '2.4'
|
20
|
+
- '2.3'
|
21
|
+
- jruby
|
22
|
+
- jruby-head
|
23
|
+
- truffleruby
|
24
|
+
- truffleruby-head
|
25
|
+
- truffleruby+graalvm
|
26
|
+
include:
|
27
|
+
- os: windows-latest
|
28
|
+
ruby-version: head
|
29
|
+
- os: windows-latest
|
30
|
+
ruby-version: '3.1'
|
31
|
+
- os: windows-latest
|
32
|
+
ruby-version: mingw
|
33
|
+
- os: windows-latest
|
34
|
+
ruby-version: mswin
|
35
|
+
- os: windows-latest
|
36
|
+
ruby-version: ucrt
|
37
|
+
- os: macos-latest
|
38
|
+
ruby-version: 'head'
|
39
|
+
- os: macos-latest
|
40
|
+
ruby-version: '3.1'
|
41
|
+
runs-on: ${{ matrix.os }}
|
42
|
+
steps:
|
43
|
+
- uses: actions/checkout@v3
|
44
|
+
- name: Set up Ruby ${{ matrix.ruby-version }}
|
45
|
+
uses: ruby/setup-ruby@v1
|
46
|
+
with:
|
47
|
+
ruby-version: ${{ matrix.ruby-version }}
|
48
|
+
bundler-cache: true # 'bundle install' and cache
|
49
|
+
- name: Run tests
|
50
|
+
run: bundle exec rake test
|
data/Changelog.md
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
Below is a complete listing of changes for each revision of HighLine.
|
4
4
|
|
5
|
+
### 2.1.0 / 2022-12-31
|
6
|
+
* PR #255 - Change minimum Ruby version requirement to 2.3 (@abinoam)
|
7
|
+
* PR #254 - Improve Github Actions file (@abinoam)
|
8
|
+
* PR #253, PR #251 - Setup GitHub Actions and remove Travis (@petergoldstein, rev by @AlexWayfer)
|
9
|
+
* PR #250 - Fix file permissions (@bdunne)
|
10
|
+
|
5
11
|
### 2.0.3 / 2019-10-11
|
6
12
|
* PR #245 - Suppress `Psych.safe_load` arg warn (@koic)
|
7
13
|
|
data/Gemfile
CHANGED
@@ -7,16 +7,13 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
|
|
7
7
|
# Specify your gem's dependencies in tgem.gemspec
|
8
8
|
gemspec
|
9
9
|
|
10
|
-
|
11
|
-
# Running only on MRI
|
12
|
-
gem "simplecov", group: :test
|
13
|
-
end
|
10
|
+
gem "simplecov", group: :test, require: false
|
14
11
|
|
15
12
|
group :code_quality do
|
16
13
|
gem "flog", require: false
|
17
14
|
gem "pronto", require: false, platform: :ruby
|
18
15
|
gem "pronto-flay", require: false, platform: :ruby
|
19
|
-
gem "pronto-poper", require: false, platform: :ruby
|
16
|
+
# gem "pronto-poper", require: false, platform: :ruby
|
20
17
|
gem "pronto-reek", require: false, platform: :ruby
|
21
18
|
gem "pronto-rubocop", require: false, platform: :ruby
|
22
19
|
end
|
data/README.md
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
HighLine
|
2
2
|
========
|
3
3
|
|
4
|
-
[](https://ci.appveyor.com/project/JEG2/highline/branch/master)
|
4
|
+
[](https://github.com/JEG2/highline/actions/workflows/ci.yml)
|
6
5
|
[](https://badge.fury.io/rb/highline)
|
7
6
|
[](https://codeclimate.com/github/JEG2/highline)
|
8
7
|
[](https://codeclimate.com/github/JEG2/highline/coverage)
|
data/highline.gemspec
CHANGED
data/lib/highline/menu.rb
CHANGED
File without changes
|
data/lib/highline/question.rb
CHANGED
File without changes
|
data/lib/highline/style.rb
CHANGED
File without changes
|
data/lib/highline/terminal.rb
CHANGED
File without changes
|
data/lib/highline/version.rb
CHANGED
data/lib/highline.rb
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: highline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Edward Gray II
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -66,10 +66,10 @@ extra_rdoc_files:
|
|
66
66
|
- Changelog.md
|
67
67
|
- LICENSE
|
68
68
|
files:
|
69
|
+
- ".github/workflows/ci.yml"
|
69
70
|
- ".gitignore"
|
70
71
|
- ".rubocop.yml"
|
71
72
|
- ".simplecov"
|
72
|
-
- ".travis.yml"
|
73
73
|
- AUTHORS
|
74
74
|
- COPYING
|
75
75
|
- Changelog.md
|
@@ -78,7 +78,6 @@ files:
|
|
78
78
|
- README.md
|
79
79
|
- Rakefile
|
80
80
|
- TODO
|
81
|
-
- appveyor.yml
|
82
81
|
- doc/.cvsignore
|
83
82
|
- examples/ansi_colors.rb
|
84
83
|
- examples/asking_for_arrays.rb
|
@@ -137,14 +136,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
137
136
|
requirements:
|
138
137
|
- - ">="
|
139
138
|
- !ruby/object:Gem::Version
|
140
|
-
version:
|
139
|
+
version: '2.3'
|
141
140
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
142
141
|
requirements:
|
143
142
|
- - ">="
|
144
143
|
- !ruby/object:Gem::Version
|
145
144
|
version: '0'
|
146
145
|
requirements: []
|
147
|
-
rubygems_version: 3.
|
146
|
+
rubygems_version: 3.4.1
|
148
147
|
signing_key:
|
149
148
|
specification_version: 4
|
150
149
|
summary: HighLine is a high-level command-line IO library.
|
data/.travis.yml
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
---
|
2
|
-
language: ruby
|
3
|
-
dist: trusty
|
4
|
-
cache: bundler
|
5
|
-
script: "bundle exec rake test"
|
6
|
-
rvm:
|
7
|
-
- 2.0
|
8
|
-
- 2.1
|
9
|
-
- 2.2
|
10
|
-
- 2.3
|
11
|
-
- 2.4
|
12
|
-
- jruby-19mode # JRuby in 1.9 mode
|
13
|
-
- jruby-head
|
14
|
-
|
15
|
-
notifications:
|
16
|
-
email: false
|
17
|
-
matrix:
|
18
|
-
allow_failures:
|
19
|
-
- rvm: 1.9
|
20
|
-
- rvm: ruby-head
|
21
|
-
- rvm: rbx-3.81
|
22
|
-
- rvm: jruby-19mode # JRuby in 1.9 mode
|
23
|
-
- rvm: jruby-head
|
24
|
-
fast_finish: true
|
25
|
-
include:
|
26
|
-
- rvm: 1.9
|
27
|
-
before_install:
|
28
|
-
- "gem update --system -N"
|
29
|
-
- "gem update bundler -N"
|
30
|
-
- rvm: 2.5
|
31
|
-
before_install:
|
32
|
-
- gem install bundler
|
33
|
-
- rvm: 2.6
|
34
|
-
before_install:
|
35
|
-
- gem install bundler
|
36
|
-
- rvm: ruby-head
|
37
|
-
before_install:
|
38
|
-
- gem install bundler
|
39
|
-
- rvm: rbx-3.81
|
40
|
-
before_install:
|
41
|
-
- gem install bundler
|
42
|
-
|
43
|
-
bundler_args: --without code_quality
|
data/appveyor.yml
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
version: 2.0.{build}-{branch}
|
2
|
-
|
3
|
-
cache:
|
4
|
-
- vendor/bundle
|
5
|
-
|
6
|
-
environment:
|
7
|
-
matrix:
|
8
|
-
- RUBY_VERSION: "193"
|
9
|
-
- RUBY_VERSION: "200"
|
10
|
-
- RUBY_VERSION: "200-x64"
|
11
|
-
- RUBY_VERSION: "21"
|
12
|
-
- RUBY_VERSION: "21-x64"
|
13
|
-
- RUBY_VERSION: "22"
|
14
|
-
- RUBY_VERSION: "22-x64"
|
15
|
-
- RUBY_VERSION: "23"
|
16
|
-
- RUBY_VERSION: "23-x64"
|
17
|
-
- RUBY_VERSION: "24"
|
18
|
-
- RUBY_VERSION: "24-x64"
|
19
|
-
|
20
|
-
matrix:
|
21
|
-
allow_failures:
|
22
|
-
- RUBY_VERSION: "193"
|
23
|
-
|
24
|
-
install:
|
25
|
-
- set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
|
26
|
-
- bundle config --local path vendor/bundle
|
27
|
-
- bundle install --retry=3 --without code_quality
|
28
|
-
|
29
|
-
build: off
|
30
|
-
|
31
|
-
before_test:
|
32
|
-
- ruby -v
|
33
|
-
- gem -v
|
34
|
-
- bundle -v
|
35
|
-
|
36
|
-
test_script:
|
37
|
-
- bundle exec rake
|