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 +8 -8
- data/README.md +0 -2
- data/bin/smitty +7 -2
- data/lib/smitty/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MzAwMTFmM2Y2NDhjZmU1M2FlMGFkMWI5Y2E0MmZhMjZlZTc1MDAzMQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
M2IxMzczYTZhM2Q2YTk4MDM0YzFkM2VkZGU5Yjc5MGU5YjI4M2M1OQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTg2ZDY0NjE4OWMzM2JmMWY0N2RkZGQwZGJkN2FiOGJiZDdiMjAwY2YzYWM5
|
10
|
+
YjUyM2M0MTAyZGU3MWM4NGIxYTY2ZWRmY2U3ZWMyYmM4YjM3NTE2ZGQ1Yzc3
|
11
|
+
MDZmZGQ2NTlkZmJlNTgzMDZkYzgyYjRjMWM1MDIzYjEwMjY4ZGU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
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 "
|
86
|
-
|
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
|
data/lib/smitty/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2013-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: docopt
|