lode 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e9521ad58f9eff16874aa40a21ac3035e131222515cddd39541549f83309b7b9
4
- data.tar.gz: 4e63463c9bf0e3dfe9d2a269803eede2ad65f1668fbb9aa1e81f67641d7099f9
3
+ metadata.gz: c0c26a2071caf89746b1582a9bd24fdce30ca3cf2301292d8bb709f7f3ed1aae
4
+ data.tar.gz: 3576a868e17557a2b079b44865481a0bb69cfae232b682aa2f881b32c0b77cc4
5
5
  SHA512:
6
- metadata.gz: 51a631b02e7bdfdfb052e173441bb9698742d49d9c55346168f792ba1b5928a9bd78f8c02a5e14d45ea6798adcdf81ae1556c2f116da85e4d1cb1ebd21c4513a
7
- data.tar.gz: a46c71f91a20715907690befe16ba14f3cd5beec9adf109a3b7ba07949be6f002ce2f246931b3954108645b3950684aab67cb47758b8cd22567c1ef8a8ba7e97
6
+ metadata.gz: 380058a439bf8a94889124a5340faae07f6c89d3812252217ff2a2be61719173c75de75ec655512676a4fff7aca216b01b936dfe6bf37099f5b5948f1be4ce95
7
+ data.tar.gz: 6c3b82518cf8d3e05825f7c087863f018b45e9321c0da9ea28a459baac141bb534b5fe32304609666579f51ab606e2dec07e7273c593547fe5766f682a28078d
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/lode.rb CHANGED
@@ -13,7 +13,9 @@ module Lode
13
13
  PRIMARY_KEY = :id
14
14
  MODES = %i[default thread file max].freeze
15
15
 
16
- def self.loader(registry = Zeitwerk::Registry) = registry.loader_for __FILE__
16
+ def self.loader registry = Zeitwerk::Registry
17
+ @loader ||= registry.loaders.find { |loader| loader.tag == File.basename(__FILE__, ".rb") }
18
+ end
17
19
 
18
20
  def self.new(...) = Client.new(...)
19
21
  end
data/lode.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "lode"
5
- spec.version = "0.1.0"
5
+ spec.version = "0.1.1"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/lode"
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.signing_key = Gem.default_key_path
23
23
  spec.cert_chain = [Gem.default_cert_path]
24
24
 
25
- spec.required_ruby_version = "~> 3.2"
25
+ spec.required_ruby_version = [">= 3.2", "<= 3.3"]
26
26
  spec.add_dependency "dry-monads", "~> 1.6"
27
27
  spec.add_dependency "refinements", "~> 11.0"
28
28
  spec.add_dependency "zeitwerk", "~> 2.6"
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -35,7 +35,7 @@ cert_chain:
35
35
  3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
36
36
  gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
37
37
  -----END CERTIFICATE-----
38
- date: 2023-10-01 00:00:00.000000000 Z
38
+ date: 2023-11-15 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: dry-monads
@@ -116,16 +116,19 @@ require_paths:
116
116
  - lib
117
117
  required_ruby_version: !ruby/object:Gem::Requirement
118
118
  requirements:
119
- - - "~>"
119
+ - - ">="
120
120
  - !ruby/object:Gem::Version
121
121
  version: '3.2'
122
+ - - "<="
123
+ - !ruby/object:Gem::Version
124
+ version: '3.3'
122
125
  required_rubygems_version: !ruby/object:Gem::Requirement
123
126
  requirements:
124
127
  - - ">="
125
128
  - !ruby/object:Gem::Version
126
129
  version: '0'
127
130
  requirements: []
128
- rubygems_version: 3.4.20
131
+ rubygems_version: 3.4.22
129
132
  signing_key:
130
133
  specification_version: 4
131
134
  summary: A monadic store of marshaled objects.
metadata.gz.sig CHANGED
Binary file