jetski 0.3.5 → 0.3.6

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: d1746870a727a12ac5a50fcda0a087b09c38c001792c231228171b51daa2157e
4
- data.tar.gz: 39d1679fde3e431e227e83fd18599c36e81bf6bc4f4bfd8a8c271c54a5f2dc99
3
+ metadata.gz: ce5f1070f7bbe93cbf9f3ef5a097c0f1c303b4351afec67599af2af02cfd5ab3
4
+ data.tar.gz: c9c224fdd2c4a26d63a7d9acb8fa4b748289dafef9807a3599fb2acf24267488
5
5
  SHA512:
6
- metadata.gz: f5af7934d40d93fcf134268a9ae8a1f8cb868e36f198785c535e133561896684eafb4c8164899fb6fae6a50ddeb4eab60d1623f50da4a82a767b094bb274f020
7
- data.tar.gz: 6795ff302861de5b124a085060dab9aef87c8fc68debba5d7cf27ae20558d033a9a6a6296d9e39263e48c796e347483e9a254834be86ac9e694ca6705fee3c45
6
+ metadata.gz: c0f3d084fd9585089155e4f6226bad830a3b3addb9a1cbb0e1a7ea33e85411c72f789431ca8739cb0f65e3d5031546f74680337020f2380e0d5b7c8cb8d10699
7
+ data.tar.gz: 47a9a950d449f8ab4255444dc67c7fe7d93c7d87a91445526832f0a956fa5604e9f921d9de599e0545f3e8cfea94d8ed03894fda0cc1ac64f8cfa73dc575a4ee
@@ -2,14 +2,12 @@ require 'thor'
2
2
  module JetskiCLIHelpers
3
3
  class Destroy < Thor
4
4
  include Thor::Actions
5
- desc "controller NAME ACTION_NAMES", "Destroys a controller with matching actions"
5
+ desc "controller NAME ACTION_NAMES", "Destroys a controller"
6
6
  def controller(name, *actions)
7
7
  controller_file_path = "app/controllers/#{name}_controller.rb"
8
8
  remove_file(controller_file_path)
9
- actions.each do |action_name|
10
- view_folder = "app/views/#{name}"
11
- remove_dir(view_folder)
12
- end
9
+ view_folder = "app/views/#{name}"
10
+ remove_dir(view_folder)
13
11
  end
14
12
  end
15
13
  end
@@ -1,3 +1,3 @@
1
1
  module Jetski
2
- VERSION = "0.3.5"
2
+ VERSION = "0.3.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jetski
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Indigo Tech Tutorials