smitty 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NDZhYzc4ZjY5ODBhZTYxZGJjYzA4MTI3Njc2ZDlmZWQ4Y2Q1NzY3YQ==
4
+ MzAwMTFmM2Y2NDhjZmU1M2FlMGFkMWI5Y2E0MmZhMjZlZTc1MDAzMQ==
5
5
  data.tar.gz: !binary |-
6
- MzE5NzhlMzE2NzU2ZjNmN2E2ZGM5ZWZhMGNkMDUzZDUwZmNmMjM1Yw==
6
+ M2IxMzczYTZhM2Q2YTk4MDM0YzFkM2VkZGU5Yjc5MGU5YjI4M2M1OQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OWQzNjU4YTIyZDc3ODNiZjhkMTJiN2FjNjgzZTE5NzRhZDYyYjAyNmMxMWY3
10
- ZWQzNWQ5N2U2ODBkNjQ0ZjJmMzUxODhmNDhmMmMzN2Y3YzAwMmQwNGQxOTJj
11
- OWQ0ZmNkZTVkMWFjZjdhZTAwNTQ5NTM0MGJiNDgwMzEwMjFmZWU=
9
+ MTg2ZDY0NjE4OWMzM2JmMWY0N2RkZGQwZGJkN2FiOGJiZDdiMjAwY2YzYWM5
10
+ YjUyM2M0MTAyZGU3MWM4NGIxYTY2ZWRmY2U3ZWMyYmM4YjM3NTE2ZGQ1Yzc3
11
+ MDZmZGQ2NTlkZmJlNTgzMDZkYzgyYjRjMWM1MDIzYjEwMjY4ZGU=
12
12
  data.tar.gz: !binary |-
13
- MmUxMmE1ZWI0NDQ5ODJhNWQ0Yzk4NzQ5NTVkOWVhNGM4ZTQ0YzAxOThiZmZj
14
- MzU3MDRhNzg1MzBiODY0ZDU3OTA1OGM2NTAwYTE1MDVkY2NiNzgxZjc5NGJm
15
- ZjE2NWEzMTYwM2RhODY0MDY5YTQwNWVjYjFjODI2M2JlYTBmODc=
13
+ ZTFjYjFlM2YwYmVjZTU5ZjY5MDcwNjQ0YWQ3NGExZGI0YWExNzY4MzkzMTVl
14
+ NmZlM2ZhYzgxNGM1NTM5Yzc2MGUzMjg0ZTczMjFmNmUxMTg4NDFkYzM1NmRl
15
+ NTZjNTU0ZjMxYTBkOWQzOTYwYTE4MjhlZDJjNzZhZWM1YjE4MjY=
data/README.md CHANGED
@@ -12,8 +12,6 @@ Smitty would then loop over each email address in emails.txt, replacing {{name}}
12
12
 
13
13
  ## Installation
14
14
 
15
- Download the latest gem [here](https://github.com/tomsteele/smitty/releases/download/v0.0.2/smitty-0.0.2.gem) and install with gem:
16
-
17
15
  $ gem install smitty
18
16
 
19
17
  Or build and install it yourself as:
data/bin/smitty CHANGED
@@ -82,7 +82,12 @@ to_addresses.each do |to_address|
82
82
  if args['--dry-run']
83
83
  puts mail.to_s
84
84
  else
85
- puts "Message delivered to #{to_address}"
86
- mail.deliver!
85
+ puts "Sending message to #{to_address}"
86
+ begin
87
+ mail.deliver!
88
+ puts "Message sent"
89
+ rescue Exception => e
90
+ puts "Error: #{e.message}"
91
+ end
87
92
  end
88
93
  end
@@ -1,3 +1,3 @@
1
1
  module Smitty
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smitty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Steele
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-25 00:00:00.000000000 Z
11
+ date: 2013-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: docopt