Commit e5f9d993 by mingyuan

docker

parent d2debc0f
/.bundle/ .bundle/
/doc/ docs/
/log/*.log db/
/pkg/ node_modules/
/tmp/ log/*.log
/test/dummy/db/*.sqlite3 tmp/**/*.*
/test/dummy/db/*.sqlite3-* !tmp/.keep
/test/dummy/log/*.log !tmp/sockets/.keep
/test/dummy/storage/
/test/dummy/tmp/ *.gem
.byebug_history
[submodule "test/dummy"] [submodule "test/dummy"]
path = test/dummy path = test/dummy
url = git@github.com:work-design/dummy.git url = git@github.com:work-design/dummy.git
[submodule "docker"]
path = docker
url = git@github.com:work-design/docker.git
source 'https://rubygems.org' source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" } git_source(:github) { |repo| "https://github.com/#{repo}.git" }
# Specify your gem's dependencies in rails_dingtalk.gemspec.
gemspec gemspec
group :development do gem 'pg'
gem 'sqlite3' gem 'puma'
end
gem 'rails_ui', github: 'work-design/rails_ui'
gem 'rails_com', github: 'work-design/rails_com'
# To use a debugger gem 'pry'
# gem 'byebug', group: [:development, :test]
GIT
remote: https://github.com/work-design/rails_com.git
revision: 97e509876fd80ae76f1afc6c129ff817a96df0e9
specs:
rails_com (1.2.9)
acme-client
acts_as_list (>= 1.0)
closure_tree (>= 7.3)
default_where (~> 2.2)
http-form_data (~> 2.3)
httpx (~> 0.16)
kaminari
rails (~> 6.1)
turbo-rails
GIT
remote: https://github.com/work-design/rails_ui.git
revision: 60778d85c650357871ece6410ff61bbd9f9ebdec
specs:
rails_ui (0.1.0)
rails
PATH
remote: .
specs:
rails_dingtalk (0.1)
rails_com
GEM
remote: https://rubygems.org/
specs:
acme-client (2.0.8)
faraday (>= 0.17, < 2.0.0)
actioncable (6.1.4.1)
actionpack (= 6.1.4.1)
activesupport (= 6.1.4.1)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailbox (6.1.4.1)
actionpack (= 6.1.4.1)
activejob (= 6.1.4.1)
activerecord (= 6.1.4.1)
activestorage (= 6.1.4.1)
activesupport (= 6.1.4.1)
mail (>= 2.7.1)
actionmailer (6.1.4.1)
actionpack (= 6.1.4.1)
actionview (= 6.1.4.1)
activejob (= 6.1.4.1)
activesupport (= 6.1.4.1)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (6.1.4.1)
actionview (= 6.1.4.1)
activesupport (= 6.1.4.1)
rack (~> 2.0, >= 2.0.9)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actiontext (6.1.4.1)
actionpack (= 6.1.4.1)
activerecord (= 6.1.4.1)
activestorage (= 6.1.4.1)
activesupport (= 6.1.4.1)
nokogiri (>= 1.8.5)
actionview (6.1.4.1)
activesupport (= 6.1.4.1)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
activejob (6.1.4.1)
activesupport (= 6.1.4.1)
globalid (>= 0.3.6)
activemodel (6.1.4.1)
activesupport (= 6.1.4.1)
activerecord (6.1.4.1)
activemodel (= 6.1.4.1)
activesupport (= 6.1.4.1)
activestorage (6.1.4.1)
actionpack (= 6.1.4.1)
activejob (= 6.1.4.1)
activerecord (= 6.1.4.1)
activesupport (= 6.1.4.1)
marcel (~> 1.0.0)
mini_mime (>= 1.1.0)
activesupport (6.1.4.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
acts_as_list (1.0.4)
activerecord (>= 4.2)
builder (3.2.4)
closure_tree (7.3.0)
activerecord (>= 4.2.10)
with_advisory_lock (>= 4.0.0)
coderay (1.1.3)
concurrent-ruby (1.1.9)
crass (1.0.6)
default_where (2.3.0)
activerecord (>= 4.0, <= 7.0)
erubi (1.10.0)
faraday (1.7.0)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
faraday-httpclient (~> 1.0.1)
faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.1)
faraday-patron (~> 1.0)
faraday-rack (~> 1.0)
multipart-post (>= 1.2, < 3)
ruby2_keywords (>= 0.0.4)
faraday-em_http (1.0.0)
faraday-em_synchrony (1.0.0)
faraday-excon (1.1.0)
faraday-httpclient (1.0.1)
faraday-net_http (1.0.1)
faraday-net_http_persistent (1.2.0)
faraday-patron (1.0.0)
faraday-rack (1.0.0)
globalid (0.5.2)
activesupport (>= 5.0)
http-2-next (0.5.0)
http-form_data (2.3.0)
httpx (0.16.1)
http-2-next (>= 0.4.1)
timers
i18n (1.8.10)
concurrent-ruby (~> 1.0)
kaminari (1.2.1)
activesupport (>= 4.1.0)
kaminari-actionview (= 1.2.1)
kaminari-activerecord (= 1.2.1)
kaminari-core (= 1.2.1)
kaminari-actionview (1.2.1)
actionview
kaminari-core (= 1.2.1)
kaminari-activerecord (1.2.1)
activerecord
kaminari-core (= 1.2.1)
kaminari-core (1.2.1)
loofah (2.12.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.1)
mini_mime (>= 0.1.1)
marcel (1.0.1)
method_source (1.0.0)
mini_mime (1.1.0)
minitest (5.14.4)
multipart-post (2.1.1)
nio4r (2.5.8)
nokogiri (1.12.3-x86_64-darwin)
racc (~> 1.4)
pg (1.2.3)
pry (0.14.1)
coderay (~> 1.1)
method_source (~> 1.0)
puma (5.4.0)
nio4r (~> 2.0)
racc (1.5.2)
rack (2.2.3)
rack-test (1.1.0)
rack (>= 1.0, < 3)
rails (6.1.4.1)
actioncable (= 6.1.4.1)
actionmailbox (= 6.1.4.1)
actionmailer (= 6.1.4.1)
actionpack (= 6.1.4.1)
actiontext (= 6.1.4.1)
actionview (= 6.1.4.1)
activejob (= 6.1.4.1)
activemodel (= 6.1.4.1)
activerecord (= 6.1.4.1)
activestorage (= 6.1.4.1)
activesupport (= 6.1.4.1)
bundler (>= 1.15.0)
railties (= 6.1.4.1)
sprockets-rails (>= 2.0.0)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.4.1)
loofah (~> 2.3)
railties (6.1.4.1)
actionpack (= 6.1.4.1)
activesupport (= 6.1.4.1)
method_source
rake (>= 0.13)
thor (~> 1.0)
rake (13.0.6)
ruby2_keywords (0.0.5)
sprockets (4.0.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.2)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
thor (1.1.0)
timers (4.3.3)
turbo-rails (0.7.3)
rails (>= 6.0.0)
tzinfo (2.0.4)
concurrent-ruby (~> 1.0)
websocket-driver (0.7.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
with_advisory_lock (4.6.0)
activerecord (>= 4.2)
zeitwerk (2.4.2)
PLATFORMS
x86_64-darwin-20
DEPENDENCIES
pg
pry
puma
rails_com!
rails_dingtalk!
rails_ui!
BUNDLED WITH
2.2.22
module Dingtalk
def self.use_relative_model_naming?
true
end
def self.table_name_prefix
'dingtalk_'
end
end
module Dingtalk
class App < ApplicationRecord
include Model::App
end
end
module Dingtalk
module Model::App
extend ActiveSupport::Concern
included do
attribute :agent_id, :string
attribute :app_key, :string
attribute :app_secret, :string
end
end
end
#!/usr/bin/env ruby #!/usr/bin/env ruby
ENGINE_ROOT = File.expand_path('..', __dir__) ENGINE_ROOT = File.expand_path('..', __dir__)
ENGINE_PATH = File.expand_path('../lib/rails_com/engine', __dir__) ENGINE_PATH = File.expand_path('../lib/rails_dingtalk/engine', __dir__)
APP_PATH = File.expand_path('../test/dummy/config/application', __dir__) APP_PATH = File.expand_path('../test/dummy/config/application', __dir__)
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
......
Subproject commit 9b8440a17f6b5fe25faf6e540444ff97301c38a2
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