origen 0.34.1 → 0.34.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/version.rb +1 -1
- data/lib/origen/commands/web.rb +6 -1
- data/lib/origen/org_file.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96abf91083c2df0da8cb9cac42f82757fff7cf48
|
4
|
+
data.tar.gz: 78965ad2de07cb8524f32a423567542b586ee35a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f725a9a8db4c9f368d583591957d8b248eb7489d5ecfae663860ddb3713591ee4018817835e81f3f3704ddc7f8d297b19c803a8106d51d1e526abeade461967b
|
7
|
+
data.tar.gz: 174dc22d5cdcc20d1fc219813fa5476e48f5b804343d31e7272ce43573fa3138da07d54d47240cf250818e25176f1034aad9b25474cacc7116f1b95963f85728
|
data/config/version.rb
CHANGED
data/lib/origen/commands/web.rb
CHANGED
@@ -166,7 +166,12 @@ The following options are available:
|
|
166
166
|
listener.before_web_compile(options)
|
167
167
|
end
|
168
168
|
ARGV.each do |file|
|
169
|
-
|
169
|
+
path = Origen.file_handler.clean_path_to(file)
|
170
|
+
if path.to_s =~ /origen_guides/
|
171
|
+
output = Origen.file_handler.sub_dir_of(path, "#{Origen.root}/templates/origen_guides")
|
172
|
+
else
|
173
|
+
output = Origen.file_handler.sub_dir_of(path, "#{Origen.root}/templates/web")
|
174
|
+
end
|
170
175
|
Origen.app.runner.launch action: :compile,
|
171
176
|
files: file,
|
172
177
|
output: "#{Origen.root}/web/content/#{output}"
|
data/lib/origen/org_file.rb
CHANGED
@@ -29,7 +29,7 @@ module Origen
|
|
29
29
|
def close(id, options = {})
|
30
30
|
fail "An org_file with this ID has not been opened id: #{id}" unless open_files[id]
|
31
31
|
open_files[id].close unless options[:_internal_org_file_call_]
|
32
|
-
open_files
|
32
|
+
open_files.delete(id)
|
33
33
|
end
|
34
34
|
|
35
35
|
def org_file(id = nil)
|
@@ -109,15 +109,15 @@ module Origen
|
|
109
109
|
def cycle(number)
|
110
110
|
if @buffer
|
111
111
|
if @line == @buffer
|
112
|
-
@buffer_cycles +=
|
112
|
+
@buffer_cycles += number
|
113
113
|
else
|
114
114
|
file.puts "#{@buffer}#{@buffer_cycles}"
|
115
115
|
@buffer = @line
|
116
|
-
@buffer_cycles =
|
116
|
+
@buffer_cycles = number
|
117
117
|
end
|
118
118
|
else
|
119
119
|
@buffer = @line
|
120
|
-
@buffer_cycles =
|
120
|
+
@buffer_cycles = number
|
121
121
|
end
|
122
122
|
@line = nil
|
123
123
|
end
|
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.34.
|
4
|
+
version: 0.34.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen McGinty
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|