zeitwerk 1.0.0.beta3 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/zeitwerk/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c90642ff8bbe719548f2a2162ef64b04361721aa065672bacc725888bfb8acc2
|
4
|
+
data.tar.gz: e384c4c48e4ed72d3a0159db2c12da95e39758f6949dafd61e480323a9fe0cc7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aee756c82fbb8de50d7a1e5f44f9b4fcb64bde85793f9dbdf17b4c903a9a8df131c85afa55832bcbb677673731f9425bea9925af883c717e47b0cca1735fdae5
|
7
|
+
data.tar.gz: 9057fddb2d0ee012e7d2591e01515db4bc0cddbdc67e267e4b844d984d555f7e2ed918f3c24076f93820c66bc21d5ec1f7c3b7898e03fd2672fc660ba995190a
|
data/README.md
CHANGED
@@ -41,6 +41,8 @@ Zeitwerk is an efficient and thread-safe code loader for Ruby.
|
|
41
41
|
|
42
42
|
Given a conventional file structure, Zeitwerk loads your project's classes and modules on demand. You don't need to write `require` calls for your own files, rather, you can streamline your programming knowing that your classes and modules are available everywhere. This feature is efficient, thread-safe, and matches Ruby's semantics for constants.
|
43
43
|
|
44
|
+
Zeitwerk issues `require` calls exclusively using absolute file names, so there are no costly file system lookups in `$LOAD_PATH`. Technically, the directories managed by Zeitwerk do not even need to be in `$LOAD_PATH`. Furthermore, by design, Zeitwerk does only one single scan of the project tree, and it descends into subdirectories lazily, only if their namespaces are used.
|
45
|
+
|
44
46
|
The library is designed so that each gem and application can have their own loader, independent of each other. Each loader has its own configuration, inflector, and optional logger.
|
45
47
|
|
46
48
|
Zeitwerk is also able to reload code, which may be handy for web applications. Coordination is needed to reload in a thread-safe manner. The documentation below explains how to do this.
|
data/lib/zeitwerk/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zeitwerk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Xavier Noria
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-02-
|
11
|
+
date: 2019-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |2
|
14
14
|
Zeitwerk implements constant autoloading with Ruby semantics. Each gem
|
@@ -43,9 +43,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
43
43
|
version: 2.4.4
|
44
44
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- - "
|
46
|
+
- - ">="
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version:
|
48
|
+
version: '0'
|
49
49
|
requirements: []
|
50
50
|
rubygems_version: 3.0.1
|
51
51
|
signing_key:
|