freya 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/freya.rb +2 -2
  3. data/lib/freya/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 51e3de6fb2d29a2ba54199a69e91463f57548797
4
- data.tar.gz: 8b2150b89c632d9113996a573ae44d39b88a57d5
3
+ metadata.gz: f516a91826753e7aa6bf48cd74ad6828d6c54e68
4
+ data.tar.gz: fd77bc3ff363b6f7c1dfe96d453a60e807bbb93a
5
5
  SHA512:
6
- metadata.gz: 39f04054521876c19d02c796ad7bb9a1103a3d552687e6efd145cb3dbc30f2b6439665191dffd13d4b9bccd8257697af2804957565b1793b62ff4e266f4c6370
7
- data.tar.gz: f0240b5f61ed76907cd9219c0ec14f69ea0f68ba17c00a9483158296d6dab2c4a56bc587934c0b72563c25e4ac853b327c22444bf1c5ff98a27e360e999feba3
6
+ metadata.gz: b7ae9ac7bc9a3a8fa465b37dc6a0e94e091a9be084b7a98164feaa5a5c19157e04e85d55e3402e502fed59e884408113cfa1d46e25296c88b33981d29f671118
7
+ data.tar.gz: 143a156a4bd745ec3b2d2810d57038f7de5cd9601f170623695dd64c4fcf4d77ea73935758ee3297bba1a0731297f7a6416e424c9161a54cd24a81b1c636f380
@@ -45,11 +45,11 @@ module Freya
45
45
  end
46
46
 
47
47
  def cc
48
- base_cc.to_a + self[:cc].to_a - [to]
48
+ (base_cc.to_a + self[:cc].to_a - [to]).uniq
49
49
  end
50
50
 
51
51
  def bcc
52
- base_bcc.to_a + self[:bcc].to_a - [to]
52
+ (base_bcc.to_a + self[:bcc].to_a - [to]).uniq
53
53
  end
54
54
  end
55
55
  end
@@ -1,3 +1,3 @@
1
1
  module Freya
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freya
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Depalo