slim 5.2.0 → 5.2.1

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: d9008a7eaa7a19ae0ada9b2a6789ff073a43fceaea9e24fe284ebf698fd5b02c
4
- data.tar.gz: 2c79bf7dc50662e04fb711ba4a1c334265c3a5b2186a111b932a04f02ae16680
3
+ metadata.gz: '085658b8d4677686a978750dd41c27103fce119ea347f2678ab614e1ac0846c4'
4
+ data.tar.gz: 17f0fda92a470e970e7530a6bcb55c761885a42fb0dcd4a5043fd833a454f1ce
5
5
  SHA512:
6
- metadata.gz: 1c4aa87d3b5a20242328258c6cfe8b436af5f92b437076bb185926764e5168959087aca53e5c0face78bde9b6670b6c4023f4893f98f58c6db97d730961ed93a
7
- data.tar.gz: 178427ae03b2c8e2918c4114376a5dd3955ac20ef393d5a355ca441617a39f3b66101ff00bbb7c0c6e8b12aee338db2914c37910712c1ada5aa5814f9e3cdd79
6
+ metadata.gz: 35c1bcb1e6da5dfd567587f977fb08126196056ee029dd4de0126539606012056bd34daa36e0afb8a62af0794a11b86667176ecd47500f6c62b5fb61d24beb9d
7
+ data.tar.gz: 821a4300dba1555cd80a099274450c2ad51d36982c609f89182e62ec3e02cb16c0ba7b2f6bbe9183bc588ac90a824cea5753718ff55add9afbe21d494e6d97a2
@@ -1,13 +1,11 @@
1
1
  name: test
2
2
  on:
3
3
  push:
4
- branches:
5
- - main
4
+ paths-ignore:
5
+ - '**.md'
6
6
  pull_request:
7
- types:
8
- - opened
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 install && bundle exec rake test
27
- - run: bundle install && bundle exec rake test:sinatra
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 install && bundle exec rake test:sinatra
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 install && bundle exec rake test:sinatra
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 install && bundle exec rake test:sinatra
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 install && bundle exec rake test:rails
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
- - run: bundle install && bundle exec rake test:rails
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 install && bundle exec rake test:rails
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
- - run: bundle install && bundle exec rake test:rails
64
- name: "rake test:rails RAILS=7.0.7"
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 install && bundle exec rake test:rails
68
- name: "rake test:rails RAILS=7.1.0"
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.2
71
- - run: bundle install && bundle exec rake test:rails
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
@@ -1,3 +1,8 @@
1
+ 5.2.1 (2024-01-20)
2
+
3
+ * Support Ruby 3.3
4
+ * Update Gem metadata
5
+
1
6
  5.2.0 (2023-11-11)
2
7
 
3
8
  * Fix logic less bug - #783
data/Gemfile CHANGED
@@ -38,6 +38,6 @@ if ENV['SINATRA']
38
38
  if ENV['SINATRA'] == 'main'
39
39
  gem 'sinatra', github: 'sinatra/sinatra'
40
40
  else
41
- gem 'sinatra', tag: "v#{ENV['SINATRA']}"
41
+ gem 'sinatra', "= #{ENV['SINATRA']}"
42
42
  end
43
43
  end
data/lib/slim/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
  module Slim
3
3
  # Slim version string
4
4
  # @api public
5
- VERSION = '5.2.0'
5
+ VERSION = '5.2.1'
6
6
  end
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 = 'http://github.com/slim-template/slim/'
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.0
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: 2023-11-11 00:00:00.000000000 Z
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: http://github.com/slim-template/slim/
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: