decidim-bulletin_board 0.3.0 → 0.3.1

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
  SHA256:
3
- metadata.gz: 280da5476565894dccc6cd9e234afb36eec03ed270bc480a9181717b03c66f21
4
- data.tar.gz: c663840afcfb2af5a2f4adb26ae2e7539be4692f0de5d6a5c1c23fe1db07ae0a
3
+ metadata.gz: 834f029e86c9fad845c573cc2c72e6294767de95193f985e7d6d79997e616b30
4
+ data.tar.gz: 44c6711314e297ca4b876b6ef535f0443acfe66e1c5dfda93bc7307a1529dc69
5
5
  SHA512:
6
- metadata.gz: ed1164634c2d02d1481455df14bb005f2cbedf01472eef6494d87aa6dd0df72d840949c4a2e7551316936653f7ac72c127e3f3090dc378ac1924544c21edc83c
7
- data.tar.gz: c852e90c7c682e7fcc1799002956e76c1f5cc4a3958fc90bac9760884ce999a4c0b19d1d819217df23d1b8dcaa6c063e5657d95eb7f7505120e3d7284c9e5bce
6
+ metadata.gz: 2ac8ef1bee39287b22c036c4f2abfd69c7e7922884295b44a87696be2be68e56e9392646774bcfe8f6ccf5b3c7fdcf0164a2f95499bdb7165598316b6b46d4cf
7
+ data.tar.gz: ff16f63812d6cb53fbb2126ce2bbd9debf5aec15f8f5728d0ed74a7f715d1f657401a21011b198646c4e02e7988af22e56f61b3cc50d69fc6aa810661a145036
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.3.1] - 2020-12-10
11
+
12
+ ### Fixed
13
+
14
+ - Uses the correct private key in the `sign_data` method.
15
+
10
16
  ## [0.3.0] - 2020-12-10
11
17
 
12
18
  ### Added
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- decidim-bulletin_board (0.3.0)
4
+ decidim-bulletin_board (0.3.1)
5
5
  activemodel (~> 5.0, >= 5.0.0.1)
6
6
  activesupport (~> 5.0, >= 5.0.0.1)
7
7
  byebug (~> 11.0)
@@ -35,7 +35,7 @@ module Decidim
35
35
  end
36
36
 
37
37
  def sign_data(data)
38
- JWT.encode(data, identification_private_key.keypair, "RS256")
38
+ JWT.encode(data, private_key.keypair, "RS256")
39
39
  end
40
40
 
41
41
  def setup_election(election_data)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Decidim
4
4
  module BulletinBoard
5
- VERSION = "0.3.0"
5
+ VERSION = "0.3.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-bulletin_board
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Morcillo