rvvm 0.9.4 → 0.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 23fecb22e1dceb684c808440d5d88e14e288e3001287a50435acfa57baedad5c
4
- data.tar.gz: 88b6836f137f99529ba872045ab934cc618fcf71420e674117a0856b225dce63
3
+ metadata.gz: 8fd6e9e8729d0de5aeabb5a88f183096de1acc98ae8d5e2d70c7be57edf883a0
4
+ data.tar.gz: aa70e5dd5f06d668c8e83a38043d02f0b86aa047bd7a85c5b4db5ce04567a894
5
5
  SHA512:
6
- metadata.gz: 3197267e3a5f1f713167837ed16ff1410d7aea0429e031c60a78cd3f85b4aea88b200c0bcbe5bd2174de75182119fff227d08bc79eaff720c73654d2f095e6ae
7
- data.tar.gz: 36f3c3f230eb785626b16f8b6200bd0277fe7635eec3982f6ef1fe2bf0ee7346fa531b7ee740cd987f8428c5cda7c2d73bc25370b0ef19ea014797b1fca4cdd9
6
+ metadata.gz: accdd51566d38973f742e264d35bfecdc1b5ede51d3d0f9062114a4dd8c2d95bc64437026123de630ed2a1ce7b9702cb06d1e4570820cbadf89f946aa9641f22
7
+ data.tar.gz: a330ed820c00511ced53ffe42ec13d2eec98d9783c3aa581a144a029e46b4a92ed84fd86a27b5c25dc46b83c1f88d9cf8ab2ac0e37e688215713a16ce7bf9e17
data/CHANGELOG.md CHANGED
@@ -114,3 +114,18 @@
114
114
  2. Template file generation in pwd
115
115
  3. Elaboration and simulation custom waveform trace dump file
116
116
  4. Project template files regeneration/restoration to default
117
+
118
+ ## [0.9.5] - 2024-09-17
119
+
120
+ ### Fixed:
121
+
122
+ 1. Conversion of parsed json config hash keys to symbols
123
+ 2. Tests randomly failing due to the bug above
124
+
125
+ ### TBI:
126
+
127
+ 1. CLI log graphic
128
+ 2. Template file generation in pwd
129
+ 3. Elaboration and simulation custom waveform trace dump file
130
+ 4. Project template files regeneration/restoration to default
131
+
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # RVvM - Ruby Vivado Manager
1
+ # RVvM - Ruby Vivado Manager [![Gem Version](https://badge.fury.io/rb/rvvm.svg)](https://badge.fury.io/rb/rvvm)
2
2
 
3
3
  RVvM is a Ruby based meta tool to manage, compile, elaborate and simulate SystemVerilog and UVM based projects using Xilinx Vivado xvlog, xelab, xrun and xsc tools.
4
4
 
data/bin/sandbox CHANGED
@@ -2,25 +2,3 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  # just a sandbox to play with ruby during development
5
-
6
- require "json"
7
-
8
- json = %(
9
- {
10
- "sizmaj": "bit"
11
- "akafuka" : {
12
- "siz": 1,
13
- "maj": 2,
14
- "bit": 3
15
- }
16
- }
17
- )
18
-
19
- def json_parse(data)
20
- parsed = JSON.parse(data)
21
- puts parsed
22
- rescue JSON::ParserError => e
23
- puts "Invalid JSON!\nError #{e.message}"
24
- end
25
-
26
- json_parse(json)
data/lib/rvvm/version.rb CHANGED
@@ -3,5 +3,5 @@
3
3
  # Module holding current rvvm version.
4
4
  module Rvvm
5
5
  # Current rvvm module version.
6
- VERSION = "0.9.4"
6
+ VERSION = "0.9.5"
7
7
  end
data/lib/rvvm.rb CHANGED
@@ -268,9 +268,12 @@ module Rvvm
268
268
  end
269
269
 
270
270
  @config = JSON.parse(json_file) if json_file
271
- @config = @config.transform_values do |v|
272
- v.is_a?(Hash) ? v.transform_keys(&:to_sym) : v
273
- end.transform_keys(&:to_sym)
271
+
272
+ if @config.instance_of?(Hash)
273
+ @config = @config.transform_values do |v|
274
+ v.transform_keys(&:to_sym) if v.instance_of?(Hash)
275
+ end.transform_keys(&:to_sym)
276
+ end
274
277
  rescue JSON::ParserError => e
275
278
  puts " Invalid config json!\n\n#{e.message}"
276
279
  exit(1)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rvvm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4
4
+ version: 0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - mrbya