origen 0.7.26 → 0.7.27
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 +4 -4
- data/config/version.rb +1 -1
- data/lib/origen.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5103dbe98fb2a09d97c38b1f215f5eb2829ac2f6
|
|
4
|
+
data.tar.gz: d6ab79ab95ab1a8e553c8282ea1c1f9f14b5a145
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: df2669dbb72a89832b9968bf7a50e0200cb0e299f8d2bc8c991fb07d592e1a6a59360d3912904655b47c59825e692b778a7ec5117c6a9ea274126669de7f1842
|
|
7
|
+
data.tar.gz: ee5b68561ea01a7a2317f95a1182893d8e2f79054ab326bd4fba1480fac647662a3458a3d471ed0868f72e55532f770b387e2da9e54686c98b3d39f5d35b819d
|
data/config/version.rb
CHANGED
data/lib/origen.rb
CHANGED
|
@@ -418,6 +418,10 @@ unless defined? RGen::ORIGENTRANSITION
|
|
|
418
418
|
# automatically the first time the application is referenced via Origen.app
|
|
419
419
|
def load_application(options = {})
|
|
420
420
|
@application ||= begin
|
|
421
|
+
# Make sure the top-level root is always in the load path, it seems that some existing
|
|
422
|
+
# plugins do some strange things to require stuff from the top-level app and rely on this
|
|
423
|
+
path = File.join(root, 'lib')
|
|
424
|
+
$LOAD_PATH.unshift(path) unless $LOAD_PATH.include?(path)
|
|
421
425
|
# This flag is set so that when a thread starts with no app it remains with no app. This
|
|
422
426
|
# was an issue when building a new app with the fetch command and when the thread did a
|
|
423
427
|
# chdir to the new app directory (to fetch it) Origen.log would try to load the partial app.
|