lita-karotz_deploy_hook 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 997ebf9140d36def8928513b53334f65db13633c
4
- data.tar.gz: d2814177fa7c73b89b4b152c6ee8c75b6bda0da3
3
+ metadata.gz: 838c08f338f13f092a3b76fdd5f830f8127d2d50
4
+ data.tar.gz: 50fd761d84cfad0289346d86892b806b75bff02b
5
5
  SHA512:
6
- metadata.gz: 78843004ca7a993bc791644c881076fce4cc4b1ff60631a32721fd789bc89e369b4374536777dff77d716ca7b8c815752c832313c45aaa0ab842d933d7f34a23
7
- data.tar.gz: 8ad98db0faaec0000fec87e7ba85580b90a5872a67fc548cdb57a80266818f357974cac566179d79b1723cfa5eb380f04dbff9e819cf0dc72abafc86344b98f6
6
+ metadata.gz: 910731957bba1789433bf426620f7ee631e28d52aeb2b3c7204f59b2620e3f4579f770b86b42ea15539e2137d910e7c40c942b87d4d4ee189f4fcf82d70601ec
7
+ data.tar.gz: e39087fec0361b258ea4abf7c5dbf722b08c0af1b4d30d94df906194b933a4ac9ed7b87bc0812be7b18f2e3bfde7b53392cbdf0781bddb9a550c4ab3854bcde8
@@ -26,7 +26,7 @@ module Lita
26
26
 
27
27
  def query_string(hash)
28
28
  hash.map do |key, value|
29
- "#{key}=#{value}"
29
+ "#{key}=#{URI.escape value}"
30
30
  end.join "&"
31
31
  end
32
32
  end
@@ -1,5 +1,5 @@
1
1
  module Lita
2
2
  module KarotzDeployHook
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -5,12 +5,12 @@ describe Lita::Handlers::KarotzDeployHook, lita_handler: true do
5
5
  it 'posts data to the Karotz deployments endpoint' do
6
6
  Lita.config.handlers.karotz_deploy_hook.karotz_deployment_endpoint = 'http://www.google.com/deployments'
7
7
  expect(RestClient).to receive(:post)
8
- send_message "teddy is starting deploy of 't_y_l_f' from branch 'ice-cream' to production"
8
+ send_message "Teddy Ruxbin is starting deploy of 't_y_l_f' from branch 'ice-cream' to production"
9
9
  end
10
10
 
11
11
  it 'throws an exception when endpoint not set' do
12
12
  expect {
13
- send_message "teddy is starting deploy of 't_y_l_f' from branch 'ice-cream' to production"
13
+ send_message "Teddy Ruxbin is starting deploy of 't_y_l_f' from branch 'ice-cream' to production"
14
14
  }.to raise_error
15
15
  end
16
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-karotz_deploy_hook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael van den Beuken