goku 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: ab69049573bbbf37b29caa16b75947e718e60631
4
- data.tar.gz: bdee2f69afed4453b394dffc810a1e57d5e1f30a
3
+ metadata.gz: b0b23937c240cf0b6bb118ed5adc36346d3374a1
4
+ data.tar.gz: 7a64ecb8f6f6c9276966856a57b5bad8ecc61032
5
5
  SHA512:
6
- metadata.gz: c78e1c4f644402c5a821d343a7175648beff267d32668865ae68c4c39ea4776de51b5f3f89a41ace1c3f74483776bb6a20669aa91f798f1b223e9211911f0131
7
- data.tar.gz: 3eb2e8b475e07c1f8580cc32815ed966db6622b4172dbcb6f506248bf7952b4a65c3cc85f7dbf853fc1665be528dc064b4afacae97b2983adbd57e00ea4ff33d
6
+ metadata.gz: d980b8b3e399d4a4e30b93f65d90f0ad1004cd3897358326218e6e91a4f0d07f34add3033b5ba49651ebfbf57760fb62f86e6b2a7942c4b8a3944c2fafcd8274
7
+ data.tar.gz: 11a66615da5a61acb035754da848a9f41f2e443cf451b69a96d60c35808e7a96966bf3f7717f5c72f24d17baa320c91a02442a3f15fdcd246903ba04cfa8e169
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "goku"
4
+
5
+ Goku::CLI.start(ARGV)
@@ -1,5 +1,7 @@
1
+ require "thor"
2
+
1
3
  require "goku/version"
2
4
 
3
5
  module Goku
4
- # Your code goes here...
6
+ require_relative "goku/cli"
5
7
  end
@@ -0,0 +1,16 @@
1
+ module Goku
2
+ class CLI < Thor
3
+
4
+ desc "c PATH", "Create a class"
5
+ def c(path)
6
+ puts path
7
+ end
8
+
9
+ desc "m PATH", "Create a module"
10
+ def m(path)
11
+ puts path
12
+ end
13
+
14
+ map "module" => "m"
15
+ end
16
+ end
@@ -1,3 +1,3 @@
1
1
  module Goku
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: goku
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Šarčević
@@ -69,7 +69,8 @@ dependencies:
69
69
  description:
70
70
  email:
71
71
  - igor@renderedtext.com
72
- executables: []
72
+ executables:
73
+ - goku
73
74
  extensions: []
74
75
  extra_rdoc_files: []
75
76
  files:
@@ -82,8 +83,10 @@ files:
82
83
  - Rakefile
83
84
  - bin/console
84
85
  - bin/setup
86
+ - exe/goku
85
87
  - goku.gemspec
86
88
  - lib/goku.rb
89
+ - lib/goku/cli.rb
87
90
  - lib/goku/version.rb
88
91
  homepage: https://github.com/shiroyasha/goku
89
92
  licenses: