inkcite 1.9.0 → 1.9.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: c9a6108e258e26ebffcba5b417592af73932bede
4
- data.tar.gz: c6390f145e38ebc22ab57c458e22ce3f1739bb1e
3
+ metadata.gz: aabad99d9252f3ff61ea16a6fcd79c145de6f399
4
+ data.tar.gz: 0642dc04ebf7c0ca068bbe6bb782bb6cf1539e2c
5
5
  SHA512:
6
- metadata.gz: 12fa75df86d37aaf12ea3161a16533d2d09c17aa7b04629c7aaffc01cc28d8521d611dbaebc2a3be15c0fa589a81774df7ec6d4b069f923c0e29825ef39c23a0
7
- data.tar.gz: da6c930926846bd56d665317ddca6014c61b7ac2e43488923ee9678b02a140b9f54aa8fb9c3fbb7abc4ae614289bfcbbe1d094ffa5ebeb28fe5d8d1f18793ffd
6
+ metadata.gz: 0d7fd3bd14490e024b7e3a06e928c3fb796c66d47a7ada0ae4902ddff30f60cc444f178a535290ec51e32281891799eb6301c72e8f5677d066817c73f3f5279d
7
+ data.tar.gz: 3975bf906623676bdbbebe8cccc763326e67739a959fdadf4e3f21a7c9222dfe3385cef18ce1fa67b044dad6dae9c14f9b3d44041dcfb1ac3210d0986eb6544a
@@ -5,7 +5,7 @@ module Inkcite
5
5
  module Cli
6
6
  class Test
7
7
 
8
- def self.invoke email, opt
8
+ def self.invoke email, opts
9
9
 
10
10
  # Check to see if the test-address has been specified.
11
11
  send_to = email.config[TEST_ADDRESS]
@@ -33,24 +33,7 @@ module Inkcite
33
33
  # latest images are available.
34
34
  email.upload
35
35
 
36
- # Typically the user will only provide a single test address but here
37
- # we convert to an array in case the user is sending to multiple
38
- # addresses for their own compatibility testing.
39
- send_to = Array(send_to)
40
-
41
- # Check to see if the user wants to test a specific version of the
42
- # email - otherwise test all of them.
43
- versions = Array(opt[:version] || email.versions)
44
-
45
- # Send each version to the testing service separately
46
- versions.each do |version|
47
-
48
- view = email.view(:preview, :email, version)
49
- puts "Sending '#{view.subject}' to #{send_to.join(', ')} ..."
50
-
51
- Inkcite::Mailer.send_version(email, version, { :to => send_to })
52
-
53
- end
36
+ Inkcite::Mailer.send(email, opts.merge({ :to => send_to }))
54
37
 
55
38
  true
56
39
  end
@@ -1,3 +1,3 @@
1
1
  module Inkcite
2
- VERSION = "1.9.0"
2
+ VERSION = "1.9.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inkcite
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeffrey D. Hoffman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-23 00:00:00.000000000 Z
11
+ date: 2015-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport