jets 1.8.0 → 1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/jets/booter.rb +6 -1
- data/lib/jets/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 392758ceb7059c9bafdf874fea4a33fde73429b4c299384fda7fa05659b9b14c
|
4
|
+
data.tar.gz: 123640b28ca8b42c222fbbc6f3ba2612334ced89e4f61d238f87de505a7f9f1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c05ae5fd7e8f207271fc5e6ee80311d9646d73e754390813ca394e0c0d87e552197c7346e41dd7fe00c588969da8abf15afefb0dfd1e9afb4ed34b0dde95c825
|
7
|
+
data.tar.gz: 70b11656832c0f9da372deac022ee1e1226fe4751b676e561eb52615d85bb4d063ab3f44d96ed59698bed2481e48ec892ba6b25785a24a6c34f9ff2be0d7769f
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,10 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
5
5
|
|
6
|
+
## [1.8.1]
|
7
|
+
- #194 fix jets eager load, order by path length
|
8
|
+
- #193 jets new fails during jets webpacker:install
|
9
|
+
|
6
10
|
## [1.8.0]
|
7
11
|
- #191 Email Support via ActionMailer
|
8
12
|
- #192 S3 Event Support
|
data/lib/jets/booter.rb
CHANGED
@@ -150,7 +150,12 @@ class Jets::Booter
|
|
150
150
|
# Eager load jet's lib and classes
|
151
151
|
def eager_load_jets
|
152
152
|
lib_jets = File.expand_path(".", File.dirname(__FILE__))
|
153
|
-
|
153
|
+
|
154
|
+
# Sort by path length because systems return Dir.glob in different order
|
155
|
+
# Sometimes it returns longer paths first which messed up eager loading.
|
156
|
+
paths = Dir.glob("#{lib_jets}/**/*.rb")
|
157
|
+
paths = paths.sort_by { |p| p.size }
|
158
|
+
paths.select do |path|
|
154
159
|
next if !File.file?(path)
|
155
160
|
next if skip_eager_load_paths?(path)
|
156
161
|
|
data/lib/jets/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-02-
|
11
|
+
date: 2019-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionmailer
|