mega_scaffold 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -0
- data/lib/mega_scaffold/controller.rb +1 -1
- data/lib/mega_scaffold/version.rb +1 -1
- metadata +3 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d2b65caac8d3321654d861a4dd25a6d7db825a167308625ee29e0e188bdad06
|
4
|
+
data.tar.gz: 93a8db7e87b5cec416ed01ca232836fb41da30dab1d3ed7112a8f4158514fa2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d3fead1f8d5256321353185e27d23230b523c5988a4ef457d8808b8607b1b534cfe37a884a3dce91e06c2fd2d084333cf7104cf50dcfbec8a302abb64a243a5
|
7
|
+
data.tar.gz: f9f2e289515b55c6984b73915ca56900d9b20e111a8f79b0821575bc2ed7866d15ec03541d89313009f04999f794ef6b3fc2bb6213b468180b8f53064c60dab5
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# mega_scaffold
|
2
2
|
|
3
|
+
[![RailsJazz](https://github.com/igorkasyanchuk/rails_time_travel/blob/main/docs/my_other.svg?raw=true)](https://www.railsjazz.com)
|
4
|
+
|
3
5
|
This is the FASTEST way how to add CRUD functionality for your models. Literally by just adding ONE LINE of code in `routes.rb`.
|
4
6
|
|
5
7
|
With additional customization options it allows you to build quickly admin panels or simple controllers to output data.
|
@@ -29,6 +31,11 @@ It works with existing models so all your validations, associations, etc will wo
|
|
29
31
|
- specify which fields where to show
|
30
32
|
- provide additional options for form fields
|
31
33
|
|
34
|
+
How CRUD looks - simple but created in 2 minutes:
|
35
|
+
|
36
|
+
![rails scaffold generator](docs/index.png)
|
37
|
+
![rails scaffold generator](docs/edit.png)
|
38
|
+
|
32
39
|
If you need examples of customization (see `test/dummy` as an example):
|
33
40
|
|
34
41
|
```ruby
|
@@ -137,6 +144,7 @@ Rails.application.routes.draw do
|
|
137
144
|
- work with I18n to translate labels?
|
138
145
|
- how to customize views
|
139
146
|
- view customization per controller
|
147
|
+
- refactor how controller is generated on the fly (combine into one file)
|
140
148
|
|
141
149
|
## Contributing
|
142
150
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mega_scaffold
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igor Kasyanchuk
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-05-
|
12
|
+
date: 2022-05-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -67,20 +67,6 @@ dependencies:
|
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
|
-
- !ruby/object:Gem::Dependency
|
71
|
-
name: country_select
|
72
|
-
requirement: !ruby/object:Gem::Requirement
|
73
|
-
requirements:
|
74
|
-
- - ">="
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: '0'
|
77
|
-
type: :development
|
78
|
-
prerelease: false
|
79
|
-
version_requirements: !ruby/object:Gem::Requirement
|
80
|
-
requirements:
|
81
|
-
- - ">="
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: '0'
|
84
70
|
- !ruby/object:Gem::Dependency
|
85
71
|
name: sassc
|
86
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -242,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
242
228
|
- !ruby/object:Gem::Version
|
243
229
|
version: '0'
|
244
230
|
requirements: []
|
245
|
-
rubygems_version: 3.
|
231
|
+
rubygems_version: 3.3.7
|
246
232
|
signing_key:
|
247
233
|
specification_version: 4
|
248
234
|
summary: Fastest way to add CRUD functionality to your models.
|