railspp 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d78f4f79e9cebca7a6efa9fceb5e6bf351f0fe1a413555c7c0e9491dd20752c
|
4
|
+
data.tar.gz: 5b8bc8143b6e9bc763b1b36bff090cadf0b6292402ccd5f21d337112974d092a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40e571d288931b1fdbe38765f1cbb18928216317411373221cac21f1ab7cf222e02800f267b7ddabc9a9a806f7ca5b178a3736844454ec553d5f77a0f492b44e
|
7
|
+
data.tar.gz: aca159dae4594a719ce25c6861a4095a8c67286c02e6ccb9311b3b87cc9e66b5297cace6bfbaa5f6e3e041b76616049354be3c35bdcb98a7467ef3ef232e7104
|
data/README.md
CHANGED
@@ -3,9 +3,11 @@
|
|
3
3
|
Autogenerate your CRUD operations with Swagger like API documentation without extra configuration
|
4
4
|
and generate mini test unit tests.
|
5
5
|
|
6
|
+
Automatic API Documentation is not supported in Rails version 6
|
7
|
+
|
6
8
|
## Requirements
|
7
9
|
|
8
|
-
- Rails version
|
10
|
+
- Rails version >= 5
|
9
11
|
- Ruby version >= 2.5
|
10
12
|
|
11
13
|
## Installation
|
@@ -32,7 +34,33 @@ railspp update_version
|
|
32
34
|
|
33
35
|
Your command CLI command bin path is `railspp`
|
34
36
|
|
35
|
-
|
37
|
+
```plain-text
|
38
|
+
______ _ __
|
39
|
+
| ___ \ (_) | _ _
|
40
|
+
| |_/ /__ _ _| |___ _| |_ _| |_
|
41
|
+
| // _` | | / __|_ _|_ _|
|
42
|
+
| |\ \ (_| | | \__ \ |_| |_|
|
43
|
+
\_| \_\__,_|_|_|___/
|
44
|
+
|
45
|
+
Rails Plus Plus Version: 0.3.6
|
46
|
+
|
47
|
+
Rails Plus Plus: Command Line Interface to make your life easier.
|
48
|
+
=> The Rails Plus Plus command is 'railspp'. To blast this project into the fifth dimension.
|
49
|
+
=> Use '--help' on any of the commands listed below for more details.
|
50
|
+
|
51
|
+
List of commands:
|
52
|
+
- i => Initialize your project
|
53
|
+
- init => Initialize your project
|
54
|
+
- initialize => Initialize your project
|
55
|
+
- m => Generate your CRUD model, controller, and migration
|
56
|
+
- model => Generate your CRUD model, controller, and migration
|
57
|
+
- mt => Generate a unit test in minitest
|
58
|
+
- make_test => Generate a unit test in minitest
|
59
|
+
- ad => Initialize your api documentation
|
60
|
+
- api_docs => Initialize your api documentation
|
61
|
+
- uv => Update your version of Rails Plus Plus in your code base
|
62
|
+
- update_version => Update your version of Rails Plus Plus in your code base
|
63
|
+
```
|
36
64
|
|
37
65
|
## Getting Started
|
38
66
|
|
@@ -42,11 +42,11 @@ class DocumentationController < ApplicationController
|
|
42
42
|
end
|
43
43
|
|
44
44
|
def camelize_route route
|
45
|
-
|
45
|
+
ApiDocumentationService.camelize_route(route)
|
46
46
|
end
|
47
47
|
|
48
48
|
def get_api_routes
|
49
|
-
|
49
|
+
ApiDocumentationService.get_api_routes
|
50
50
|
end
|
51
51
|
|
52
52
|
end
|
data/lib/utils/strings.rb
CHANGED