Commit 6d0d1f1d by mingyuan

update dingtalk

parent 5378b5ba
...@@ -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: 953ef46899c750d41ea6e09aba71c9376363e1ce revision: 2648f2003f88d86ff730d9e478ea4d1e63355280
specs: specs:
rails_com (1.2.9) rails_com (1.2.9)
acme-client acme-client
...@@ -30,10 +30,10 @@ GIT ...@@ -30,10 +30,10 @@ GIT
GIT GIT
remote: https://github.com/work-design/rails_extend.git remote: https://github.com/work-design/rails_extend.git
revision: ef2aa3492d3d214a8d60cb6322c39d2e568adb74 revision: ada7e86e1319e0181221e021e97668075a3910a4
specs: specs:
rails_extend (1.0.0) rails_extend (1.0.0)
rails (>= 6.0) rails (>= 5.0)
PATH PATH
remote: . remote: .
...@@ -176,12 +176,14 @@ GEM ...@@ -176,12 +176,14 @@ GEM
marcel (1.0.1) marcel (1.0.1)
method_source (1.0.0) method_source (1.0.0)
mini_mime (1.1.1) mini_mime (1.1.1)
mini_portile2 (2.6.1)
minitest (5.14.4) minitest (5.14.4)
minitest-hooks (1.5.0) minitest-hooks (1.5.0)
minitest (> 5.3) minitest (> 5.3)
multipart-post (2.1.1) multipart-post (2.1.1)
nio4r (2.5.8) nio4r (2.5.8)
nokogiri (1.12.4-x86_64-linux) nokogiri (1.12.4)
mini_portile2 (~> 2.6.1)
racc (~> 1.4) racc (~> 1.4)
pg (1.2.3) pg (1.2.3)
puma (5.4.0) puma (5.4.0)
...@@ -249,6 +251,7 @@ GEM ...@@ -249,6 +251,7 @@ GEM
zeitwerk (2.4.2) zeitwerk (2.4.2)
PLATFORMS PLATFORMS
ruby
x86_64-darwin x86_64-darwin
x86_64-darwin-20 x86_64-darwin-20
x86_64-linux x86_64-linux
......
module Dingtalk module Dingtalk
class NewApp < App class NewApp < App
include Model::App::NewApp include Dingtalk::Model::App::NewApp
end end
end end
module Dingtalk module Dingtalk
class NormalApp < App class NormalApp < App
include Model::App::NormalApp include Dingtalk::Model::App::NormalApp
end end
end end
module Dingtalk module Dingtalk
class SaasApp < App class SaasApp < App
include Model::App::SaasApp include Dingtalk::Model::App::SaasApp
end end
end end
module Dingtalk module Dingtalk
module Model::App::NewApp module Model::App::NewApp
extend ActiveSupport::Extend extend ActiveSupport::Concern
included do included do
attribute :base_url, :string, default: 'https://api.dingtalk.com' attribute :base_url, :string, default: 'https://api.dingtalk.com'
......
Subproject commit cdb9e21f88f14e12235aa2f3221dd61ba3f7a2bc Subproject commit 2b3deeebfb0873934280a181a8a4a373bc0ce4e3
require "test_helper" require 'test_helper'
class RailsDingtalkTest < ActiveSupport::TestCase class RailsDingtalkTest < ActiveSupport::TestCase
test "it has a version number" do test "it has a version number" do
assert RailsDingtalk::VERSION
end end
end end
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