aspera-cli 4.25.1 → 4.25.2

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.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/CHANGELOG.md +46 -1
  4. data/CONTRIBUTING.md +6 -11
  5. data/README.md +31 -9742
  6. data/bin/asession +111 -88
  7. data/lib/aspera/agent/connect.rb +1 -1
  8. data/lib/aspera/agent/desktop.rb +1 -1
  9. data/lib/aspera/agent/direct.rb +19 -18
  10. data/lib/aspera/agent/node.rb +1 -1
  11. data/lib/aspera/api/aoc.rb +25 -8
  12. data/lib/aspera/api/node.rb +16 -14
  13. data/lib/aspera/ascp/installation.rb +32 -51
  14. data/lib/aspera/assert.rb +1 -1
  15. data/lib/aspera/cli/extended_value.rb +1 -0
  16. data/lib/aspera/cli/formatter.rb +0 -4
  17. data/lib/aspera/cli/hints.rb +11 -4
  18. data/lib/aspera/cli/main.rb +3 -6
  19. data/lib/aspera/cli/manager.rb +8 -4
  20. data/lib/aspera/cli/plugins/aoc.rb +11 -14
  21. data/lib/aspera/cli/plugins/base.rb +1 -1
  22. data/lib/aspera/cli/plugins/config.rb +50 -48
  23. data/lib/aspera/cli/plugins/factory.rb +2 -2
  24. data/lib/aspera/cli/plugins/faspex5.rb +4 -3
  25. data/lib/aspera/cli/plugins/preview.rb +6 -11
  26. data/lib/aspera/cli/transfer_agent.rb +2 -2
  27. data/lib/aspera/cli/version.rb +1 -1
  28. data/lib/aspera/environment.rb +30 -16
  29. data/lib/aspera/faspex_gw.rb +1 -1
  30. data/lib/aspera/faspex_postproc.rb +16 -10
  31. data/lib/aspera/hash_ext.rb +8 -0
  32. data/lib/aspera/log.rb +3 -4
  33. data/lib/aspera/markdown.rb +17 -0
  34. data/lib/aspera/oauth/base.rb +1 -1
  35. data/lib/aspera/oauth/web.rb +1 -1
  36. data/lib/aspera/preview/generator.rb +9 -9
  37. data/lib/aspera/rest_call_error.rb +16 -8
  38. data/lib/aspera/rest_error_analyzer.rb +1 -1
  39. data/lib/aspera/transfer/resumer.rb +2 -2
  40. data/lib/aspera/yaml.rb +49 -0
  41. data.tar.gz.sig +0 -0
  42. metadata +16 -2
  43. metadata.gz.sig +0 -0
  44. data/release_notes.md +0 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7147e3eb2457fe7b9703cf0e5cc4168403bfd8580cee8cc42f51d8bf93ebd665
4
- data.tar.gz: 711445c7d6d81f9fdc16436a86d6db3c6e3310c043b1d80ba2d4f553fe68f587
3
+ metadata.gz: 8705ee6870464b15321cccc2a60a99143de0022a3427fbe5fc4fd1855ab39b86
4
+ data.tar.gz: a3ed4596be1dfc24c0ad502727a1747afa1def9ed3afc1f215fefb8b40066ec2
5
5
  SHA512:
6
- metadata.gz: bb91b5e5434e210809dfedc4c78bc3e6fad47a31de64ba7b26f719db4226ecc7f8abad74342bf7f971c3576b4e34ceda8196747dfb30ed37cfcf8111dedbf9e9
7
- data.tar.gz: 8bee7a43906676d2a05c229e18b4c8cba30bd1f95d3c655aaa9304d8067076556bff3b5e9eb06627da0bd0c45cfd8fcb81baa9c7d2e3ae0a46ca50935f0dfb5f
6
+ metadata.gz: aed45420c1c9e2e9b4608244502772779ef0d84f4f43260f39dcd51ad8ba5716543dfb3b7016eda817c9545579e7ba775f2be2096ee02401e1a0bf5b5c97e0a0
7
+ data.tar.gz: 49006c33da9ebfb58ccbade7fef86df161c43391ebeaa4ccfa68b57a4f9b8c7e553eac43ad1de1a3ebc27e144683336733eb9a9cd236f0fe72d6d789d221422a
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -2,6 +2,51 @@
2
2
 
3
3
  <!-- markdownlint-configure-file { "no-duplicate-heading": { "siblings_only": true } } -->
4
4
 
5
+ ## 4.25.2
6
+
7
+ Released: 2026-02-03
8
+
9
+ ### New Features
10
+
11
+ ### Issues Fixed
12
+
13
+ ### Breaking Changes
14
+
15
+ ## 4.25.2
16
+
17
+ Released: 2026-02-03
18
+
19
+ ### New Features
20
+
21
+ * `aoc`: Public short links can now be created with an explicit access level.
22
+
23
+ ### Issues Fixed
24
+
25
+ * Fixed container builds and Windows archive generation.
26
+
27
+ ### Breaking Changes
28
+
29
+ Main documentation has moved to `docs/README.md`.
30
+
31
+ * `config`: Removed option `ascp_path`, replaced by `sdk_folder`.
32
+ * `config`: Removed command `ascp use`. Use instead:
33
+
34
+ ```shell
35
+ ascli conf preset set GLOBAL sdk_folder <path>
36
+ ```
37
+
38
+ * `config`: Removed command `ascp products use`. Use instead:
39
+
40
+ ```shell
41
+ ascli conf preset set GLOBAL sdk_folder product:<path>
42
+ ```
43
+
44
+ * `config`: Default `log_level` is now `info` (was `warn`). To restore the previous behavior:
45
+
46
+ ```shell
47
+ ascli config preset set GLOBAL log_level warn
48
+ ```
49
+
5
50
  ## 4.25.1
6
51
 
7
52
  Released: 2026-01-21
@@ -9,7 +54,7 @@ Released: 2026-01-21
9
54
  ### Issues Fixed
10
55
 
11
56
  * `build`: Fixed deploy workflow to use global rake instead of bundle exec.
12
- * `build`: Made rspec require conditional in test.rake for deploy environment.
57
+ * `build`: Made `rspec` require conditional in `test.rake` for deploy environment.
13
58
 
14
59
  ## 4.25.0
15
60
 
data/CONTRIBUTING.md CHANGED
@@ -112,10 +112,12 @@ A few macros and environment variables control certain aspects of the build:
112
112
  | `LOG_LEVEL` | Change log level in `rake` tasks. |
113
113
  | `ENABLE_COVERAGE` | Enable test coverage analysis when set. |
114
114
  | `SIGNING_KEY` | Path to the signing key used to build the gem file. |
115
- | `GEM_VERSION` | Override gem version for builds. |
115
+ | `SIGNING_KEY_PEM` | PEM of signing key. |
116
116
 
117
117
  These can be set either as environment variables or directly on the `rake` command line.
118
118
 
119
+ Setting `SIGNING_KEY_PEM` creates file `$HOME/.gem/signing_key.pem` and sets `SIGNING_KEY`.
120
+
119
121
  > [!NOTE]
120
122
  > Environment variables `ASPERA_CLI_*` are typically set in the user’s shell profile for development.
121
123
  > Others are intended for use on the command line.
@@ -170,12 +172,6 @@ If you don't want to install optional gems:
170
172
  bundle config set without optional
171
173
  ```
172
174
 
173
- To build a beta version:
174
-
175
- ```bash
176
- export GEM_VERSION=$(env -u GEM_VERSION rake tools:version).$(date +%Y%m%d%H%M)
177
- ```
178
-
179
175
  ### Signed gem
180
176
 
181
177
  A private key is required to generate a signed gem.
@@ -236,7 +232,6 @@ bundle exec rake test:run
236
232
  - Verify that the container builds successfully (using the beta version):
237
233
 
238
234
  ```bash
239
- export GEM_VERSION=$(env -u GEM_VERSION rake tools:version).$(date +%Y%m%d%H%M)
240
235
  bundle exec rake container:build
241
236
  bundle exec rake container:test
242
237
  ```
@@ -260,7 +255,7 @@ The workflow automatically:
260
255
  2. Rebuilds documentation (PDF manual, README)
261
256
  3. Commits the changes
262
257
  4. Creates and pushes the release tag
263
- 5. Triggers the deploy workflow to publish to [rubygems.org](https://rubygems.org/gems/aspera-cli)
258
+ 5. Triggers the `deploy` workflow to publish to [rubygems.org](https://rubygems.org/gems/aspera-cli)
264
259
  6. Updates `version.rb` to the next development version with `.pre` suffix
265
260
  7. Commits and pushes the version bump
266
261
 
@@ -292,9 +287,9 @@ This will trigger the action `.github/workflows/deploy.yml`, which builds the ge
292
287
 
293
288
  - After release, update `version.rb` to the next development version with `.pre` suffix
294
289
 
295
- ## Long‑Term Implementation and Delivery Improvements
290
+ ## Future Improvements
296
291
 
297
- - Replace custom REST and OAuth classes with standard Ruby gems:
292
+ - Replace custom REST and OAuth classes with standard Ruby gems ?
298
293
  - <https://github.com/rest-client/rest-client>
299
294
  - <https://github.com/oauth-xx/oauth2>
300
295
  - Use the `thor` gem <http://whatisthor.com/> (or other standard Ruby CLI manager)