toys-core 0.9.3 → 0.9.4

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: 8e61131a1ea87e576b41f751b62532221d3d11db00b995e714f87f90f52b5708
4
- data.tar.gz: da189bb3ea44c701f9997907078c9ed95b32890e7a1e8a19071e68f780e6c18f
3
+ metadata.gz: 13ebab12cc43b3347b2a350bda3b376cd22d86b61f29551146698acf7aff0725
4
+ data.tar.gz: 9185077682bbc7cf674efc5f83a1cb8ee76f8b87d8d72a35d884f82da5bde38d
5
5
  SHA512:
6
- metadata.gz: 5f6d78364b4a006216ddc467bbc2cb61e4ccc0f87bdd78507ec150303708496b50c77788c4702b63f257bb6c80bbf2f6695f63bb7c0dbffa9371c03b099580e8
7
- data.tar.gz: 575efed8d0a1d170a24e04cbe9a75166402b8387950dc4684cf13e3079dcfadda9d011f2430b0f7c531d551d7e3f80fb25bbf71c57b6d19c0fd3df0fcdcc48cc
6
+ metadata.gz: 412c26dfba427a00e499779fe7edfcbceea0c1579e83953eb9474bf72544842b3fc33f7ffb98ca7cb9a8a935f3b0886d6a55bf593ca964610ba8b4f988fd1f9c
7
+ data.tar.gz: d07b2d164ad561cd260145dd768c434ea175c139c0b187438ae4396231f7b46ed2e293fa2594ac7629490d8b6e840c3fde111c425364862652a46e1e0265a901
@@ -1,5 +1,9 @@
1
1
  # Release History
2
2
 
3
+ ### 0.9.4 / 2020-01-26
4
+
5
+ * FIXED: Crash in the loader when a non-ruby file appears in a toys directory
6
+
3
7
  ### 0.9.3 / 2020-01-05
4
8
 
5
9
  * FIXED: `delegate_to` directive could crash if an overriding tool has already been defined.
@@ -30,7 +30,7 @@ module Toys
30
30
  # Current version of Toys core.
31
31
  # @return [String]
32
32
  #
33
- VERSION = "0.9.3"
33
+ VERSION = "0.9.4"
34
34
  end
35
35
 
36
36
  ## @private deprecated
@@ -452,6 +452,7 @@ module Toys
452
452
  child == @preload_file_name || child == @preload_dir_name ||
453
453
  child == @data_dir_name
454
454
  child_source = source.relative_child(child, @data_dir_name)
455
+ return unless child_source
455
456
  child_word = ::File.basename(child, ".rb")
456
457
  next_words = words + [child_word]
457
458
  next_remaining = Loader.next_remaining_words(remaining_words, child_word)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toys-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Azuma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-06 00:00:00.000000000 Z
11
+ date: 2020-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: highline
@@ -182,7 +182,7 @@ metadata:
182
182
  changelog_uri: https://github.com/dazuma/toys/blob/master/toys-core/CHANGELOG.md
183
183
  source_code_uri: https://github.com/dazuma/toys
184
184
  bug_tracker_uri: https://github.com/dazuma/toys/issues
185
- documentation_uri: https://dazuma.github.io/toys/gems/toys-core/v0.9.3
185
+ documentation_uri: https://dazuma.github.io/toys/gems/toys-core/v0.9.4
186
186
  post_install_message:
187
187
  rdoc_options: []
188
188
  require_paths: