origen 0.28.0 → 0.28.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: de6c14abeb7969c56b039ecae7c2b8895942cc31
4
- data.tar.gz: 6537fdfdd336093de65eb0d122902adb9ceb21aa
3
+ metadata.gz: 73c99a4efdb1a7f595896b7b1c2300f2893bdc6f
4
+ data.tar.gz: 32d2f94bca108ff539d1c16d846731a072f60f55
5
5
  SHA512:
6
- metadata.gz: 64d3ca87c62cf25de9082e6ce7c263a504bf1bc6ed7cc06f653989e06cb053a400e194cb3a280dbf6202ee939f1eea57c4fa6cb384d5af57bd24db99971bf07f
7
- data.tar.gz: 6c730671056c7bf5d39f04b9dfa0578a1985006d347cf4c2c4a2f19d9bfc944b419f0304b421188573843672136ef4e19c01297a8660c3c0c5d8ac18b13c2cc6
6
+ metadata.gz: 561c1b67a67028c015cbcbc9b1fd5da10291f7995f55da5e4bcefeb768bbc5935068aceb140e7aca51ca096e817c024151aca36e615e324748659cbc3a3665eb
7
+ data.tar.gz: 2d78a652c904d98670ab82d1396b9f139fe91d611963bad5eaa15088533773fdb637ea223180a23e84cb68fc136e04aa2893e27d44a900b7628efcdbb0da83a7
data/config/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Origen
2
2
  MAJOR = 0
3
3
  MINOR = 28
4
- BUGFIX = 0
4
+ BUGFIX = 1
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
@@ -11,20 +11,12 @@ module Origen
11
11
  # Gets the gem_intall_dir. This is either site_config.home_dir/gems or the site configs gem_install_dir
12
12
  def gem_install_dir
13
13
  return "#{tool_repo_install_dir}/gems" if gems_use_tool_repo && tool_repo_install_dir && !user_install_enable
14
- dir = find_val('user_gem_dir')
15
- unless dir
16
- dir = "#{find_val('home_dir')}/gems"
17
- end
18
- dir
14
+ find_val('user_gem_dir') || find_val('gem_install_dir') || "#{find_val('home_dir')}/gems"
19
15
  end
20
16
 
21
17
  # Gets the user_install_dir. Like gem_install_dir, this default to somewhere home_dir, unless overridden
22
18
  def user_install_dir
23
- dir = find_val('user_install_dir')
24
- unless dir
25
- dir = find_val('home_dir')
26
- end
27
- dir
19
+ find_val('user_install_dir') || find_val('home_dir')
28
20
  end
29
21
 
30
22
  def method_missing(method, *args, &block)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: origen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.0
4
+ version: 0.28.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen McGinty
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-29 00:00:00.000000000 Z
11
+ date: 2017-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -631,7 +631,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
631
631
  version: 1.8.11
632
632
  requirements: []
633
633
  rubyforge_project:
634
- rubygems_version: 2.6.7
634
+ rubygems_version: 2.5.2
635
635
  signing_key:
636
636
  specification_version: 4
637
637
  summary: The Semiconductor Developer's Kit