origen 0.7.26 → 0.7.27

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/config/version.rb +1 -1
  3. data/lib/origen.rb +4 -0
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c9a41c5ead7ae18b4a7fb8267ffb3681b1fa7cf9
4
- data.tar.gz: 4ab640fdfc1efa46b57b9d621ecd6ea67bb2cb37
3
+ metadata.gz: 5103dbe98fb2a09d97c38b1f215f5eb2829ac2f6
4
+ data.tar.gz: d6ab79ab95ab1a8e553c8282ea1c1f9f14b5a145
5
5
  SHA512:
6
- metadata.gz: 990b6fe8c4421b856bf5daf534864cf2b4c4be57283b7eefa0092456559b6519318265af34bdf3a8fb5fa3a4b4285afa877dc2e3d064d3f6d510410e286221b3
7
- data.tar.gz: 6da8b2276531a6a33254f17ef372ce31879951091ab4c93a858d8e31520efa16cc400b403bd0ef838285be6776c3e4c1e7759b1b2509f51b158d754be900e00f
6
+ metadata.gz: df2669dbb72a89832b9968bf7a50e0200cb0e299f8d2bc8c991fb07d592e1a6a59360d3912904655b47c59825e692b778a7ec5117c6a9ea274126669de7f1842
7
+ data.tar.gz: ee5b68561ea01a7a2317f95a1182893d8e2f79054ab326bd4fba1480fac647662a3458a3d471ed0868f72e55532f770b387e2da9e54686c98b3d39f5d35b819d
data/config/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Origen
2
2
  MAJOR = 0
3
3
  MINOR = 7
4
- BUGFIX = 26
4
+ BUGFIX = 27
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
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.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: origen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.26
4
+ version: 0.7.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen McGinty