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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZGNjOGUwZmNiMjBlMGMzNTBhOTg0ZGM5MmMyYmMyNTc3NDgwM2ViZQ==
4
+ MTI1OWI3MmZjNDY3YTYyYWM5ZjNlOTY1MzljYzQ4MzdjNjc3OGYyNg==
5
5
  data.tar.gz: !binary |-
6
- OTRkMmMzNDYzMGVlODgyMGQ5ZTg3N2RjODY0MGY0NGM4YTQzNDJhNg==
6
+ ODY3NmVmMDU0OTI1NjI4OGYxMDI0NDkzZTMwMTcyY2IyNmMwMGFiMg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZGEwYWZhMDJmZDFmM2FjMjVjZmZjMjY5ZDJjZWU4NDBjOWViZDJiYjdlMzAz
10
- YzE2ZTM3MjEzZjZmMjdmY2FlMjBiMjA4ZmEwNmRjZjg2OWMwOWJiNDJiZTI2
11
- NmY3YjY2OTE5ZjZlNGFlZTRlMzIyNDVkZmM1YmIzN2Q2MDZmNTY=
9
+ NjM5YjNkNWM2MTllMGRmNDdlZmViOTA4ZWQzNTk4NjQzMTQxZWMzYWU4N2Ux
10
+ OGFhYzIzN2RkMzgxNjc4MzY3MThjOWJhZTgwMDg0MGZmYjVjMTVhM2U5MzFj
11
+ NmRjM2IxM2NmMTJkNTQ3MzkzOTkxMTMwOGRkYTA1YjJlZjQ0NjE=
12
12
  data.tar.gz: !binary |-
13
- YmE5ZWJiMzNmN2FhMWM1MjA5ZTBjYjA3OWE4NmYyMjIxOWUyYTE1YmYxNTA3
14
- YjQ0Y2E0OTVmMjhmNWY0OTNjNDA4ZDBkYjdjOTU5NmNhOTRlYTFjMzc1ODFm
15
- MTk2NDc2YjIxMGM3YWRiOTdjMzc3OTViZDM2MzQ0NWI0MjU3OTg=
13
+ MmRiZjg2ZjQxNTU0ZWE0OTBjNGM4YmU4NDYwYjEzYWQ1OWMyYTdhN2ZhMjIw
14
+ YTBkZDAwZWY3NmU2ZDg2ZTNhZDIyNjEzMDQ3YjgyYTMxY2M5YzI5NTU5ZjI5
15
+ MzBiYjJlNzc0MDI5OGVhMGJmNDE4OGFhMDdlZmRkMTNmMTIwZmQ=
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- minke-generator-netmvc (0.15.0)
4
+ minke-generator-netmvc (0.17.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
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
- ## Available variables for template (erb style)
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
- ## Testing your template
13
- ```
14
- $ bundle
15
- ```
16
-
17
- Test your generator by running ...
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 as:
29
+ Or install it yourself:
30
+
31
+ ```
32
+ $ gem install minke
33
+ $ gem install minke-generator-netmvc
35
34
 
36
- $ gem install minke-generator-netmvc
35
+ ```
37
36
 
38
37
  ## Usage
39
38
 
40
- TODO: Write usage instructions here
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/[USERNAME]/minke-generator-template. 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.
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
@@ -1,7 +1,7 @@
1
1
  module Minke
2
2
  module Generators
3
3
  module NetMVC
4
- VERSION = "0.16.0"
4
+ VERSION = "0.17.0"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minke-generator-netmvc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nic Jackson