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: b4d5f0c3ca15b206d8b567446f10d9b20132b34e00d32eacf809ded55d8fa414
4
- data.tar.gz: 731730e1da7a5c32eecdc4ab6b8d34f22abd87261cf92b13325fc54508d4eb19
3
+ metadata.gz: 60ba7f326dc68e00bfac23c9f2e3a9cd6f020044153ebdda66616e7a36986d0d
4
+ data.tar.gz: 01acd7693e30d84ec764c61195b459336329a94f91588dfeccf086149c8c259d
5
5
  SHA512:
6
- metadata.gz: 51c9da0058d9b3c6b94978e82d78380669ffb650723e2de91290c3d8cb781cf0c2fa21ec814dc8c5ce61a713d480c48769a75ba19b3cafb6bee795ef4f7b079f
7
- data.tar.gz: 558a1f7705eec3f3ce0fd56f299a128bb32a498b180b7703da8c929815af10490e4cd87bdf4ed3ae5e4ff5149b35fa4d71822167e46ea720a55dcb778beaaaae
6
+ metadata.gz: 2a57afd381d46af2d4e0c72b64eebc5c3a0b2234258503f12ef3f8c7593b0c243fc04116c5393f6cc79de69f75585aeb61e0f1ad8fedec2696c7d99de54e103e
7
+ data.tar.gz: e7c9ebaae680f6d57ecd6cf2c7f565d71cb965f74fbbe13c46011cbf4521df5c5c688713c7d4fb6ed8b8edb3015449464cefda48cc21df365a14e8bd1f228f2d
@@ -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 = (git_working? && git_status == :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 = (git_status != :error && git_user_configured?)
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
@@ -1,3 +1,3 @@
1
1
  module Nextgen
2
- VERSION = "0.5.0".freeze
2
+ VERSION = "0.6.0".freeze
3
3
  end
@@ -77,6 +77,12 @@ Lint/AmbiguousBlockAssociation:
77
77
  Lint/DuplicateBranch:
78
78
  Enabled: false
79
79
 
80
+ Lint/UselessAccessModifier:
81
+ ContextCreatingMethods:
82
+ - concerning
83
+ MethodCreatingMethods:
84
+ - delegate
85
+
80
86
  Metrics/AbcSize:
81
87
  Enabled: false
82
88
 
@@ -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.5.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-17 00:00:00.000000000 Z
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.21
222
+ rubygems_version: 3.4.22
223
223
  signing_key:
224
224
  specification_version: 4
225
225
  summary: Generate your next Rails app interactively!