unfuddle_my_email 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2009 Matt Haley
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,22 @@
1
+ = unfuddle_my_email
2
+
3
+ UnfuddleMyEmail is a library and command line utility
4
+ to post Unfuddle tickets captured from a POP3 mailbox.
5
+
6
+ Configuration is done via a YAML file, an example is
7
+ provided with the gem as <tt>configuration-sample.yml</tt>.
8
+
9
+ == Example
10
+
11
+ unfuddle_my_email /path/to/configuration.yml
12
+
13
+ == Notes
14
+
15
+ This code does not call <tt>require 'rubygems'</tt>, in order
16
+ to run the Rake tasks etc, you can supply the option <tt>-rubygems</tt>
17
+ when calling rake, or set the <tt>RUBYOPT</tt> environment variable.
18
+
19
+ == COPYRIGHT
20
+
21
+ Copyright (c) 2009 Matt Haley. See LICENSE for details.
22
+
data/VERSION.yml ADDED
@@ -0,0 +1,4 @@
1
+ ---
2
+ :patch: 3
3
+ :major: 0
4
+ :minor: 1
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/ruby
2
+
3
+ require 'unfuddle_my_email'
4
+
5
+ configuration_path = ARGV.first
6
+ unless configuration_path
7
+ puts "Usage:\n\nunfuddle_my_email <configuration_file>\n"
8
+ exit -1
9
+ end
10
+ runner = UnfuddleMyEmail::Runner.new(configuration_path)
11
+ runner.run
12
+
@@ -0,0 +1,13 @@
1
+ unfuddle_subdomain: 'mysubdomain'
2
+ unfuddle_username: 'username'
3
+ unfuddle_password: 'password'
4
+ unfuddle_ssl: true # set to true only if enabled for your account, false otherwise
5
+ unfuddle_project_id: 1234
6
+ unfuddle_api_url: '/api/v1/'
7
+ pop3_server: 'pop.example.com'
8
+ pop3_port: 995
9
+ pop3_ssl: true
10
+ pop3_username: 'username'
11
+ pop3_password: 'password'
12
+ pop3_delete: false # delete email after processing
13
+