nextgen 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 04eaa622183ac57d5a4e4ec6f7a100f74bdd1449a190324db19714b728e0261d
|
|
4
|
+
data.tar.gz: 8461524c611b9c60501ab7f46bd0b19a79c5e8eb88731dcf1ecfc2bbb9146766
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 93ed354680534ae076e8396a7d196acafaa30a9b85fb61b39fe8fd6cffb4c36a00234506042fdda491842d7c2afbb1dacda68f3785c8a877fc6b1b43cd02f5be
|
|
7
|
+
data.tar.gz: 32d17f15e35d96bdf808a4586233fa944fddff2a6e6e312a58085a1c16be73c9717cae79bd5b9e5c21b3b2c851fe944de5bc184bf0a3f3a3b128ae203fab6e8c
|
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?
|
data/lib/nextgen/version.rb
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.5.
|
|
4
|
+
version: 0.5.1
|
|
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-09 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!
|