furichan 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6406073a7076eed01785bfb4ac7a2275c2d8ddec
4
- data.tar.gz: 062a66452573b21c185525cd84e0230080caed6b
3
+ metadata.gz: bb9bd4672a1070aa7934db422a6dc81ce6e015cc
4
+ data.tar.gz: ff5553323465db72514a8fa2ca1323ed5a1f5218
5
5
  SHA512:
6
- metadata.gz: 93641d53f6a93e04d09fbbd9788032b6db2af5fb069636e158802f8e90af6b87947a541956c90b74232a79e7d899086019f3fec003e48a40bee0b05305a25c44
7
- data.tar.gz: e815297912f0dd2f64ccadb24b7f6674fc2c26c7e1c4bc5cdf757711298c9cf35b95cbab6a93e81c000a82f365585e00333b9b7f3d73f954a36bac9fc4eaf350
6
+ metadata.gz: 42cf586d98a08f97969f097543a5121b00376f7ba2b8152f26816a2adb91d0922ce1e42252d569c51988003f485af915c43dee7bfa11511a6a150dcc871f5a4f
7
+ data.tar.gz: 19c2ca1506c0b9adb4267b022b43734bd88345203d38105b58a01bbba94170fc2d46d264dc5709e21fd5ae26f3a09028120e19b186ee5381e239dcb7a3071be6
data/lib/furichan/cli.rb CHANGED
@@ -3,13 +3,14 @@
3
3
  require 'thor'
4
4
  require 'date'
5
5
  require 'active_support/time'
6
+ require 'furik/cli'
6
7
 
7
8
  module Furichan
8
9
  class CLI < Thor
9
- default_command ':furi-chan'
10
+ default_command :furichan
10
11
 
11
- desc 'furi-chan', 'Do the all of week task'
12
- def furi_chan
12
+ desc 'furichan', 'Do the all of week task'
13
+ def furichan
13
14
  invoke :init
14
15
  invoke :furik
15
16
  end
@@ -17,9 +18,9 @@ module Furichan
17
18
  desc 'init', 'initialize of week setting'
18
19
  def init
19
20
  wmonth = Time.now().strftime('%Y-%m-') + week_of_month
20
- sh "git checkout -b #{wmonth}"
21
- sh "mkdir -p #{wmonth}"
22
- sh "cp template.md #{wmonth}/README.md"
21
+ `git checkout -b #{wmonth}`
22
+ `mkdir -p #{wmonth}`
23
+ `cp template.md #{wmonth}/README.md`
23
24
  end
24
25
 
25
26
  desc 'furik', 'this week"s furik'
@@ -1,3 +1,3 @@
1
1
  module Furichan
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: furichan
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
  - asuforce