origen 0.60.6 → 0.60.7
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/generator/comparator.rb +1 -1
- data/lib/origen/generator/compiler.rb +5 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff8cb5a2c731d92632524eb3e3c946ac02f3c41b78ac8fe80ecad1f69ef45a12
|
4
|
+
data.tar.gz: 2d1a30494e052b4645948fa71f0fcdc8b291f36d6d176586c3b2ae615116b532
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c44b2a16e3266e921da6b1fea2223e1600d2c382851302ac44c07e4191cec175f4b52ede7018ccf463c8bd391dcb737cd47c9f68f624b8b93a7a30842d9afa85
|
7
|
+
data.tar.gz: 79c7c3e8693243ec9dd06a34e5b9dd7e2b6829b4de238cff1be58d83c163dc01bc3f1f179c00e3dbdcdb77fa7e3b680dfe348db7f3dd447fbb14370465e64f12
|
data/config/version.rb
CHANGED
@@ -13,7 +13,7 @@ module Origen
|
|
13
13
|
}.merge(options)
|
14
14
|
|
15
15
|
if File.exist?(old)
|
16
|
-
if Utility::Diff.new(file_a: new, file_b: old, ignore_blank_lines:
|
16
|
+
if Utility::Diff.new(file_a: new, file_b: old, ignore_blank_lines: options[:ignore_blank_lines],
|
17
17
|
comment_char: options[:comment_char],
|
18
18
|
suspend_string: options[:suspend_string],
|
19
19
|
resume_string: options[:resume_string]).diffs?
|
@@ -39,9 +39,10 @@ module Origen
|
|
39
39
|
# to the destination un-altered
|
40
40
|
def compile(file_or_dir, options = {})
|
41
41
|
options = {
|
42
|
-
check_for_changes:
|
43
|
-
sub_template:
|
44
|
-
collect_stats:
|
42
|
+
check_for_changes: true,
|
43
|
+
sub_template: false,
|
44
|
+
collect_stats: true,
|
45
|
+
ignore_blank_lines: true
|
45
46
|
}.merge(options)
|
46
47
|
@scope = options[:scope]
|
47
48
|
# Doing here so the output_directory (requiring target load) doesn't get hit if
|
@@ -130,7 +131,7 @@ module Origen
|
|
130
131
|
if @check_for_changes
|
131
132
|
check_for_changes(output_file(file, options), reference_file(file, options),
|
132
133
|
comment_char: Origen.app.tester ? Origen.app.tester.program_comment_char : nil,
|
133
|
-
compile_job: true)
|
134
|
+
compile_job: true, ignore_blank_lines: options[:ignore_blank_lines])
|
134
135
|
end
|
135
136
|
end
|
136
137
|
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.60.
|
4
|
+
version: 0.60.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen McGinty
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|