umu 0.1.5 → 0.1.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/README.ja.md +9 -5
- data/README.md +10 -6
- data/README.zh.md +9 -3
- data/lib/umu/generators/controller_maker.rb +3 -1
- data/lib/umu/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bc6e9fc2007b253383dff37eb39027a6781d347b8eb99a38253e91039e411fce
|
|
4
|
+
data.tar.gz: 8aa9d4a578393b7303fe34c247c789877b8bf9ff36c64749265ae4f86deea47c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 58d8e74ac65ec0d747567943a5612f3698ce6757ba8531ede470785a7182feb0d1660484977d987080a0752af61b9aa8d705205da9765b3668756e16166012ce
|
|
7
|
+
data.tar.gz: f43e1898be75ff77a7378a5501d04f1862ed0cd408eb88ef8a76a1047ef555f5fc23e154b98e71ea083bad79c3d0d0b1484e3e754dd1bdfd21d56c2cd4b9571f
|
data/CHANGELOG.md
CHANGED
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/
|
|
7
|
+
https://user-images.githubusercontent.com/78460152/223889166-b69a6a65-f655-4b86-aae4-900d5ddd5b48.mov
|
|
8
|
+
|
|
9
|
+
|
|
8
10
|
|
|
9
|
-
# インストール方法
|
|
10
11
|
|
|
11
|
-
|
|
12
|
+
# インストール方法
|
|
12
13
|
|
|
13
|
-
|
|
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.
|
|
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
|
-
|
|
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
|
-
|
|
18
|
+
## Installation
|
|
19
19
|
|
|
20
|
-
|
|
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/
|
|
9
|
+
https://user-images.githubusercontent.com/78460152/223889166-b69a6a65-f655-4b86-aae4-900d5ddd5b48.mov
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
# 安裝
|
|
14
|
-
透過執行以下命令安裝 gem
|
|
14
|
+
透過執行以下命令安裝 gem
|
|
15
15
|
|
|
16
16
|
$ bundle add umu
|
|
17
17
|
|
|
18
|
-
|
|
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
|
-
|
|
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
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.
|
|
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-
|
|
11
|
+
date: 2023-03-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|