cooklang 1.0.2 → 1.0.4
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/test.yml +2 -2
- data/.gitignore +1 -0
- data/README.md +26 -7
- data/cooklang.gemspec +2 -2
- data/lib/cooklang/formatter.rb +0 -46
- data/lib/cooklang/formatters/hash.rb +1 -1
- data/lib/cooklang/formatters/text.rb +46 -0
- data/lib/cooklang/lexer.rb +49 -0
- data/lib/cooklang/metadata.rb +2 -66
- data/lib/cooklang/processors/metadata_processor.rb +15 -35
- data/lib/cooklang/version.rb +1 -1
- data/spec/fixtures/comprehensive_recipe.cook +51 -0
- data/spec/formatters/formatter_spec.rb +29 -0
- data/spec/formatters/hash_spec.rb +63 -0
- data/spec/formatters/json_spec.rb +55 -0
- data/spec/formatters/text_spec.rb +30 -168
- data/spec/integration/metadata_canonical_spec.rb +169 -0
- data/spec/models/metadata_spec.rb +19 -149
- data/spec/models/recipe_spec.rb +2 -2
- metadata +16 -7
- data/Gemfile.lock +0 -84
data/Gemfile.lock
DELETED
@@ -1,84 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
cooklang (1.0.1)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: https://rubygems.org/
|
8
|
-
specs:
|
9
|
-
ast (2.4.3)
|
10
|
-
diff-lcs (1.6.2)
|
11
|
-
docile (1.4.1)
|
12
|
-
json (2.13.2)
|
13
|
-
language_server-protocol (3.17.0.5)
|
14
|
-
lint_roller (1.1.0)
|
15
|
-
parallel (1.27.0)
|
16
|
-
parser (3.3.9.0)
|
17
|
-
ast (~> 2.4.1)
|
18
|
-
racc
|
19
|
-
prism (1.4.0)
|
20
|
-
racc (1.8.1)
|
21
|
-
rainbow (3.1.1)
|
22
|
-
rake (13.3.0)
|
23
|
-
regexp_parser (2.11.2)
|
24
|
-
rspec (3.13.1)
|
25
|
-
rspec-core (~> 3.13.0)
|
26
|
-
rspec-expectations (~> 3.13.0)
|
27
|
-
rspec-mocks (~> 3.13.0)
|
28
|
-
rspec-core (3.13.5)
|
29
|
-
rspec-support (~> 3.13.0)
|
30
|
-
rspec-expectations (3.13.5)
|
31
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
32
|
-
rspec-support (~> 3.13.0)
|
33
|
-
rspec-mocks (3.13.5)
|
34
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
35
|
-
rspec-support (~> 3.13.0)
|
36
|
-
rspec-support (3.13.5)
|
37
|
-
rubocop (1.80.0)
|
38
|
-
json (~> 2.3)
|
39
|
-
language_server-protocol (~> 3.17.0.2)
|
40
|
-
lint_roller (~> 1.1.0)
|
41
|
-
parallel (~> 1.10)
|
42
|
-
parser (>= 3.3.0.2)
|
43
|
-
rainbow (>= 2.2.2, < 4.0)
|
44
|
-
regexp_parser (>= 2.9.3, < 3.0)
|
45
|
-
rubocop-ast (>= 1.46.0, < 2.0)
|
46
|
-
ruby-progressbar (~> 1.7)
|
47
|
-
unicode-display_width (>= 2.4.0, < 4.0)
|
48
|
-
rubocop-ast (1.46.0)
|
49
|
-
parser (>= 3.3.7.2)
|
50
|
-
prism (~> 1.4)
|
51
|
-
rubocop-performance (1.25.0)
|
52
|
-
lint_roller (~> 1.1)
|
53
|
-
rubocop (>= 1.75.0, < 2.0)
|
54
|
-
rubocop-ast (>= 1.38.0, < 2.0)
|
55
|
-
rubocop-rspec (3.6.0)
|
56
|
-
lint_roller (~> 1.1)
|
57
|
-
rubocop (~> 1.72, >= 1.72.1)
|
58
|
-
ruby-progressbar (1.13.0)
|
59
|
-
simplecov (0.22.0)
|
60
|
-
docile (~> 1.1)
|
61
|
-
simplecov-html (~> 0.11)
|
62
|
-
simplecov_json_formatter (~> 0.1)
|
63
|
-
simplecov-html (0.13.2)
|
64
|
-
simplecov_json_formatter (0.1.4)
|
65
|
-
unicode-display_width (3.1.5)
|
66
|
-
unicode-emoji (~> 4.0, >= 4.0.4)
|
67
|
-
unicode-emoji (4.0.4)
|
68
|
-
|
69
|
-
PLATFORMS
|
70
|
-
arm64-darwin-24
|
71
|
-
ruby
|
72
|
-
|
73
|
-
DEPENDENCIES
|
74
|
-
bundler (~> 2.7)
|
75
|
-
cooklang!
|
76
|
-
rake (~> 13.0)
|
77
|
-
rspec (~> 3.13)
|
78
|
-
rubocop (~> 1.80)
|
79
|
-
rubocop-performance (~> 1.25)
|
80
|
-
rubocop-rspec (~> 3.6)
|
81
|
-
simplecov (~> 0.22.0)
|
82
|
-
|
83
|
-
BUNDLED WITH
|
84
|
-
2.7.1
|