ragel-array 0.1.0 → 0.1.1
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/.github/workflows/main.yml +19 -12
- data/CHANGELOG.md +16 -0
- data/CODE_OF_CONDUCT.md +1 -1
- data/Gemfile.lock +19 -19
- data/LICENSE +1 -1
- data/README.md +3 -3
- data/lib/ragel/array/version.rb +1 -1
- data/ragel-array.gemspec +18 -9
- metadata +14 -10
- data/.mergify.yml +0 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0fe8a5bd039108f658b1536879d626587b0479a66c821a1caf1580301dd4f513
|
|
4
|
+
data.tar.gz: 1ccfb95223dea1434188d8b346136d5dc2bf99a0734b8425e9ad8629b69d81b2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2907ef8c35ba8a096dc709fc14523c45eb952f8323139d427a7d19ef7bcdfb12f535b80374ebee880f663e18b1fd002f9d11ea58d75015c9e68b9b56a2f2ca3e
|
|
7
|
+
data.tar.gz: ea01b8c84d4165769e47ead4abbc414e24d3e4b3059ef5145a16082ff76433c2980f9a035b7275de75b4359119d46ca309fdecc120ea475592db93eabda2e83b
|
data/.github/workflows/main.yml
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
name: Main
|
|
2
|
-
on:
|
|
2
|
+
on:
|
|
3
|
+
- push
|
|
4
|
+
- pull_request_target
|
|
3
5
|
jobs:
|
|
4
6
|
ci:
|
|
5
7
|
name: CI
|
|
@@ -10,18 +12,23 @@ jobs:
|
|
|
10
12
|
- uses: actions/checkout@master
|
|
11
13
|
- uses: ruby/setup-ruby@v1
|
|
12
14
|
with:
|
|
13
|
-
ruby-version:
|
|
14
|
-
|
|
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
|
|
15
|
+
ruby-version: 3.0
|
|
16
|
+
bundler-cache: true
|
|
24
17
|
- name: Lint and test
|
|
25
18
|
run: |
|
|
26
19
|
bundle exec rubocop --parallel
|
|
27
20
|
bundle exec rake test
|
|
21
|
+
automerge:
|
|
22
|
+
name: AutoMerge
|
|
23
|
+
needs: ci
|
|
24
|
+
runs-on: ubuntu-latest
|
|
25
|
+
if: github.event_name == 'pull_request_target' && (github.actor == github.repository_owner || github.actor == 'dependabot[bot]')
|
|
26
|
+
steps:
|
|
27
|
+
- uses: actions/github-script@v3
|
|
28
|
+
with:
|
|
29
|
+
script: |
|
|
30
|
+
github.pulls.merge({
|
|
31
|
+
owner: context.payload.repository.owner.login,
|
|
32
|
+
repo: context.payload.repository.name,
|
|
33
|
+
pull_number: context.payload.pull_request.number
|
|
34
|
+
})
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
6
|
+
|
|
7
|
+
## [Unreleased]
|
|
8
|
+
|
|
9
|
+
## [0.1.1] - 2021-11-17
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- Require MFA for release.
|
|
14
|
+
|
|
15
|
+
[unreleased]: https://github.com/kddnewton/ragel-array/compare/v0.1.1...HEAD
|
|
16
|
+
[0.1.1]: https://github.com/kddnewton/ragel-array/compare/97bd1f...v0.1.1
|
data/CODE_OF_CONDUCT.md
CHANGED
|
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
|
|
|
55
55
|
## Enforcement
|
|
56
56
|
|
|
57
57
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
58
|
-
reported by contacting the project team at
|
|
58
|
+
reported by contacting the project team at kddnewton@gmail.com. All
|
|
59
59
|
complaints will be reviewed and investigated and will result in a response that
|
|
60
60
|
is deemed necessary and appropriate to the circumstances. The project team is
|
|
61
61
|
obligated to maintain confidentiality with regard to the reporter of an incident.
|
data/Gemfile.lock
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
ragel-array (0.1.
|
|
4
|
+
ragel-array (0.1.1)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
8
8
|
specs:
|
|
9
|
-
ast (2.4.
|
|
10
|
-
minitest (5.14.
|
|
11
|
-
parallel (1.
|
|
12
|
-
parser (
|
|
9
|
+
ast (2.4.2)
|
|
10
|
+
minitest (5.14.4)
|
|
11
|
+
parallel (1.21.0)
|
|
12
|
+
parser (3.0.2.0)
|
|
13
13
|
ast (~> 2.4.1)
|
|
14
14
|
rainbow (3.0.0)
|
|
15
|
-
rake (13.0.
|
|
15
|
+
rake (13.0.6)
|
|
16
16
|
rake-compiler (1.1.1)
|
|
17
17
|
rake
|
|
18
|
-
regexp_parser (1.
|
|
19
|
-
rexml (3.2.
|
|
20
|
-
rubocop (
|
|
18
|
+
regexp_parser (2.1.1)
|
|
19
|
+
rexml (3.2.5)
|
|
20
|
+
rubocop (1.23.0)
|
|
21
21
|
parallel (~> 1.10)
|
|
22
|
-
parser (>=
|
|
22
|
+
parser (>= 3.0.0.0)
|
|
23
23
|
rainbow (>= 2.2.2, < 4.0)
|
|
24
|
-
regexp_parser (>= 1.
|
|
24
|
+
regexp_parser (>= 1.8, < 3.0)
|
|
25
25
|
rexml
|
|
26
|
-
rubocop-ast (>=
|
|
26
|
+
rubocop-ast (>= 1.12.0, < 2.0)
|
|
27
27
|
ruby-progressbar (~> 1.7)
|
|
28
|
-
unicode-display_width (>= 1.4.0, <
|
|
29
|
-
rubocop-ast (
|
|
30
|
-
parser (>=
|
|
31
|
-
ruby-progressbar (1.
|
|
32
|
-
unicode-display_width (1.
|
|
28
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
|
29
|
+
rubocop-ast (1.13.0)
|
|
30
|
+
parser (>= 3.0.1.1)
|
|
31
|
+
ruby-progressbar (1.11.0)
|
|
32
|
+
unicode-display_width (2.1.0)
|
|
33
33
|
|
|
34
34
|
PLATFORMS
|
|
35
35
|
ruby
|
|
@@ -40,7 +40,7 @@ DEPENDENCIES
|
|
|
40
40
|
ragel-array!
|
|
41
41
|
rake (~> 13)
|
|
42
42
|
rake-compiler (~> 1)
|
|
43
|
-
rubocop (~>
|
|
43
|
+
rubocop (~> 1.12)
|
|
44
44
|
|
|
45
45
|
BUNDLED WITH
|
|
46
|
-
2.
|
|
46
|
+
2.2.3
|
data/LICENSE
CHANGED
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Ragel::
|
|
1
|
+
# Ragel::Array
|
|
2
2
|
|
|
3
|
-
[](https://github.com/kddnewton/ragel-array/actions)
|
|
4
4
|
[](https://rubygems.org/gems/ragel-array)
|
|
5
5
|
|
|
6
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.
|
|
@@ -45,7 +45,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
|
45
45
|
|
|
46
46
|
## Contributing
|
|
47
47
|
|
|
48
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
|
48
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/kddnewton/ragel-array.
|
|
49
49
|
|
|
50
50
|
## License
|
|
51
51
|
|
data/lib/ragel/array/version.rb
CHANGED
data/ragel-array.gemspec
CHANGED
|
@@ -1,24 +1,33 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
require_relative 'lib/ragel/array/version'
|
|
4
|
+
|
|
5
|
+
version = Ragel::Array::VERSION
|
|
6
|
+
repository = 'https://github.com/kddnewton/ragel-array'
|
|
6
7
|
|
|
7
8
|
Gem::Specification.new do |spec|
|
|
8
9
|
spec.name = 'ragel-array'
|
|
9
|
-
spec.version =
|
|
10
|
-
spec.authors = ['Kevin
|
|
11
|
-
spec.email = ['
|
|
10
|
+
spec.version = version
|
|
11
|
+
spec.authors = ['Kevin Newton']
|
|
12
|
+
spec.email = ['kddnewton@gmail.com']
|
|
12
13
|
|
|
13
14
|
spec.summary = 'Provides an efficient uint8_t array'
|
|
14
|
-
spec.homepage =
|
|
15
|
+
spec.homepage = repository
|
|
15
16
|
spec.license = 'MIT'
|
|
16
17
|
|
|
17
|
-
spec.
|
|
18
|
+
spec.metadata = {
|
|
19
|
+
'bug_tracker_uri' => "#{repository}/issues",
|
|
20
|
+
'changelog_uri' => "#{repository}/blob/v#{version}/CHANGELOG.md",
|
|
21
|
+
'source_code_uri' => repository,
|
|
22
|
+
'rubygems_mfa_required' => 'true'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
spec.files = Dir.chdir(__dir__) do
|
|
18
26
|
`git ls-files -z`.split("\x0").reject do |f|
|
|
19
27
|
f.match(%r{^(test|spec|features)/})
|
|
20
28
|
end
|
|
21
29
|
end
|
|
30
|
+
|
|
22
31
|
spec.bindir = 'exe'
|
|
23
32
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
24
33
|
spec.require_paths = ['lib']
|
|
@@ -28,5 +37,5 @@ Gem::Specification.new do |spec|
|
|
|
28
37
|
spec.add_development_dependency 'minitest', '~> 5'
|
|
29
38
|
spec.add_development_dependency 'rake', '~> 13'
|
|
30
39
|
spec.add_development_dependency 'rake-compiler', '~> 1'
|
|
31
|
-
spec.add_development_dependency 'rubocop', '~>
|
|
40
|
+
spec.add_development_dependency 'rubocop', '~> 1.12'
|
|
32
41
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ragel-array
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
- Kevin
|
|
7
|
+
- Kevin Newton
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-11-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -72,17 +72,17 @@ dependencies:
|
|
|
72
72
|
requirements:
|
|
73
73
|
- - "~>"
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: '
|
|
75
|
+
version: '1.12'
|
|
76
76
|
type: :development
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
80
|
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: '
|
|
82
|
+
version: '1.12'
|
|
83
83
|
description:
|
|
84
84
|
email:
|
|
85
|
-
-
|
|
85
|
+
- kddnewton@gmail.com
|
|
86
86
|
executables:
|
|
87
87
|
- ragel-array
|
|
88
88
|
extensions:
|
|
@@ -92,8 +92,8 @@ files:
|
|
|
92
92
|
- ".github/dependabot.yml"
|
|
93
93
|
- ".github/workflows/main.yml"
|
|
94
94
|
- ".gitignore"
|
|
95
|
-
- ".mergify.yml"
|
|
96
95
|
- ".rubocop.yml"
|
|
96
|
+
- CHANGELOG.md
|
|
97
97
|
- CODE_OF_CONDUCT.md
|
|
98
98
|
- Gemfile
|
|
99
99
|
- Gemfile.lock
|
|
@@ -109,10 +109,14 @@ files:
|
|
|
109
109
|
- lib/ragel/array/replace.rb
|
|
110
110
|
- lib/ragel/array/version.rb
|
|
111
111
|
- ragel-array.gemspec
|
|
112
|
-
homepage: https://github.com/
|
|
112
|
+
homepage: https://github.com/kddnewton/ragel-array
|
|
113
113
|
licenses:
|
|
114
114
|
- MIT
|
|
115
|
-
metadata:
|
|
115
|
+
metadata:
|
|
116
|
+
bug_tracker_uri: https://github.com/kddnewton/ragel-array/issues
|
|
117
|
+
changelog_uri: https://github.com/kddnewton/ragel-array/blob/v0.1.1/CHANGELOG.md
|
|
118
|
+
source_code_uri: https://github.com/kddnewton/ragel-array
|
|
119
|
+
rubygems_mfa_required: 'true'
|
|
116
120
|
post_install_message:
|
|
117
121
|
rdoc_options: []
|
|
118
122
|
require_paths:
|
|
@@ -128,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
128
132
|
- !ruby/object:Gem::Version
|
|
129
133
|
version: '0'
|
|
130
134
|
requirements: []
|
|
131
|
-
rubygems_version: 3.
|
|
135
|
+
rubygems_version: 3.2.3
|
|
132
136
|
signing_key:
|
|
133
137
|
specification_version: 4
|
|
134
138
|
summary: Provides an efficient uint8_t array
|