commonmarker 1.0.0.pre7-x86_64-linux → 1.0.0.pre8-x86_64-linux
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 +8 -1
 - data/lib/commonmarker/3.1/commonmarker.so +0 -0
 - data/lib/commonmarker/3.2/commonmarker.so +0 -0
 - data/lib/commonmarker/config.rb +1 -0
 - data/lib/commonmarker/version.rb +1 -1
 - metadata +2 -39
 - data/Cargo.lock +0 -1108
 - data/ext/commonmarker/Cargo.toml +0 -12
 - data/ext/commonmarker/extconf.rb +0 -6
 - data/ext/commonmarker/src/lib.rs +0 -85
 - data/ext/commonmarker/src/options.rs +0 -134
 - data/ext/commonmarker/src/plugins/syntax_highlighting.rs +0 -30
 - data/ext/commonmarker/src/plugins.rs +0 -21
 - data/ext/commonmarker/src/utils.rs +0 -8
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: f40ed149245b11547406ca327cb2c1e7c8750b772563b4844815ddba38cb2ac4
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 587707e21e7596e8d3679cca3c66d898e3b35674aff538cae92d7775a513e009
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 7258acdca3aee0b92e8872a2a0cbd156dc5933db74706ce972824041b87f1b16493fb0968771527ef3904111aaaf0502d890d07e89580a0649b698aae8387968
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 3d18e4d88effe9906c2dd4817c904702151a7c2f0cb81969ce602fe941cf5e61a3cfe03bf6c97f46670bfb3ebd6f6ac32356f333714963d28c6cf6229035ebcd
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -131,9 +131,16 @@ Commonmarker.to_html(code, plugins: { syntax_highlighter: nil }) 
     | 
|
| 
       131 
131 
     | 
    
         
             
            Commonmarker.to_html(code, plugins: { syntax_highlighter: { theme: nil } })
         
     | 
| 
       132 
132 
     | 
    
         
             
            ```
         
     | 
| 
       133 
133 
     | 
    
         | 
| 
      
 134 
     | 
    
         
            +
            You can also provide a `path` to a directory containing `.tmtheme` files to load:
         
     | 
| 
      
 135 
     | 
    
         
            +
             
     | 
| 
      
 136 
     | 
    
         
            +
            ```ruby
         
     | 
| 
      
 137 
     | 
    
         
            +
             
     | 
| 
      
 138 
     | 
    
         
            +
            Commonmarker.to_html(code, plugins: { syntax_highlighter: { theme: "Monokai", path: "./themes" } })
         
     | 
| 
      
 139 
     | 
    
         
            +
            ```
         
     | 
| 
      
 140 
     | 
    
         
            +
             
     | 
| 
       134 
141 
     | 
    
         
             
            ##### Available themes
         
     | 
| 
       135 
142 
     | 
    
         | 
| 
       136 
     | 
    
         
            -
            Here's [a list of available  
     | 
| 
      
 143 
     | 
    
         
            +
            Here's [a list of themes available by default](https://docs.rs/syntect/5.0.0/syntect/highlighting/struct.ThemeSet.html#implementations):
         
     | 
| 
       137 
144 
     | 
    
         | 
| 
       138 
145 
     | 
    
         
             
            - `"base16-ocean.dark"`
         
     | 
| 
       139 
146 
     | 
    
         
             
            - `"base16-eighties.dark"`
         
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     | 
    
        data/lib/commonmarker/config.rb
    CHANGED
    
    
    
        data/lib/commonmarker/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: commonmarker
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1.0.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.0.0.pre8
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: x86_64-linux
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Garen Torikian
         
     | 
| 
         @@ -9,23 +9,8 @@ authors: 
     | 
|
| 
       9 
9 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       10 
10 
     | 
    
         
             
            bindir: exe
         
     | 
| 
       11 
11 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       12 
     | 
    
         
            -
            date: 2023- 
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2023-03-09 00:00:00.000000000 Z
         
     | 
| 
       13 
13 
     | 
    
         
             
            dependencies:
         
     | 
| 
       14 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency
         
     | 
| 
       15 
     | 
    
         
            -
              name: rb_sys
         
     | 
| 
       16 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       17 
     | 
    
         
            -
                requirements:
         
     | 
| 
       18 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       19 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       20 
     | 
    
         
            -
                    version: '0.9'
         
     | 
| 
       21 
     | 
    
         
            -
              type: :runtime
         
     | 
| 
       22 
     | 
    
         
            -
              prerelease: false
         
     | 
| 
       23 
     | 
    
         
            -
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       24 
     | 
    
         
            -
                requirements:
         
     | 
| 
       25 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       26 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       27 
     | 
    
         
            -
                    version: '0.9'
         
     | 
| 
       28 
     | 
    
         
            -
              force_ruby_platform: false
         
     | 
| 
       29 
14 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       30 
15 
     | 
    
         
             
              name: rake
         
     | 
| 
       31 
16 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -54,20 +39,6 @@ dependencies: 
     | 
|
| 
       54 
39 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       55 
40 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       56 
41 
     | 
    
         
             
                    version: '1.2'
         
     | 
| 
       57 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency
         
     | 
| 
       58 
     | 
    
         
            -
              name: rake-compiler-dock
         
     | 
| 
       59 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       60 
     | 
    
         
            -
                requirements:
         
     | 
| 
       61 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       62 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       63 
     | 
    
         
            -
                    version: '1.2'
         
     | 
| 
       64 
     | 
    
         
            -
              type: :development
         
     | 
| 
       65 
     | 
    
         
            -
              prerelease: false
         
     | 
| 
       66 
     | 
    
         
            -
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       67 
     | 
    
         
            -
                requirements:
         
     | 
| 
       68 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       69 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       70 
     | 
    
         
            -
                    version: '1.2'
         
     | 
| 
       71 
42 
     | 
    
         
             
            description: A fast, safe, extensible parser for CommonMark. This wraps the comrak
         
     | 
| 
       72 
43 
     | 
    
         
             
              Rust crate.
         
     | 
| 
       73 
44 
     | 
    
         
             
            email: 
         
     | 
| 
         @@ -75,17 +46,9 @@ executables: [] 
     | 
|
| 
       75 
46 
     | 
    
         
             
            extensions: []
         
     | 
| 
       76 
47 
     | 
    
         
             
            extra_rdoc_files: []
         
     | 
| 
       77 
48 
     | 
    
         
             
            files:
         
     | 
| 
       78 
     | 
    
         
            -
            - Cargo.lock
         
     | 
| 
       79 
49 
     | 
    
         
             
            - LICENSE.txt
         
     | 
| 
       80 
50 
     | 
    
         
             
            - README.md
         
     | 
| 
       81 
     | 
    
         
            -
            - ext/commonmarker/Cargo.toml
         
     | 
| 
       82 
51 
     | 
    
         
             
            - ext/commonmarker/_util.rb
         
     | 
| 
       83 
     | 
    
         
            -
            - ext/commonmarker/extconf.rb
         
     | 
| 
       84 
     | 
    
         
            -
            - ext/commonmarker/src/lib.rs
         
     | 
| 
       85 
     | 
    
         
            -
            - ext/commonmarker/src/options.rs
         
     | 
| 
       86 
     | 
    
         
            -
            - ext/commonmarker/src/plugins.rs
         
     | 
| 
       87 
     | 
    
         
            -
            - ext/commonmarker/src/plugins/syntax_highlighting.rs
         
     | 
| 
       88 
     | 
    
         
            -
            - ext/commonmarker/src/utils.rs
         
     | 
| 
       89 
52 
     | 
    
         
             
            - lib/commonmarker.rb
         
     | 
| 
       90 
53 
     | 
    
         
             
            - lib/commonmarker/3.1/commonmarker.so
         
     | 
| 
       91 
54 
     | 
    
         
             
            - lib/commonmarker/3.2/commonmarker.so
         
     |