maxy-gen 0.3.3 → 0.4.0

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: e4e86040c41c2e7c72dad39a7aa9cb2f5747c4ee675c8ff95f44d96f556c24a0
4
- data.tar.gz: 53d688a7848ce51d8c198c938189114578e536aefb92640a31eb702d7e117227
3
+ metadata.gz: '080e5d4e4259e215bd7d8ce3ec0680b246b12a62cdb231a2ad068e6a13bd854e'
4
+ data.tar.gz: 5386f0de797b8c81e27b2017185dab0b02b8d9e47ea6cdf61f43515e95bcb98e
5
5
  SHA512:
6
- metadata.gz: 0bc189243c8caea6c73b8b2b4740591c974d47ab33c6f26c9eeb492ffd09123af01476e895e16accd0795573751937526f873cc4af1bae633562cc70dc0c36e6
7
- data.tar.gz: db4d6a15270c862b2719e2f845893610bf7e82ae9b108077c2be4c2ea93d135b698db636a1a5392535dc1c69dc940bf1c505d911e9680607738ef8ec8591d0e9
6
+ metadata.gz: 594b41e5ef739eac4c92c8663abb3177267b5043c1851d229477716c6be7f92270390dbae4f1c350125ed567a721ce41c754cf65712893a291ee62f0988004cb
7
+ data.tar.gz: dde62e3963453cca9fa59a192b9d2aa89fb7ea27fe40f1f0b70c1d5c360c6254a16a88521953366a5994d0ee38fa192ce50945a38cf3fe748907e3baa5f812c0
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- maxy-gen (0.3.2)
4
+ maxy-gen (0.3.3)
5
5
  nokogiri
6
6
  thor
7
7
 
@@ -48,6 +48,8 @@ module Maxy
48
48
  obj_name = consume(:identifier).value
49
49
  elsif peek(:escaped_identifier)
50
50
  obj_name = consume(:escaped_identifier).value
51
+ elsif peek(:mc_identifier)
52
+ obj_name = consume(:mc_identifier).value
51
53
  end
52
54
 
53
55
  arguments = parse_arguments || ''
@@ -3,6 +3,7 @@ module Maxy
3
3
  class Tokenizer
4
4
  TOKEN_TYPES = [
5
5
  [:arguments, /({[^{}]*})/],
6
+ [:mc_identifier, /(mc\.[^{}()]+~)(?=[-+=*<{}])?/],
6
7
  [:escaped_identifier, /(\\[\S][^-+={}<()\\]*)(?=[-+=*<{}])?/],
7
8
  [:identifier, /([^-+={}<()\\]+)(?=[-+=*<{}])?/],
8
9
  [:oparen, /(\()/],
@@ -1,5 +1,5 @@
1
1
  module Maxy
2
2
  module Gen
3
- VERSION = "0.3.3"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maxy-gen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Rubisch
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-06-29 00:00:00.000000000 Z
11
+ date: 2019-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler