freya 1.0.0 → 1.0.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
  SHA1:
3
- metadata.gz: 53629f40cadf24365421fc47dd1d974802507353
4
- data.tar.gz: b5304900222fa8c0c6f5a32f33536f160a752fba
3
+ metadata.gz: 2c9111ae237a9bc5744ed5a64faf02117d4a4ecb
4
+ data.tar.gz: 01cbd34c7c5f10ca504a6179b6c23a64e6fa65b6
5
5
  SHA512:
6
- metadata.gz: 07b66ece25355a4d2323487b31c55371c0af4bc0705fceb90df81dd4642470c97922735ed46c83051fc46363115c1cb6340f358cf36b2e474053276ca15fd00a
7
- data.tar.gz: 17bb3ad53d640c0cc1a193bce8aaa8fea853a5e265545a2e65ad9796883a5bc4f79201dca3f1f4c4cb2539e8fbbae8a7e1870b3c4d9b45414c01691f538bc1d6
6
+ metadata.gz: c8cc482062754853c3731e9c8559a707cda0f38e05b589e96223893cf730fc553ffd78a1f13027359af2bfc8e983e18f10d72ee0774c1eb29c748682bcb759be
7
+ data.tar.gz: 6816b58e12243095ce606496ecdce599111b0c852106a5cce8ee5ea9278f01b6ed67a66f6d0febcdc6501c3d27252fc7661c63d51465d9e9a5affbd8f0b15800
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Freya
2
2
 
3
- A minimal email link generator
3
+ Tool to build mailto links using static email bodies pulled from a YAML config file.
4
4
 
5
5
  ## Installation
6
6
 
data/lib/freya.rb CHANGED
@@ -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]).uniq
48
+ ([base_cc].flatten + [self[:cc]].flatten - [to]).compact.uniq
49
49
  end
50
50
 
51
51
  def bcc
52
- (base_bcc.to_a + self[:bcc].to_a - [to]).uniq
52
+ ([base_bcc].flatten + [self[:bcc]].flatten - [to]).compact.uniq
53
53
  end
54
54
  end
55
55
  end
data/lib/freya/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Freya
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freya
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Depalo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-06 00:00:00.000000000 Z
11
+ date: 2013-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  version: '0'
117
117
  requirements: []
118
118
  rubyforge_project:
119
- rubygems_version: 2.1.9
119
+ rubygems_version: 2.0.3
120
120
  signing_key:
121
121
  specification_version: 4
122
122
  summary: Minimal email generator