From 0fbfa565a3677e4c188b99530be84aed91dc44ae Mon Sep 17 00:00:00 2001 From: noraj Date: Mon, 31 Jan 2022 20:00:46 +0100 Subject: [PATCH] v1.3.0 --- .github/workflows/ruby.yml | 2 +- .tool-versions | 2 +- Gemfile.lock | 4 ++-- docs/CHANGELOG.md | 3 +++ docs/yard/PassStation.html | 4 ++-- docs/yard/PassStation/DB.html | 12 ++++-------- docs/yard/PassStation/Output.html | 4 ++-- docs/yard/PassStation/Output/Csv.html | 4 ++-- docs/yard/PassStation/Output/Json.html | 4 ++-- docs/yard/PassStation/Output/PrettyTable.html | 4 ++-- docs/yard/PassStation/Output/Table.html | 4 ++-- docs/yard/PassStation/Output/Yaml.html | 4 ++-- docs/yard/Version.html | 6 +++--- docs/yard/_index.html | 4 ++-- docs/yard/file.LICENSE.html | 4 ++-- docs/yard/file.README.html | 4 ++-- docs/yard/index.html | 4 ++-- docs/yard/top-level-namespace.html | 4 ++-- lib/pass_station/version.rb | 2 +- pass-station.gemspec | 2 +- 20 files changed, 40 insertions(+), 41 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 139e62a..6e51a9a 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby-version: ['3.0', '2.7', '2.6'] + ruby-version: ['3.1', '3.0', '2.7', '2.6'] env: BUNDLE_WITHOUT: docs development # https://bundler.io/v1.5/groups.html steps: diff --git a/.tool-versions b/.tool-versions index a2e7782..059ca47 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -ruby 3.0.2 +ruby 3.1.0 diff --git a/Gemfile.lock b/Gemfile.lock index 2686f15..8db494c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - pass-station (1.2.3) + pass-station (1.3.0) docopt (~> 0.6) paint (~> 2.2) @@ -53,4 +53,4 @@ DEPENDENCIES yard (>= 0.9.27, < 0.10) BUNDLED WITH - 2.2.22 + 2.3.6 diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 369ea4c..f7f0f08 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,5 +1,7 @@ ## [unreleased] +## [1.3.0] + - Dependencies: - Update to yard [v0.9.27](https://github.com/lsegal/yard/releases/tag/v0.9.27) - Move from Redcarpet to CommonMarker markdown provider @@ -7,6 +9,7 @@ - Chore: - Linting: cleaner code + - Add support for Ruby 3.1 ## [1.2.3] diff --git a/docs/yard/PassStation.html b/docs/yard/PassStation.html index e81c71b..ec8455b 100644 --- a/docs/yard/PassStation.html +++ b/docs/yard/PassStation.html @@ -136,9 +136,9 @@

Constants included diff --git a/docs/yard/PassStation/DB.html b/docs/yard/PassStation/DB.html index 7cbcf78..609f5ee 100644 --- a/docs/yard/PassStation/DB.html +++ b/docs/yard/PassStation/DB.html @@ -1476,17 +1476,13 @@

122 123 124 -125 -126 -127 +125
# File 'lib/pass_station/source.rb', line 122
 
 def write_file(destination_file, file_content)
-  File.open(destination_file, 'wb') do |file|
-    file.write(file_content)
-  end
+  File.binwrite(destination_file, file_content)
   destination_file
 end
@@ -2063,9 +2059,9 @@

diff --git a/docs/yard/PassStation/Output.html b/docs/yard/PassStation/Output.html index 477677e..814aa74 100644 --- a/docs/yard/PassStation/Output.html +++ b/docs/yard/PassStation/Output.html @@ -116,9 +116,9 @@

Overview

diff --git a/docs/yard/PassStation/Output/Csv.html b/docs/yard/PassStation/Output/Csv.html index 28ed0ea..ceb12c5 100644 --- a/docs/yard/PassStation/Output/Csv.html +++ b/docs/yard/PassStation/Output/Csv.html @@ -237,9 +237,9 @@

diff --git a/docs/yard/PassStation/Output/Json.html b/docs/yard/PassStation/Output/Json.html index 38bd886..579cb70 100644 --- a/docs/yard/PassStation/Output/Json.html +++ b/docs/yard/PassStation/Output/Json.html @@ -239,9 +239,9 @@

diff --git a/docs/yard/PassStation/Output/PrettyTable.html b/docs/yard/PassStation/Output/PrettyTable.html index abe0a5d..db1d5ed 100644 --- a/docs/yard/PassStation/Output/PrettyTable.html +++ b/docs/yard/PassStation/Output/PrettyTable.html @@ -715,9 +715,9 @@

diff --git a/docs/yard/PassStation/Output/Table.html b/docs/yard/PassStation/Output/Table.html index dbb20a6..0b9fc39 100644 --- a/docs/yard/PassStation/Output/Table.html +++ b/docs/yard/PassStation/Output/Table.html @@ -922,9 +922,9 @@

diff --git a/docs/yard/PassStation/Output/Yaml.html b/docs/yard/PassStation/Output/Yaml.html index 7937381..ae66e98 100644 --- a/docs/yard/PassStation/Output/Yaml.html +++ b/docs/yard/PassStation/Output/Yaml.html @@ -239,9 +239,9 @@

diff --git a/docs/yard/Version.html b/docs/yard/Version.html index 2e849d6..0074833 100644 --- a/docs/yard/Version.html +++ b/docs/yard/Version.html @@ -100,7 +100,7 @@

VERSION =
-
'1.2.3'
+
'1.3.0'
@@ -116,9 +116,9 @@

diff --git a/docs/yard/_index.html b/docs/yard/_index.html index bec0e12..3f13b2d 100644 --- a/docs/yard/_index.html +++ b/docs/yard/_index.html @@ -213,9 +213,9 @@

Namespace Listing A-Z

diff --git a/docs/yard/file.LICENSE.html b/docs/yard/file.LICENSE.html index a7b64f2..5200542 100644 --- a/docs/yard/file.LICENSE.html +++ b/docs/yard/file.LICENSE.html @@ -78,9 +78,9 @@ diff --git a/docs/yard/file.README.html b/docs/yard/file.README.html index c3a9d02..4c1e318 100644 --- a/docs/yard/file.README.html +++ b/docs/yard/file.README.html @@ -90,9 +90,9 @@

Author

diff --git a/docs/yard/index.html b/docs/yard/index.html index 0777169..5186115 100644 --- a/docs/yard/index.html +++ b/docs/yard/index.html @@ -90,9 +90,9 @@

Author

diff --git a/docs/yard/top-level-namespace.html b/docs/yard/top-level-namespace.html index 7656393..6618a89 100644 --- a/docs/yard/top-level-namespace.html +++ b/docs/yard/top-level-namespace.html @@ -100,9 +100,9 @@

Defined Under Namespace

diff --git a/lib/pass_station/version.rb b/lib/pass_station/version.rb index f14879d..c302fca 100644 --- a/lib/pass_station/version.rb +++ b/lib/pass_station/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Version - VERSION = '1.2.3' + VERSION = '1.3.0' end diff --git a/pass-station.gemspec b/pass-station.gemspec index e6f23c7..d9610e9 100644 --- a/pass-station.gemspec +++ b/pass-station.gemspec @@ -29,7 +29,7 @@ Gem::Specification.new do |s| 'rubygems_mfa_required' => 'true' } - s.required_ruby_version = ['>= 2.6.0', '< 3.1'] + s.required_ruby_version = ['>= 2.6.0', '< 3.2'] s.add_runtime_dependency('docopt', '~> 0.6') # for argument parsing s.add_runtime_dependency('paint', '~> 2.2') # for colorized output