ragel-array 0.1.0 → 0.1.1

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: fe7ed3c97764104c7e645280b9df9f4457ae8a28ab1fd91a4aa3d3718187145f
4
- data.tar.gz: 3605f316ddd0054784600675d9deb261c3b6c823a613c65e88dc260069d52afb
3
+ metadata.gz: 0fe8a5bd039108f658b1536879d626587b0479a66c821a1caf1580301dd4f513
4
+ data.tar.gz: 1ccfb95223dea1434188d8b346136d5dc2bf99a0734b8425e9ad8629b69d81b2
5
5
  SHA512:
6
- metadata.gz: 2b60f7c6083538be741565396d7c00ff00724f03cb72dfd85f1f27dfe56693dbf88714873cb9d0eac3f3e6ce077853530e7ca4c8e83c6edabe4d0babaf48a183
7
- data.tar.gz: 7244adf30c20bfb6a8e8a4efe2fe16826f22b95ef939eccf2db2c3527ac5ad9280ed2c4aa10bbbff419b8ef98fbc038d55210310d51998d0cfa608b18766bbb2
6
+ metadata.gz: 2907ef8c35ba8a096dc709fc14523c45eb952f8323139d427a7d19ef7bcdfb12f535b80374ebee880f663e18b1fd002f9d11ea58d75015c9e68b9b56a2f2ca3e
7
+ data.tar.gz: ea01b8c84d4165769e47ead4abbc414e24d3e4b3059ef5145a16082ff76433c2980f9a035b7275de75b4359119d46ca309fdecc120ea475592db93eabda2e83b
@@ -1,5 +1,7 @@
1
1
  name: Main
2
- on: push
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: 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
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 kevin.deisz@gmail.com. All
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.0)
4
+ ragel-array (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- ast (2.4.1)
10
- minitest (5.14.2)
11
- parallel (1.19.2)
12
- parser (2.7.1.4)
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.1)
15
+ rake (13.0.6)
16
16
  rake-compiler (1.1.1)
17
17
  rake
18
- regexp_parser (1.7.1)
19
- rexml (3.2.4)
20
- rubocop (0.90.0)
18
+ regexp_parser (2.1.1)
19
+ rexml (3.2.5)
20
+ rubocop (1.23.0)
21
21
  parallel (~> 1.10)
22
- parser (>= 2.7.1.1)
22
+ parser (>= 3.0.0.0)
23
23
  rainbow (>= 2.2.2, < 4.0)
24
- regexp_parser (>= 1.7)
24
+ regexp_parser (>= 1.8, < 3.0)
25
25
  rexml
26
- rubocop-ast (>= 0.3.0, < 1.0)
26
+ rubocop-ast (>= 1.12.0, < 2.0)
27
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)
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 (~> 0.90)
43
+ rubocop (~> 1.12)
44
44
 
45
45
  BUNDLED WITH
46
- 2.1.4
46
+ 2.2.3
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2020-present Kevin Deisz
3
+ Copyright (c) 2020-present Kevin Newton
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Ragel::array
1
+ # Ragel::Array
2
2
 
3
- [![Build Status](https://github.com/kddeisz/ragel-array/workflows/Main/badge.svg)](https://github.com/kddeisz/ragel-array/actions)
3
+ [![Build Status](https://github.com/kddnewton/ragel-array/workflows/Main/badge.svg)](https://github.com/kddnewton/ragel-array/actions)
4
4
  [![Gem Version](https://img.shields.io/gem/v/ragel-array.svg)](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/kddeisz/ragel-array.
48
+ Bug reports and pull requests are welcome on GitHub at https://github.com/kddnewton/ragel-array.
49
49
 
50
50
  ## License
51
51
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ragel
4
4
  class Array
5
- VERSION = '0.1.0'
5
+ VERSION = '0.1.1'
6
6
  end
7
7
  end
data/ragel-array.gemspec CHANGED
@@ -1,24 +1,33 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- lib = File.expand_path('lib', __dir__)
4
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
- require 'ragel/array/version'
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 = Ragel::Array::VERSION
10
- spec.authors = ['Kevin Deisz']
11
- spec.email = ['kevin.deisz@gmail.com']
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 = 'https://github.com/kddeisz/ragel-array'
15
+ spec.homepage = repository
15
16
  spec.license = 'MIT'
16
17
 
17
- spec.files = Dir.chdir(__dir__) do
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', '~> 0.90'
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.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
- - Kevin Deisz
7
+ - Kevin Newton
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-05 00:00:00.000000000 Z
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: '0.90'
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: '0.90'
82
+ version: '1.12'
83
83
  description:
84
84
  email:
85
- - kevin.deisz@gmail.com
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/kddeisz/ragel-array
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.1.2
135
+ rubygems_version: 3.2.3
132
136
  signing_key:
133
137
  specification_version: 4
134
138
  summary: Provides an efficient uint8_t array
data/.mergify.yml DELETED
@@ -1,10 +0,0 @@
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: {}