nextgen 0.7.0 → 0.8.0

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: b31a321aa0243167ed862371f377d8441ce4e6f16ea2955bf9b836757f1f6cb8
4
- data.tar.gz: c2069575c1e14b9d4adf3fbf8fc6d6fb6ce0052356acb396a71250e430dc9334
3
+ metadata.gz: 1d7d274699408c9756631adaac4969412bce5589a6e5c52aa49eafa66a8a72e1
4
+ data.tar.gz: 8a206e399158c63226f7f3cbc278925458d993a38a9a6b4b2fd96ba50d0cbcf6
5
5
  SHA512:
6
- metadata.gz: 2e40eb8dd637109e523e76de594c91a5738429dbe96caef55b08901f7790e55ce47c034236807d750a8a9315edfa38b11c61ff66e084edba1b74c66b812b5459
7
- data.tar.gz: 7c898079fab24493ee417a3f91887eef927135ae07fe22a42c22c582e1eb16a6eb58e096812b0424cf2da112cab657c14b304cc52911f03439a6a7078eb7a596
6
+ metadata.gz: 7aeadac98c5e15621d0991569807746be81f65c6b0f627efcc4eaaf3e21507f6ffc7e25890d208ef6676b1a2fffd36314521fd2b2c56dc284cccff2936afcbcb
7
+ data.tar.gz: '0008d52c832a83813280de39089c6cafa562815efb42b28ea24f7fcca9e1a7d02bf2e3ccf588e2388cc0c8cee785a798e2303b128c89f1c5f368b494460f22ad'
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2023 Matt Brictson
3
+ Copyright (c) 2024 Matt Brictson
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,9 +1,9 @@
1
1
  say_git "Install stylelint"
2
2
  add_yarn_packages(
3
- "stylelint@^15",
4
- "stylelint-config-standard@^34",
5
- "stylelint-declaration-strict-value@^1",
6
- "stylelint-prettier@^4",
3
+ "stylelint",
4
+ "stylelint-config-standard",
5
+ "stylelint-declaration-strict-value",
6
+ "stylelint-prettier",
7
7
  "prettier",
8
8
  "npm-run-all",
9
9
  dev: true
@@ -14,7 +14,7 @@ add_package_json_scripts(
14
14
  lint: "npm-run-all lint:**",
15
15
  fix: "npm-run-all fix:**"
16
16
  )
17
- copy_file ".stylelintrc.cjs"
17
+ copy_file ".stylelintrc.js"
18
18
 
19
19
  say_git "Add stylelint to default rake task"
20
20
  copy_file "lib/tasks/stylelint.rake"
@@ -8,7 +8,7 @@ module Nextgen
8
8
  YAML.load_file(yaml_path).each do |name, options|
9
9
  options ||= {}
10
10
  requirements = Array(options["requires"])
11
- next unless requirements.all? { |req| rails_opts.public_send("#{req}?") }
11
+ next unless requirements.all? { |req| rails_opts.public_send(:"#{req}?") }
12
12
 
13
13
  g.add(
14
14
  name.to_sym,
@@ -1,3 +1,3 @@
1
1
  module Nextgen
2
- VERSION = "0.7.0".freeze
2
+ VERSION = "0.8.0".freeze
3
3
  end
@@ -1,5 +1,7 @@
1
- module.exports = {
2
- plugins: ["stylelint-declaration-strict-value"],
1
+ import strictValuePlugin from "stylelint-declaration-strict-value";
2
+
3
+ export default {
4
+ plugins: [strictValuePlugin],
3
5
  extends: ["stylelint-config-standard", "stylelint-prettier/recommended"],
4
6
  rules: {
5
7
  "color-hex-length": null,
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.7.0
4
+ version: 0.8.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: 2023-12-19 00:00:00.000000000 Z
11
+ date: 2024-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -152,7 +152,7 @@ files:
152
152
  - template/.overcommit.yml.tt
153
153
  - template/.prettierrc.cjs
154
154
  - template/.rubocop.yml.tt
155
- - template/.stylelintrc.cjs
155
+ - template/.stylelintrc.js
156
156
  - template/DEPLOYMENT.md
157
157
  - template/Procfile.tt
158
158
  - template/README.md.tt
@@ -219,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
219
219
  - !ruby/object:Gem::Version
220
220
  version: '0'
221
221
  requirements: []
222
- rubygems_version: 3.4.22
222
+ rubygems_version: 3.5.3
223
223
  signing_key:
224
224
  specification_version: 4
225
225
  summary: Generate your next Rails app interactively!