ragel-array 0.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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: fe7ed3c97764104c7e645280b9df9f4457ae8a28ab1fd91a4aa3d3718187145f
4
+ data.tar.gz: 3605f316ddd0054784600675d9deb261c3b6c823a613c65e88dc260069d52afb
5
+ SHA512:
6
+ metadata.gz: 2b60f7c6083538be741565396d7c00ff00724f03cb72dfd85f1f27dfe56693dbf88714873cb9d0eac3f3e6ce077853530e7ca4c8e83c6edabe4d0babaf48a183
7
+ data.tar.gz: 7244adf30c20bfb6a8e8a4efe2fe16826f22b95ef939eccf2db2c3527ac5ad9280ed2c4aa10bbbff419b8ef98fbc038d55210310d51998d0cfa608b18766bbb2
@@ -0,0 +1,6 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "bundler"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "daily"
@@ -0,0 +1,27 @@
1
+ name: Main
2
+ on: push
3
+ jobs:
4
+ ci:
5
+ name: CI
6
+ runs-on: ubuntu-latest
7
+ env:
8
+ CI: true
9
+ steps:
10
+ - uses: actions/checkout@master
11
+ - uses: ruby/setup-ruby@v1
12
+ with:
13
+ ruby-version: 2.7
14
+ - uses: actions/cache@v1
15
+ with:
16
+ path: vendor/bundle
17
+ key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
18
+ restore-keys: |
19
+ ${{ runner.os }}-gems-
20
+ - name: Install dependencies
21
+ run: |
22
+ bundle config path vendor/bundle
23
+ bundle install --jobs 4 --retry 3
24
+ - name: Lint and test
25
+ run: |
26
+ bundle exec rubocop --parallel
27
+ bundle exec rake test
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ lib/ragel/array/ragel_array.bundle
@@ -0,0 +1,10 @@
1
+ pull_request_rules:
2
+ - name: Automatically merge dependencies
3
+ conditions:
4
+ - base=master
5
+ - label=dependencies
6
+ - status-success=CI
7
+ actions:
8
+ merge:
9
+ strict: true
10
+ delete_head_branch: {}
@@ -0,0 +1,35 @@
1
+ AllCops:
2
+ DisplayCopNames: true
3
+ DisplayStyleGuide: true
4
+ NewCops: enable
5
+ TargetRubyVersion: 2.7
6
+ Exclude:
7
+ - '{tmp,vendor,yard}/**/*'
8
+ - 'test/ragel/fixtures/*'
9
+
10
+ Gemspec/RequiredRubyVersion:
11
+ Enabled: false
12
+
13
+ Layout/LineLength:
14
+ Max: 80
15
+
16
+ Lint/AmbiguousBlockAssociation:
17
+ Enabled: false
18
+
19
+ Naming/RescuedExceptionsVariableName:
20
+ Enabled: false
21
+
22
+ Style/Documentation:
23
+ Enabled: false
24
+
25
+ Style/FormatString:
26
+ EnforcedStyle: percent
27
+
28
+ Style/FormatStringToken:
29
+ Enabled: false
30
+
31
+ Style/PerlBackrefs:
32
+ Enabled: false
33
+
34
+ Style/SlicingWithRange:
35
+ Enabled: false
@@ -0,0 +1,76 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, sex characteristics, gender identity and expression,
9
+ level of experience, education, socio-economic status, nationality, personal
10
+ appearance, race, religion, or sexual identity and orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ - Using welcoming and inclusive language
18
+ - Being respectful of differing viewpoints and experiences
19
+ - Gracefully accepting constructive criticism
20
+ - Focusing on what is best for the community
21
+ - Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ - The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ - Trolling, insulting/derogatory comments, and personal or political attacks
28
+ - Public or private harassment
29
+ - Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ - Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at kevin.deisz@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72
+
73
+ [homepage]: https://www.contributor-covenant.org
74
+
75
+ For answers to common questions about this code of conduct, see
76
+ https://www.contributor-covenant.org/faq
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ gemspec
@@ -0,0 +1,46 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ ragel-array (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ ast (2.4.1)
10
+ minitest (5.14.2)
11
+ parallel (1.19.2)
12
+ parser (2.7.1.4)
13
+ ast (~> 2.4.1)
14
+ rainbow (3.0.0)
15
+ rake (13.0.1)
16
+ rake-compiler (1.1.1)
17
+ rake
18
+ regexp_parser (1.7.1)
19
+ rexml (3.2.4)
20
+ rubocop (0.90.0)
21
+ parallel (~> 1.10)
22
+ parser (>= 2.7.1.1)
23
+ rainbow (>= 2.2.2, < 4.0)
24
+ regexp_parser (>= 1.7)
25
+ rexml
26
+ rubocop-ast (>= 0.3.0, < 1.0)
27
+ ruby-progressbar (~> 1.7)
28
+ unicode-display_width (>= 1.4.0, < 2.0)
29
+ rubocop-ast (0.3.0)
30
+ parser (>= 2.7.1.4)
31
+ ruby-progressbar (1.10.1)
32
+ unicode-display_width (1.7.0)
33
+
34
+ PLATFORMS
35
+ ruby
36
+
37
+ DEPENDENCIES
38
+ bundler (~> 2)
39
+ minitest (~> 5)
40
+ ragel-array!
41
+ rake (~> 13)
42
+ rake-compiler (~> 1)
43
+ rubocop (~> 0.90)
44
+
45
+ BUNDLED WITH
46
+ 2.1.4
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020-present Kevin Deisz
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,52 @@
1
+ # Ragel::array
2
+
3
+ [![Build Status](https://github.com/kddeisz/ragel-array/workflows/Main/badge.svg)](https://github.com/kddeisz/ragel-array/actions)
4
+ [![Gem Version](https://img.shields.io/gem/v/ragel-array.svg)](https://rubygems.org/gems/ragel-array)
5
+
6
+ [Ragel](https://www.colm.net/open-source/ragel/) generates ruby code with very large arrays of integers that allocate a lot of memory when required. To reduce memory consumption, this gem replaces those arrays with strings that transform into native `uint32_t` arrays.
7
+
8
+ ## Installation
9
+
10
+ Add this line to your application's Gemfile:
11
+
12
+ ```ruby
13
+ gem 'ragel-array'
14
+ ```
15
+
16
+ And then execute:
17
+
18
+ $ bundle
19
+
20
+ Or install it yourself as:
21
+
22
+ $ gem install ragel-array
23
+
24
+ ## Usage
25
+
26
+ After you've run `ragel` to generate your parser, you should then run this gem over the resulting source file and it will replace the integer arrays inline. For example, the following code adds a rake rule to generate the ragel parser from the grammar file and then run `Ragel::Array` over it:
27
+
28
+ ```ruby
29
+ rule %r|_parser\.rb\z| => '%X.rl' do |t|
30
+ sh "ragel -s -R -L -F1 -o #{t.name} #{t.source}"
31
+ require 'ragel/array'
32
+ Ragel::Array.replace(t.name)
33
+ end
34
+ ```
35
+
36
+ Then, in your application, add `require 'ragel/array'` before you require your parser. Now you should be off and running!
37
+
38
+ We also provide a `ragel-array` command that you can execute once this gem is installed. Usage looks like `ragel-array [path]` where `path` is a path to a generated ragel parser.
39
+
40
+ ## Development
41
+
42
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
43
+
44
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
45
+
46
+ ## Contributing
47
+
48
+ Bug reports and pull requests are welcome on GitHub at https://github.com/kddeisz/ragel-array.
49
+
50
+ ## License
51
+
52
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -0,0 +1,22 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rake/testtask'
5
+ require 'rake/extensiontask'
6
+
7
+ Rake::ExtensionTask.new(:compile) do |ext|
8
+ ext.name = 'ragel_array'
9
+ ext.ext_dir = 'ext/ragel/array'
10
+ ext.lib_dir = 'lib/ragel/array'
11
+ ext.gem_spec = Gem::Specification.load('ragel-array.gemspec')
12
+ end
13
+
14
+ Rake::TestTask.new(:test) do |t|
15
+ t.libs << 'test'
16
+ t.libs << 'lib'
17
+ t.test_files = FileList['test/**/*_test.rb']
18
+ end
19
+
20
+ Rake::Task[:test].prerequisites << :compile
21
+
22
+ task default: :test
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'ragel/array'
6
+
7
+ require 'irb'
8
+ IRB.start(__FILE__)
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'ragel/array'
6
+
7
+ Ragel::Array.replace(ARGV[0])
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'mkmf'
4
+ create_makefile('ragel/array/ragel_array')
@@ -0,0 +1,66 @@
1
+ #include <ruby.h>
2
+
3
+ typedef struct ragel_array {
4
+ uint32_t *data;
5
+ size_t size;
6
+ } ragel_array_t;
7
+
8
+ static void ragel_array_deallocate(ragel_array_t *array) {
9
+ free(array->data);
10
+ free(array);
11
+ }
12
+
13
+ static VALUE ragel_array_allocate(VALUE klass) {
14
+ ragel_array_t *array = malloc(sizeof(ragel_array_t));
15
+
16
+ return Data_Wrap_Struct(klass, NULL, ragel_array_deallocate, array);
17
+ }
18
+
19
+ static VALUE ragel_array_initialize(VALUE self, VALUE rb_string, VALUE rb_size) {
20
+ Check_Type(rb_string, T_STRING);
21
+ Check_Type(rb_size, T_FIXNUM);
22
+
23
+ ragel_array_t *array;
24
+ Data_Get_Struct(self, ragel_array_t, array);
25
+
26
+ long size = FIX2LONG(rb_size);
27
+ array->data = calloc(size, sizeof(uint32_t));
28
+ array->size = size;
29
+
30
+ char *string = StringValueCStr(rb_string);
31
+ long length = RSTRING_LEN(rb_string);
32
+ char buffer[5];
33
+
34
+ for (long data_index = 0, num_start = 0, num_end = 0; data_index < size; data_index += 1) {
35
+ while (string[num_end++] != ' ' && num_end < length);
36
+ strncpy(buffer, string + num_start, num_end - num_start);
37
+
38
+ array->data[data_index] = (uint32_t) atoi(buffer);
39
+ num_start = num_end;
40
+ }
41
+
42
+ return self;
43
+ }
44
+
45
+ static VALUE ragel_array_get(VALUE self, VALUE rb_index) {
46
+ Check_Type(rb_index, T_FIXNUM);
47
+
48
+ ragel_array_t *array;
49
+ Data_Get_Struct(self, ragel_array_t, array);
50
+
51
+ long index = FIX2LONG(rb_index);
52
+ if (index < 0 || (unsigned) index >= array->size) {
53
+ return Qnil;
54
+ }
55
+
56
+ return LONG2FIX(array->data[index]);
57
+ }
58
+
59
+ void Init_ragel_array(void) {
60
+ VALUE rb_cRagel = rb_define_module("Ragel");
61
+ VALUE rb_cRagelArray = rb_define_class_under(rb_cRagel, "Array", rb_cObject);
62
+
63
+ rb_define_alloc_func(rb_cRagelArray, ragel_array_allocate);
64
+ rb_define_method(rb_cRagelArray, "initialize", ragel_array_initialize, 2);
65
+ rb_define_method(rb_cRagelArray, "[]", ragel_array_get, 1);
66
+ }
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'ragel/array/version'
4
+ require 'ragel/array/ragel_array'
5
+
6
+ module Ragel
7
+ class Array
8
+ def self.replace(filepath)
9
+ require 'ragel/array/replace'
10
+
11
+ File.write(filepath, Replace.replace(File.read(filepath)))
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,79 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'ripper'
4
+
5
+ module Ragel
6
+ class Array
7
+ class Replace < Ripper::SexpBuilderPP
8
+ class Table
9
+ attr_reader :source, :start_line, :end_line
10
+
11
+ def initialize(left, right, lineno)
12
+ @source = source_from(left[3][1], right[1].map { |int| int[1].to_i })
13
+ @start_line = left[1][1][2][0] - 1
14
+ @end_line = lineno
15
+ end
16
+
17
+ private
18
+
19
+ def source_from(name, numbers)
20
+ "self.#{name} = " \
21
+ "::Ragel::Array.new(\"#{numbers.join(' ')}\", #{numbers.length})"
22
+ end
23
+ end
24
+
25
+ class Buffer
26
+ attr_reader :lines
27
+
28
+ def initialize(source)
29
+ @lines = source.split("\n")
30
+ end
31
+
32
+ def replace(table)
33
+ buffer = lines[table.start_line][/\A\s+/]
34
+ source = ["#{buffer}#{table.source}"]
35
+ @lines =
36
+ lines[0...table.start_line] + source + lines[table.end_line..-1]
37
+ end
38
+
39
+ def to_source
40
+ "#{lines.join("\n")}\n"
41
+ end
42
+ end
43
+
44
+ attr_reader :tables
45
+
46
+ def initialize(*)
47
+ super
48
+ @tables = []
49
+ end
50
+
51
+ def each_table(&block)
52
+ parse
53
+
54
+ if error?
55
+ warn 'Invalid ruby'
56
+ exit 1
57
+ end
58
+
59
+ tables.reverse_each(&block)
60
+ end
61
+
62
+ def self.replace(source)
63
+ buffer = Buffer.new(source)
64
+ new(source).each_table { |table| buffer.replace(table) }
65
+ buffer.to_source
66
+ end
67
+
68
+ private
69
+
70
+ def on_assign(left, right)
71
+ super.tap do
72
+ next if left[0] != :field || right[0] != :array
73
+
74
+ tables << Table.new(left, right, lineno)
75
+ end
76
+ end
77
+ end
78
+ end
79
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Ragel
4
+ class Array
5
+ VERSION = '0.1.0'
6
+ end
7
+ end
@@ -0,0 +1,32 @@
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('lib', __dir__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require 'ragel/array/version'
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = 'ragel-array'
9
+ spec.version = Ragel::Array::VERSION
10
+ spec.authors = ['Kevin Deisz']
11
+ spec.email = ['kevin.deisz@gmail.com']
12
+
13
+ spec.summary = 'Provides an efficient uint8_t array'
14
+ spec.homepage = 'https://github.com/kddeisz/ragel-array'
15
+ spec.license = 'MIT'
16
+
17
+ spec.files = Dir.chdir(__dir__) do
18
+ `git ls-files -z`.split("\x0").reject do |f|
19
+ f.match(%r{^(test|spec|features)/})
20
+ end
21
+ end
22
+ spec.bindir = 'exe'
23
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
+ spec.require_paths = ['lib']
25
+ spec.extensions = ['ext/ragel/array/extconf.rb']
26
+
27
+ spec.add_development_dependency 'bundler', '~> 2'
28
+ spec.add_development_dependency 'minitest', '~> 5'
29
+ spec.add_development_dependency 'rake', '~> 13'
30
+ spec.add_development_dependency 'rake-compiler', '~> 1'
31
+ spec.add_development_dependency 'rubocop', '~> 0.90'
32
+ end
metadata ADDED
@@ -0,0 +1,135 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ragel-array
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Kevin Deisz
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-09-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: minitest
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '5'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '5'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '13'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '13'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake-compiler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubocop
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.90'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.90'
83
+ description:
84
+ email:
85
+ - kevin.deisz@gmail.com
86
+ executables:
87
+ - ragel-array
88
+ extensions:
89
+ - ext/ragel/array/extconf.rb
90
+ extra_rdoc_files: []
91
+ files:
92
+ - ".github/dependabot.yml"
93
+ - ".github/workflows/main.yml"
94
+ - ".gitignore"
95
+ - ".mergify.yml"
96
+ - ".rubocop.yml"
97
+ - CODE_OF_CONDUCT.md
98
+ - Gemfile
99
+ - Gemfile.lock
100
+ - LICENSE
101
+ - README.md
102
+ - Rakefile
103
+ - bin/console
104
+ - bin/setup
105
+ - exe/ragel-array
106
+ - ext/ragel/array/extconf.rb
107
+ - ext/ragel/array/ragel_array.c
108
+ - lib/ragel/array.rb
109
+ - lib/ragel/array/replace.rb
110
+ - lib/ragel/array/version.rb
111
+ - ragel-array.gemspec
112
+ homepage: https://github.com/kddeisz/ragel-array
113
+ licenses:
114
+ - MIT
115
+ metadata: {}
116
+ post_install_message:
117
+ rdoc_options: []
118
+ require_paths:
119
+ - lib
120
+ required_ruby_version: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ required_rubygems_version: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
130
+ requirements: []
131
+ rubygems_version: 3.1.2
132
+ signing_key:
133
+ specification_version: 4
134
+ summary: Provides an efficient uint8_t array
135
+ test_files: []