mahoujin 2.0.0 → 2.1.0
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/README.md +3 -3
- data/exe/mahoujin +3 -2
- data/lib/mahoujin/graphics/layout.rb +20 -4
- data/lib/mahoujin/graphics/renderer.rb +29 -8
- data/lib/mahoujin/graphics/styles/basic.rb +2 -2
- data/lib/mahoujin/graphics/styles/json.rb +3 -3
- data/lib/mahoujin/version.rb +1 -1
- data/samples/build_graphics +11 -0
- data/samples/ebnf/syntax.png +0 -0
- data/samples/ebnf/syntax.svg +402 -402
- data/samples/ipv4/syntax.png +0 -0
- data/samples/ipv4/syntax.svg +28 -28
- data/samples/json/syntax.png +0 -0
- data/samples/json/syntax.svg +418 -418
- metadata +7 -2
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: mahoujin
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 2. | 
| 4 | 
            +
              version: 2.1.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Sou.K
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: exe
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2016-02- | 
| 11 | 
            +
            date: 2016-02-29 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: cairo
         | 
| @@ -169,11 +169,15 @@ files: | |
| 169 169 | 
             
            - lib/mahoujin/transform.rb
         | 
| 170 170 | 
             
            - lib/mahoujin/version.rb
         | 
| 171 171 | 
             
            - mahoujin.gemspec
         | 
| 172 | 
            +
            - samples/build_graphics
         | 
| 172 173 | 
             
            - samples/ebnf/syntax.ebnfspec
         | 
| 174 | 
            +
            - samples/ebnf/syntax.png
         | 
| 173 175 | 
             
            - samples/ebnf/syntax.svg
         | 
| 174 176 | 
             
            - samples/ipv4/syntax.ebnfspec
         | 
| 177 | 
            +
            - samples/ipv4/syntax.png
         | 
| 175 178 | 
             
            - samples/ipv4/syntax.svg
         | 
| 176 179 | 
             
            - samples/json/syntax.ebnfspec
         | 
| 180 | 
            +
            - samples/json/syntax.png
         | 
| 177 181 | 
             
            - samples/json/syntax.svg
         | 
| 178 182 | 
             
            homepage: https://github.com/0x01f7/mahoujin
         | 
| 179 183 | 
             
            licenses:
         | 
| @@ -200,3 +204,4 @@ signing_key: | |
| 200 204 | 
             
            specification_version: 4
         | 
| 201 205 | 
             
            summary: Generate syntax diagram(aka railroad diagram) from EBNF specification
         | 
| 202 206 | 
             
            test_files: []
         | 
| 207 | 
            +
            has_rdoc: 
         |