capistrano-fireworks 0.1.2 → 0.1.3

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
- SHA1:
3
- metadata.gz: 93337d214de49490d75ba0199c236fe9df7d718f
4
- data.tar.gz: ed0d7f274798d9adce436a9754a5da44abaf12a9
2
+ SHA256:
3
+ metadata.gz: 5dfc6479abc1ee513aabdb170af0e1c4e5da56aa188bdcbe75d3f5698d8b739d
4
+ data.tar.gz: 9575f5f877dc1861dfb58deac25dd4b40a68112fdfb56299cb375b2b3de48f18
5
5
  SHA512:
6
- metadata.gz: f34785521a4be85b70ca0d78b67db110ceae4740083a38e717dc6ebab4307338b064b01e1ad4401c2ae0ed11bb3c7d6284106276c79d08e7c24a5d5f43309953
7
- data.tar.gz: 2f764ccd1dcf9f4cc2eaa93f8b97900f2ae6fe8cb32cb6984eda3f613775509747ec484fdf8d2cff39eb147f565020c3dfe4ab7fc783dcb1cb26064308d3ed4c
6
+ metadata.gz: 4e6bb38da8b88a364034a6d5a589bf8de2d7f62c6dc4847ab4f86b185a4c03ae169da546d23103a83cb46ffbab8935f597f69f6c35a5edc59f4af78b42e54f0a
7
+ data.tar.gz: 80bdb3dc38f03ddc06b66b31fe9173e8d37cf09fa5af09f3e6902e964453c14e7125d453223c9aed89bbc4bc5ca3e28fb82c6546ae7281d161c0d09aa97f0c92
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Fireworks
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
@@ -32,10 +32,8 @@ namespace :fireworks do
32
32
 
33
33
  def server_post(additional_attributes ={})
34
34
  within release_path do
35
- encoded_data = default_attributes.merge(additional_attributes).each_with_object("") do |(key, value), str|
36
- str << " --data-urlencode \"#{key}=#{value}\""
37
- end
38
- execute :curl, " -s -S -G -X POST \"#{fetch(:fireworks_server_url)}/entries\"#{encoded_data}"
35
+ data = JSON.dump(default_attributes.merge(additional_attributes))
36
+ execute :curl, " -s -S -H \"Content-Type: application/json\" -X POST --data '#{data}' #{fetch(:fireworks_server_url)}/entries"
39
37
  end
40
38
  end
41
39
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-fireworks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Krasynskyi
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-24 00:00:00.000000000 Z
11
+ date: 2021-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -75,7 +75,7 @@ homepage: https://github.com/spilin/capistrano-fireworks
75
75
  licenses:
76
76
  - MIT
77
77
  metadata: {}
78
- post_install_message:
78
+ post_install_message:
79
79
  rdoc_options: []
80
80
  require_paths:
81
81
  - lib
@@ -90,9 +90,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  - !ruby/object:Gem::Version
91
91
  version: '0'
92
92
  requirements: []
93
- rubyforge_project:
94
- rubygems_version: 2.6.10
95
- signing_key:
93
+ rubygems_version: 3.0.1
94
+ signing_key:
96
95
  specification_version: 4
97
96
  summary: Deployment notification to server or slack
98
97
  test_files: []