nextgen 0.28.2 → 0.29.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nextgen/generators/stylelint.rb +0 -1
- data/lib/nextgen/version.rb +1 -1
- data/template/.overcommit.yml.tt +1 -3
- data/template/.stylelintrc.js +6 -7
- data/template/test/support/capybara.rb.tt +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92cd9ce7d8e32f2f57dbc654f24f91095dd612db6d1de70398d6395241222fa2
|
4
|
+
data.tar.gz: 2cab0e61fca70665616cfeaa1fcb3f96a023ceec7a27f616a05827abb3af4f13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bedbf0a5f62fe9b926830f286d0fba7f44fdb2926d2e93c981646811f7665aa05ece7ea7f8fe0f0c66f3e3a1d88ab4a7edb7c25dd130cfe53fe5722f07385219
|
7
|
+
data.tar.gz: 295bacce292db83d75b7bceb3ba05e2b504138d2068dfefdc321fe6beee4e460aa0fef6c6f57c2207ca6b03b1df39943182c664e1ba14157cb0ea4d2db62c094
|
data/lib/nextgen/version.rb
CHANGED
data/template/.overcommit.yml.tt
CHANGED
@@ -59,7 +59,7 @@ PreCommit:
|
|
59
59
|
RuboCop:
|
60
60
|
enabled: true
|
61
61
|
required_executable: bundle
|
62
|
-
command: ["bundle", "exec", "rubocop"]
|
62
|
+
command: ["bundle", "exec", "rubocop", "-c", ".rubocop.yml"]
|
63
63
|
on_warn: fail
|
64
64
|
<% end -%>
|
65
65
|
|
@@ -68,8 +68,6 @@ PreCommit:
|
|
68
68
|
enabled: true
|
69
69
|
required_executable: npx
|
70
70
|
command: ["npx", "--no-install", "stylelint"]
|
71
|
-
env:
|
72
|
-
NODE_OPTIONS: --no-deprecation
|
73
71
|
include:
|
74
72
|
- app/assets/**/*.css
|
75
73
|
- app/components/**/*.css
|
data/template/.stylelintrc.js
CHANGED
@@ -1,7 +1,4 @@
|
|
1
|
-
import strictValuePlugin from "stylelint-declaration-strict-value";
|
2
|
-
|
3
1
|
export default {
|
4
|
-
plugins: [strictValuePlugin],
|
5
2
|
extends: ["stylelint-config-standard", "stylelint-prettier/recommended"],
|
6
3
|
rules: {
|
7
4
|
"color-hex-length": null,
|
@@ -18,11 +15,10 @@ export default {
|
|
18
15
|
ignoreProperties: ["font-named-instance"],
|
19
16
|
},
|
20
17
|
],
|
21
|
-
"
|
22
|
-
"/color/",
|
18
|
+
"declaration-property-value-allowed-list": [
|
23
19
|
{
|
24
|
-
|
25
|
-
|
20
|
+
"/color/": [
|
21
|
+
/^var\(--/,
|
26
22
|
"currentcolor",
|
27
23
|
"inherit",
|
28
24
|
"initial",
|
@@ -30,6 +26,9 @@ export default {
|
|
30
26
|
"unset",
|
31
27
|
],
|
32
28
|
},
|
29
|
+
{
|
30
|
+
message: "Found hard-coded color value; expected var(--...)",
|
31
|
+
},
|
33
32
|
],
|
34
33
|
"selector-class-pattern": [
|
35
34
|
// classes must be in BEM form, like this:
|
@@ -3,9 +3,9 @@
|
|
3
3
|
ActiveSupport.on_load(:action_dispatch_system_test_case) do
|
4
4
|
require "capybara"
|
5
5
|
require "capybara/rails"
|
6
|
-
|
6
|
+
<% if rspec? -%>
|
7
7
|
require "capybara/rspec"
|
8
|
-
|
8
|
+
<% end -%>
|
9
9
|
|
10
10
|
Capybara.configure do |config|
|
11
11
|
config.default_max_wait_time = 2
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nextgen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.29.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Brictson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|