highline 2.0.3 → 2.1.0

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
  SHA256:
3
- metadata.gz: 8c2652997ba01a32e3b6357a60c0567724e235d3763fa7dd000a6adbf71a6d75
4
- data.tar.gz: 93fa0727991ba6d16e36a3a76f48784b54c15b8d4e8b32a0703a12c665e62601
3
+ metadata.gz: 0bb41764d2e42ab3b3c52ca1735f0cd6a587ff5ed3bb4525d0e7703dc4ccb61f
4
+ data.tar.gz: 0424d1467c1f787881abfe6558afdc0aceeb0e854d05efac8c5c6db9d07ba3cf
5
5
  SHA512:
6
- metadata.gz: aae3c4c97d87a3b3fd5e12fcb234acc5a3470e3392942db6b369ea42c83fdd2ae90104b8a6957f8250616c35c16f1ab5acb11edeeb585f505f392367293154e9
7
- data.tar.gz: 1dc931251446b234c9fff7c2389cd4d156a2fdd8619dc3f57a74cc06b8b50cf4c10ae7943fdfb6b20c2ef1359721d38faa03c875c5ef973bf38a87942173c060
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
- platform :ruby do
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
- [![Build Status](https://travis-ci.org/JEG2/highline.svg?branch=master)](https://travis-ci.org/JEG2/highline)
5
- [![Build status](https://ci.appveyor.com/api/projects/status/4p05fijpah77d28x/branch/master?svg=true)](https://ci.appveyor.com/project/JEG2/highline/branch/master)
4
+ [![Tests](https://github.com/JEG2/highline/actions/workflows/ci.yml/badge.svg)](https://github.com/JEG2/highline/actions/workflows/ci.yml)
6
5
  [![Gem Version](https://badge.fury.io/rb/highline.svg)](https://badge.fury.io/rb/highline)
7
6
  [![Code Climate](https://codeclimate.com/github/JEG2/highline/badges/gpa.svg)](https://codeclimate.com/github/JEG2/highline)
8
7
  [![Test Coverage](https://codeclimate.com/github/JEG2/highline/badges/coverage.svg)](https://codeclimate.com/github/JEG2/highline/coverage)
data/highline.gemspec CHANGED
@@ -27,7 +27,7 @@ DESCRIPTION
27
27
 
28
28
  spec.extra_rdoc_files = %w[README.md TODO Changelog.md LICENSE]
29
29
 
30
- spec.required_ruby_version = ">= 1.9.3"
30
+ spec.required_ruby_version = ">= 2.3"
31
31
 
32
32
  spec.add_development_dependency "bundler"
33
33
  spec.add_development_dependency "rake"
data/lib/highline/menu.rb CHANGED
File without changes
File without changes
File without changes
File without changes
@@ -2,5 +2,5 @@
2
2
 
3
3
  class HighLine
4
4
  # The version of the installed library.
5
- VERSION = "2.0.3".freeze
5
+ VERSION = "2.1.0".freeze
6
6
  end
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.3
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: 2019-10-11 00:00:00.000000000 Z
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: 1.9.3
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.0.6
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