diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5c1d77ce..7790e895 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby: ["2.6", "2.7", "3.0", "3.1", "3.2", "3.3", "jruby"] + ruby: ["2.7", "3.0", "3.1", "3.2", "3.3", "3.4", "jruby"] steps: - uses: actions/checkout@v4 #- uses: webfactory/ssh-agent@v0.7.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index d8f7edd9..54aad892 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ * Breaking Changes: * **global** : Options `transpose_single` and `multi_table` replaced with single option `multi_single` and values: `no`, `yes`, `single`. * **global** : Column name for single object is now `field` instead of `key`. + * **global** : Ruby minimum versions is now 2.7 instead of 2.6 (that removes macOS default ruby support) * 4.20.0 diff --git a/README.md b/README.md index 77e13339..1d99e18f 100644 --- a/README.md +++ b/README.md @@ -27,9 +27,9 @@ Ruby Gem: [https://rubygems.org/gems/aspera-cli](https://rubygems.org/gems/asper Ruby Doc: [https://www.rubydoc.info/gems/aspera-cli](https://www.rubydoc.info/gems/aspera-cli) -Minimum required Ruby version: >= 2.6. +Minimum required Ruby version: >= 2.7. -> **Deprecation notice**: the minimum Ruby version will be 3.0 in a future version. +> **Deprecation notice**: the minimum Ruby version will be 3.1 in a future version. [Aspera APIs on IBM developer](https://developer.ibm.com/?size=30&q=aspera&DWContentType[0]=APIs&sort=title_asc) [Link 2](https://developer.ibm.com/apis/catalog/?search=aspera) @@ -211,9 +211,9 @@ The direct installation is recommended and consists in installing: - [aspera-cli](#ruby-gem-aspera-cli) - [Aspera SDK (`ascp`)](#fasp-protocol-ascp) -Ruby version: >= 2.6. +Ruby version: >= 2.7. -> **Deprecation notice**: the minimum Ruby version will be 3.0 in a future version. +> **Deprecation notice**: the minimum Ruby version will be 3.1 in a future version. The following sections provide information on the various installation methods. @@ -228,9 +228,9 @@ Use this method to install on the native host (e.g. your Windows, macOS or Linux A Ruby interpreter is required to run `ascli`. -Required Ruby version: >= 2.6. +Required Ruby version: >= 2.7. -> **Deprecation notice**: the minimum Ruby version will be 3.0 in a future version. +> **Deprecation notice**: the minimum Ruby version will be 3.1 in a future version. **Ruby can be installed using any method** : rpm, yum, dnf, rvm, brew, Windows installer, ... . @@ -7351,6 +7351,7 @@ If the preview generator does not have access to files on the file system (it is ```bash check --skip-types=office +events --once-only=yes --skip-types=office --log-level=info scan --scan-id=1 --skip-types=office --log-level=info --file-access=remote --ts=@json:'{"target_rate_kbps":1000000}' scan --skip-types=office --log-level=info show --base=test my_docx diff --git a/aspera-cli.gemspec b/aspera-cli.gemspec index 9a9d017f..15bd58b3 100644 --- a/aspera-cli.gemspec +++ b/aspera-cli.gemspec @@ -38,12 +38,13 @@ Gem::Specification.new do |spec| spec.cert_chain = ['certs/aspera-cli-public-cert.pem'] spec.signing_key = File.expand_path(ENV.fetch('SIGNING_KEY')) if ENV.key?('SIGNING_KEY') # see also Aspera::Cli::Info::RUBY_CURRENT_MINIMUM_VERSION - spec.required_ruby_version = '>= 2.6' + spec.required_ruby_version = '>= 2.7' # dependency gems for runtime # if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('3.0.0') # spec.add_runtime_dependency('base64', '~> 0.2.0') # spec.add_runtime_dependency('bigdecimal', '~> 3.1', '>= 3.1.6') # end + spec.add_runtime_dependency('bigdecimal', '~> 3.1.0') if RUBY_VERSION >= '3.4' spec.add_runtime_dependency('blankslate', '~> 3.1') spec.add_runtime_dependency('csv', '~> 3.0') spec.add_runtime_dependency('execjs', '~> 2.0') diff --git a/docs/Manual.html b/docs/Manual.html index 71effc07..0c8a1bcb 100644 --- a/docs/Manual.html +++ b/docs/Manual.html @@ -26,10 +26,10 @@
Ruby Doc: https://www.rubydoc.info/gems/aspera-cli
-Minimum required Ruby version: >= 2.6.
+Minimum required Ruby version: >= 2.7.
Deprecation notice: the minimum Ruby version will be -3.0 in a future version.
+3.1 in a future version.
Aspera
@@ -214,10 +214,10 @@ Ruby version: >= 2.6. Ruby version: >= 2.7. Deprecation notice: the minimum Ruby version will be
-3.0 in a future version.Aspera SDK
(
ascp
)
-
The following sections provide information on the various installation methods.
@@ -232,10 +232,10 @@A Ruby interpreter is required to run ascli
.
Required Ruby version: >= 2.6.
+Required Ruby version: >= 2.7.
Deprecation notice: the minimum Ruby version will be -3.0 in a future version.
+3.1 in a future version.
Ruby can be installed using any method : rpm, yum, dnf, rvm, brew, Windows installer, … .
@@ -9078,19 +9078,20 @@check --skip-types=office
-scan --scan-id=1 --skip-types=office --log-level=info --file-access=remote --ts=@json:'{"target_rate_kbps":1000000}'
-scan --skip-types=office --log-level=info
-show --base=test my_docx
-show --base=test my_mpg --video-png-conv=animated
-show --base=test my_mpg --video-png-conv=fixed
-show --base=test my_mpg mp4 --video-conversion=clips
-show --base=test my_mpg mp4 --video-conversion=reencode
-show --base=test my_pdf
-test --base=test my_dcm
-test --base=test my_mxf mp4 --video-conversion=blend --query=@json:'{"text":true,"double":true}'
-test --mimemagic=yes --base=test my_dcm
-test --mimemagic=yes --base=test my_jpg_unk
-trevents --once-only=yes --skip-types=office --log-level=info
An interface for the async
utility is provided in the
diff --git a/docs/Manual.pdf b/docs/Manual.pdf
index 1893d301..2d45c947 100644
Binary files a/docs/Manual.pdf and b/docs/Manual.pdf differ
diff --git a/lib/aspera/cli/info.rb b/lib/aspera/cli/info.rb
index 9d26e564..5e0ef984 100644
--- a/lib/aspera/cli/info.rb
+++ b/lib/aspera/cli/info.rb
@@ -12,7 +12,7 @@ module Info
SRC_URL = 'https://github.com/IBM/aspera-cli'
# set this to warn in advance when minimum required ruby version will increase
# see also required_ruby_version in gemspec file
- RUBY_FUTURE_MINIMUM_VERSION = '3.0'
+ RUBY_FUTURE_MINIMUM_VERSION = '3.1'
end
end
end