slim-rails 3.2.0 → 3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +31 -36
- data/Appraisals +14 -18
- data/CHANGELOG.md +7 -0
- data/README.md +2 -0
- data/gemfiles/{rails_5.gemfile → rails_5.0.gemfile} +1 -0
- data/gemfiles/rails_5.1.gemfile +1 -0
- data/gemfiles/{rails_4.1.gemfile → rails_6.0.gemfile} +1 -1
- data/gemfiles/{rails_4.2.gemfile → rails_6.1.gemfile} +1 -1
- data/gemfiles/{rails_4.gemfile → rails_edge.gemfile} +1 -1
- data/lib/generators/slim/mailer/templates/view.html.slim +1 -1
- data/lib/generators/slim/mailer/templates/view.text.slim +1 -1
- data/lib/generators/slim/scaffold/templates/_form.html.slim +1 -1
- data/lib/generators/slim/scaffold/templates/edit.html.slim +0 -1
- data/lib/generators/slim/scaffold/templates/show.html.slim +1 -1
- data/lib/slim-rails/register_engine.rb +2 -1
- data/lib/slim-rails/version.rb +1 -1
- data/slim-rails.gemspec +5 -4
- data/test/lib/generators/slim/controller_generator_test.rb +8 -0
- data/test/lib/generators/slim/mailer_generator_test.rb +12 -4
- data/test/lib/generators/slim/scaffold_generator_test.rb +8 -0
- data/test/lib/generators/slim/testing_helper.rb +10 -0
- data/test/lib/slim-rails_assets_test.rb +42 -4
- metadata +28 -14
- data/gemfiles/rails_3.gemfile +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c09a72b540b1eeeb00a3fa4a3a35fa6cb34d064104a9a7155f14ecee5e7e39d
|
4
|
+
data.tar.gz: 2210937c961529642a2fc5ff485dd13de10f46694259d74d0521593182e095c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef5677b920c4a940df436fbad90dbf8e6e97b074f4c6b498a6b9f2b323588280ba5fc6f708dddf4459cb5cb609ea4af0fad03350fd1a013b3bb25b55fa468638
|
7
|
+
data.tar.gz: f77d561a26be9f8967ebd2e7ead43e01c9b9219c1445d88c9c09ca0f271326ca30ab920cb202ecf3cdc90f21edd5d51089f60c2d4d9c739d05ebcf45d186846e
|
data/.travis.yml
CHANGED
@@ -1,50 +1,45 @@
|
|
1
|
+
dist: focal
|
2
|
+
|
3
|
+
os: linux
|
4
|
+
|
1
5
|
language: ruby
|
6
|
+
|
7
|
+
cache:
|
8
|
+
bundler: true
|
9
|
+
|
2
10
|
before_install:
|
3
|
-
- gem
|
11
|
+
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
|
12
|
+
- gem install bundler -v '< 2'
|
13
|
+
|
4
14
|
rvm:
|
5
15
|
- ruby-head
|
6
|
-
-
|
7
|
-
- 2.
|
8
|
-
- 2.
|
9
|
-
|
10
|
-
- 2.1
|
11
|
-
- 2.0
|
16
|
+
- 3.0
|
17
|
+
- 2.7
|
18
|
+
- 2.6
|
19
|
+
|
12
20
|
gemfile:
|
13
|
-
- gemfiles/
|
14
|
-
- gemfiles/
|
15
|
-
- gemfiles/
|
16
|
-
- gemfiles/rails_4.2.gemfile
|
17
|
-
- gemfiles/rails_5.gemfile
|
18
|
-
- gemfiles/rails_5.1.gemfile
|
21
|
+
- gemfiles/rails_edge.gemfile
|
22
|
+
- gemfiles/rails_6.1.gemfile
|
23
|
+
- gemfiles/rails_6.0.gemfile
|
19
24
|
- gemfiles/rails_5.2.gemfile
|
20
|
-
|
25
|
+
- gemfiles/rails_5.1.gemfile
|
26
|
+
- gemfiles/rails_5.0.gemfile
|
27
|
+
|
28
|
+
jobs:
|
21
29
|
allow_failures:
|
22
30
|
- rvm: ruby-head
|
23
|
-
-
|
24
|
-
|
25
|
-
- rvm: 2.4
|
26
|
-
gemfile: gemfiles/rails_4.1.gemfile
|
27
|
-
- rvm: 2.4
|
28
|
-
gemfile: gemfiles/rails_4.2.gemfile
|
29
|
-
- rvm: 2.5
|
30
|
-
gemfile: gemfiles/rails_4.gemfile
|
31
|
-
- rvm: 2.5
|
32
|
-
gemfile: gemfiles/rails_4.1.gemfile
|
33
|
-
- rvm: 2.5
|
34
|
-
gemfile: gemfiles/rails_4.2.gemfile
|
31
|
+
- gemfile: gemfiles/rails_edge.gemfile
|
32
|
+
|
35
33
|
exclude:
|
36
|
-
- rvm:
|
37
|
-
gemfile: gemfiles/rails_5.gemfile
|
38
|
-
- rvm: 2.1
|
39
|
-
gemfile: gemfiles/rails_5.1.gemfile
|
40
|
-
- rvm: 2.1
|
34
|
+
- rvm: 3.0
|
41
35
|
gemfile: gemfiles/rails_5.2.gemfile
|
42
|
-
- rvm:
|
43
|
-
gemfile: gemfiles/rails_5.gemfile
|
44
|
-
- rvm: 2.0
|
36
|
+
- rvm: 3.0
|
45
37
|
gemfile: gemfiles/rails_5.1.gemfile
|
46
|
-
- rvm:
|
47
|
-
gemfile: gemfiles/rails_5.
|
38
|
+
- rvm: 3.0
|
39
|
+
gemfile: gemfiles/rails_5.0.gemfile
|
40
|
+
|
41
|
+
fast_finish: true
|
42
|
+
|
48
43
|
addons:
|
49
44
|
code_climate:
|
50
45
|
repo_token: 294f0ec8183176c0259b75eb21b38414508616985a7b39fc48fec9dfcf40a52e
|
data/Appraisals
CHANGED
@@ -1,29 +1,25 @@
|
|
1
|
-
appraise "rails-
|
2
|
-
gem "rails", "~>
|
3
|
-
gem
|
4
|
-
gem 'test-unit', '~> 3.0'
|
1
|
+
appraise "rails-5.0" do
|
2
|
+
gem "rails", "~> 5.0.0"
|
3
|
+
gem "sprockets", "~> 3.7"
|
5
4
|
end
|
6
5
|
|
7
|
-
appraise "rails-
|
8
|
-
gem "rails", "~>
|
9
|
-
|
10
|
-
|
11
|
-
appraise "rails-4.1" do
|
12
|
-
gem "rails", "~> 4.1.0"
|
6
|
+
appraise "rails-5.1" do
|
7
|
+
gem "rails", "~> 5.1.0"
|
8
|
+
gem "sprockets", "~> 3.7"
|
13
9
|
end
|
14
10
|
|
15
|
-
appraise "rails-
|
16
|
-
gem "rails", "~>
|
11
|
+
appraise "rails-5.2" do
|
12
|
+
gem "rails", "~> 5.2.0"
|
17
13
|
end
|
18
14
|
|
19
|
-
appraise "rails-
|
20
|
-
|
15
|
+
appraise "rails-6.0" do
|
16
|
+
gem "rails", "~> 6.0.3"
|
21
17
|
end
|
22
18
|
|
23
|
-
appraise "rails-
|
24
|
-
|
19
|
+
appraise "rails-6.1" do
|
20
|
+
gem "rails", "~> 6.1.3"
|
25
21
|
end
|
26
22
|
|
27
|
-
appraise "rails-
|
28
|
-
|
23
|
+
appraise "rails-edge" do
|
24
|
+
gem "rails", github: 'rails/rails'
|
29
25
|
end
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -18,6 +18,8 @@ gem "slim-rails"
|
|
18
18
|
|
19
19
|
And that's it.
|
20
20
|
|
21
|
+
If you have existing `.erb` templates, check out [our guide](https://github.com/slim-template/slim/wiki/Template-Converters-ERB-to-SLIM) on how to achieve this.
|
22
|
+
|
21
23
|
From the version 0.2.0, there is no need to include gem "slim" in your Gemfile.
|
22
24
|
|
23
25
|
Every time you generate a controller or scaffold, you'll get Slim templates.
|
data/gemfiles/rails_5.1.gemfile
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
h1 <%= class_name %>#<%= @action %>
|
2
|
-
p = @greeting
|
2
|
+
p = "#{@greeting}, find me in <%= @path %>"
|
@@ -1,7 +1,7 @@
|
|
1
1
|
= form_for @<%= singular_table_name %> do |f|
|
2
2
|
- if @<%= singular_table_name %>.errors.any?
|
3
3
|
#error_explanation
|
4
|
-
h2 = "#{pluralize(@<%= singular_table_name %>.errors.count,
|
4
|
+
h2 = "#{pluralize(@<%= singular_table_name %>.errors.count, 'error')} prohibited this <%= singular_table_name %> from being saved:"
|
5
5
|
ul
|
6
6
|
- @<%= singular_table_name %>.errors.full_messages.each do |message|
|
7
7
|
li = message
|
@@ -3,7 +3,8 @@ module Slim
|
|
3
3
|
module RegisterEngine
|
4
4
|
class Transformer
|
5
5
|
def self.call(input)
|
6
|
-
|
6
|
+
context = input[:environment].context_class.new(input)
|
7
|
+
Slim::Template.new(input[:name]) { input[:data] }.render(context)
|
7
8
|
end
|
8
9
|
end
|
9
10
|
|
data/lib/slim-rails/version.rb
CHANGED
data/slim-rails.gemspec
CHANGED
@@ -6,11 +6,11 @@ require 'slim-rails/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = 'slim-rails'
|
8
8
|
spec.version = Slim::Rails::VERSION
|
9
|
-
spec.authors = ["Leonardo Almeida"]
|
10
|
-
spec.email = ["lalmeida08@gmail.com"]
|
9
|
+
spec.authors = ["Leonardo Almeida", "Janusz Mordarski"]
|
10
|
+
spec.email = ["lalmeida08@gmail.com", "janusz.m@gmail.com"]
|
11
11
|
|
12
|
-
spec.summary = 'Slim templates generator for Rails
|
13
|
-
spec.description = 'Provides the generator settings required for Rails
|
12
|
+
spec.summary = 'Slim templates generator for Rails'
|
13
|
+
spec.description = 'Provides the generator settings required for Rails to use Slim'
|
14
14
|
spec.homepage = 'https://github.com/slim-template/slim-rails'
|
15
15
|
spec.license = 'MIT'
|
16
16
|
|
@@ -26,6 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.add_runtime_dependency 'slim', ['>= 3.0', '< 5.0']
|
27
27
|
|
28
28
|
spec.add_development_dependency 'sprockets-rails'
|
29
|
+
spec.add_development_dependency 'slim_lint', '~> 0.21.0'
|
29
30
|
spec.add_development_dependency 'rocco'
|
30
31
|
spec.add_development_dependency 'redcarpet'
|
31
32
|
spec.add_development_dependency 'awesome_print'
|
@@ -2,6 +2,8 @@ require 'test_helper'
|
|
2
2
|
require 'lib/generators/slim/testing_helper'
|
3
3
|
|
4
4
|
class Slim::Generators::ControllerGeneratorTest < Rails::Generators::TestCase
|
5
|
+
include SlimLintHelpers
|
6
|
+
|
5
7
|
destination File.join(Rails.root)
|
6
8
|
tests Rails::Generators::ControllerGenerator
|
7
9
|
arguments %w(Account foo bar --template-engine slim)
|
@@ -14,4 +16,10 @@ class Slim::Generators::ControllerGeneratorTest < Rails::Generators::TestCase
|
|
14
16
|
assert_file File.join("app", "views", "account", "foo.html.slim"), %r(app/views/account/foo\.html\.slim)
|
15
17
|
assert_file File.join("app", "views", "account", "bar.html.slim"), %r(app/views/account/bar\.html\.slim)
|
16
18
|
end
|
19
|
+
|
20
|
+
test "should generate SlimLint valid templates" do
|
21
|
+
run_generator
|
22
|
+
templates = Dir[File.join(Rails.root, 'app', 'views', '**', '*.slim')]
|
23
|
+
assert_empty lint(templates)
|
24
|
+
end
|
17
25
|
end
|
@@ -2,6 +2,8 @@ require 'test_helper'
|
|
2
2
|
require 'lib/generators/slim/testing_helper'
|
3
3
|
|
4
4
|
class Slim::Generators::MailerGeneratorTest < Rails::Generators::TestCase
|
5
|
+
include SlimLintHelpers
|
6
|
+
|
5
7
|
destination File.join(Rails.root)
|
6
8
|
tests Rails::Generators::MailerGenerator
|
7
9
|
arguments %w(notifier foo bar --template-engine slim)
|
@@ -17,12 +19,12 @@ class Slim::Generators::MailerGeneratorTest < Rails::Generators::TestCase
|
|
17
19
|
if rails_version >= '5.0'
|
18
20
|
assert_file "app/views/notifier_mailer/foo.html.slim" do |view|
|
19
21
|
assert_match %r(app/views/notifier_mailer/foo\.html\.slim), view
|
20
|
-
assert_match(
|
22
|
+
assert_match(/\#\{@greeting/, view)
|
21
23
|
end
|
22
24
|
|
23
25
|
assert_file "app/views/notifier_mailer/bar.html.slim" do |view|
|
24
26
|
assert_match %r(app/views/notifier_mailer/bar\.html\.slim), view
|
25
|
-
assert_match(
|
27
|
+
assert_match(/\#\{@greeting/, view)
|
26
28
|
end
|
27
29
|
|
28
30
|
assert_file "app/views/notifier_mailer/foo.text.slim" do |view|
|
@@ -46,12 +48,12 @@ class Slim::Generators::MailerGeneratorTest < Rails::Generators::TestCase
|
|
46
48
|
|
47
49
|
assert_file "app/views/notifier/foo.html.slim" do |view|
|
48
50
|
assert_match %r(app/views/notifier/foo\.html\.slim), view
|
49
|
-
assert_match(
|
51
|
+
assert_match(/\#\{@greeting/, view)
|
50
52
|
end
|
51
53
|
|
52
54
|
assert_file "app/views/notifier/bar.html.slim" do |view|
|
53
55
|
assert_match %r(app/views/notifier/bar\.html\.slim), view
|
54
|
-
assert_match(
|
56
|
+
assert_match(/\#\{@greeting/, view)
|
55
57
|
end
|
56
58
|
|
57
59
|
end
|
@@ -67,4 +69,10 @@ class Slim::Generators::MailerGeneratorTest < Rails::Generators::TestCase
|
|
67
69
|
end
|
68
70
|
end
|
69
71
|
end
|
72
|
+
|
73
|
+
test "should generate SlimLint valid templates" do
|
74
|
+
run_generator
|
75
|
+
templates = Dir[File.join(Rails.root, 'app', 'views', '**', '*.slim')]
|
76
|
+
assert_empty lint(templates)
|
77
|
+
end
|
70
78
|
end
|
@@ -2,6 +2,8 @@ require 'test_helper'
|
|
2
2
|
require 'lib/generators/slim/testing_helper'
|
3
3
|
|
4
4
|
class Slim::Generators::ScaffoldGeneratorTest < Rails::Generators::TestCase
|
5
|
+
include SlimLintHelpers
|
6
|
+
|
5
7
|
destination File.join(Rails.root)
|
6
8
|
tests Rails::Generators::ScaffoldGenerator
|
7
9
|
arguments %w(product_line title:string price:integer --template-engine slim --orm active-record)
|
@@ -23,4 +25,10 @@ class Slim::Generators::ScaffoldGeneratorTest < Rails::Generators::TestCase
|
|
23
25
|
assert_no_file File.join "app", "views", "product_lines"
|
24
26
|
assert_no_file File.join "app", "views", "layouts", "product_lines.html.slim"
|
25
27
|
end
|
28
|
+
|
29
|
+
test "should generate SlimLint valid templates" do
|
30
|
+
run_generator
|
31
|
+
templates = Dir[File.join(Rails.root, 'app', 'views', '**', '*.slim')]
|
32
|
+
assert_empty lint(templates)
|
33
|
+
end
|
26
34
|
end
|
@@ -1 +1,11 @@
|
|
1
|
+
require 'slim_lint'
|
2
|
+
|
3
|
+
module SlimLintHelpers
|
4
|
+
EXCLUDED_LINTERS = %w[LineLength]
|
5
|
+
|
6
|
+
def lint(templates)
|
7
|
+
SlimLint::Runner.new.run(files: templates, excluded_linters: EXCLUDED_LINTERS).lints.map(&:message)
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
1
11
|
require_generators slim: ['scaffold', 'controller', 'mailer']
|
@@ -1,9 +1,14 @@
|
|
1
|
+
require 'sprockets'
|
1
2
|
require 'test_helper'
|
2
3
|
require 'tmpdir'
|
3
4
|
|
4
5
|
class Slim::Rails::AssetsTest < ActiveSupport::TestCase
|
5
6
|
def with_app(use_sprockets, code)
|
6
7
|
Dir.mktmpdir do |dir|
|
8
|
+
manifest_path = File.join(dir, 'app', 'assets', 'config', 'manifest.js')
|
9
|
+
FileUtils.mkdir_p(File.dirname(manifest_path))
|
10
|
+
File.write(manifest_path, '//= link_tree ../html .slim')
|
11
|
+
|
7
12
|
app_path = File.join(dir, 'app.rb')
|
8
13
|
File.write(app_path, <<-APP)
|
9
14
|
require 'rails'
|
@@ -18,17 +23,50 @@ class Slim::Rails::AssetsTest < ActiveSupport::TestCase
|
|
18
23
|
#{code}
|
19
24
|
APP
|
20
25
|
|
26
|
+
if use_sprockets && Sprockets::VERSION.to_i >= 4
|
27
|
+
manifest_path = File.join(dir, 'app', 'assets', 'config', 'manifest.js')
|
28
|
+
FileUtils.mkdir_p(File.dirname(manifest_path))
|
29
|
+
File.write(manifest_path, '')
|
30
|
+
end
|
31
|
+
|
21
32
|
asset_path = File.join(dir, 'app', 'assets', 'html', 'test.slim')
|
22
33
|
FileUtils.mkdir_p(File.dirname(asset_path))
|
23
34
|
File.write(asset_path, ".test\n | hi")
|
24
35
|
|
36
|
+
asset_path = File.join(dir, 'app', 'assets', 'html', 'test_helpers.slim')
|
37
|
+
File.write(asset_path, '= logical_path')
|
38
|
+
|
25
39
|
`BUNDLE_GEMFILE=#{ENV['BUNDLE_GEMFILE']} bundle exec ruby #{app_path}`
|
26
40
|
end
|
27
41
|
end
|
28
42
|
|
29
|
-
test
|
30
|
-
assert_equal '
|
31
|
-
|
32
|
-
|
43
|
+
test "should work without Sprockets" do
|
44
|
+
assert_equal '', with_app(false, 'DummyApp.assets')
|
45
|
+
end
|
46
|
+
|
47
|
+
test "should return HTML version when passing 'text/html' content type" do
|
48
|
+
assert_equal '<div class="test">hi</div>', with_app(true, 'print DummyApp.assets["test", accept: "text/html"]')
|
49
|
+
end
|
50
|
+
|
51
|
+
if Sprockets::VERSION.to_i < 4
|
52
|
+
test "should return HTML version when passing '.slim' extension" do
|
53
|
+
assert_equal '<div class="test">hi</div>', with_app(true, 'print DummyApp.assets["test.slim"]')
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
if Sprockets::VERSION.to_i >= 3
|
58
|
+
test "should return HTML version when passing '.html' extension" do
|
59
|
+
assert_equal '<div class="test">hi</div>', with_app(true, 'print DummyApp.assets["test.html"]')
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
if Sprockets::VERSION.to_i >= 4
|
64
|
+
test "should return Slim version when passing '.slim' extension" do
|
65
|
+
assert_equal ".test\n | hi", with_app(true, 'print DummyApp.assets["test.slim"]')
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
test "should work with asset helpers" do
|
70
|
+
assert_equal 'test_helpers', with_app(true, 'print DummyApp.assets["test_helpers", accept: "text/html"]')
|
33
71
|
end
|
34
72
|
end
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slim-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leonardo Almeida
|
8
|
-
|
8
|
+
- Janusz Mordarski
|
9
|
+
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2021-07-19 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: actionpack
|
@@ -72,6 +73,20 @@ dependencies:
|
|
72
73
|
- - ">="
|
73
74
|
- !ruby/object:Gem::Version
|
74
75
|
version: '0'
|
76
|
+
- !ruby/object:Gem::Dependency
|
77
|
+
name: slim_lint
|
78
|
+
requirement: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.21.0
|
83
|
+
type: :development
|
84
|
+
prerelease: false
|
85
|
+
version_requirements: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.21.0
|
75
90
|
- !ruby/object:Gem::Dependency
|
76
91
|
name: rocco
|
77
92
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,9 +157,10 @@ dependencies:
|
|
142
157
|
- - ">="
|
143
158
|
- !ruby/object:Gem::Version
|
144
159
|
version: '0'
|
145
|
-
description: Provides the generator settings required for Rails
|
160
|
+
description: Provides the generator settings required for Rails to use Slim
|
146
161
|
email:
|
147
162
|
- lalmeida08@gmail.com
|
163
|
+
- janusz.m@gmail.com
|
148
164
|
executables: []
|
149
165
|
extensions: []
|
150
166
|
extra_rdoc_files: []
|
@@ -157,13 +173,12 @@ files:
|
|
157
173
|
- LICENSE
|
158
174
|
- README.md
|
159
175
|
- Rakefile
|
160
|
-
- gemfiles/
|
161
|
-
- gemfiles/rails_4.1.gemfile
|
162
|
-
- gemfiles/rails_4.2.gemfile
|
163
|
-
- gemfiles/rails_4.gemfile
|
176
|
+
- gemfiles/rails_5.0.gemfile
|
164
177
|
- gemfiles/rails_5.1.gemfile
|
165
178
|
- gemfiles/rails_5.2.gemfile
|
166
|
-
- gemfiles/
|
179
|
+
- gemfiles/rails_6.0.gemfile
|
180
|
+
- gemfiles/rails_6.1.gemfile
|
181
|
+
- gemfiles/rails_edge.gemfile
|
167
182
|
- lib/generators/slim/controller/controller_generator.rb
|
168
183
|
- lib/generators/slim/controller/templates/view.html.slim
|
169
184
|
- lib/generators/slim/mailer/mailer_generator.rb
|
@@ -192,7 +207,7 @@ homepage: https://github.com/slim-template/slim-rails
|
|
192
207
|
licenses:
|
193
208
|
- MIT
|
194
209
|
metadata: {}
|
195
|
-
post_install_message:
|
210
|
+
post_install_message:
|
196
211
|
rdoc_options: []
|
197
212
|
require_paths:
|
198
213
|
- lib
|
@@ -207,11 +222,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
207
222
|
- !ruby/object:Gem::Version
|
208
223
|
version: '0'
|
209
224
|
requirements: []
|
210
|
-
|
211
|
-
|
212
|
-
signing_key:
|
225
|
+
rubygems_version: 3.1.6
|
226
|
+
signing_key:
|
213
227
|
specification_version: 4
|
214
|
-
summary: Slim templates generator for Rails
|
228
|
+
summary: Slim templates generator for Rails
|
215
229
|
test_files:
|
216
230
|
- test/fixtures/routes.rb
|
217
231
|
- test/lib/generators/slim/controller_generator_test.rb
|