【文件属性】:
文件名称:gitlab-system-hooks-receiver:处理 GitLab 系统挂钩
文件大小:23KB
文件格式:ZIP
更新时间:2021-06-16 18:05:05
Ruby
GitLabSystemHooksReceiver
处理 GitLab 系统挂钩。
目前,这个基于 Rack 的 Web 应用程序通过系统钩子将 Web 钩子附加到 GitLab 上的一个新项目。
安装
将此行添加到应用程序的 Gemfile 中:
gem "gitlab-system-hooks-receiver"
然后执行:
$ bundle
或者自己安装:
$ gem install gitlab-system-hooks-receiver
用法
与 github-web-hooks-receiver 一起使用
您可以将此 Web 应用程序与。
添加 Gemfile。
source "https://rubygems.org/"
gem "github-web-hooks-receiver"
gem "gitlab-system-hooks-receiver"
【文件预览】:
gitlab-system-hooks-receiver-master
----.travis.yml(88B)
----config.yaml.example(237B)
----Rakefile(840B)
----test()
--------run-test.rb(1KB)
--------test-utils.rb(1KB)
--------system-hooks-receiver-test.rb(2KB)
----gitlab-system-hooks-receiver.gemspec(1KB)
----LICENSE(34KB)
----Gemfile(108B)
----.gitignore(198B)
----lib()
--------gitlab-system-hooks-receiver.rb(931B)
--------gitlab-system-hooks-receiver()
----README.md(2KB)
----config.ru(2KB)