next_rails_scaffold 0.1.4 → 0.1.5
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 +4 -4
- data/lib/generators/rails/next_rails/next_rails_generator.rb +2 -2
- data/lib/next_rails/version.rb +1 -1
- data/lib/next_rails.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61a007475e3652a12c1485ca409d7e3d3ac1ebe4e3bc14b77b2bd3846e70da4b
|
4
|
+
data.tar.gz: c440c329a0c6eae1568ad570dcd3bb26f80a8959a7af16d8b9dea666b877e108
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff1383e807e8b2587b2aaa49001d1a362bc57b774122d5e9bf83644da4f7fbaeab2b5e943a4ee51480f9e9e5149f66c25d5676c6612acdf4e3ebe359eee298ef
|
7
|
+
data.tar.gz: b894860a96dec1fdbe8792700749c9fd1a58c741d39ec4ed13a7e898011c8f59c63e618af0d894864a3f53278e1fb2798676906da70440ad578cfb62037e4cdb
|
@@ -1,9 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module Rails
|
4
|
-
include NextRails::Actions
|
5
|
-
|
6
4
|
class NextRailsGenerator < Rails::Generators::NamedBase
|
5
|
+
include ::NextRails::Actions
|
6
|
+
|
7
7
|
source_root File.expand_path("templates", __dir__)
|
8
8
|
|
9
9
|
NODE_REQUIRED_VERSION = ">= 18.17.0"
|
data/lib/next_rails/version.rb
CHANGED
data/lib/next_rails.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require_relative "next_rails/actions"
|
3
4
|
require_relative "next_rails/version"
|
4
5
|
|
5
6
|
module NextRails
|
@@ -7,7 +8,7 @@ module NextRails
|
|
7
8
|
|
8
9
|
@@configured = false
|
9
10
|
|
10
|
-
def self.configured?
|
11
|
+
def self.configured? # :nodoc:
|
11
12
|
@@configured
|
12
13
|
end
|
13
14
|
|