crockford 0.1.0 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e80b42112ca5bce44757787938cd25743febab88aba91f79dfe442755d64237
4
- data.tar.gz: 3e9ab1459f544e4d4b9b3705bebf466b8dfbb5770c3460814500f29e846c946b
3
+ metadata.gz: ce91f2d45a17a2a064e6bf7de36a7f6f60de46ba5c647a9c36911c2d75f153e6
4
+ data.tar.gz: f1f0dc093c38103050eae4d15767305df91bda494c54adb379edc1fefd93574f
5
5
  SHA512:
6
- metadata.gz: 02c36e35fa698a059b9b4a6ca736c0c027c1c733890d8bc7c379b0dfdb4594c2a3afc324b75672f1373b5c1d0386c65983f3f16db640f24b7a4e2db0e26ab3b6
7
- data.tar.gz: 02aa929e0fcd02bb612cf9a0735ef6fd3e67f0544feca2d3a941c387725d1f9eef67eb493909d99b747e1a76b59f8b9cb4e1f6b20f675236d58a675d1b2ef52a
6
+ metadata.gz: 9c8a9ab4a9c3a8cbbb8e1df129231ab05defe31e45941e93b935afa0a6401d3a295441646c113b5a8e183e9d7c67aa5961469020b9118ed9d3d3bd0bedb88e99
7
+ data.tar.gz: 270568617e2999bc1a722d043ab72cad8da1d11598d92070be6663b05f50f08f1d89b0b3f0bfee87e7a7cb39a3b57448f3a5a26fcfabb196856a03418c9eb8d3
@@ -1,22 +1,21 @@
1
1
  name: Ruby
2
2
 
3
- on: [push,pull_request]
3
+ on: [push, pull_request]
4
4
 
5
5
  jobs:
6
6
  build:
7
-
8
7
  strategy:
9
8
  matrix:
10
- ruby-version: [2.6.7, 2.7.3, 3.0.1]
9
+ ruby-version: [3.1.7, 3.2.8, 3.3.8, 3.4.4]
11
10
 
12
11
  runs-on: ubuntu-latest
13
12
 
14
13
  steps:
15
- - uses: actions/checkout@v2
16
- - name: Set up Ruby
17
- uses: ruby/setup-ruby@v1
18
- with:
19
- ruby-version: ${{ matrix.ruby-version }}
20
- bundler-cache: true
21
- - name: Run the default task
22
- run: bundle exec rake
14
+ - uses: actions/checkout@v2
15
+ - name: Set up Ruby
16
+ uses: ruby/setup-ruby@v1
17
+ with:
18
+ ruby-version: ${{ matrix.ruby-version }}
19
+ bundler-cache: true
20
+ - name: Run the default task
21
+ run: bundle exec rake
data/.rubocop.yml CHANGED
@@ -1,10 +1,10 @@
1
- require:
1
+ plugins:
2
2
  - rubocop-performance
3
3
  - rubocop-rake
4
4
  - rubocop-rspec
5
5
 
6
6
  AllCops:
7
- TargetRubyVersion: 2.6
7
+ TargetRubyVersion: 3.1
8
8
  NewCops: enable
9
9
  Exclude:
10
10
  - bin/*
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.2.0] - 2025-06-30
4
+
5
+ - Support dropped for Ruby < 3.1.0.
6
+ - Test with latest Ruby versions.
7
+
3
8
  ## [0.1.0] - 2021-05-05
4
9
 
5
10
  - Initial release
data/CODE_OF_CONDUCT.md CHANGED
@@ -10,21 +10,21 @@ We pledge to act and interact in ways that contribute to an open, welcoming, div
10
10
 
11
11
  Examples of behavior that contributes to a positive environment for our community include:
12
12
 
13
- * Demonstrating empathy and kindness toward other people
14
- * Being respectful of differing opinions, viewpoints, and experiences
15
- * Giving and gracefully accepting constructive feedback
16
- * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
- * Focusing on what is best not just for us as individuals, but for the overall community
13
+ - Demonstrating empathy and kindness toward other people
14
+ - Being respectful of differing opinions, viewpoints, and experiences
15
+ - Giving and gracefully accepting constructive feedback
16
+ - Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ - Focusing on what is best not just for us as individuals, but for the overall community
18
18
 
19
19
  Examples of unacceptable behavior include:
20
20
 
21
- * The use of sexualized language or imagery, and sexual attention or
21
+ - The use of sexualized language or imagery, and sexual attention or
22
22
  advances of any kind
23
- * Trolling, insulting or derogatory comments, and personal or political attacks
24
- * Public or private harassment
25
- * Publishing others' private information, such as a physical or email
23
+ - Trolling, insulting or derogatory comments, and personal or political attacks
24
+ - Public or private harassment
25
+ - Publishing others' private information, such as a physical or email
26
26
  address, without their explicit permission
27
- * Other conduct which could reasonably be considered inappropriate in a
27
+ - Other conduct which could reasonably be considered inappropriate in a
28
28
  professional setting
29
29
 
30
30
  ## Enforcement Responsibilities
@@ -67,7 +67,7 @@ Community leaders will follow these Community Impact Guidelines in determining t
67
67
 
68
68
  ### 4. Permanent Ban
69
69
 
70
- **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
71
 
72
72
  **Consequence**: A permanent ban from any sort of public interaction within the community.
73
73
 
data/Gemfile.lock CHANGED
@@ -1,61 +1,74 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- crockford (0.1.0)
4
+ crockford (0.2.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- ast (2.4.2)
9
+ ast (2.4.3)
10
10
  coderay (1.1.3)
11
- diff-lcs (1.4.4)
12
- method_source (1.0.0)
13
- parallel (1.20.1)
14
- parser (3.0.1.1)
11
+ diff-lcs (1.6.2)
12
+ json (2.12.2)
13
+ language_server-protocol (3.17.0.5)
14
+ lint_roller (1.1.0)
15
+ method_source (1.1.0)
16
+ parallel (1.27.0)
17
+ parser (3.3.8.0)
15
18
  ast (~> 2.4.1)
16
- pry (0.14.1)
19
+ racc
20
+ prism (1.4.0)
21
+ pry (0.15.2)
17
22
  coderay (~> 1.1)
18
23
  method_source (~> 1.0)
19
- rainbow (3.0.0)
20
- rake (13.0.3)
21
- regexp_parser (2.1.1)
22
- rexml (3.2.5)
23
- rspec (3.10.0)
24
- rspec-core (~> 3.10.0)
25
- rspec-expectations (~> 3.10.0)
26
- rspec-mocks (~> 3.10.0)
27
- rspec-core (3.10.1)
28
- rspec-support (~> 3.10.0)
29
- rspec-expectations (3.10.1)
24
+ racc (1.8.1)
25
+ rainbow (3.1.1)
26
+ rake (13.3.0)
27
+ regexp_parser (2.10.0)
28
+ rspec (3.13.1)
29
+ rspec-core (~> 3.13.0)
30
+ rspec-expectations (~> 3.13.0)
31
+ rspec-mocks (~> 3.13.0)
32
+ rspec-core (3.13.5)
33
+ rspec-support (~> 3.13.0)
34
+ rspec-expectations (3.13.5)
30
35
  diff-lcs (>= 1.2.0, < 2.0)
31
- rspec-support (~> 3.10.0)
32
- rspec-mocks (3.10.2)
36
+ rspec-support (~> 3.13.0)
37
+ rspec-mocks (3.13.5)
33
38
  diff-lcs (>= 1.2.0, < 2.0)
34
- rspec-support (~> 3.10.0)
35
- rspec-support (3.10.2)
36
- rubocop (1.14.0)
39
+ rspec-support (~> 3.13.0)
40
+ rspec-support (3.13.4)
41
+ rubocop (1.77.0)
42
+ json (~> 2.3)
43
+ language_server-protocol (~> 3.17.0.2)
44
+ lint_roller (~> 1.1.0)
37
45
  parallel (~> 1.10)
38
- parser (>= 3.0.0.0)
46
+ parser (>= 3.3.0.2)
39
47
  rainbow (>= 2.2.2, < 4.0)
40
- regexp_parser (>= 1.8, < 3.0)
41
- rexml
42
- rubocop-ast (>= 1.5.0, < 2.0)
48
+ regexp_parser (>= 2.9.3, < 3.0)
49
+ rubocop-ast (>= 1.45.1, < 2.0)
43
50
  ruby-progressbar (~> 1.7)
44
- unicode-display_width (>= 1.4.0, < 3.0)
45
- rubocop-ast (1.5.0)
46
- parser (>= 3.0.1.1)
47
- rubocop-performance (1.11.2)
48
- rubocop (>= 1.7.0, < 2.0)
49
- rubocop-ast (>= 0.4.0)
50
- rubocop-rake (0.5.1)
51
- rubocop
52
- rubocop-rspec (2.3.0)
53
- rubocop (~> 1.0)
54
- rubocop-ast (>= 1.1.0)
55
- ruby-progressbar (1.11.0)
56
- unicode-display_width (2.0.0)
51
+ unicode-display_width (>= 2.4.0, < 4.0)
52
+ rubocop-ast (1.45.1)
53
+ parser (>= 3.3.7.2)
54
+ prism (~> 1.4)
55
+ rubocop-performance (1.25.0)
56
+ lint_roller (~> 1.1)
57
+ rubocop (>= 1.75.0, < 2.0)
58
+ rubocop-ast (>= 1.38.0, < 2.0)
59
+ rubocop-rake (0.7.1)
60
+ lint_roller (~> 1.1)
61
+ rubocop (>= 1.72.1)
62
+ rubocop-rspec (3.6.0)
63
+ lint_roller (~> 1.1)
64
+ rubocop (~> 1.72, >= 1.72.1)
65
+ ruby-progressbar (1.13.0)
66
+ unicode-display_width (3.1.4)
67
+ unicode-emoji (~> 4.0, >= 4.0.4)
68
+ unicode-emoji (4.0.4)
57
69
 
58
70
  PLATFORMS
71
+ arm64-darwin-24
59
72
  x86_64-darwin-20
60
73
  x86_64-linux
61
74
 
@@ -70,4 +83,4 @@ DEPENDENCIES
70
83
  rubocop-rspec
71
84
 
72
85
  BUNDLED WITH
73
- 2.2.16
86
+ 2.6.9
data/README.md CHANGED
@@ -12,7 +12,6 @@ like a serial number, or a token sent via SMS.
12
12
 
13
13
  For more information, see [Douglas Crockford's own website](https://www.crockford.com/base32.html).
14
14
 
15
-
16
15
  Note: Crockford's Base32 also allows for a checksum character. This
17
16
  functionality has not been implemented yet.
18
17
 
@@ -20,10 +19,10 @@ functionality has not been implemented yet.
20
19
 
21
20
  The encoding scheme is required to
22
21
 
23
- * Be human readable and machine readable.
24
- * Be compact. Humans have difficulty in manipulating long strings of arbitrary symbols.
25
- * Be error resistant. Entering the symbols must not require keyboarding gymnastics.
26
- * Be pronounceable. Humans should be able to accurately transmit the symbols to other humans using a telephone.
22
+ - Be human readable and machine readable.
23
+ - Be compact. Humans have difficulty in manipulating long strings of arbitrary symbols.
24
+ - Be error resistant. Entering the symbols must not require keyboarding gymnastics.
25
+ - Be pronounceable. Humans should be able to accurately transmit the symbols to other humans using a telephone.
27
26
 
28
27
  ## Usage
29
28
 
@@ -115,7 +114,7 @@ trackers, chat rooms and mailing lists is expected to follow the
115
114
 
116
115
  Some of these haven't been updated in over a decade:
117
116
 
118
- * [base32-crockford](https://rubygems.org/gems/base32-crockford)
119
- * [base32-multi](https://rubygems.org/gems/base32-multi)
120
- * [base32-url](https://rubygems.org/gems/base32-url)
121
- * [base32-alphabets](https://rubygems.org/gems/base32-alphabets)
117
+ - [base32-crockford](https://rubygems.org/gems/base32-crockford)
118
+ - [base32-multi](https://rubygems.org/gems/base32-multi)
119
+ - [base32-url](https://rubygems.org/gems/base32-url)
120
+ - [base32-alphabets](https://rubygems.org/gems/base32-alphabets)
data/crockford.gemspec CHANGED
@@ -13,12 +13,13 @@ Gem::Specification.new do |spec|
13
13
  spec.homepage = "https://github.com/iain/crockford"
14
14
  spec.license = "MIT"
15
15
 
16
- spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0")
16
+ spec.required_ruby_version = Gem::Requirement.new(">= 3.1.0")
17
17
 
18
18
  spec.metadata["homepage_uri"] = spec.homepage
19
19
  spec.metadata["source_code_uri"] = spec.homepage
20
20
  spec.metadata["changelog_uri"] = File.join(spec.homepage, "blob/HEAD/CHANGELOG.md")
21
21
  spec.metadata["bug_tracker_uri"] = File.join(spec.homepage, "issues")
22
+ spec.metadata["rubygems_mfa_required"] = "true"
22
23
 
23
24
  # Specify which files should be added to the gem when it is released.
24
25
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Crockford
4
4
 
5
- VERSION = "0.1.0"
5
+ VERSION = "0.2.0"
6
6
 
7
7
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crockford
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - iain
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2021-05-05 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies: []
13
12
  description: Crockford's Base32
14
13
  email:
@@ -42,7 +41,7 @@ metadata:
42
41
  source_code_uri: https://github.com/iain/crockford
43
42
  changelog_uri: https://github.com/iain/crockford/blob/HEAD/CHANGELOG.md
44
43
  bug_tracker_uri: https://github.com/iain/crockford/issues
45
- post_install_message:
44
+ rubygems_mfa_required: 'true'
46
45
  rdoc_options: []
47
46
  require_paths:
48
47
  - lib
@@ -50,15 +49,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
50
49
  requirements:
51
50
  - - ">="
52
51
  - !ruby/object:Gem::Version
53
- version: 2.6.0
52
+ version: 3.1.0
54
53
  required_rubygems_version: !ruby/object:Gem::Requirement
55
54
  requirements:
56
55
  - - ">="
57
56
  - !ruby/object:Gem::Version
58
57
  version: '0'
59
58
  requirements: []
60
- rubygems_version: 3.2.16
61
- signing_key:
59
+ rubygems_version: 3.6.9
62
60
  specification_version: 4
63
61
  summary: Crockford's Base32
64
62
  test_files: []