dry-system 0.18.0 → 0.18.1

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: dd92a68eeadd612968bc08038f2c9fb7eaa60b90467de3f76fe441d558974944
4
- data.tar.gz: c52ecf52aed4fdc98c435d2b3b1bbe0f19b37b30468b75d45f1806874af768fc
3
+ metadata.gz: 7634be14c7b544e14f693cd158cd4cdf072e89ea5c947fafec45a0b31e58eb18
4
+ data.tar.gz: 34a55fe75bbae237be83dbcf534c0c13947a66788b146ee2ec12a387d3976e38
5
5
  SHA512:
6
- metadata.gz: dc65408fdbe918f5ce2b985b384e8e70aa66ac6c535a5325305b1648f3f9604c507c6c8786f1152f15050c329c18b01613bb05040ee29cd05782a7e806252212
7
- data.tar.gz: ac91650b306a20904b663b134ab39052ab88fdab19d3170434545d9e135e528d4b647e946841ab44470b99a1e3a67e10878813542b42faa356a44cc37c9cc4af
6
+ metadata.gz: 1802eb1c676eb114126b37fd1ac9607a446317e209de17c62018f6a61bd9dd6770093e673671685c6a8d665ec53c7d7897141c3a7896c4d64ee3f5161c47bc30
7
+ data.tar.gz: '08fd659802b48151cf10598eb45fcb6555b8f9fa8b55340e6e9f393469608b965ecdefae143e79a880c394bcbede49b719f71f9bf6b96726af73921020121a35'
@@ -1,3 +1,13 @@
1
+ ## 0.18.1 2020-08-26
2
+
3
+
4
+ ### Fixed
5
+
6
+ - Made `Booter#boot_files` a public method again, since it was required by dry-rails (@timriley)
7
+
8
+
9
+ [Compare v0.18.0...v0.18.1](https://github.com/dry-rb/dry-system/compare/v0.18.0...v0.18.1)
10
+
1
11
  ## 0.18.0 2020-08-24
2
12
 
3
13
 
@@ -120,6 +120,22 @@ module Dry
120
120
  start(boot_file.basename(".*").to_s.to_sym) if boot_file
121
121
  end
122
122
 
123
+ # @api private
124
+ def boot_files
125
+ @boot_files ||= paths.each_with_object([[], []]) { |path, (boot_files, loaded)|
126
+ files = Dir["#{path}/#{RB_GLOB}"].sort
127
+
128
+ files.each do |file|
129
+ basename = File.basename(file)
130
+
131
+ unless loaded.include?(basename)
132
+ boot_files << Pathname(file)
133
+ loaded << basename
134
+ end
135
+ end
136
+ }.first
137
+ end
138
+
123
139
  private
124
140
 
125
141
  def with_component(id_or_component)
@@ -160,21 +176,6 @@ module Dry
160
176
  def find_boot_file(name)
161
177
  boot_files.detect { |file| File.basename(file, RB_EXT) == name.to_s }
162
178
  end
163
-
164
- def boot_files
165
- @boot_files ||= paths.each_with_object([[], []]) { |path, (boot_files, loaded)|
166
- files = Dir["#{path}/#{RB_GLOB}"].sort
167
-
168
- files.each do |file|
169
- basename = File.basename(file)
170
-
171
- unless loaded.include?(basename)
172
- boot_files << Pathname(file)
173
- loaded << basename
174
- end
175
- end
176
- }.first
177
- end
178
179
  end
179
180
  end
180
181
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Dry
4
4
  module System
5
- VERSION = "0.18.0"
5
+ VERSION = "0.18.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-system
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.18.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Solnica
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-24 00:00:00.000000000 Z
11
+ date: 2020-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby