hmvc-rails 1.0.2 → 1.0.4
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/Gemfile.lock +1 -1
- data/README.md +16 -2
- data/bin/hmvc +9 -0
- data/hmvc-rails-1.0.2.gem +0 -0
- data/hmvc-rails-1.0.3.gem +0 -0
- data/lib/hmvc/rails/version.rb +1 -1
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73b11af8ee390e829e9341a2bce486029d5308c93335f181bba090c4aef77938
|
4
|
+
data.tar.gz: b235decd6a5cec961b5fae5c718d91af3bad716f0ad2545acde4a0e42084072a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e956f0455cb368080edc29d7cba1099da1b0a75ccd5b895cc3fdc8372cc004a4e4c33196f82576b830a96c450169d1d8ae8a562654f6cbc00b0fe55514de041
|
7
|
+
data.tar.gz: 618dcc83e19aeb72e397b26bf90c54b55acd241b5c12d7a67040256900f3defbfc4c06fd8e628cae1695ebcd0c636207a870ea1a7a16be624707c57d952817cf
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -19,7 +19,7 @@
|
|
19
19
|
Add this line to your application's Gemfile
|
20
20
|
|
21
21
|
```ruby
|
22
|
-
gem 'hmvc-rails', '1.0.
|
22
|
+
gem 'hmvc-rails', '1.0.3', group: :development
|
23
23
|
```
|
24
24
|
|
25
25
|
Then execute
|
@@ -69,10 +69,22 @@ insert app/controllers/application_controller.rb
|
|
69
69
|
rails g hmvc_rails controller_name
|
70
70
|
```
|
71
71
|
|
72
|
+
### Short command
|
73
|
+
|
74
|
+
```
|
75
|
+
hmvc controller_name
|
76
|
+
```
|
77
|
+
|
72
78
|
Example
|
73
79
|
|
74
80
|
```
|
75
81
|
rails g hmvc_rails admin
|
82
|
+
|
83
|
+
---
|
84
|
+
|
85
|
+
OR
|
86
|
+
|
87
|
+
hmvc admin
|
76
88
|
```
|
77
89
|
|
78
90
|
```
|
@@ -94,7 +106,7 @@ create app/views/admin/new.html.erb
|
|
94
106
|
create app/views/admin/edit.html.erb
|
95
107
|
```
|
96
108
|
|
97
|
-
### Options
|
109
|
+
### Options (You can also use short command too)
|
98
110
|
|
99
111
|
##### 1. If you want to create with action other than default. You can use option `--action`
|
100
112
|
|
@@ -176,6 +188,8 @@ If you want to rollback the hmvc-rails generator. You can run command
|
|
176
188
|
rails d hmvc_rails controller_name
|
177
189
|
```
|
178
190
|
|
191
|
+
- - -
|
192
|
+
|
179
193
|
## Test and debug gem on development environment
|
180
194
|
|
181
195
|
- Add gem and run `bundle` (link to gem hmvc-rails project)
|
data/bin/hmvc
ADDED
Binary file
|
Binary file
|
data/lib/hmvc/rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,19 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hmvc-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- thucpt
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: hmvc-rails is a high-level model for the Rails MVC architecture
|
14
14
|
email:
|
15
15
|
- thuc.phan@tomosia.com
|
16
|
-
executables:
|
16
|
+
executables:
|
17
|
+
- hmvc
|
17
18
|
extensions: []
|
18
19
|
extra_rdoc_files: []
|
19
20
|
files:
|
@@ -25,8 +26,11 @@ files:
|
|
25
26
|
- LICENSE.txt
|
26
27
|
- README.md
|
27
28
|
- Rakefile
|
29
|
+
- bin/hmvc
|
28
30
|
- hmvc-rails-1.0.0.gem
|
29
31
|
- hmvc-rails-1.0.1.gem
|
32
|
+
- hmvc-rails-1.0.2.gem
|
33
|
+
- hmvc-rails-1.0.3.gem
|
30
34
|
- lib/generators/hmvc_rails/hmvc_rails_generator.rb
|
31
35
|
- lib/generators/hmvc_rails/install_generator.rb
|
32
36
|
- lib/generators/hmvc_rails/templates/configures/hmvc_rails.rb.tt
|