umu 0.1.1 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/Gemfile.lock +13 -1
- data/README.md +10 -12
- data/lib/umu/generators/{application_record.rb → application_record_maker.rb} +1 -1
- data/lib/umu/generators/{benchmark.rb → benchmark_maker.rb} +1 -1
- data/lib/umu/generators/{channel.rb → channel_maker.rb} +1 -1
- data/lib/umu/generators/{controller.rb → controller_maker.rb} +1 -1
- data/lib/umu/generators/{helper.rb → helper_maker.rb} +1 -1
- data/lib/umu/generators/{job.rb → job_maker.rb} +1 -1
- data/lib/umu/generators/{mailbox.rb → mailbox_maker.rb} +1 -1
- data/lib/umu/generators/{mailer.rb → mailer_maker.rb} +1 -1
- data/lib/umu/generators/{migration.rb → migration_maker.rb} +1 -1
- data/lib/umu/generators/{model.rb → model_maker.rb} +1 -1
- data/lib/umu/generators/{resource.rb → resource_maker.rb} +1 -1
- data/lib/umu/generators/{task.rb → task_maker.rb} +1 -1
- data/lib/umu/generators.rb +24 -24
- data/lib/umu/version.rb +1 -1
- data/umu.gemspec +1 -1
- metadata +29 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 776a0b0480f5df2a0f5095127e34ca0f0169c9a81ea22b6130e04790dc4eac6f
|
4
|
+
data.tar.gz: 1ea8a941c281359c41ef34ceb04be4daeb40f125a906d4d65ba5232dcd33255a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f661264d1664608362cc0d0cb76f76e9b45a96402e080cdafd1594d148f3a904ac19fdb23038091abff8967447ffe1aa3299ae5a4bbb8856bb67cec83cbedffc
|
7
|
+
data.tar.gz: 8dcbd4d54d81fc84637a086725d18e96887c9c8482fb48df9d9ccfc9435acab14cadc7643fa8ce5a251dfe773235ec24bf5586212e3a34d2d6a1f3728acb9505
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
## [Unreleased]
|
2
2
|
|
3
|
+
## [0.1.3] - 2023-03-01
|
4
|
+
|
5
|
+
- fix:folder name && some bug is RoR
|
6
|
+
|
7
|
+
## [0.1.2] - 2023-02-28
|
8
|
+
|
9
|
+
- add activesupport in to .gemspec
|
10
|
+
|
11
|
+
## [0.1.1] - 2023-02-28
|
12
|
+
|
13
|
+
- add run command
|
14
|
+
|
3
15
|
## [0.1.0] - 2023-02-28
|
4
16
|
|
5
|
-
- Initial release
|
17
|
+
- Initial release
|
data/Gemfile.lock
CHANGED
@@ -1,14 +1,24 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
umu (0.1.
|
4
|
+
umu (0.1.2)
|
5
|
+
activesupport (>= 3.0.0)
|
5
6
|
|
6
7
|
GEM
|
7
8
|
remote: https://rubygems.org/
|
8
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)
|
9
15
|
ast (2.4.2)
|
16
|
+
concurrent-ruby (1.2.2)
|
10
17
|
diff-lcs (1.5.0)
|
18
|
+
i18n (1.12.0)
|
19
|
+
concurrent-ruby (~> 1.0)
|
11
20
|
json (2.6.3)
|
21
|
+
minitest (5.17.0)
|
12
22
|
parallel (1.22.1)
|
13
23
|
parser (3.2.1.0)
|
14
24
|
ast (~> 2.4.1)
|
@@ -42,6 +52,8 @@ GEM
|
|
42
52
|
rubocop-ast (1.26.0)
|
43
53
|
parser (>= 3.2.1.0)
|
44
54
|
ruby-progressbar (1.11.0)
|
55
|
+
tzinfo (2.0.6)
|
56
|
+
concurrent-ruby (~> 1.0)
|
45
57
|
unicode-display_width (2.4.2)
|
46
58
|
|
47
59
|
PLATFORMS
|
data/README.md
CHANGED
@@ -1,22 +1,20 @@
|
|
1
|
-
# Umu
|
2
|
-
|
3
|
-
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/umu`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
1
|
+
# Umu (prototype)
|
6
2
|
|
3
|
+
Umu is a framework that supports you to make & run command in Ruby on Rails
|
7
4
|
## Installation
|
8
5
|
|
9
6
|
Install the gem and add to the application's Gemfile by executing:
|
10
7
|
|
11
8
|
$ bundle add umu
|
12
9
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
10
|
+
or
|
11
|
+
```ruby
|
12
|
+
group :development, :test do
|
13
|
+
gem 'umu'
|
14
|
+
end
|
15
|
+
```
|
17
16
|
## Usage
|
18
|
-
|
19
|
-
TODO: Write usage instructions here
|
17
|
+
bundle exec umu
|
20
18
|
|
21
19
|
## Development
|
22
20
|
|
@@ -26,7 +24,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
26
24
|
|
27
25
|
## Contributing
|
28
26
|
|
29
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
27
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/chen-196-hub/umu. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/chen-196-hub/umu/blob/main/CODE_OF_CONDUCT.md).
|
30
28
|
|
31
29
|
## License
|
32
30
|
|
data/lib/umu/generators.rb
CHANGED
@@ -1,66 +1,66 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require_relative 'generators/
|
4
|
-
require_relative 'generators/
|
5
|
-
require_relative 'generators/
|
6
|
-
require_relative 'generators/
|
7
|
-
require_relative 'generators/
|
8
|
-
require_relative 'generators/
|
9
|
-
require_relative 'generators/
|
10
|
-
require_relative 'generators/
|
11
|
-
require_relative 'generators/
|
12
|
-
require_relative 'generators/
|
13
|
-
require_relative 'generators/
|
14
|
-
require_relative 'generators/
|
3
|
+
require_relative 'generators/model_maker'
|
4
|
+
require_relative 'generators/controller_maker'
|
5
|
+
require_relative 'generators/migration_maker'
|
6
|
+
require_relative 'generators/application_record_maker'
|
7
|
+
require_relative 'generators/helper_maker'
|
8
|
+
require_relative 'generators/channel_maker'
|
9
|
+
require_relative 'generators/job_maker'
|
10
|
+
require_relative 'generators/task_maker'
|
11
|
+
require_relative 'generators/mailer_maker'
|
12
|
+
require_relative 'generators/mailbox_maker'
|
13
|
+
require_relative 'generators/benchmark_maker'
|
14
|
+
require_relative 'generators/resource_maker'
|
15
15
|
|
16
16
|
module Umu
|
17
17
|
module Generators
|
18
18
|
def self.model
|
19
|
-
|
19
|
+
ModelMaker.generator
|
20
20
|
end
|
21
21
|
|
22
22
|
def self.controller
|
23
|
-
|
23
|
+
ControllerMaker.generator
|
24
24
|
end
|
25
25
|
|
26
26
|
def self.migration
|
27
|
-
|
27
|
+
MigrationMaker.generator
|
28
28
|
end
|
29
29
|
|
30
30
|
def self.application_record
|
31
|
-
|
31
|
+
ApplicationRecordMaker.generator
|
32
32
|
end
|
33
33
|
|
34
34
|
def self.helper
|
35
|
-
|
35
|
+
HelperMaker.generator
|
36
36
|
end
|
37
37
|
|
38
38
|
def self.channel
|
39
|
-
|
39
|
+
ChannelMaker.generator
|
40
40
|
end
|
41
41
|
|
42
42
|
def self.job
|
43
|
-
|
43
|
+
JobMaker.generator
|
44
44
|
end
|
45
45
|
|
46
46
|
def self.task
|
47
|
-
|
47
|
+
TaskMaker.generator
|
48
48
|
end
|
49
49
|
|
50
50
|
def self.mailer
|
51
|
-
|
51
|
+
MailerMaker.generator
|
52
52
|
end
|
53
53
|
|
54
54
|
def self.mailbox
|
55
|
-
|
55
|
+
MailboxMaker.generator
|
56
56
|
end
|
57
57
|
|
58
58
|
def self.benchmark
|
59
|
-
|
59
|
+
BenchmarkMaker.generator
|
60
60
|
end
|
61
61
|
|
62
62
|
def self.resource
|
63
|
-
|
63
|
+
ResourceMaker.generator
|
64
64
|
end
|
65
65
|
end
|
66
66
|
end
|
data/lib/umu/version.rb
CHANGED
data/umu.gemspec
CHANGED
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
|
|
34
34
|
spec.require_paths = ["lib"]
|
35
35
|
|
36
36
|
# Uncomment to register a new dependency of your gem
|
37
|
-
|
37
|
+
spec.add_dependency "activesupport", ">= 3.0.0"
|
38
38
|
|
39
39
|
# For more information and examples about making a new gem, check out our
|
40
40
|
# guide at: https://bundler.io/guides/creating_gem.html
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- '196'
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
12
|
-
dependencies:
|
11
|
+
date: 2023-03-01 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: activesupport
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 3.0.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.0.0
|
13
27
|
description: " Umu is a framework that supports your to make command in Ruby on
|
14
28
|
Rails.\n"
|
15
29
|
email:
|
@@ -37,18 +51,18 @@ files:
|
|
37
51
|
- lib/umu/core/selector.rb
|
38
52
|
- lib/umu/core/validation.rb
|
39
53
|
- lib/umu/generators.rb
|
40
|
-
- lib/umu/generators/
|
41
|
-
- lib/umu/generators/
|
42
|
-
- lib/umu/generators/
|
43
|
-
- lib/umu/generators/
|
44
|
-
- lib/umu/generators/
|
45
|
-
- lib/umu/generators/
|
46
|
-
- lib/umu/generators/
|
47
|
-
- lib/umu/generators/
|
48
|
-
- lib/umu/generators/
|
49
|
-
- lib/umu/generators/
|
50
|
-
- lib/umu/generators/
|
51
|
-
- lib/umu/generators/
|
54
|
+
- lib/umu/generators/application_record_maker.rb
|
55
|
+
- lib/umu/generators/benchmark_maker.rb
|
56
|
+
- lib/umu/generators/channel_maker.rb
|
57
|
+
- lib/umu/generators/controller_maker.rb
|
58
|
+
- lib/umu/generators/helper_maker.rb
|
59
|
+
- lib/umu/generators/job_maker.rb
|
60
|
+
- lib/umu/generators/mailbox_maker.rb
|
61
|
+
- lib/umu/generators/mailer_maker.rb
|
62
|
+
- lib/umu/generators/migration_maker.rb
|
63
|
+
- lib/umu/generators/model_maker.rb
|
64
|
+
- lib/umu/generators/resource_maker.rb
|
65
|
+
- lib/umu/generators/task_maker.rb
|
52
66
|
- lib/umu/version.rb
|
53
67
|
- sig/umu.rbs
|
54
68
|
- umu.gemspec
|