Commit 18f6ff9b by mingyuan

dingtalk

parent 30d1106b
...@@ -10,6 +10,7 @@ gem 'jbuilder' ...@@ -10,6 +10,7 @@ gem 'jbuilder'
gem 'viter', github: 'qinmingyuan/viter' gem 'viter', github: 'qinmingyuan/viter'
gem 'rails_ui', github: 'work-design/rails_ui' gem 'rails_ui', github: 'work-design/rails_ui'
gem 'rails_com', github: 'work-design/rails_com' gem 'rails_com', github: 'work-design/rails_com'
gem 'rails_extend', github: 'work-design/rails_extend'
gem 'amazing_print' gem 'amazing_print'
......
...@@ -7,7 +7,7 @@ GIT ...@@ -7,7 +7,7 @@ GIT
GIT GIT
remote: https://github.com/work-design/rails_com.git remote: https://github.com/work-design/rails_com.git
revision: 96b28af01b4a3aaca389ea4b44b33e869e01a67c revision: 8949509c4f26ecf76adecfdbb2e221535ee47ac0
specs: specs:
rails_com (1.2.9) rails_com (1.2.9)
acme-client acme-client
...@@ -18,11 +18,19 @@ GIT ...@@ -18,11 +18,19 @@ GIT
httpx (~> 0.16) httpx (~> 0.16)
kaminari kaminari
rails (>= 6.1) rails (>= 6.1)
rails_extend
turbo-rails turbo-rails
GIT GIT
remote: https://github.com/work-design/rails_extend.git
revision: 48e8b20f65097c981b8ecc3b9b35d2082512d9e8
specs:
rails_extend (1.0.0)
rails (>= 6.0)
GIT
remote: https://github.com/work-design/rails_ui.git remote: https://github.com/work-design/rails_ui.git
revision: b915e58f8582043db65dccf5ea014fc73ef98dc6 revision: c8d7bfe6d598c9433373e4e8c0e7c17ebc98b17a
specs: specs:
rails_ui (0.0.1) rails_ui (0.0.1)
rails rails
...@@ -252,6 +260,7 @@ DEPENDENCIES ...@@ -252,6 +260,7 @@ DEPENDENCIES
puma puma
rails_com! rails_com!
rails_dingtalk! rails_dingtalk!
rails_extend!
rails_ui! rails_ui!
sdoc sdoc
sidekiq sidekiq
......
...@@ -4,6 +4,9 @@ module RailsDingtalk ...@@ -4,6 +4,9 @@ module RailsDingtalk
config.autoload_paths += Dir[ config.autoload_paths += Dir[
"#{config.root}/app/models/app" "#{config.root}/app/models/app"
] ]
config.eager_load_paths += Dir[
"#{config.root}/app/models/app"
]
config.generators do |g| config.generators do |g|
g.rails = { g.rails = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment