collins_notify 0.0.1

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.
@@ -0,0 +1,11 @@
1
+ X-Mailer: collins
2
+
3
+ This is a default email from collins. Printing the message object I have available:
4
+
5
+ <%= message_obj.to_s %>
6
+
7
+ <a href="Http://www.google.com">Google</a>
8
+
9
+ Thanks for reading!
10
+
11
+ Collins
@@ -0,0 +1,8 @@
1
+ Subject: Server <%= message_obj.hostname || message_obj.tag %> has been provisioned
2
+ X-Mailer: collins
3
+
4
+ <p>Your server has been provisioned. For more details click <a href="https://hostname/asset/<%=message_obj.tag%>">https://hostname/asset/<%=message_obj.tag%></a></p>
5
+
6
+ <p>Thanks for reading!</p>
7
+
8
+ <p><a href="https://collins.ewr01.tumblr.net">Collins</a></p>
@@ -0,0 +1 @@
1
+ <%=message_obj.to_s%>
@@ -0,0 +1 @@
1
+ <%=message_obj.to_s%>
metadata ADDED
@@ -0,0 +1,136 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: collins_notify
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Blake Matheny
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-01-29 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: collins_client
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 0.2.10
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 0.2.10
30
+ - !ruby/object:Gem::Dependency
31
+ name: hipchat
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: 0.7.0
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 0.7.0
46
+ - !ruby/object:Gem::Dependency
47
+ name: mail
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: 2.4.4
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 2.4.4
62
+ - !ruby/object:Gem::Dependency
63
+ name: nokogiri
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: 1.5.2
70
+ type: :runtime
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 1.5.2
78
+ description: Send notifications via hipchat, IRC and email
79
+ email: bmatheny@tumblr.com
80
+ executables:
81
+ - collins-notify
82
+ extensions: []
83
+ extra_rdoc_files: []
84
+ files:
85
+ - Gemfile
86
+ - README.rdoc
87
+ - Rakefile
88
+ - VERSION
89
+ - bin/collins-notify
90
+ - lib/collins_notify.rb
91
+ - lib/collins_notify/adapter/email.rb
92
+ - lib/collins_notify/adapter/helper/carried-pigeon.rb
93
+ - lib/collins_notify/adapter/hipchat.rb
94
+ - lib/collins_notify/adapter/irc.rb
95
+ - lib/collins_notify/application.rb
96
+ - lib/collins_notify/command_runner.rb
97
+ - lib/collins_notify/configuration.rb
98
+ - lib/collins_notify/configuration_mixin.rb
99
+ - lib/collins_notify/errors.rb
100
+ - lib/collins_notify/notifier.rb
101
+ - lib/collins_notify/options.rb
102
+ - lib/collins_notify/version.rb
103
+ - sample_config.yaml
104
+ - templates/default_email.erb
105
+ - templates/default_email.html.erb
106
+ - templates/default_hipchat.erb
107
+ - templates/default_irc.erb
108
+ homepage: https://github.com/tumblr/collins/tree/master/support/ruby/collins-notify
109
+ licenses:
110
+ - MIT
111
+ post_install_message:
112
+ rdoc_options: []
113
+ require_paths:
114
+ - lib
115
+ required_ruby_version: !ruby/object:Gem::Requirement
116
+ none: false
117
+ requirements:
118
+ - - ! '>='
119
+ - !ruby/object:Gem::Version
120
+ version: '0'
121
+ segments:
122
+ - 0
123
+ hash: -1912986275392860766
124
+ required_rubygems_version: !ruby/object:Gem::Requirement
125
+ none: false
126
+ requirements:
127
+ - - ! '>='
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
130
+ requirements: []
131
+ rubyforge_project:
132
+ rubygems_version: 1.8.23
133
+ signing_key:
134
+ specification_version: 3
135
+ summary: Notifications for Collins
136
+ test_files: []