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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a8de77b7e1b7c8c36dbfbe4c09cfed6abf1fd1d508d915f2b06af3c62595fac
4
- data.tar.gz: 13f365bc2529ba358d79bc281442190f4f41c723fa10d533badd4b349f476ea7
3
+ metadata.gz: ff8cb5a2c731d92632524eb3e3c946ac02f3c41b78ac8fe80ecad1f69ef45a12
4
+ data.tar.gz: 2d1a30494e052b4645948fa71f0fcdc8b291f36d6d176586c3b2ae615116b532
5
5
  SHA512:
6
- metadata.gz: fec7b03350e86093b6733a2f870df766110489fa54bae7868d0d761b6a61811945f5483e4f57be963a0a3f4832dfef58abb924b85050da460e1b853ea5887192
7
- data.tar.gz: 7cc42194880ba198e6e5dfa0b14321a96a6fcc83ad87c83b25fc0d5a0c759c90bfd20135fcebbf4362ebd785905d19da1deb532df9a4aac22badbb9f5918cb15
6
+ metadata.gz: c44b2a16e3266e921da6b1fea2223e1600d2c382851302ac44c07e4191cec175f4b52ede7018ccf463c8bd391dcb737cd47c9f68f624b8b93a7a30842d9afa85
7
+ data.tar.gz: 79c7c3e8693243ec9dd06a34e5b9dd7e2b6829b4de238cff1be58d83c163dc01bc3f1f179c00e3dbdcdb77fa7e3b680dfe348db7f3dd447fbb14370465e64f12
data/config/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Origen
2
2
  MAJOR = 0
3
3
  MINOR = 60
4
- BUGFIX = 6
4
+ BUGFIX = 7
5
5
  DEV = nil
6
6
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
7
7
  end
@@ -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: true,
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: true,
43
- sub_template: false,
44
- collect_stats: true
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.6
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-01-24 00:00:00.000000000 Z
11
+ date: 2022-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport