ruco-cpp 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ruco/version.rb +1 -1
  3. data/lib/ruco.rb +3 -3
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a6703adcbdc82415083f1d8798d6b74ff0a8580f
4
- data.tar.gz: 2e1e889dbcb20cb8842e82fdb0cd3e26ab140acf
3
+ metadata.gz: abd02aab39c8ca80296b524780c2cacdab4f6fde
4
+ data.tar.gz: 5940bd0cb9e5173dfacdc3f571ec62ec2ccf340b
5
5
  SHA512:
6
- metadata.gz: 1b68ae6e8f3abf0031faac1a00aa11aa571b37c3ac6164310ca711fbe269a1dabfb893a4acb6db14369295c99c1cfad1e05b9159ef1f8a2c358f76a1cc33e98e
7
- data.tar.gz: 3f496105b8c62a239366101293ad3e6ba6f726c1f85e0dbde14c0e54bce3cd461faade18dee612f514917b36f3923909ea518e4e485e38b0e3b99d88c7a1d9df
6
+ metadata.gz: 7a7441c1e9aa1863e09905b25dcfa5b32e386bc6004ff09c5b4e01cc7e210f6c64e51e4367aebca0735f97c386d7f01a1e37c53c190ad82713ac52f5a686d883
7
+ data.tar.gz: 7d2842ffb6cb52cba96ae6ca9160d5b1e151e2950162c10279ed6cc536c6ebd45b63ed104e13d42ec1518f09fa64a97fa484fbcfb373adde5682dcf5a0daf950
data/lib/ruco/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ruco
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
data/lib/ruco.rb CHANGED
@@ -240,7 +240,7 @@ module Ruco
240
240
  @productions[name] = p
241
241
  end
242
242
 
243
- def token(name, type, definitionstring)
243
+ def token(name, type, definitionstring=nil)
244
244
  p = Production.new(name)
245
245
  case type
246
246
  when :pascal_case
@@ -652,9 +652,9 @@ namespace #{@name}
652
652
  #{function_declarations}
653
653
  #{functions}
654
654
 
655
- picojson::value Jsonify(SerialistPtr parseResult)
655
+ picojson::value Jsonify(#{prodname}Ptr parseResult)
656
656
  {
657
- return picojson::value(CompileSerialist(parseResult));
657
+ return picojson::value(Compile#{prodname}(parseResult));
658
658
  }
659
659
 
660
660
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruco-cpp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Siaw
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-04 00:00:00.000000000 Z
11
+ date: 2018-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -187,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
187
187
  version: '0'
188
188
  requirements: []
189
189
  rubyforge_project:
190
- rubygems_version: 2.4.8
190
+ rubygems_version: 2.6.14
191
191
  signing_key:
192
192
  specification_version: 4
193
193
  summary: Boilerplate generator for Coco/R