lono 7.4.1 → 7.4.2
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 -1
- data/lib/lono/finder/base.rb +14 -2
- data/lib/lono/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: d5fb2024cd3b5206340c2c55347cda9af53f17fc8e165c0c72d5e03397fee376
|
4
|
+
data.tar.gz: 588801a14d28f01a374f0e9e906739d4872ad78ae98e760c1d03d0633ed1d435
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18d3f263e75e822bbaa8ae3e8a098a2d775fde0ead210082b38b0447f1c1ebaacd23458543f9114f7663efeb0d0616425a61aec16903b3b91bed5df2db01acc9
|
7
|
+
data.tar.gz: d72a837f16c0cfe93b0331fbad13bd88f3442901bf589357917612f44b35218f0f4a02b35de802a30ed9ed6a3d3bac2488271f00458ea3338ddeb2ffa306ac5d
|
data/CHANGELOG.md
CHANGED
@@ -3,8 +3,11 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
5
5
|
|
6
|
+
## [7.4.2]
|
7
|
+
- #60 fix edge case when cached materialized Gemfile.lock breaks finder
|
8
|
+
|
6
9
|
## [7.4.1]
|
7
|
-
- lono generate fix: generate with configsets
|
10
|
+
- #59 lono generate fix: generate with configsets
|
8
11
|
|
9
12
|
## [7.4.0]
|
10
13
|
- #57 Big improvements generally and configsets
|
data/lib/lono/finder/base.rb
CHANGED
@@ -120,8 +120,20 @@ module Lono::Finder
|
|
120
120
|
specs = parser.specs
|
121
121
|
# __materialize__ only exists in Gem::LazySpecification and not in Gem::Specification
|
122
122
|
specs.each { |spec| spec.__materialize__ }
|
123
|
-
|
124
|
-
spec
|
123
|
+
begin
|
124
|
+
specs.map do |spec|
|
125
|
+
spec.full_gem_path
|
126
|
+
end
|
127
|
+
rescue RuntimeError => e
|
128
|
+
if e.message.include?("LazySpecification has not been materialized yet")
|
129
|
+
# Thinking quiet behavior is preferred. Leaving comment here for now.
|
130
|
+
# puts "WARN: The Finder class is having trouble using the cached tmp/jades/Gemfile.lock to search for materialized gems."
|
131
|
+
# puts "This can happen when materialized gems are updated. It is generally safe to ignore."
|
132
|
+
# puts "To remove this warning you can remove the cached Gemfile.lock"
|
133
|
+
return []
|
134
|
+
else
|
135
|
+
raise(e)
|
136
|
+
end
|
125
137
|
end
|
126
138
|
end
|
127
139
|
memoize :materialized_gem_roots
|
data/lib/lono/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lono
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.4.
|
4
|
+
version: 7.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|