template-ruby 0.6.9 → 0.7.2

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: 2efcb0268ae2c3667731ee129a76261e0f62e5e9582258552f46c2304ea73ad4
4
- data.tar.gz: 3f05bf87613effde989a93dd3372cbbd1c3cbdc53d5675f732fe1f35be553908
3
+ metadata.gz: 1fd82e44d1e415aa4708f5753a6e0fa406e215829b6941fcc9c21a8be47320e7
4
+ data.tar.gz: 8e9fb00f26e997eeb65c825b755c98b622b2b4e08b642893bc1284700aea6814
5
5
  SHA512:
6
- metadata.gz: 519a9212100d1040f0b92763d8a668cc4ac93de1553a0e18f7572b2ed3541232af6ef6ba7980a5f6697564832544195a63d2a8e0f1b1ad51634d167d59905c5a
7
- data.tar.gz: 8b594f2709583486948952f2372edb41508037e5bdfa0a2536cca1331059dbe61aa3b53ccbee04667a3ff584b8801a3d148b7a9abb886cd87b31019e394f1c64
6
+ metadata.gz: ecbc7d50c0279ddaf4bb5a1c3af02a73966390a0189a1fd875c8894fa7191e4a6f27033c234a744e20af71e20800e666320c14056c6aaa2a2f6e6168ecb6bba5
7
+ data.tar.gz: 63c70c8b11129002a29c91948d3da27d70888c4e67053b433f5e535b4a3c4c7d0931f38c7e47ff16e73a93931d293818dad92049974070d620d8aa2566656b73
@@ -17,7 +17,6 @@ jobs:
17
17
  - uses: actions/checkout@v4
18
18
  - uses: ruby/setup-ruby@v1
19
19
  with:
20
- ruby-version: 3.3.0
21
20
  bundler-cache: true
22
21
  - run: bin/test
23
22
  rubocop:
data/.gitignore ADDED
@@ -0,0 +1,30 @@
1
+ .DS_Store
2
+ *.gem
3
+ /.bundle
4
+ /.env
5
+ /.env.*.local
6
+ /.env.prod
7
+ /.env.staging
8
+ /.expo
9
+ /app/assets/builds
10
+ /config/*.key
11
+ /config/credentials/*.key
12
+ /log
13
+ /node_modules
14
+ /public/assets
15
+ /spec/examples.txt
16
+ /storage
17
+ /tmp
18
+ /tmp/pids
19
+ /tmp/storage
20
+ /vendor/bundle
21
+ !/.env*.erb
22
+ !/app/assets/builds/.keep
23
+ !/db/.keep
24
+ !/log/.keep
25
+ !/storage/.keep
26
+ !/tmp/.keep
27
+ !/tmp/pids/
28
+ !/tmp/pids/.keep
29
+ !/tmp/storage/
30
+ !/tmp/storage/.keep
data/.node-version ADDED
@@ -0,0 +1 @@
1
+ 22.5.1
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.3.0
1
+ 3.3.4
data/.tool-versions CHANGED
@@ -1 +1,3 @@
1
- ruby 3.3.0
1
+ ruby 3.3.4
2
+ yarn 1.22.22
3
+ nodejs 22.5.1
data/Gemfile CHANGED
@@ -4,7 +4,7 @@ source "https://rubygems.org"
4
4
 
5
5
  gemspec
6
6
 
7
- ruby "3.3.0"
7
+ ruby "3.3.4"
8
8
 
9
9
  gem "rspec"
10
10
  gem "ruby-prof"
data/Gemfile.lock CHANGED
@@ -1,91 +1,93 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- template-ruby (0.6.9)
5
- code-ruby (~> 0)
6
- language-ruby (~> 0)
7
- zeitwerk (~> 2)
4
+ template-ruby (0.7.2)
5
+ code-ruby
6
+ language-ruby
7
+ zeitwerk
8
8
 
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- activesupport (7.1.3.2)
12
+ activesupport (7.2.0)
13
13
  base64
14
14
  bigdecimal
15
- concurrent-ruby (~> 1.0, >= 1.0.2)
15
+ concurrent-ruby (~> 1.0, >= 1.3.1)
16
16
  connection_pool (>= 2.2.5)
17
17
  drb
18
18
  i18n (>= 1.6, < 2)
19
+ logger (>= 1.4.2)
19
20
  minitest (>= 5.1)
20
- mutex_m
21
- tzinfo (~> 2.0)
21
+ securerandom (>= 0.3)
22
+ tzinfo (~> 2.0, >= 2.0.5)
22
23
  ast (2.4.2)
23
24
  base64 (0.2.0)
24
- bigdecimal (3.1.7)
25
- code-ruby (0.14.3)
26
- activesupport (~> 7)
27
- bigdecimal (~> 3)
28
- did-you-mean (~> 0)
29
- json (~> 2)
30
- language-ruby (~> 0)
31
- zeitwerk (~> 2)
32
- concurrent-ruby (1.2.3)
25
+ bigdecimal (3.1.8)
26
+ code-ruby (0.15.14)
27
+ activesupport
28
+ bigdecimal
29
+ did-you-mean
30
+ json
31
+ language-ruby
32
+ zeitwerk
33
+ concurrent-ruby (1.3.4)
33
34
  connection_pool (2.4.1)
34
35
  did-you-mean (0.1.1)
35
36
  levenshtein (>= 0.2.0)
36
37
  diff-lcs (1.5.1)
37
38
  drb (2.2.1)
38
- i18n (1.14.4)
39
+ i18n (1.14.5)
39
40
  concurrent-ruby (~> 1.0)
40
- json (2.7.1)
41
- language-ruby (0.8.1)
42
- zeitwerk (~> 2)
41
+ json (2.7.2)
42
+ language-ruby (0.9.0)
43
+ zeitwerk
43
44
  language_server-protocol (3.17.0.3)
44
45
  levenshtein (0.2.2)
45
- minitest (5.22.3)
46
- mutex_m (0.2.0)
47
- parallel (1.24.0)
48
- parser (3.3.0.5)
46
+ logger (1.6.0)
47
+ minitest (5.25.1)
48
+ parallel (1.26.3)
49
+ parser (3.3.4.2)
49
50
  ast (~> 2.4.1)
50
51
  racc
51
- racc (1.7.3)
52
- rack (3.0.10)
52
+ racc (1.8.1)
53
+ rack (3.1.7)
53
54
  rainbow (3.1.1)
54
- regexp_parser (2.9.0)
55
- rexml (3.2.6)
55
+ regexp_parser (2.9.2)
56
+ rexml (3.3.5)
57
+ strscan
56
58
  rspec (3.13.0)
57
59
  rspec-core (~> 3.13.0)
58
60
  rspec-expectations (~> 3.13.0)
59
61
  rspec-mocks (~> 3.13.0)
60
62
  rspec-core (3.13.0)
61
63
  rspec-support (~> 3.13.0)
62
- rspec-expectations (3.13.0)
64
+ rspec-expectations (3.13.1)
63
65
  diff-lcs (>= 1.2.0, < 2.0)
64
66
  rspec-support (~> 3.13.0)
65
- rspec-mocks (3.13.0)
67
+ rspec-mocks (3.13.1)
66
68
  diff-lcs (>= 1.2.0, < 2.0)
67
69
  rspec-support (~> 3.13.0)
68
70
  rspec-support (3.13.1)
69
- rubocop (1.62.1)
71
+ rubocop (1.65.1)
70
72
  json (~> 2.3)
71
73
  language_server-protocol (>= 3.17.0)
72
74
  parallel (~> 1.10)
73
75
  parser (>= 3.3.0.2)
74
76
  rainbow (>= 2.2.2, < 4.0)
75
- regexp_parser (>= 1.8, < 3.0)
77
+ regexp_parser (>= 2.4, < 3.0)
76
78
  rexml (>= 3.2.5, < 4.0)
77
79
  rubocop-ast (>= 1.31.1, < 2.0)
78
80
  ruby-progressbar (~> 1.7)
79
81
  unicode-display_width (>= 2.4.0, < 3.0)
80
- rubocop-ast (1.31.2)
81
- parser (>= 3.3.0.4)
82
- rubocop-minitest (0.35.0)
82
+ rubocop-ast (1.32.1)
83
+ parser (>= 3.3.1.0)
84
+ rubocop-minitest (0.35.1)
83
85
  rubocop (>= 1.61, < 2.0)
84
86
  rubocop-ast (>= 1.31.1, < 2.0)
85
- rubocop-performance (1.21.0)
87
+ rubocop-performance (1.21.1)
86
88
  rubocop (>= 1.48.1, < 2.0)
87
89
  rubocop-ast (>= 1.31.1, < 2.0)
88
- rubocop-rails (2.24.1)
90
+ rubocop-rails (2.25.1)
89
91
  activesupport (>= 4.2.0)
90
92
  rack (>= 1.1)
91
93
  rubocop (>= 1.33.0, < 2.0)
@@ -97,10 +99,12 @@ GEM
97
99
  rubocop-rails
98
100
  ruby-prof (1.7.0)
99
101
  ruby-progressbar (1.13.0)
102
+ securerandom (0.3.1)
103
+ strscan (3.1.0)
100
104
  tzinfo (2.0.6)
101
105
  concurrent-ruby (~> 1.0)
102
106
  unicode-display_width (2.5.0)
103
- zeitwerk (2.6.13)
107
+ zeitwerk (2.6.17)
104
108
 
105
109
  PLATFORMS
106
110
  arm64-darwin-22
@@ -113,7 +117,7 @@ DEPENDENCIES
113
117
  template-ruby!
114
118
 
115
119
  RUBY VERSION
116
- ruby 3.3.0p0
120
+ ruby 3.3.4p94
117
121
 
118
122
  BUNDLED WITH
119
- 2.5.7
123
+ 2.5.17
data/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ Copyright 2024 Dorian Marié <dorian@dorianmarie.com>
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
4
+ this software and associated documentation files (the “Software”), to deal in
5
+ the Software without restriction, including without limitation the rights to
6
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7
+ of the Software, and to permit persons to whom the Software is furnished to
8
+ do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in
11
+ all copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
16
+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
+ THE SOFTWARE.
@@ -2,4 +2,4 @@
2
2
 
3
3
  require_relative "../template"
4
4
 
5
- Template::Version = Gem::Version.new("0.6.9")
5
+ Template::Version = Gem::Version.new("0.7.2")
data/package.json CHANGED
@@ -1,3 +1,8 @@
1
1
  {
2
- "license": "MIT"
3
- }
2
+ "license": "MIT",
3
+ "engines": {
4
+ "node": "22.5.1",
5
+ "yarn": "1.22.22",
6
+ "npm": "10.8.2"
7
+ }
8
+ }
@@ -6,9 +6,8 @@ require_relative "lib/template/version"
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "template-ruby"
8
8
  s.version = ::Template::Version
9
- s.summary = "A templating programming language"
10
- s.description =
11
- 'A templating programming language, like "Hello {name}" with {name: "Dorian"} gives "Hello Dorian"'
9
+ s.summary = "templating language"
10
+ s.description = s.summary
12
11
  s.authors = ["Dorian Marié"]
13
12
  s.email = "dorian@dorianmarie.fr"
14
13
  s.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
@@ -16,10 +15,7 @@ Gem::Specification.new do |s|
16
15
  s.homepage = "https://github.com/dorianmariecom/template-ruby"
17
16
  s.license = "MIT"
18
17
  s.executables = "template"
19
-
20
- s.add_dependency "code-ruby", "~> 0"
21
- s.add_dependency "language-ruby", "~> 0"
22
- s.add_dependency "zeitwerk", "~> 2"
23
-
24
- s.required_ruby_version = ">= 3.3.0"
18
+ s.add_dependency "code-ruby"
19
+ s.add_dependency "language-ruby"
20
+ s.add_dependency "zeitwerk"
25
21
  end
metadata CHANGED
@@ -1,59 +1,58 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: template-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.9
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dorian Marié
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-04 00:00:00.000000000 Z
11
+ date: 2024-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: code-ruby
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: language-ruby
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: zeitwerk
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '2'
47
+ version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '2'
55
- description: 'A templating programming language, like "Hello {name}" with {name: "Dorian"}
56
- gives "Hello Dorian"'
54
+ version: '0'
55
+ description: templating language
57
56
  email: dorian@dorianmarie.fr
58
57
  executables:
59
58
  - template
@@ -62,12 +61,15 @@ extra_rdoc_files: []
62
61
  files:
63
62
  - ".github/dependabot.yml"
64
63
  - ".github/workflows/ci.yml"
64
+ - ".gitignore"
65
+ - ".node-version"
65
66
  - ".rspec"
66
67
  - ".rubocop.yml"
67
68
  - ".ruby-version"
68
69
  - ".tool-versions"
69
70
  - Gemfile
70
71
  - Gemfile.lock
72
+ - LICENSE
71
73
  - README.md
72
74
  - bin/rspec
73
75
  - bin/template
@@ -99,15 +101,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
99
101
  requirements:
100
102
  - - ">="
101
103
  - !ruby/object:Gem::Version
102
- version: 3.3.0
104
+ version: '0'
103
105
  required_rubygems_version: !ruby/object:Gem::Requirement
104
106
  requirements:
105
107
  - - ">="
106
108
  - !ruby/object:Gem::Version
107
109
  version: '0'
108
110
  requirements: []
109
- rubygems_version: 3.5.7
111
+ rubygems_version: 3.5.11
110
112
  signing_key:
111
113
  specification_version: 4
112
- summary: A templating programming language
114
+ summary: templating language
113
115
  test_files: []