eac_ruby_utils 0.89.0 → 0.90.0

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: e93445e91d5ebd5045f85aacc525da520bfdabf6ca97087296cf98fc37b78af9
4
- data.tar.gz: 807b4d9838d1b990aa0152bce0c24d3fae4189b92ad07575b6ea26ec9dd7c3a6
3
+ metadata.gz: 835bf57068df74ba63d257a3a724ea6c1bb55c61ce22d0641fbfb1d9ac1051ac
4
+ data.tar.gz: a968421702a2320f371123cafa19d4872276b3af2301272ce14162aedd02bb45
5
5
  SHA512:
6
- metadata.gz: f33fdf6f0aad6e64d072074a396a58c51b9116827aa91847025a4c91cc880e6af8311b34b3dbfdbd55b15fb9612cdba211da853895b4b2182b07229e82c84bd4
7
- data.tar.gz: 03c783a9676f370fe1b4d629fdcc227d759c4e7fe37335c8fe15c15e63234f836d8b2a6bf95e389d948210f6cd9880ce261814e8a52644263e9ac7b4c6b144ed
6
+ metadata.gz: b6ad3ff00cc3d865bc6f580ac64961a4d034d1a1dea4634866846c12e925ec7f21136114afe479721a6cad6813b17f4b601e7acfadedefe43719de7e184e68ff
7
+ data.tar.gz: 2ae2e960541fc651edca20e53f2b2d772fc4fe45df09e4676a9275d007165f881b4674f0d37eda315e225f2b5d500b7fe6cf073ab3e6e63fd102202e7292586f
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'pathname'
4
+
5
+ class Pathname
6
+ # A .glob that raises a ::RuntimeError if +self+ is not a directory.
7
+ # @return [Pathname]
8
+ def reqdir_glob(*args)
9
+ raise ::RuntimeError, "\"#{self}\" is not a directory" unless directory?
10
+
11
+ glob(*args)
12
+ end
13
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRubyUtils
4
- VERSION = '0.89.0'
4
+ VERSION = '0.90.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_ruby_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.89.0
4
+ version: 0.90.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esquilo Azul Company
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-06 00:00:00.000000000 Z
11
+ date: 2022-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -215,6 +215,7 @@ files:
215
215
  - lib/eac_ruby_utils/patches/pathname/mkpath_s.rb
216
216
  - lib/eac_ruby_utils/patches/pathname/parent_n.rb
217
217
  - lib/eac_ruby_utils/patches/pathname/readlink_r.rb
218
+ - lib/eac_ruby_utils/patches/pathname/reqdir_glob.rb
218
219
  - lib/eac_ruby_utils/patches/regexp.rb
219
220
  - lib/eac_ruby_utils/patches/regexp/if_match.rb
220
221
  - lib/eac_ruby_utils/patches/regexp/to_parser.rb