next_rails_scaffold 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/next_rails_scaffold/version.rb +1 -1
- data/next_rails_scaffold.gemspec +54 -0
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fa01226b8ae55edf1afdfa612bb33be6c3ca3fd365d3145f0ade400c38815bc
|
4
|
+
data.tar.gz: f6a1ef84615be0614c7fe46d0887e8738594e74dd276020fe9e986f8a6829a9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a073f61fd5f8b9bcdd1a3a647535baf78c6df21b5f874dbc4abfa5bc8aa6ae964bbab75ff0e9b0457c919097cb374d0edfa192253852cdbda16b4eb3f788bedb
|
7
|
+
data.tar.gz: e79bfb0ed0b26ddead3112ac261e5b0919e4b6cda7f84724f9abab9a6d562728a7bf3f8c3cb55ba0fa2e7d9bf847f62042e209a75c9344535476d81b2b7c73bc
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "lib/next_rails_scaffold/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "next_rails_scaffold"
|
7
|
+
spec.version = NextRailsScaffold::VERSION
|
8
|
+
spec.authors = ["Raphael Araújo"]
|
9
|
+
spec.email = ["raphox.araujo@gmail.com"]
|
10
|
+
|
11
|
+
spec.summary = <<~HEREDOC
|
12
|
+
The `next_rails_scaffold` gem enhances the default Ruby on Rails scaffold generator by seamlessly integrating with Next.js, a React framework. This gem automates the process of scaffolding a Rails application along with a corresponding frontend directory containing a Next.js application. The generated Next.js app includes all necessary pages and components, leveraging the power of page routing for a smooth and organized development experience.
|
13
|
+
HEREDOC
|
14
|
+
spec.description = <<~HEREDOC
|
15
|
+
The `next_rails_scaffold` gem is a powerful extension to the standard Ruby on Rails scaffold generator. It streamlines the development workflow by not only creating the backend structure with Rails but also automating the setup of a frontend directory using Next.js. Upon running the scaffold generator, this gem intelligently generates a Next.js application within the specified frontend directory.
|
16
|
+
|
17
|
+
The generated Next.js app follows best practices, including a structured page routing system, ensuring that each resource created by the scaffold has its corresponding page and components. This integration enables developers to seamlessly transition between Rails backend and Next.js frontend development, fostering a cohesive and efficient development environment.
|
18
|
+
|
19
|
+
Key Features:
|
20
|
+
|
21
|
+
- **Automatic Frontend Setup:** The gem automates the creation of a frontend directory within the Rails project, ready for Next.js development.
|
22
|
+
- **Page Routing Integration:** All scaffolded resources come with their own pages and components, organized using Next.js' page routing system.
|
23
|
+
- **Effortless Transition:** Developers can seamlessly switch between Rails backend and Next.js frontend development within the same project.
|
24
|
+
- **Boosted Productivity:** Accelerate development by eliminating the manual setup of frontend components and pages, allowing developers to focus on building features.
|
25
|
+
|
26
|
+
Integrate `next_rails_scaffold` into your Ruby on Rails projects to enjoy a streamlined, organized, and efficient full-stack development experience.
|
27
|
+
HEREDOC
|
28
|
+
spec.homepage = "https://github.com/raphox/next-rails#readme"
|
29
|
+
spec.license = "MIT"
|
30
|
+
spec.required_ruby_version = ">= 2.6.0"
|
31
|
+
|
32
|
+
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
33
|
+
|
34
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
35
|
+
spec.metadata["source_code_uri"] = "https://github.com/raphox/next-rails"
|
36
|
+
spec.metadata["changelog_uri"] = "https://github.com/raphox/next-rails/blob/main/CHANGELOG.md"
|
37
|
+
|
38
|
+
# Specify which files should be added to the gem when it is released.
|
39
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
40
|
+
spec.files = Dir.chdir(__dir__) do
|
41
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
42
|
+
(File.expand_path(f) == __FILE__) ||
|
43
|
+
f.start_with?(*%w[bin/ test/ spec/ features/ .git .github appveyor Gemfile])
|
44
|
+
end
|
45
|
+
end
|
46
|
+
spec.bindir = "exe"
|
47
|
+
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
48
|
+
spec.require_paths = ["lib"]
|
49
|
+
|
50
|
+
spec.add_dependency "rails", ">= 7.1.2"
|
51
|
+
|
52
|
+
# For more information and examples about making a new gem, check out our
|
53
|
+
# guide at: https://bundler.io/guides/creating_gem.html
|
54
|
+
end
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: next_rails_scaffold
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Raphael Araújo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 7.1.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 7.1.2
|
27
27
|
description: |
|
@@ -60,6 +60,7 @@ files:
|
|
60
60
|
- lib/next_rails_scaffold/actions.rb
|
61
61
|
- lib/next_rails_scaffold/engine.rb
|
62
62
|
- lib/next_rails_scaffold/version.rb
|
63
|
+
- next_rails_scaffold.gemspec
|
63
64
|
- sig/next_rails_scaffold.rbs
|
64
65
|
homepage: https://github.com/raphox/next-rails#readme
|
65
66
|
licenses:
|
@@ -84,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
85
|
- !ruby/object:Gem::Version
|
85
86
|
version: '0'
|
86
87
|
requirements: []
|
87
|
-
rubygems_version: 3.
|
88
|
+
rubygems_version: 3.5.11
|
88
89
|
signing_key:
|
89
90
|
specification_version: 4
|
90
91
|
summary: The `next_rails_scaffold` gem enhances the default Ruby on Rails scaffold
|