Commit e8b6974a authored by Boyan Tabakov's avatar Boyan Tabakov

Use gitlab-flowdock-git-hook patched for dependency on gitlab-grit, instead of grit.

Make sure the flowdock-git-hook is loaded. Seems it is not autoloader, due to the gem/lib name mismatch.
parent d8562cc9
...@@ -112,7 +112,7 @@ gem 'tinder', '~> 1.9.2' ...@@ -112,7 +112,7 @@ gem 'tinder', '~> 1.9.2'
gem "hipchat", "~> 0.9.0" gem "hipchat", "~> 0.9.0"
# Flowdock integration # Flowdock integration
gem "flowdock-git-hook", "~> 0.4.2" gem "gitlab-flowdock-git-hook", "~> 0.4.2"
# d3 # d3
gem "d3_rails", "~> 3.1.4" gem "d3_rails", "~> 3.1.4"
......
...@@ -135,9 +135,6 @@ GEM ...@@ -135,9 +135,6 @@ GEM
faraday (>= 0.7.4, < 0.9) faraday (>= 0.7.4, < 0.9)
ffaker (1.18.0) ffaker (1.18.0)
ffi (1.9.0) ffi (1.9.0)
flowdock-git-hook (0.4.2)
grit (>= 2.4.1)
multi_json
fog (1.3.1) fog (1.3.1)
builder builder
excon (~> 0.13.0) excon (~> 0.13.0)
...@@ -164,6 +161,9 @@ GEM ...@@ -164,6 +161,9 @@ GEM
pygments.rb (>= 0.2.13) pygments.rb (>= 0.2.13)
github-markdown (0.5.3) github-markdown (0.5.3)
github-markup (0.7.5) github-markup (0.7.5)
gitlab-flowdock-git-hook (0.4.2.2)
gitlab-grit (>= 2.4.1)
multi_json
gitlab-gollum-lib (1.0.1) gitlab-gollum-lib (1.0.1)
github-markdown (~> 0.5.3) github-markdown (~> 0.5.3)
github-markup (>= 0.7.5, < 1.0.0) github-markup (>= 0.7.5, < 1.0.0)
...@@ -208,10 +208,6 @@ GEM ...@@ -208,10 +208,6 @@ GEM
grape-entity (0.3.0) grape-entity (0.3.0)
activesupport activesupport
multi_json (>= 1.3.2) multi_json (>= 1.3.2)
grit (2.5.0)
diff-lcs (~> 1.1)
mime-types (~> 1.15)
posix-spawn (~> 0.3.6)
growl (1.0.3) growl (1.0.3)
guard (1.8.1) guard (1.8.1)
formatador (>= 0.2.4) formatador (>= 0.2.4)
...@@ -575,13 +571,13 @@ DEPENDENCIES ...@@ -575,13 +571,13 @@ DEPENDENCIES
enumerize enumerize
factory_girl_rails factory_girl_rails
ffaker ffaker
flowdock-git-hook (~> 0.4.2)
fog (~> 1.3.1) fog (~> 1.3.1)
font-awesome-rails font-awesome-rails
foreman foreman
gemoji (~> 1.2.1) gemoji (~> 1.2.1)
github-linguist github-linguist
github-markup (~> 0.7.4) github-markup (~> 0.7.4)
gitlab-flowdock-git-hook (~> 0.4.2)
gitlab-gollum-lib (~> 1.0.1) gitlab-gollum-lib (~> 1.0.1)
gitlab-grack (~> 1.0.1) gitlab-grack (~> 1.0.1)
gitlab-pygments.rb (~> 0.3.2) gitlab-pygments.rb (~> 0.3.2)
......
...@@ -13,6 +13,8 @@ ...@@ -13,6 +13,8 @@
# project_url :string(255) # project_url :string(255)
# #
require "flowdock-git-hook"
class FlowdockService < Service class FlowdockService < Service
validates :token, presence: true, if: :activated? validates :token, presence: true, if: :activated?
......
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