emapic_consul 0.1.5.3 → 0.1.5.4

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: d2827f188d89f5cdb50de0d31be713639ed9b8a5
4
- data.tar.gz: 04023f99306ec75c5320f9a5e688a633bf951382
3
+ metadata.gz: a335563539e21af4f8170ea1be9828ec39307752
4
+ data.tar.gz: 4164a2be411a7c5b3d57b039cd0d2fed1b9032b5
5
5
  SHA512:
6
- metadata.gz: 543eb69d9a1703d478668ae6cfdbd7f8a579a00257ce532f40218db99663551e5c83bbef9092ed4ab6b9db362f54b26c5bfce7f70906d288a57a2421e6ca048a
7
- data.tar.gz: 47b55f6a5b0e59ac62b83e7a4ed848bd4ae1c04e64cda879a31b184059331573ab0c8bda6fe07bac4d01041e16155830ac78668580139ab2dc233fb8eef4d639
6
+ metadata.gz: 148fc8e46a965e6a0a95739639a2677a074c135395072ec04e802afdbf95fd46070e8572dab215d09f28b534e520b62e6bfe3f8bd3651555c881802ffb7937a0
7
+ data.tar.gz: c852fbcaba33c6520e5ab36ff089ce298e960e51a818d19f55465f765b68396dd3e25613b594f1bef5a11008323a97fd8387cb21c32320a46243c272ffedfd21
@@ -19,7 +19,7 @@ module EmapicConsul
19
19
  print_debug_start("to notify proposal creation")
20
20
 
21
21
  request = build_generic_request("/api/locationgroup/#{emapic_login}")
22
- request.params = { id: group.id, title: group.title }
22
+ request.params = { id: "proposal_#{group.id}", title: group.title }
23
23
  response = request.send
24
24
 
25
25
  puts "Response body: #{response.body}"
@@ -30,7 +30,7 @@ module EmapicConsul
30
30
  def self.vote_location_group(voter, group)
31
31
  print_debug_start("to notify vote creation")
32
32
 
33
- request = build_generic_request("/api/locationgroup/#{emapic_login}/#{group.id}")
33
+ request = build_generic_request("/api/locationgroup/#{emapic_login}/proposal_#{group.id}")
34
34
  request.params = { user_id: voter.id, address: get_random_address }
35
35
  response = request.send
36
36
 
@@ -1,3 +1,3 @@
1
1
  module EmapicConsul
2
- VERSION = "0.1.5.3"
2
+ VERSION = "0.1.5.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emapic_consul
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5.3
4
+ version: 0.1.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alberto Miedes Garcés