slim-rails 3.5.1 → 3.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/README.md +10 -6
- data/lib/slim-rails/version.rb +1 -1
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23256a5c386378763c0d2b7a8b521c0678266b8e5e4c1f6a7d979d6aa1a324eb
|
4
|
+
data.tar.gz: af9ad07273823090a9f658d546dcd4377e1d1e4a5d1b3dc3cfc8295d32b560aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be908a61dc57ec4577bb12a5032cb12ff225537cd0fb1981e62454c1eb7537f16cf04518ba5d928352f94dc0d71e53649f411aca5e87bb50949a634849112cd3
|
7
|
+
data.tar.gz: aff344cd89822d7410df81f8704a06558cafddb60519ae3f054a0315be52ab272f4d870d2f2e66324cbfce12c9c56847a07880e0a0e4133a98b8e8f5e3539260
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
## 3.6.1 (February 14, 2023)
|
2
|
+
|
3
|
+
- Fix to avoid depending on the failed Slim 5.0.0 release ([#188])
|
4
|
+
|
5
|
+
[#188]: https://github.com/slim-template/slim-rails/pull/188
|
6
|
+
|
7
|
+
## 3.6.0 (February 14, 2023)
|
8
|
+
|
9
|
+
- Add support for Slim 5 ([#185])
|
10
|
+
|
11
|
+
Thanks https://github.com/michaelbaudino ([#185])
|
12
|
+
|
13
|
+
[#185]: https://github.com/slim-template/slim-rails/pull/185
|
14
|
+
|
1
15
|
## 3.5.0 (May 2022)
|
2
16
|
|
3
17
|
* Restored legacy templates for Rails < 7
|
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
# slim-rails [![Gem Version](https://img.shields.io/gem/v/slim-rails.svg)](http://rubygems.org/gems/slim-rails) [![Build Status](https://github.com/slim-template/slim-rails/actions/workflows/main.yml/badge.svg)](https://github.com/slim-template/slim-rails/actions/workflows/main.yml) [![Code Climate](https://codeclimate.com/github/slim-template/slim-rails/badges/gpa.svg)](https://codeclimate.com/github/slim-template/slim-rails)
|
2
2
|
|
3
|
-
slim-rails provides Slim generators for Rails
|
4
|
-
[haml-rails](http://github.com/indirect/haml-rails) and it does basically the
|
5
|
-
same:
|
3
|
+
slim-rails provides Slim generators for Rails:
|
6
4
|
|
7
5
|
* Any time you generate a controller or scaffold, you'll get Slim templates
|
8
6
|
(instead of ERB)
|
@@ -18,8 +16,14 @@ gem "slim-rails"
|
|
18
16
|
|
19
17
|
And that's it.
|
20
18
|
|
21
|
-
|
19
|
+
Every time you generate a controller or scaffold, you'll get Slim templates.
|
22
20
|
|
23
|
-
|
21
|
+
If you have existing `.erb` templates, check out our guide [How to convert your `.erb` templates to `.slim`](https://github.com/slim-template/slim/wiki/Template-Converters-ERB-to-SLIM) on how to achieve this.
|
24
22
|
|
25
|
-
|
23
|
+
This gem is [tested with Ruby on Rails 5.2+](/.github/workflows/main.yml).
|
24
|
+
|
25
|
+
## History
|
26
|
+
|
27
|
+
`slim-rails` was based on [haml-rails](https://github.com/haml/haml-rails) and it does basically the same thing.
|
28
|
+
|
29
|
+
From the version 0.2.0, there is no need to include gem "slim" in your Gemfile.
|
data/lib/slim-rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slim-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leonardo Almeida
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-03-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -46,9 +46,12 @@ dependencies:
|
|
46
46
|
- - ">="
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: '3.0'
|
49
|
+
- - "!="
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
version: 5.0.0
|
49
52
|
- - "<"
|
50
53
|
- !ruby/object:Gem::Version
|
51
|
-
version: '
|
54
|
+
version: '6.0'
|
52
55
|
type: :runtime
|
53
56
|
prerelease: false
|
54
57
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -56,9 +59,12 @@ dependencies:
|
|
56
59
|
- - ">="
|
57
60
|
- !ruby/object:Gem::Version
|
58
61
|
version: '3.0'
|
62
|
+
- - "!="
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: 5.0.0
|
59
65
|
- - "<"
|
60
66
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
67
|
+
version: '6.0'
|
62
68
|
- !ruby/object:Gem::Dependency
|
63
69
|
name: sprockets-rails
|
64
70
|
requirement: !ruby/object:Gem::Requirement
|
@@ -79,14 +85,14 @@ dependencies:
|
|
79
85
|
requirements:
|
80
86
|
- - "~>"
|
81
87
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
88
|
+
version: 0.24.0
|
83
89
|
type: :development
|
84
90
|
prerelease: false
|
85
91
|
version_requirements: !ruby/object:Gem::Requirement
|
86
92
|
requirements:
|
87
93
|
- - "~>"
|
88
94
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
95
|
+
version: 0.24.0
|
90
96
|
- !ruby/object:Gem::Dependency
|
91
97
|
name: rocco
|
92
98
|
requirement: !ruby/object:Gem::Requirement
|
@@ -223,7 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
223
229
|
- !ruby/object:Gem::Version
|
224
230
|
version: '0'
|
225
231
|
requirements: []
|
226
|
-
rubygems_version: 3.
|
232
|
+
rubygems_version: 3.4.7
|
227
233
|
signing_key:
|
228
234
|
specification_version: 4
|
229
235
|
summary: Slim templates generator for Rails
|