string_to_number 0.2.0 → 0.3.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 +4 -4
- data/.github/workflows/ci.yml +81 -0
- data/.github/workflows/release.yml +62 -0
- data/.rubocop.yml +110 -0
- data/CLAUDE.md +23 -85
- data/Gemfile +9 -0
- data/Gemfile.lock +32 -1
- data/README.md +53 -163
- data/Rakefile +5 -1
- data/SECURITY.md +25 -0
- data/benchmark.rb +41 -40
- data/docs/ARCHITECTURE.md +131 -0
- data/docs/demo.gif +0 -0
- data/lib/string_to_number/parser.rb +49 -79
- data/lib/string_to_number/to_number.rb +21 -22
- data/lib/string_to_number/version.rb +3 -1
- data/lib/string_to_number.rb +9 -7
- data/microbenchmark.rb +81 -80
- data/performance_comparison.rb +34 -35
- data/profile.rb +44 -45
- data/string_to_number.gemspec +5 -6
- metadata +15 -51
- data/.travis.yml +0 -5
- /data/{LICENSE.txt → LICENSE} +0 -0
metadata
CHANGED
|
@@ -1,57 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: string_to_number
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Fabien Piette
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
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: '0'
|
|
20
|
-
type: :development
|
|
21
|
-
prerelease: false
|
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
-
requirements:
|
|
24
|
-
- - ">="
|
|
25
|
-
- !ruby/object:Gem::Version
|
|
26
|
-
version: '0'
|
|
27
|
-
- !ruby/object:Gem::Dependency
|
|
28
|
-
name: rake
|
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
|
30
|
-
requirements:
|
|
31
|
-
- - ">="
|
|
32
|
-
- !ruby/object:Gem::Version
|
|
33
|
-
version: '0'
|
|
34
|
-
type: :development
|
|
35
|
-
prerelease: false
|
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
-
requirements:
|
|
38
|
-
- - ">="
|
|
39
|
-
- !ruby/object:Gem::Version
|
|
40
|
-
version: '0'
|
|
41
|
-
- !ruby/object:Gem::Dependency
|
|
42
|
-
name: rspec
|
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
|
44
|
-
requirements:
|
|
45
|
-
- - ">="
|
|
46
|
-
- !ruby/object:Gem::Version
|
|
47
|
-
version: '0'
|
|
48
|
-
type: :development
|
|
49
|
-
prerelease: false
|
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
-
requirements:
|
|
52
|
-
- - ">="
|
|
53
|
-
- !ruby/object:Gem::Version
|
|
54
|
-
version: '0'
|
|
11
|
+
date: 2026-02-13 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
55
13
|
description: A ruby gem to convert French words into numbers.
|
|
56
14
|
email:
|
|
57
15
|
- fab.piette@gmail.com
|
|
@@ -59,20 +17,25 @@ executables: []
|
|
|
59
17
|
extensions: []
|
|
60
18
|
extra_rdoc_files: []
|
|
61
19
|
files:
|
|
20
|
+
- ".github/workflows/ci.yml"
|
|
21
|
+
- ".github/workflows/release.yml"
|
|
62
22
|
- ".gitignore"
|
|
63
23
|
- ".rspec"
|
|
24
|
+
- ".rubocop.yml"
|
|
64
25
|
- ".tool-versions"
|
|
65
|
-
- ".travis.yml"
|
|
66
26
|
- CLAUDE.md
|
|
67
27
|
- CODE_OF_CONDUCT.md
|
|
68
28
|
- Gemfile
|
|
69
29
|
- Gemfile.lock
|
|
70
|
-
- LICENSE
|
|
30
|
+
- LICENSE
|
|
71
31
|
- README.md
|
|
72
32
|
- Rakefile
|
|
33
|
+
- SECURITY.md
|
|
73
34
|
- benchmark.rb
|
|
74
35
|
- bin/console
|
|
75
36
|
- bin/setup
|
|
37
|
+
- docs/ARCHITECTURE.md
|
|
38
|
+
- docs/demo.gif
|
|
76
39
|
- lib/string_to_number.rb
|
|
77
40
|
- lib/string_to_number/parser.rb
|
|
78
41
|
- lib/string_to_number/to_number.rb
|
|
@@ -86,7 +49,8 @@ licenses:
|
|
|
86
49
|
- MIT
|
|
87
50
|
metadata:
|
|
88
51
|
allowed_push_host: https://rubygems.org
|
|
89
|
-
|
|
52
|
+
rubygems_mfa_required: 'true'
|
|
53
|
+
post_install_message:
|
|
90
54
|
rdoc_options: []
|
|
91
55
|
require_paths:
|
|
92
56
|
- lib
|
|
@@ -101,8 +65,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
101
65
|
- !ruby/object:Gem::Version
|
|
102
66
|
version: '0'
|
|
103
67
|
requirements: []
|
|
104
|
-
rubygems_version: 3.
|
|
105
|
-
signing_key:
|
|
68
|
+
rubygems_version: 3.5.22
|
|
69
|
+
signing_key:
|
|
106
70
|
specification_version: 4
|
|
107
71
|
summary: A ruby gem to convert French words into numbers.
|
|
108
72
|
test_files: []
|
data/.travis.yml
DELETED
/data/{LICENSE.txt → LICENSE}
RENAMED
|
File without changes
|