ruco-cpp 0.2.4 → 0.2.5

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/bin/ruco +2 -1
  3. data/lib/ruco/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8456b33c27c7b0f589ce32b10785f6da9437ae21
4
- data.tar.gz: 859c0745003b7c4a2741e4d14daccb1043e9f464
3
+ metadata.gz: 2cb830b9263fe29580ea5c8cfcaf5f1c5310a37a
4
+ data.tar.gz: 1d7a85078b5ac1119bf77835f5f93e9d7afffd81
5
5
  SHA512:
6
- metadata.gz: 1ac5de3e243e7882839e3eb1773c86e258c2d129e91354a94fe94c87b3afe274577628d9268ebd788e3b3b9e2410c5999bef470deea7e3c6a66dcfd35f8e909d
7
- data.tar.gz: 2ae249b86e0c9d982dc311e5894e246116178a8a6a403d895acc2f93eddecbb18104806a881ebc1ff7cca5cbc9768902b8c70de52963a353bceba09e9fcbd77e
6
+ metadata.gz: d1e5b24661e41a46acd17dd28366ac8ce9c37a6033a8abafc4f3984cd4f708052c977bd32852cfcf43670133e50eb56998c0dc732755dd02676d79818780fceb
7
+ data.tar.gz: e3fdf3649f14852e781089a0ef3fc2a8a4a24dad69ecd2b718f200f809d30395a3bd75e9f539de4d61a8423e0d4938f0a2eeae67cbfc81bb641bd6d1f7cd03a0
data/bin/ruco CHANGED
@@ -12,8 +12,9 @@ end
12
12
  file = ARGV[0]
13
13
  grammar_name = File.basename file, ".ruco"
14
14
  grammar_name = ARGV[1] if ARGV[1]
15
+ grammar_name = grammar_name.capitalize
15
16
 
16
- rr = Ruco::Ruco.new grammar_name.capitalize do
17
+ rr = Ruco::Ruco.new grammar_name do
17
18
  instance_eval(File.read(file), file)
18
19
  end
19
20
 
data/lib/ruco/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ruco
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruco-cpp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Siaw