umu 0.1.5 → 0.1.6

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
  SHA256:
3
- metadata.gz: c30b8e9f827c1dce45f825a8827044ebab3bed6c37280f86bb2600fcccfc200f
4
- data.tar.gz: bd4df35fdd800e87790918d08b82bb8350ed8c526b1f7d93e87da442a39b1cbb
3
+ metadata.gz: bc6e9fc2007b253383dff37eb39027a6781d347b8eb99a38253e91039e411fce
4
+ data.tar.gz: 8aa9d4a578393b7303fe34c247c789877b8bf9ff36c64749265ae4f86deea47c
5
5
  SHA512:
6
- metadata.gz: 99b493bd5a8717282ccf9941ad3277a91f84796b8d5903b593ce3ad351494519663606f98382e8604effd3f284252c5b98669fcd93f1d1d439ceee52367339ad
7
- data.tar.gz: 77080e865fb06d981fd4d74d965242592f66a3dd6132b229482f3cd7d71ea28781efd6f8112563c0eefaa06ed66daeaccca1cfb16f0e4d3b08cf8edb71fcb92d
6
+ metadata.gz: 58d8e74ac65ec0d747567943a5612f3698ce6757ba8531ede470785a7182feb0d1660484977d987080a0752af61b9aa8d705205da9765b3668756e16166012ce
7
+ data.tar.gz: f43e1898be75ff77a7378a5501d04f1862ed0cd408eb88ef8a76a1047ef555f5fc23e154b98e71ea083bad79c3d0d0b1484e3e754dd1bdfd21d56c2cd4b9571f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.1.6]
4
+
5
+ - fix: some bug
6
+ - update README(ja, en, zh)
7
+
3
8
  ## [0.1.5]
4
9
 
5
10
  - multilingual localization (en,ja,zh)
data/README.ja.md CHANGED
@@ -4,20 +4,24 @@ Umu はRuby on Rails の`rails generator`コマンドを生成するためのラ
4
4
 
5
5
 
6
6
 
7
- https://user-images.githubusercontent.com/78460152/222332886-50337710-4fc8-4437-b82a-f1a64edd95f3.mov
7
+ https://user-images.githubusercontent.com/78460152/223889166-b69a6a65-f655-4b86-aae4-900d5ddd5b48.mov
8
+
9
+
8
10
 
9
- # インストール方法
10
11
 
11
- gemをインストールし、アプリケーションのGemfileに追加するには、次のコマンドを実行します。
12
+ # インストール方法
12
13
 
13
- $ bundle add umu
14
+ アプリケーションのGemfileに追加する
14
15
 
15
- or
16
16
  ```ruby
17
17
  group :development, :test do
18
18
  gem 'umu'
19
19
  end
20
20
  ```
21
+ そして
22
+ ```
23
+ bundle install
24
+ ```
21
25
 
22
26
  # 使用方法
23
27
  次のコマンドを実行してください。
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <div align="center">
2
- English | <a href="https://github.com/chen-196-hub/umu/blob/main/README.jp.md">日本語</a> | <a href="https://github.com/chen-196-hub/umu/blob/main/README.zh.md">中文</a>
2
+ English | <a href="https://github.com/chen-196-hub/umu/blob/main/README.ja.md">日本語</a> | <a href="https://github.com/chen-196-hub/umu/blob/main/README.zh.md">中文</a>
3
3
  </div>
4
4
 
5
5
  # Umu (prototype)
@@ -8,21 +8,25 @@ Umu is a framework that supports you to make & run command in Ruby on Rails
8
8
 
9
9
 
10
10
 
11
- https://user-images.githubusercontent.com/78460152/222332886-50337710-4fc8-4437-b82a-f1a64edd95f3.mov
12
11
 
13
12
 
14
- ## Installation
13
+ https://user-images.githubusercontent.com/78460152/223889166-b69a6a65-f655-4b86-aae4-900d5ddd5b48.mov
14
+
15
+
15
16
 
16
- Install the gem and add to the application's Gemfile by executing:
17
17
 
18
- $ bundle add umu
18
+ ## Installation
19
19
 
20
- or
20
+ Add to the application's Gemfile by executing:
21
21
  ```ruby
22
22
  group :development, :test do
23
23
  gem 'umu'
24
24
  end
25
25
  ```
26
+ then
27
+ ```
28
+ bundle install
29
+ ```
26
30
  ## Usage
27
31
  bundle exec umu
28
32
 
data/README.zh.md CHANGED
@@ -6,24 +6,30 @@ Umu 是一個支援在Ruby on Rails中製作和執行`rails generator`指令的
6
6
 
7
7
 
8
8
 
9
- https://user-images.githubusercontent.com/78460152/222332886-50337710-4fc8-4437-b82a-f1a64edd95f3.mov
9
+ https://user-images.githubusercontent.com/78460152/223889166-b69a6a65-f655-4b86-aae4-900d5ddd5b48.mov
10
10
 
11
11
 
12
12
 
13
13
  # 安裝
14
- 透過執行以下命令安裝 gem,並將其加入應用程式的 Gemfile 中:
14
+ 透過執行以下命令安裝 gem
15
15
 
16
16
  $ bundle add umu
17
17
 
18
- or
18
+ 將其加入應用程式的 Gemfile 中:
19
19
  ```ruby
20
20
  group :development, :test do
21
21
  gem 'umu'
22
22
  end
23
23
  ```
24
+ 然後執行
25
+ ```
26
+ bundle install
27
+ ```
24
28
 
25
29
  # 用法
30
+ ```
26
31
  bundle exec umu
32
+ ```
27
33
 
28
34
  ## Doc
29
35
 
@@ -29,7 +29,9 @@ module ControllerMaker
29
29
  actions = Umu::Selector.checkbox(ACTIONS, I18n.t('controller.select_actions'))
30
30
  cover(1)
31
31
  cover(1)
32
- show_command('controller', controller_name, actions.join(' '))
32
+ show_actions = actions.dup
33
+ show_actions.delete('other')
34
+ show_command('controller', controller_name, show_actions.join(' '))
33
35
  if actions.include?('other')
34
36
  make_action = true
35
37
  actions.delete('other')
data/lib/umu/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Umu
4
- VERSION = "0.1.5"
4
+ VERSION = "0.1.6"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: umu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kuan-Hung Chen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-08 00:00:00.000000000 Z
11
+ date: 2023-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport