slim 5.2.0 → 5.2.1
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 +55 -22
- data/CHANGES +5 -0
- data/Gemfile +1 -1
- data/lib/slim/version.rb +1 -1
- data/slim.gemspec +11 -1
- metadata +11 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '085658b8d4677686a978750dd41c27103fce119ea347f2678ab614e1ac0846c4'
|
|
4
|
+
data.tar.gz: 17f0fda92a470e970e7530a6bcb55c761885a42fb0dcd4a5043fd833a454f1ce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 35c1bcb1e6da5dfd567587f977fb08126196056ee029dd4de0126539606012056bd34daa36e0afb8a62af0794a11b86667176ecd47500f6c62b5fb61d24beb9d
|
|
7
|
+
data.tar.gz: 821a4300dba1555cd80a099274450c2ad51d36982c609f89182e62ec3e02cb16c0ba7b2f6bbe9183bc588ac90a824cea5753718ff55add9afbe21d494e6d97a2
|
data/.github/workflows/test.yml
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
name: test
|
|
2
2
|
on:
|
|
3
3
|
push:
|
|
4
|
-
|
|
5
|
-
-
|
|
4
|
+
paths-ignore:
|
|
5
|
+
- '**.md'
|
|
6
6
|
pull_request:
|
|
7
|
-
|
|
8
|
-
-
|
|
9
|
-
- synchronize
|
|
10
|
-
- reopened
|
|
7
|
+
paths-ignore:
|
|
8
|
+
- '**.md'
|
|
11
9
|
schedule:
|
|
12
10
|
- cron: "0 15 * * 0"
|
|
13
11
|
jobs:
|
|
@@ -16,29 +14,44 @@ jobs:
|
|
|
16
14
|
strategy:
|
|
17
15
|
fail-fast: false
|
|
18
16
|
matrix:
|
|
19
|
-
ruby: ['2.5', '2.6', '2.7', '3.0', '3.1', '3.2']
|
|
17
|
+
ruby: ['2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3']
|
|
20
18
|
steps:
|
|
21
19
|
- uses: actions/checkout@v4
|
|
22
20
|
- name: Set up Ruby
|
|
23
21
|
uses: ruby/setup-ruby@v1
|
|
24
22
|
with:
|
|
25
23
|
ruby-version: ${{ matrix.ruby }}
|
|
26
|
-
- run: bundle
|
|
27
|
-
- run: bundle
|
|
24
|
+
- run: bundle update && bundle exec rake test
|
|
25
|
+
- run: bundle update && bundle exec rake test:sinatra
|
|
26
|
+
name: "rake test:sinatra SINATRA=2.2.4"
|
|
28
27
|
env:
|
|
29
28
|
SINATRA: 2.2.4
|
|
30
|
-
- run: bundle
|
|
29
|
+
- run: bundle update && bundle exec rake test:sinatra
|
|
30
|
+
name: "rake test:sinatra SINATRA=3.0.6"
|
|
31
|
+
if: ${{ matrix.ruby != '2.5' }}
|
|
31
32
|
env:
|
|
32
33
|
SINATRA: 3.0.6
|
|
33
|
-
- run: bundle
|
|
34
|
+
- run: bundle update && bundle exec rake test:sinatra
|
|
35
|
+
name: "rake test:sinatra SINATRA=3.1.0"
|
|
34
36
|
if: ${{ matrix.ruby != '2.5' }}
|
|
35
37
|
env:
|
|
36
38
|
SINATRA: 3.1.0
|
|
37
|
-
- run: bundle
|
|
39
|
+
- run: bundle update && bundle exec rake test:sinatra
|
|
40
|
+
name: "rake test:sinatra SINATRA=3.2.0"
|
|
38
41
|
if: ${{ matrix.ruby != '2.5' }}
|
|
42
|
+
env:
|
|
43
|
+
SINATRA: 3.2.0
|
|
44
|
+
- run: bundle update && bundle exec rake test:sinatra
|
|
45
|
+
name: "rake test:sinatra SINATRA=4.0.0"
|
|
46
|
+
if: ${{ matrix.ruby != '2.5' && matrix.ruby != '2.6' }}
|
|
47
|
+
env:
|
|
48
|
+
SINATRA: 4.0.0
|
|
49
|
+
- run: bundle update && bundle exec rake test:sinatra
|
|
50
|
+
name: "rake test:sinatra SINATRA=main"
|
|
51
|
+
if: ${{ matrix.ruby != '2.5' && matrix.ruby != '2.6' }}
|
|
39
52
|
env:
|
|
40
53
|
SINATRA: main
|
|
41
|
-
rails:
|
|
54
|
+
rails-5:
|
|
42
55
|
runs-on: ubuntu-latest
|
|
43
56
|
strategy:
|
|
44
57
|
fail-fast: false
|
|
@@ -48,27 +61,47 @@ jobs:
|
|
|
48
61
|
uses: ruby/setup-ruby@v1
|
|
49
62
|
with:
|
|
50
63
|
ruby-version: 2.7
|
|
51
|
-
- run: bundle
|
|
64
|
+
- run: bundle update && bundle exec rake test:rails
|
|
52
65
|
name: "rake test:rails RAILS=5.2.8"
|
|
53
66
|
env:
|
|
54
67
|
RAILS: 5.2.8
|
|
55
|
-
|
|
68
|
+
rails-6:
|
|
69
|
+
runs-on: ubuntu-latest
|
|
70
|
+
strategy:
|
|
71
|
+
fail-fast: false
|
|
72
|
+
steps:
|
|
73
|
+
- uses: actions/checkout@v4
|
|
74
|
+
- name: Set up Ruby
|
|
75
|
+
uses: ruby/setup-ruby@v1
|
|
76
|
+
with:
|
|
77
|
+
ruby-version: 2.7
|
|
78
|
+
- run: bundle update && bundle exec rake test:rails
|
|
56
79
|
name: "rake test:rails RAILS=6.0.6"
|
|
57
80
|
env:
|
|
58
81
|
RAILS: 6.0.6
|
|
59
|
-
- run: bundle
|
|
82
|
+
- run: bundle update && bundle exec rake test:rails
|
|
60
83
|
name: "rake test:rails RAILS=6.1.7"
|
|
61
84
|
env:
|
|
62
85
|
RAILS: 6.1.7
|
|
63
|
-
|
|
64
|
-
|
|
86
|
+
rails-7:
|
|
87
|
+
runs-on: ubuntu-latest
|
|
88
|
+
strategy:
|
|
89
|
+
fail-fast: false
|
|
90
|
+
steps:
|
|
91
|
+
- uses: actions/checkout@v4
|
|
92
|
+
- name: Set up Ruby
|
|
93
|
+
uses: ruby/setup-ruby@v1
|
|
94
|
+
with:
|
|
95
|
+
ruby-version: 3.3
|
|
96
|
+
- run: bundle update && bundle exec rake test:rails
|
|
97
|
+
name: "rake test:rails RAILS=7.0.8"
|
|
65
98
|
env:
|
|
66
99
|
RAILS: 7.0.8
|
|
67
|
-
- run: bundle
|
|
68
|
-
name: "rake test:rails RAILS=7.1.
|
|
100
|
+
- run: bundle update && bundle exec rake test:rails
|
|
101
|
+
name: "rake test:rails RAILS=7.1.3"
|
|
69
102
|
env:
|
|
70
|
-
RAILS: 7.1.
|
|
71
|
-
- run: bundle
|
|
103
|
+
RAILS: 7.1.3
|
|
104
|
+
- run: bundle update && bundle exec rake test:rails
|
|
72
105
|
name: "rake test:rails RAILS=main"
|
|
73
106
|
env:
|
|
74
107
|
RAILS: main
|
data/CHANGES
CHANGED
data/Gemfile
CHANGED
data/lib/slim/version.rb
CHANGED
data/slim.gemspec
CHANGED
|
@@ -9,9 +9,19 @@ Gem::Specification.new do |s|
|
|
|
9
9
|
s.email = ['mail@daniel-mendler.de', 'andy@stonean.com', 'ifredwu@gmail.com']
|
|
10
10
|
s.summary = 'Slim is a template language.'
|
|
11
11
|
s.description = 'Slim is a template language whose goal is reduce the syntax to the essential parts without becoming cryptic.'
|
|
12
|
-
s.homepage = '
|
|
12
|
+
s.homepage = 'https://slim-template.github.io/'
|
|
13
13
|
s.license = 'MIT'
|
|
14
14
|
|
|
15
|
+
s.metadata = {
|
|
16
|
+
"bug_tracker_uri" => "https://github.com/slim-template/slim/issues",
|
|
17
|
+
"changelog_uri" => "https://github.com/slim-template/slim/blob/main/CHANGES",
|
|
18
|
+
"documentation_uri" => "https://rubydoc.info/gems/slim/frames",
|
|
19
|
+
"homepage_uri" => "https://slim-template.github.io/",
|
|
20
|
+
"source_code_uri" => "https://github.com/slim-template/slim",
|
|
21
|
+
"wiki_uri" => "https://github.com/slim-template/slim/wiki",
|
|
22
|
+
"funding_uri" => "https://github.com/sponsors/slim-template"
|
|
23
|
+
}
|
|
24
|
+
|
|
15
25
|
s.files = `git ls-files`.split("\n")
|
|
16
26
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
|
17
27
|
s.require_paths = %w(lib)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: slim
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.2.
|
|
4
|
+
version: 5.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Mendler
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date:
|
|
13
|
+
date: 2024-01-20 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: temple
|
|
@@ -178,10 +178,17 @@ files:
|
|
|
178
178
|
- test/sinatra/views/layout2.slim
|
|
179
179
|
- test/smart/test_smart_text.rb
|
|
180
180
|
- test/translator/test_translator.rb
|
|
181
|
-
homepage:
|
|
181
|
+
homepage: https://slim-template.github.io/
|
|
182
182
|
licenses:
|
|
183
183
|
- MIT
|
|
184
|
-
metadata:
|
|
184
|
+
metadata:
|
|
185
|
+
bug_tracker_uri: https://github.com/slim-template/slim/issues
|
|
186
|
+
changelog_uri: https://github.com/slim-template/slim/blob/main/CHANGES
|
|
187
|
+
documentation_uri: https://rubydoc.info/gems/slim/frames
|
|
188
|
+
homepage_uri: https://slim-template.github.io/
|
|
189
|
+
source_code_uri: https://github.com/slim-template/slim
|
|
190
|
+
wiki_uri: https://github.com/slim-template/slim/wiki
|
|
191
|
+
funding_uri: https://github.com/sponsors/slim-template
|
|
185
192
|
post_install_message:
|
|
186
193
|
rdoc_options: []
|
|
187
194
|
require_paths:
|