vtk 0.2.0 → 0.2.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b7583033a5831dfb0161f71d5ab8721382be7412148ab1d9c226586b14f79105
4
- data.tar.gz: 3fabac91fa94bbedd1b33234ec76b2f21d9caaa5b7ec1d8f735d0395f7b28870
3
+ metadata.gz: 3f48fbc584ea1073a17f9ee87941be77a1be9ef3e740701c7a1e976c6e05dffb
4
+ data.tar.gz: 943f4901cbaa9fa74f27d557d77ce1095911c6a4e4141f8fcf51dc874fdb0d7e
5
5
  SHA512:
6
- metadata.gz: 0f4d8d91956e7e0bfd3bbe01cfee7cd83ffedfd1b163b708f633c5346c27ff4ed41c9674f22c39e17b9b2a14e808443987e99f184c02d3de5a749a033f97c674
7
- data.tar.gz: 0d04131d2c1de00edfd0a09196d7ef15f38651837870b2e1b24bf070deb84144f9845bcd344b34494aac686ba3088e8dd40be6e61fd3dc1f4304a0160274188d
6
+ metadata.gz: 5646083829c1b3b331e7865a8187ef1c2c4e8c4cd9bec1adcfb7d0162c148ccdf944052ed9243dd3a4e89fafd0d99b78b3be1c799d33986ed11bde1116043a9e
7
+ data.tar.gz: e03a30f93b6de28f229d4b9d1bf4118eeed51be430e717771e721856205ff35e4a049ca71369fb1390c6213693ffc00ed4d5cc338af4c6d2289d329d2c6de488
data/CHANGELOG.md CHANGED
@@ -1,35 +1,40 @@
1
- commit 27fe3ef674a283686b7cff164386ec9d913208ef (HEAD -> start-afresh-with-tty, origin/start-afresh-with-tty)
2
- Author: Lindsey Hattamer <lindsey.hattamer@oddball.io>
3
- Date: Mon Jan 4 11:13:11 2021 -0500
1
+ # Changelog
4
2
 
5
- add docs
3
+ ## [Unreleased](https://github.com/department-of-veterans-affairs/vtk/tree/HEAD)
6
4
 
7
- commit 3a7d97c35ca9f084a0f27d1a2ff522dd8e9b2abc
8
- Author: Eric Boehs <eric@boehs.com>
9
- Date: Mon Jan 4 10:11:38 2021 -0600
5
+ [Full Changelog](https://github.com/department-of-veterans-affairs/vtk/compare/v0.2.5...HEAD)
10
6
 
11
- Looks like rake runs rubocop already
7
+ ## [v0.2.5](https://github.com/department-of-veterans-affairs/vtk/tree/v0.2.5) (2021-02-03)
12
8
 
13
- commit 9f7df0e213edaa57420a1bd14501aea6fc4ffd5a
14
- Author: Eric Boehs <eric@boehs.com>
15
- Date: Mon Jan 4 10:10:33 2021 -0600
9
+ [Full Changelog](https://github.com/department-of-veterans-affairs/vtk/compare/v0.2.4...v0.2.5)
16
10
 
17
- GH Actions: Pin Ubuntu to 20.04 (avoids warning)
11
+ **Merged pull requests:**
18
12
 
19
- commit 3343941e76b506ed00d3fbd1a7ecd163873597fc
20
- Author: Eric Boehs <eric@boehs.com>
21
- Date: Mon Jan 4 10:06:42 2021 -0600
13
+ - Update changelog docs and raketask [\#13](https://github.com/department-of-veterans-affairs/vtk/pull/13) ([LindseySaari](https://github.com/LindseySaari))
14
+ - add gem [\#12](https://github.com/department-of-veterans-affairs/vtk/pull/12) ([LindseySaari](https://github.com/LindseySaari))
22
15
 
23
- Add tool-versions and rubocop to GitHub Actions
16
+ ## [v0.2.4](https://github.com/department-of-veterans-affairs/vtk/tree/v0.2.4) (2021-01-26)
24
17
 
25
- commit 99560d5ad44c9889bdd4884104c993aa86749a40
26
- Author: Lindsey Hattamer <lindsey.hattamer@oddball.io>
27
- Date: Mon Jan 4 11:03:58 2021 -0500
18
+ [Full Changelog](https://github.com/department-of-veterans-affairs/vtk/compare/oclif...v0.2.4)
28
19
 
29
- Remove adding to gemfile
20
+ **Merged pull requests:**
30
21
 
31
- commit b6394523b7eafbde3276a9f990dd7e4179e124e4
32
- Author: Lindsey Hattamer <lindsey.hattamer@oddball.io>
33
- Date: Mon Jan 4 11:02:55 2021 -0500
22
+ - added Docker instructions to the README [\#10](https://github.com/department-of-veterans-affairs/vtk/pull/10) ([thilton-oddball](https://github.com/thilton-oddball))
23
+ - use system command [\#7](https://github.com/department-of-veterans-affairs/vtk/pull/7) ([LindseySaari](https://github.com/LindseySaari))
24
+ - Add additional module subcommands [\#6](https://github.com/department-of-veterans-affairs/vtk/pull/6) ([LindseySaari](https://github.com/LindseySaari))
25
+ - Check for Rails dependency [\#5](https://github.com/department-of-veterans-affairs/vtk/pull/5) ([LindseySaari](https://github.com/LindseySaari))
26
+ - one more crack at fixing the README [\#4](https://github.com/department-of-veterans-affairs/vtk/pull/4) ([thilton-oddball](https://github.com/thilton-oddball))
27
+ - fixing markdown in README … [\#3](https://github.com/department-of-veterans-affairs/vtk/pull/3) ([thilton-oddball](https://github.com/thilton-oddball))
28
+ - Start afresh with tty [\#2](https://github.com/department-of-veterans-affairs/vtk/pull/2) ([LindseySaari](https://github.com/LindseySaari))
34
29
 
35
- Update .github/workflows/main.yml
30
+ ## [oclif](https://github.com/department-of-veterans-affairs/vtk/tree/oclif) (2020-08-10)
31
+
32
+ [Full Changelog](https://github.com/department-of-veterans-affairs/vtk/compare/79143038509757799edb2bb9be2f925b7d985221...oclif)
33
+
34
+ **Merged pull requests:**
35
+
36
+ - Open Jenkins [\#1](https://github.com/department-of-veterans-affairs/vtk/pull/1) ([cvalarida](https://github.com/cvalarida))
37
+
38
+
39
+
40
+ \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
data/README.md CHANGED
@@ -32,3 +32,25 @@ This above command runs a custom rails generator. For more information see the [
32
32
  For helpful information about commands and subcommands run the following:
33
33
 
34
34
  $ vtk -h
35
+ $ vtk module -h
36
+
37
+ ### Docker
38
+
39
+ If using the vtk gem in Docker, you may first need to run the following commands to avoid any errors:
40
+
41
+ $ make docker-clean
42
+ $ make build
43
+ $ make bash
44
+
45
+ ### Contributing
46
+ 1. Clone the repo
47
+ 2. Create your feature branch (git checkout -b my-new-feature)
48
+ 3. Run the tests (bundle exec rake)
49
+ 4. Commit your changes
50
+ 5. Push to the branch (git push origin my-new-feature)
51
+ 6. Create new Pull Request
52
+
53
+ ### Releasing
54
+ 1. Update the version to be whatever it should be and commit
55
+ 2. Update the changelog — (github_changelog_generator -u department-of-veterans-affairs -p vtk)
56
+ 3. bundle exec rake release
data/Rakefile CHANGED
@@ -10,3 +10,12 @@ require 'rubocop/rake_task'
10
10
  RuboCop::RakeTask.new
11
11
 
12
12
  task default: %i[spec rubocop]
13
+
14
+ desc 'Tags version, pushes to remote, and pushes gem'
15
+ task :release do
16
+ sh 'git', 'tag', "v#{Vtk::VERSION}"
17
+ sh 'git push origin master'
18
+ sh "git push origin v#{Vtk::VERSION}"
19
+ sh 'rake build'
20
+ sh 'ls pkg/*.gem | xargs -n 1 gem push'
21
+ end
@@ -23,7 +23,7 @@ module Vtk
23
23
  private
24
24
 
25
25
  def create_controller(name)
26
- `rails g module_component #{name} controller`
26
+ system("rails g module_component #{name} controller")
27
27
  end
28
28
  end
29
29
  end
@@ -22,8 +22,8 @@ module Vtk
22
22
 
23
23
  private
24
24
 
25
- def create_controller(name)
26
- `rails g module_component #{name} model`
25
+ def create_model(name)
26
+ system("rails g module_component #{name} model")
27
27
  end
28
28
  end
29
29
  end
@@ -22,8 +22,8 @@ module Vtk
22
22
 
23
23
  private
24
24
 
25
- def create_controller(name)
26
- `rails g module_component #{name} serializer`
25
+ def create_serializer(name)
26
+ system("rails g module_component #{name} serializer")
27
27
  end
28
28
  end
29
29
  end
@@ -22,8 +22,8 @@ module Vtk
22
22
 
23
23
  private
24
24
 
25
- def create_controller(name)
26
- `rails g module_component #{name} service`
25
+ def create_service(name)
26
+ system("rails g module_component #{name} service")
27
27
  end
28
28
  end
29
29
  end
data/lib/vtk/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Vtk
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.5'
5
5
  end
data/vtk.gemspec CHANGED
@@ -29,6 +29,7 @@ Gem::Specification.new do |spec|
29
29
 
30
30
  spec.add_dependency 'thor', '> 0.20.3'
31
31
 
32
+ spec.add_development_dependency 'github_changelog_generator', '~> 1.15.0'
32
33
  spec.add_development_dependency 'rake', '~> 13.0.0'
33
34
  spec.add_development_dependency 'rspec', '~> 3.10.0'
34
35
  spec.add_development_dependency 'rubocop', '~> 1.6.0'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vtk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Boehs
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2021-01-19 00:00:00.000000000 Z
13
+ date: 2021-02-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: thor
@@ -26,6 +26,20 @@ dependencies:
26
26
  - - ">"
27
27
  - !ruby/object:Gem::Version
28
28
  version: 0.20.3
29
+ - !ruby/object:Gem::Dependency
30
+ name: github_changelog_generator
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - "~>"
34
+ - !ruby/object:Gem::Version
35
+ version: 1.15.0
36
+ type: :development
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: 1.15.0
29
43
  - !ruby/object:Gem::Dependency
30
44
  name: rake
31
45
  requirement: !ruby/object:Gem::Requirement