nextgen 0.5.0 → 0.6.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60ba7f326dc68e00bfac23c9f2e3a9cd6f020044153ebdda66616e7a36986d0d
|
4
|
+
data.tar.gz: 01acd7693e30d84ec764c61195b459336329a94f91588dfeccf086149c8c259d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a57afd381d46af2d4e0c72b64eebc5c3a0b2234258503f12ef3f8c7593b0c243fc04116c5393f6cc79de69f75585aeb61e0f1ad8fedec2696c7d99de54e103e
|
7
|
+
data.tar.gz: e7c9ebaae680f6d57ecd6cf2c7f565d71cb965f74fbbe13c46011cbf4521df5c5c688713c7d4fb6ed8b8edb3015449464cefda48cc21df365a14e8bd1f228f2d
|
data/lib/nextgen/actions/git.rb
CHANGED
@@ -13,7 +13,7 @@ module Nextgen
|
|
13
13
|
def apply_as_git_commit(path, message: nil)
|
14
14
|
say message, :cyan if message
|
15
15
|
@commit_messages = []
|
16
|
-
initially_clean =
|
16
|
+
initially_clean = git_working? && git_status == :clean
|
17
17
|
say_status :apply, File.basename(path)
|
18
18
|
apply path, verbose: false
|
19
19
|
return if !initially_clean || git_status == :clean
|
@@ -35,7 +35,7 @@ module Nextgen
|
|
35
35
|
def git_working?
|
36
36
|
return @git_working if defined?(@git_working)
|
37
37
|
|
38
|
-
@git_working =
|
38
|
+
@git_working = git_status != :error && git_user_configured?
|
39
39
|
end
|
40
40
|
|
41
41
|
def git_user_configured?
|
@@ -1,9 +1,9 @@
|
|
1
1
|
say_git "Install stylelint"
|
2
2
|
add_yarn_packages(
|
3
|
-
"stylelint",
|
4
|
-
"stylelint-config-standard",
|
5
|
-
"stylelint-declaration-strict-value",
|
6
|
-
"stylelint-prettier",
|
3
|
+
"stylelint@^15",
|
4
|
+
"stylelint-config-standard@^34",
|
5
|
+
"stylelint-declaration-strict-value@^1",
|
6
|
+
"stylelint-prettier@^4",
|
7
7
|
"prettier",
|
8
8
|
"npm-run-all",
|
9
9
|
dev: true
|
data/lib/nextgen/version.rb
CHANGED
data/template/.rubocop.yml.tt
CHANGED
@@ -13,7 +13,7 @@ module BasicAuth
|
|
13
13
|
return true if expected_username.blank? || expected_password.blank?
|
14
14
|
|
15
15
|
authenticate_or_request_with_http_basic do |username, password|
|
16
|
-
ActiveSupport::SecurityUtils.secure_compare(username, expected_username) &
|
16
|
+
ActiveSupport::SecurityUtils.secure_compare(username, expected_username) &
|
17
17
|
ActiveSupport::SecurityUtils.secure_compare(password, expected_password)
|
18
18
|
end
|
19
19
|
end
|
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.6.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-
|
11
|
+
date: 2023-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -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.
|
222
|
+
rubygems_version: 3.4.22
|
223
223
|
signing_key:
|
224
224
|
specification_version: 4
|
225
225
|
summary: Generate your next Rails app interactively!
|