toys 0.14.5 → 0.14.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a837125eba12fa3f474e6d3be5f28a910812b2caf613ed4b141bd6e739b000a
4
- data.tar.gz: f5ed73f297f6dca994669352e70eafc295c4fee0ab6c676c43f519ce712bf605
3
+ metadata.gz: ed5fd749db5a06573013ec522a1bc68326bf7fbe4aee6e763b48c8eac2512049
4
+ data.tar.gz: 90cfac2dceb66fc7aa262a6d0fd5a067975a95834063337495abb4a384ec28b3
5
5
  SHA512:
6
- metadata.gz: af96fcb6f454ab4cd0c86e5ff1f75cf1eb0bd05146511623bc90cada3b5324b0bbb5a9953198e759ca0a324c082167380db22c81351ae1a2927d478f7929fa3f
7
- data.tar.gz: 3fa9ba8cda05a804d729ee884a7e0da00a0839e264bb8874ad705f4b71d2b843a21c6b85c3efbda99721dcd8df66ee8b9c9df15f86f5b005c90c416fdd131fde
6
+ metadata.gz: 38ce1b82210b597c5db8d887cf5c7abbe881b79b9cea594740e9bce6b62429e2cd43ec5084416d99551d1d6c42224805b095a084fc5f1607a5569207e038cd0b
7
+ data.tar.gz: e4c9e71f609688efcd198db1afc87d529c33941861cf95346ed5be9d0734d85c9c4531bb3e5a9828a5028cf78a34074dd8ccd8f15a7ff1a9d69e636742d996ed
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History
2
2
 
3
+ ### v0.14.6 / 2023-06-29
4
+
5
+ * FIXED: Fixed a GitCache exception when loading a repository containing a broken symlink
6
+
3
7
  ### v0.14.5 / 2023-03-20
4
8
 
5
9
  * FIXED: Rescue broken pipe errors by default when running a pager
@@ -9,6 +9,6 @@ module Toys
9
9
  # Current version of Toys core.
10
10
  # @return [String]
11
11
  #
12
- VERSION = "0.14.5"
12
+ VERSION = "0.14.6"
13
13
  end
14
14
  end
@@ -8,16 +8,16 @@ module Toys
8
8
  # This mixin provides an instance of {Toys::Utils::GitCache}, providing
9
9
  # cached access to files from a remote git repo.
10
10
  #
11
- # Example usage:
11
+ # @example
12
12
  #
13
- # include :git_cache
13
+ # include :git_cache
14
14
  #
15
- # def run
16
- # # Pull and cache the HEAD commit from the Toys repo.
17
- # dir = git_cache.find("https://github.com/dazuma/toys.git")
18
- # # Display the contents of the readme file.
19
- # puts File.read(File.join(dir, "README.md"))
20
- # end
15
+ # def run
16
+ # # Pull and cache the HEAD commit from the Toys repo.
17
+ # dir = git_cache.get("https://github.com/dazuma/toys.git")
18
+ # # Display the contents of the readme file.
19
+ # puts File.read(File.join(dir, "README.md"))
20
+ # end
21
21
  #
22
22
  module GitCache
23
23
  include Mixin
data/lib/toys/version.rb CHANGED
@@ -5,5 +5,5 @@ module Toys
5
5
  # Current version of the Toys command line executable.
6
6
  # @return [String]
7
7
  #
8
- VERSION = "0.14.5"
8
+ VERSION = "0.14.6"
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toys
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.5
4
+ version: 0.14.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Azuma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-20 00:00:00.000000000 Z
11
+ date: 2023-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: toys-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.5
19
+ version: 0.14.6
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.14.5
26
+ version: 0.14.6
27
27
  description: Toys is a configurable command line tool. Write commands in Ruby using
28
28
  a simple DSL, and Toys will provide the command line executable and take care of
29
29
  all the details such as argument parsing, online help, and error reporting. Toys
@@ -120,10 +120,10 @@ homepage: https://github.com/dazuma/toys
120
120
  licenses:
121
121
  - MIT
122
122
  metadata:
123
- changelog_uri: https://dazuma.github.io/toys/gems/toys/v0.14.5/file.CHANGELOG.html
123
+ changelog_uri: https://dazuma.github.io/toys/gems/toys/v0.14.6/file.CHANGELOG.html
124
124
  source_code_uri: https://github.com/dazuma/toys/tree/main/toys
125
125
  bug_tracker_uri: https://github.com/dazuma/toys/issues
126
- documentation_uri: https://dazuma.github.io/toys/gems/toys/v0.14.5
126
+ documentation_uri: https://dazuma.github.io/toys/gems/toys/v0.14.6
127
127
  post_install_message:
128
128
  rdoc_options: []
129
129
  require_paths: