origen 0.7.12 → 0.7.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/origen +18 -3
- data/config/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a2ffd1baf04606a1952e522d9190b9c9c0e038a
|
4
|
+
data.tar.gz: a27a278c0fdb4f16281b1d5db83e91c52e1c08e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f79c467226a03fcd2fe8a386d655e6d34601d5f0176de6fdbd96da5d3fead88c560a3443c57ed2c883acb1a775b246fd33c9ed506ae7edf9dc96825f024ea76e
|
7
|
+
data.tar.gz: cc795d2f261f34a84ac224fa4e0582cfc64fa21d49be533fb0dadbbe61878922ecbd6b28d6ebb08aea49520b8ddb5abdcbcb7c618ecfd79b8a067acb01d869e0
|
data/bin/origen
CHANGED
@@ -121,6 +121,8 @@ if origen_root && File.exist?(ENV['BUNDLE_GEMFILE']) && Origen.site_config.gem_m
|
|
121
121
|
else
|
122
122
|
puts "Unable to determine gcc version, proceeding with fingers crossed..."
|
123
123
|
end
|
124
|
+
# Need to compact the system gem specs array to remove reference to any nil elements which will cause an error below.
|
125
|
+
system_gem_specs.compact!
|
124
126
|
# Some gems (particularly those with C extensions that need to be built), can be hard to install reliably
|
125
127
|
# across a large user base. Initially seed the user's local gem area with the system-installed gems,
|
126
128
|
# this means that the system Ruby owner can provide an installation for these hard-to-install gems.
|
@@ -134,16 +136,29 @@ if origen_root && File.exist?(ENV['BUNDLE_GEMFILE']) && Origen.site_config.gem_m
|
|
134
136
|
(spec.executables || []).each do |bin|
|
135
137
|
FileUtils.cp("#{spec.bin_dir}/#{bin}", "#{local_gem_dir}/bin")
|
136
138
|
end
|
137
|
-
|
139
|
+
if !File.exist(spec.cache_file)
|
140
|
+
FileUtils.cp(spec.cache_file, "#{local_gem_dir}/cache")
|
141
|
+
end
|
138
142
|
if spec.extension_dir && File.exist?(spec.extension_dir)
|
139
143
|
spec.extension_dir =~ /.*extensions(.*)/
|
140
144
|
sub_dir = Pathname.new($1).dirname.to_s
|
141
145
|
local_ext_dir = "#{local_gem_dir}/extensions/#{sub_dir}"
|
142
146
|
FileUtils.mkdir_p(local_ext_dir) unless File.exist?(local_ext_dir)
|
147
|
+
|
148
|
+
# If the file exists in the extensions directory, skip copying it over.
|
149
|
+
if !File.exist?(spec.extension_dir)
|
143
150
|
FileUtils.cp_r(spec.extension_dir, local_ext_dir)
|
151
|
+
end
|
144
152
|
end
|
145
|
-
|
146
|
-
|
153
|
+
|
154
|
+
# If the file exists in the gem directory, skip copying it over.
|
155
|
+
if !File.exist?(spec.gem_dir)
|
156
|
+
FileUtils.cp_r(spec.gem_dir, "#{local_gem_dir}/gems")
|
157
|
+
end
|
158
|
+
# If the file exists in the specifications directory, skip copying it over.
|
159
|
+
if !File.exist?(spec.spec_file)
|
160
|
+
FileUtils.cp(spec.spec_file, "#{local_gem_dir}/specifications")
|
161
|
+
end
|
147
162
|
rescue
|
148
163
|
puts "Had problems installing #{spec.name} from your system Ruby, proceeding with fingers crossed..."
|
149
164
|
end
|
data/config/version.rb
CHANGED
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.7.
|
4
|
+
version: 0.7.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen McGinty
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -652,7 +652,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
652
652
|
version: 1.8.11
|
653
653
|
requirements: []
|
654
654
|
rubyforge_project:
|
655
|
-
rubygems_version: 2.
|
655
|
+
rubygems_version: 2.2.2
|
656
656
|
signing_key:
|
657
657
|
specification_version: 4
|
658
658
|
summary: The Semiconductor Developer's Kit
|