dataMetaProtobuf 1.0.0 → 1.0.1
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 +4 -4
- data/History.md +4 -0
- data/README.md +1 -3
- data/bin/dataMetaProtobufGen.rb +0 -1
- data/lib/dataMetaProtobuf.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7c541b0e13336786d8b3bca0ceeb00935449144
|
4
|
+
data.tar.gz: 5698b0ef6af304a245ca506ef8b1f9966c6d069d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1f906241b26331399e19d05a5c272568db807bc7eaf9ffb6a32e417a1596dbb1eebacc37fd4ac0d6e6a75e6fc59257ae7a6f29df029630be7b19c9b177aa6f0
|
7
|
+
data.tar.gz: d901cf6dea9ca507dd810ae95aeb687244e0e69d6c5c21135b5c0021b97e6aa50bc2772cbe87587039fbf09876fdfd6ebea78f3c5783dd999c74d6435d966c26
|
data/History.md
CHANGED
data/README.md
CHANGED
@@ -33,9 +33,7 @@ Since DataMeta DOM is superset of Protobuf data types, tradeoffs are made:
|
|
33
33
|
|
34
34
|
Usage:
|
35
35
|
|
36
|
-
|
37
|
-
|
38
|
-
dataMetaProtobufGen.rb
|
36
|
+
dataMetaProtobufGen.rb <DataMeta DOM source file name>
|
39
37
|
|
40
38
|
It will output your Protobuf IDL to STDOUT and write the log file named `dataMetaProtobuf.log` in which you may find
|
41
39
|
some useful information about what just happened. This log is written into the current directory.
|
data/bin/dataMetaProtobufGen.rb
CHANGED
@@ -13,7 +13,6 @@ DataMetaProtobuf.helpProtobufGen __FILE__, %<"#{@source}" is not a valid file> u
|
|
13
13
|
@model = DataMetaDom::Model.new
|
14
14
|
begin
|
15
15
|
@model.parse(@source)
|
16
|
-
puts "Current source: #{@model.sources.inspect}"
|
17
16
|
puts DataMetaProtobuf.genSchema(@model)
|
18
17
|
rescue Exception => e
|
19
18
|
$stderr.puts "ERROR #{e.message}; #{@model.diagn}"
|
data/lib/dataMetaProtobuf.rb
CHANGED