umu 0.1.3 → 0.1.5
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/.rubocop.yml +15 -6
- data/CHANGELOG.md +12 -0
- data/Gemfile +2 -0
- data/README.ja.md +52 -0
- data/README.md +24 -5
- data/README.zh.md +51 -0
- data/exe/umu +22 -1
- data/lib/umu/beautifica/assets/color.rb +1 -0
- data/lib/umu/beautifica/assets/template.rb +26 -3
- data/lib/umu/core/inputter.rb +5 -3
- data/lib/umu/core/language_setting.rb +46 -0
- data/lib/umu/core/selector.rb +1 -1
- data/lib/umu/generators/application_record_maker.rb +8 -6
- data/lib/umu/generators/benchmark_maker.rb +8 -5
- data/lib/umu/generators/channel_maker.rb +13 -11
- data/lib/umu/generators/controller_maker.rb +15 -13
- data/lib/umu/generators/helper_maker.rb +9 -7
- data/lib/umu/generators/job_maker.rb +9 -7
- data/lib/umu/generators/mailbox_maker.rb +10 -8
- data/lib/umu/generators/mailer_maker.rb +13 -11
- data/lib/umu/generators/migration_maker.rb +15 -14
- data/lib/umu/generators/model_maker.rb +17 -15
- data/lib/umu/generators/resource_maker.rb +16 -16
- data/lib/umu/generators/task_maker.rb +13 -11
- data/lib/umu/generators.rb +22 -46
- data/lib/umu/locales/en.yml +59 -0
- data/lib/umu/locales/ja.yml +58 -0
- data/lib/umu/locales/zh.yml +58 -0
- data/lib/umu/version.rb +1 -1
- data/lib/umu.rb +13 -7
- data/umu.gemspec +3 -2
- metadata +28 -9
- data/Gemfile.lock +0 -69
data/umu.gemspec
CHANGED
|
@@ -5,12 +5,12 @@ require_relative "lib/umu/version"
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = "umu"
|
|
7
7
|
spec.version = Umu::VERSION
|
|
8
|
-
spec.authors = ["
|
|
8
|
+
spec.authors = ["Kuan-Hung Chen"]
|
|
9
9
|
spec.email = ["kankou.chin@gmail.com"]
|
|
10
10
|
|
|
11
11
|
spec.summary = "A framework for make Ruby on Rails's command."
|
|
12
12
|
spec.description = <<-DESCRIPTION
|
|
13
|
-
Umu is a framework that supports
|
|
13
|
+
Umu is a framework that supports you to make command in Ruby on Rails.
|
|
14
14
|
DESCRIPTION
|
|
15
15
|
spec.homepage = "https://github.com/chen-196-hub/umu"
|
|
16
16
|
spec.license = "MIT"
|
|
@@ -35,6 +35,7 @@ Gem::Specification.new do |spec|
|
|
|
35
35
|
|
|
36
36
|
# Uncomment to register a new dependency of your gem
|
|
37
37
|
spec.add_dependency "activesupport", ">= 3.0.0"
|
|
38
|
+
spec.add_dependency "i18n", ">= 1.8"
|
|
38
39
|
|
|
39
40
|
# For more information and examples about making a new gem, check out our
|
|
40
41
|
# guide at: https://bundler.io/guides/creating_gem.html
|
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.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
8
|
-
autorequire:
|
|
7
|
+
- Kuan-Hung Chen
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-03-
|
|
11
|
+
date: 2023-03-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -24,7 +24,21 @@ dependencies:
|
|
|
24
24
|
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: 3.0.0
|
|
27
|
-
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: i18n
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - ">="
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '1.8'
|
|
34
|
+
type: :runtime
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - ">="
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '1.8'
|
|
41
|
+
description: " Umu is a framework that supports you to make command in Ruby on
|
|
28
42
|
Rails.\n"
|
|
29
43
|
email:
|
|
30
44
|
- kankou.chin@gmail.com
|
|
@@ -38,9 +52,10 @@ files:
|
|
|
38
52
|
- CHANGELOG.md
|
|
39
53
|
- CODE_OF_CONDUCT.md
|
|
40
54
|
- Gemfile
|
|
41
|
-
- Gemfile.lock
|
|
42
55
|
- LICENSE.txt
|
|
56
|
+
- README.ja.md
|
|
43
57
|
- README.md
|
|
58
|
+
- README.zh.md
|
|
44
59
|
- Rakefile
|
|
45
60
|
- exe/umu
|
|
46
61
|
- lib/umu.rb
|
|
@@ -48,6 +63,7 @@ files:
|
|
|
48
63
|
- lib/umu/beautifica/assets/template.rb
|
|
49
64
|
- lib/umu/beautifica/beautifica.rb
|
|
50
65
|
- lib/umu/core/inputter.rb
|
|
66
|
+
- lib/umu/core/language_setting.rb
|
|
51
67
|
- lib/umu/core/selector.rb
|
|
52
68
|
- lib/umu/core/validation.rb
|
|
53
69
|
- lib/umu/generators.rb
|
|
@@ -63,6 +79,9 @@ files:
|
|
|
63
79
|
- lib/umu/generators/model_maker.rb
|
|
64
80
|
- lib/umu/generators/resource_maker.rb
|
|
65
81
|
- lib/umu/generators/task_maker.rb
|
|
82
|
+
- lib/umu/locales/en.yml
|
|
83
|
+
- lib/umu/locales/ja.yml
|
|
84
|
+
- lib/umu/locales/zh.yml
|
|
66
85
|
- lib/umu/version.rb
|
|
67
86
|
- sig/umu.rbs
|
|
68
87
|
- umu.gemspec
|
|
@@ -73,7 +92,7 @@ metadata:
|
|
|
73
92
|
homepage_uri: https://github.com/chen-196-hub/umu
|
|
74
93
|
source_code_uri: https://github.com/chen-196-hub/umu
|
|
75
94
|
changelog_uri: https://github.com/chen-196-hub/umu/blob/master/CHANGELOG.md
|
|
76
|
-
post_install_message:
|
|
95
|
+
post_install_message:
|
|
77
96
|
rdoc_options: []
|
|
78
97
|
require_paths:
|
|
79
98
|
- lib
|
|
@@ -88,8 +107,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
88
107
|
- !ruby/object:Gem::Version
|
|
89
108
|
version: '0'
|
|
90
109
|
requirements: []
|
|
91
|
-
rubygems_version: 3.
|
|
92
|
-
signing_key:
|
|
110
|
+
rubygems_version: 3.4.6
|
|
111
|
+
signing_key:
|
|
93
112
|
specification_version: 4
|
|
94
113
|
summary: A framework for make Ruby on Rails's command.
|
|
95
114
|
test_files: []
|
data/Gemfile.lock
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
umu (0.1.2)
|
|
5
|
-
activesupport (>= 3.0.0)
|
|
6
|
-
|
|
7
|
-
GEM
|
|
8
|
-
remote: https://rubygems.org/
|
|
9
|
-
specs:
|
|
10
|
-
activesupport (7.0.4.2)
|
|
11
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
12
|
-
i18n (>= 1.6, < 2)
|
|
13
|
-
minitest (>= 5.1)
|
|
14
|
-
tzinfo (~> 2.0)
|
|
15
|
-
ast (2.4.2)
|
|
16
|
-
concurrent-ruby (1.2.2)
|
|
17
|
-
diff-lcs (1.5.0)
|
|
18
|
-
i18n (1.12.0)
|
|
19
|
-
concurrent-ruby (~> 1.0)
|
|
20
|
-
json (2.6.3)
|
|
21
|
-
minitest (5.17.0)
|
|
22
|
-
parallel (1.22.1)
|
|
23
|
-
parser (3.2.1.0)
|
|
24
|
-
ast (~> 2.4.1)
|
|
25
|
-
rainbow (3.1.1)
|
|
26
|
-
rake (13.0.6)
|
|
27
|
-
regexp_parser (2.7.0)
|
|
28
|
-
rexml (3.2.5)
|
|
29
|
-
rspec (3.12.0)
|
|
30
|
-
rspec-core (~> 3.12.0)
|
|
31
|
-
rspec-expectations (~> 3.12.0)
|
|
32
|
-
rspec-mocks (~> 3.12.0)
|
|
33
|
-
rspec-core (3.12.1)
|
|
34
|
-
rspec-support (~> 3.12.0)
|
|
35
|
-
rspec-expectations (3.12.2)
|
|
36
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
37
|
-
rspec-support (~> 3.12.0)
|
|
38
|
-
rspec-mocks (3.12.3)
|
|
39
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
40
|
-
rspec-support (~> 3.12.0)
|
|
41
|
-
rspec-support (3.12.0)
|
|
42
|
-
rubocop (1.46.0)
|
|
43
|
-
json (~> 2.3)
|
|
44
|
-
parallel (~> 1.10)
|
|
45
|
-
parser (>= 3.2.0.0)
|
|
46
|
-
rainbow (>= 2.2.2, < 4.0)
|
|
47
|
-
regexp_parser (>= 1.8, < 3.0)
|
|
48
|
-
rexml (>= 3.2.5, < 4.0)
|
|
49
|
-
rubocop-ast (>= 1.26.0, < 2.0)
|
|
50
|
-
ruby-progressbar (~> 1.7)
|
|
51
|
-
unicode-display_width (>= 2.4.0, < 3.0)
|
|
52
|
-
rubocop-ast (1.26.0)
|
|
53
|
-
parser (>= 3.2.1.0)
|
|
54
|
-
ruby-progressbar (1.11.0)
|
|
55
|
-
tzinfo (2.0.6)
|
|
56
|
-
concurrent-ruby (~> 1.0)
|
|
57
|
-
unicode-display_width (2.4.2)
|
|
58
|
-
|
|
59
|
-
PLATFORMS
|
|
60
|
-
x86_64-darwin-19
|
|
61
|
-
|
|
62
|
-
DEPENDENCIES
|
|
63
|
-
rake (~> 13.0)
|
|
64
|
-
rspec (~> 3.0)
|
|
65
|
-
rubocop (~> 1.21)
|
|
66
|
-
umu!
|
|
67
|
-
|
|
68
|
-
BUNDLED WITH
|
|
69
|
-
2.3.18
|