minke-generator-netmvc 0.16.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Gemfile.lock +1 -1
- data/README.md +40 -18
- data/lib/generators/netmvc/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MTI1OWI3MmZjNDY3YTYyYWM5ZjNlOTY1MzljYzQ4MzdjNjc3OGYyNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ODY3NmVmMDU0OTI1NjI4OGYxMDI0NDkzZTMwMTcyY2IyNmMwMGFiMg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NjM5YjNkNWM2MTllMGRmNDdlZmViOTA4ZWQzNTk4NjQzMTQxZWMzYWU4N2Ux
|
10
|
+
OGFhYzIzN2RkMzgxNjc4MzY3MThjOWJhZTgwMDg0MGZmYjVjMTVhM2U5MzFj
|
11
|
+
NmRjM2IxM2NmMTJkNTQ3MzkzOTkxMTMwOGRkYTA1YjJlZjQ0NjE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MmRiZjg2ZjQxNTU0ZWE0OTBjNGM4YmU4NDYwYjEzYWQ1OWMyYTdhN2ZhMjIw
|
14
|
+
YTBkZDAwZWY3NmU2ZDg2ZTNhZDIyNjEzMDQ3YjgyYTMxY2M5YzI5NTU5ZjI5
|
15
|
+
MzBiYjJlNzc0MDI5OGVhMGJmNDE4OGFhMDdlZmRkMTNmMTIwZmQ=
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -2,28 +2,23 @@
|
|
2
2
|
|
3
3
|
[![Build Status](https://travis-ci.org/nicholasjackson/minke-generator-netmvc.svg?branch=master)](https://travis-ci.org/nicholasjackson/minke-generator-netmvc)
|
4
4
|
|
5
|
-
This generator creates a REST API Microservice in .NET Core MVC.
|
5
|
+
This generator creates a REST API Microservice in .NET Core MVC for the Minke build and test system.
|
6
6
|
|
7
|
-
|
8
|
-
- <%= application_name %>: The name of the application executable
|
9
|
-
- <%= namespace %>: Namespace of the application
|
10
|
-
- <%= src_root %>: Source root of the application
|
7
|
+
For information on Minke please see the documentation [http://nicholasjackson.github.io/minke/](http://nicholasjackson.github.io/minke/).
|
11
8
|
|
12
|
-
##
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
```
|
19
|
-
$ bundle exec minke -g minke-generator-netmvc -o ../temp -a tester -n mynamespace
|
20
|
-
```
|
9
|
+
## Available variables for templates (erb style)
|
10
|
+
| Variable | Description |
|
11
|
+
| ----------------------- | |
|
12
|
+
| <%= application_name %> | The name of the application executable |
|
13
|
+
| <%= namespace %> | Namespace of the application |
|
14
|
+
| <%= src_root %> | Source root of the application |
|
21
15
|
|
22
16
|
## Installation
|
23
17
|
|
24
18
|
Add this line to your application's Gemfile:
|
25
19
|
|
26
20
|
```ruby
|
21
|
+
gem 'minke'
|
27
22
|
gem 'minke-generator-netmvc'
|
28
23
|
```
|
29
24
|
|
@@ -31,13 +26,40 @@ And then execute:
|
|
31
26
|
|
32
27
|
$ bundle
|
33
28
|
|
34
|
-
Or install it yourself
|
29
|
+
Or install it yourself:
|
30
|
+
|
31
|
+
```
|
32
|
+
$ gem install minke
|
33
|
+
$ gem install minke-generator-netmvc
|
35
34
|
|
36
|
-
|
35
|
+
```
|
37
36
|
|
38
37
|
## Usage
|
39
38
|
|
40
|
-
|
39
|
+
To scaffold a new service run:
|
40
|
+
|
41
|
+
```bash
|
42
|
+
$ minke -g minke-generator-netmvc -o ~/nicholasjackson/helloworld
|
43
|
+
-a helloworld -n HelloWorld
|
44
|
+
```
|
45
|
+
|
46
|
+
You can now open the project in [VisualStudio Code](http://code.visualstudio.com) and run your first build.
|
47
|
+
|
48
|
+
## Build and test with Docker
|
49
|
+
To run a build with a Docker container, to execute the functional and unit tests you can use the following commands. Please see the main Minke documentation for more information [http://nicholasjackson.github.io/minke/](http://nicholasjackson.github.io/minke/).
|
50
|
+
|
51
|
+
### Build Application Code and Execute Unit tests
|
52
|
+
```bash
|
53
|
+
$ cd _build
|
54
|
+
$ bundle
|
55
|
+
$ rake app:test
|
56
|
+
```
|
57
|
+
|
58
|
+
### Build a Docker image and execute functional tests with Cucumber
|
59
|
+
```bash
|
60
|
+
$ rake app:build_image
|
61
|
+
$ rake app:cucumber
|
62
|
+
```
|
41
63
|
|
42
64
|
## Development
|
43
65
|
|
@@ -47,7 +69,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
47
69
|
|
48
70
|
## Contributing
|
49
71
|
|
50
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
72
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/nicholasjackson/minke-generator-netmvc. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
51
73
|
|
52
74
|
|
53
75
|
## License
|