summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-25 09:33:51 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-25 09:33:51 +0300
commita3b54457b1cd188981d4d0775fc7acf2fd6aa128 (patch)
tree46b7f5ed27bbd1879a0d4110502d6dd895056d29
parent67eb0c4d61a8dd843be42d9fff4049b696c4ea42 (diff)
downloadgitlab-shell-a3b54457b1cd188981d4d0775fc7acf2fd6aa128.tar.gz
Fix bug when changes to post-receive worker was not dumped properlyv2.0.1
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--CHANGELOG3
-rw-r--r--VERSION2
-rw-r--r--lib/gitlab_post_receive.rb2
3 files changed, 5 insertions, 2 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 30bddec..b3897f5 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+v2.0.1
+ - Send post-receive changes to redis as a string instead of array
+
v2.0.0
- Works with GitLab v7.3+
- Replace raise with abort when checking path to prevent path exposure
diff --git a/VERSION b/VERSION
index 227cea2..38f77a6 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.0.0
+2.0.1
diff --git a/lib/gitlab_post_receive.rb b/lib/gitlab_post_receive.rb
index 3f9f384..bd80408 100644
--- a/lib/gitlab_post_receive.rb
+++ b/lib/gitlab_post_receive.rb
@@ -7,7 +7,7 @@ class GitlabPostReceive
def initialize(repo_path, actor, changes)
@config = GitlabConfig.new
@repo_path, @actor = repo_path.strip, actor
- @changes = changes.lines
+ @changes = changes
end
def exec