EZsmtp 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.gitignore +17 -0
- data/.idea/.name +1 -0
- data/.idea/EZsmtp.iml +20 -0
- data/.idea/encodings.xml +5 -0
- data/.idea/misc.xml +5 -0
- data/.idea/modules.xml +9 -0
- data/.idea/scopes/scope_settings.xml +5 -0
- data/.idea/vcs.xml +7 -0
- data/.idea/workspace.xml +361 -0
- data/EZsmtp.gemspec +24 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/lib/EZsmtp.rb +38 -0
- data/lib/EZsmtp/version.rb +3 -0
- metadata +88 -0
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
YTYxNTAwZWM2NjIwNDM1MWQzNThlNTczOThmOTkyM2UyYTdmYTNjNg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
M2Y1ZDI0OTgwOGFiYzZhOTlhZGI2OGVjZTFkODQ5ZDZmODhiODE4OA==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
YTA4OWRjYzM5ZmU0ZGUwZGZjN2VkYTVlNDFjZWZhN2JkYWI0MjA5ZjBkNDFj
|
10
|
+
ODY2YTBkNTY3MGMwNDk4ODQyMGE3NjU2YjU1NjM1ZjlhNmRlOWUzMjdhZThl
|
11
|
+
ZTFkYmZkMWE1YTEwZGM4NTU0ZTViYjkxZWI2MjI2ZGRlMDA5ODA=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
Y2NiZmE1OTUxNmQ0ZTZhODNjZjFmMDNkNzMyMjFiZDdhMWM1ZTY5NGZhZmU5
|
14
|
+
ZGI0YjI5YmVhMjk3Njc4YWI5MWI5NWViNTcxYzIyNmU4MTA2ODk4MGNmYTJh
|
15
|
+
NWQ2NmU5ODNjZWRhNzY0YTc5NWEzZWEzMzIyOTkzMDE0MTMwZjQ=
|
data/.gitignore
ADDED
data/.idea/.name
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
EZsmtp
|
data/.idea/EZsmtp.iml
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
3
|
+
<component name="FacetManager">
|
4
|
+
<facet type="gem" name="Gem">
|
5
|
+
<configuration>
|
6
|
+
<option name="GEM_APP_ROOT_PATH" value="$MODULE_DIR$" />
|
7
|
+
<option name="GEM_APP_TEST_PATH" value="" />
|
8
|
+
<option name="GEM_APP_LIB_PATH" value="" />
|
9
|
+
</configuration>
|
10
|
+
</facet>
|
11
|
+
</component>
|
12
|
+
<component name="NewModuleRootManager">
|
13
|
+
<content url="file://$MODULE_DIR$" />
|
14
|
+
<orderEntry type="inheritedJdk" />
|
15
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
16
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.3.4, ruby-1.9.3-p194) [gem]" level="application" />
|
17
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v10.0.4, ruby-1.9.3-p194) [gem]" level="application" />
|
18
|
+
</component>
|
19
|
+
</module>
|
20
|
+
|
data/.idea/encodings.xml
ADDED
data/.idea/misc.xml
ADDED
data/.idea/modules.xml
ADDED
data/.idea/vcs.xml
ADDED
data/.idea/workspace.xml
ADDED
@@ -0,0 +1,361 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ChangeListManager">
|
4
|
+
<list default="true" id="c79a9e2b-6fa6-4417-8e89-71116b6bfa84" name="Default" comment="" />
|
5
|
+
<ignored path="EZsmtp.iws" />
|
6
|
+
<ignored path=".idea/workspace.xml" />
|
7
|
+
<file path="/EZsmtp.rb" changelist="c79a9e2b-6fa6-4417-8e89-71116b6bfa84" time="1364486485123" ignored="false" />
|
8
|
+
<file path="/smtptestclass.rb" changelist="c79a9e2b-6fa6-4417-8e89-71116b6bfa84" time="1364486570893" ignored="false" />
|
9
|
+
<file path="/EZsmtp.gemspec" changelist="c79a9e2b-6fa6-4417-8e89-71116b6bfa84" time="1364486740988" ignored="false" />
|
10
|
+
<option name="TRACKING_ENABLED" value="true" />
|
11
|
+
<option name="SHOW_DIALOG" value="false" />
|
12
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
13
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
14
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
15
|
+
</component>
|
16
|
+
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
17
|
+
<component name="CreatePatchCommitExecutor">
|
18
|
+
<option name="PATCH_PATH" value="" />
|
19
|
+
</component>
|
20
|
+
<component name="DaemonCodeAnalyzer">
|
21
|
+
<disable_hints />
|
22
|
+
</component>
|
23
|
+
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
|
24
|
+
<component name="FileEditorManager">
|
25
|
+
<leaf>
|
26
|
+
<file leaf-file-name="Gemfile" pinned="false" current="false" current-in-tab="false">
|
27
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
28
|
+
<provider selected="true" editor-type-id="text-editor">
|
29
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
30
|
+
<folding />
|
31
|
+
</state>
|
32
|
+
</provider>
|
33
|
+
</entry>
|
34
|
+
</file>
|
35
|
+
<file leaf-file-name="EZsmtp.rb" pinned="false" current="false" current-in-tab="false">
|
36
|
+
<entry file="file://$PROJECT_DIR$/lib/EZsmtp.rb">
|
37
|
+
<provider selected="true" editor-type-id="text-editor">
|
38
|
+
<state line="16" column="40" selection-start="346" selection-end="346" vertical-scroll-proportion="0.0">
|
39
|
+
<folding />
|
40
|
+
</state>
|
41
|
+
</provider>
|
42
|
+
</entry>
|
43
|
+
</file>
|
44
|
+
<file leaf-file-name="smtptestclass.rb" pinned="false" current="false" current-in-tab="false">
|
45
|
+
<entry file="file://$PROJECT_DIR$/smtptestclass.rb">
|
46
|
+
<provider selected="true" editor-type-id="text-editor">
|
47
|
+
<state line="5" column="37" selection-start="276" selection-end="276" vertical-scroll-proportion="0.0">
|
48
|
+
<folding />
|
49
|
+
</state>
|
50
|
+
</provider>
|
51
|
+
</entry>
|
52
|
+
</file>
|
53
|
+
<file leaf-file-name="EZsmtp.gemspec" pinned="false" current="true" current-in-tab="true">
|
54
|
+
<entry file="file://$PROJECT_DIR$/EZsmtp.gemspec">
|
55
|
+
<provider selected="true" editor-type-id="text-editor">
|
56
|
+
<state line="14" column="21" selection-start="497" selection-end="497" vertical-scroll-proportion="0.6214099">
|
57
|
+
<folding />
|
58
|
+
</state>
|
59
|
+
</provider>
|
60
|
+
</entry>
|
61
|
+
</file>
|
62
|
+
</leaf>
|
63
|
+
</component>
|
64
|
+
<component name="FindManager">
|
65
|
+
<FindUsagesManager>
|
66
|
+
<setting name="OPEN_NEW_TAB" value="false" />
|
67
|
+
</FindUsagesManager>
|
68
|
+
</component>
|
69
|
+
<component name="IdeDocumentHistory">
|
70
|
+
<option name="changedFiles">
|
71
|
+
<list>
|
72
|
+
<option value="$PROJECT_DIR$/smtptestclass.rb" />
|
73
|
+
<option value="$PROJECT_DIR$/lib/EZsmtp.rb" />
|
74
|
+
<option value="$PROJECT_DIR$/EZsmtp.gemspec" />
|
75
|
+
</list>
|
76
|
+
</option>
|
77
|
+
</component>
|
78
|
+
<component name="ProjectFrameBounds">
|
79
|
+
<option name="x" value="-8" />
|
80
|
+
<option name="y" value="-8" />
|
81
|
+
<option name="width" value="1382" />
|
82
|
+
<option name="height" value="744" />
|
83
|
+
</component>
|
84
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
85
|
+
<OptionsSetting value="true" id="Add" />
|
86
|
+
<OptionsSetting value="true" id="Remove" />
|
87
|
+
<OptionsSetting value="true" id="Checkout" />
|
88
|
+
<OptionsSetting value="true" id="Update" />
|
89
|
+
<OptionsSetting value="true" id="Status" />
|
90
|
+
<OptionsSetting value="true" id="Edit" />
|
91
|
+
<ConfirmationsSetting value="0" id="Add" />
|
92
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
93
|
+
</component>
|
94
|
+
<component name="ProjectReloadState">
|
95
|
+
<option name="STATE" value="0" />
|
96
|
+
</component>
|
97
|
+
<component name="ProjectView">
|
98
|
+
<navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
|
99
|
+
<flattenPackages />
|
100
|
+
<showMembers />
|
101
|
+
<showModules />
|
102
|
+
<showLibraryContents />
|
103
|
+
<hideEmptyPackages />
|
104
|
+
<abbreviatePackageNames />
|
105
|
+
<autoscrollToSource />
|
106
|
+
<autoscrollFromSource />
|
107
|
+
<sortByType />
|
108
|
+
</navigator>
|
109
|
+
<panes>
|
110
|
+
<pane id="ProjectPane">
|
111
|
+
<subPane>
|
112
|
+
<PATH>
|
113
|
+
<PATH_ELEMENT>
|
114
|
+
<option name="myItemId" value="EZsmtp" />
|
115
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
116
|
+
</PATH_ELEMENT>
|
117
|
+
</PATH>
|
118
|
+
<PATH>
|
119
|
+
<PATH_ELEMENT>
|
120
|
+
<option name="myItemId" value="EZsmtp" />
|
121
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
122
|
+
</PATH_ELEMENT>
|
123
|
+
<PATH_ELEMENT>
|
124
|
+
<option name="myItemId" value="EZsmtp" />
|
125
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
126
|
+
</PATH_ELEMENT>
|
127
|
+
</PATH>
|
128
|
+
<PATH>
|
129
|
+
<PATH_ELEMENT>
|
130
|
+
<option name="myItemId" value="EZsmtp" />
|
131
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
132
|
+
</PATH_ELEMENT>
|
133
|
+
<PATH_ELEMENT>
|
134
|
+
<option name="myItemId" value="EZsmtp" />
|
135
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
136
|
+
</PATH_ELEMENT>
|
137
|
+
<PATH_ELEMENT>
|
138
|
+
<option name="myItemId" value="lib" />
|
139
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
140
|
+
</PATH_ELEMENT>
|
141
|
+
</PATH>
|
142
|
+
</subPane>
|
143
|
+
</pane>
|
144
|
+
<pane id="Scope" />
|
145
|
+
</panes>
|
146
|
+
</component>
|
147
|
+
<component name="PropertiesComponent">
|
148
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
149
|
+
<property name="recentsLimit" value="5" />
|
150
|
+
</component>
|
151
|
+
<component name="RunManager" selected="Ruby.smtptestclass">
|
152
|
+
<configuration default="false" name="smtptestclass" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
|
153
|
+
<module name="EZsmtp" />
|
154
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
155
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$PROJECT_DIR$" />
|
156
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
157
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
158
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
159
|
+
<envs />
|
160
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
161
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
162
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov" />
|
163
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
164
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$PROJECT_DIR$/smtptestclass.rb" />
|
165
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
166
|
+
<RunnerSettings RunnerId="RubyRunner" />
|
167
|
+
<ConfigurationWrapper RunnerId="RubyRunner" />
|
168
|
+
<method />
|
169
|
+
</configuration>
|
170
|
+
<configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
|
171
|
+
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
172
|
+
<module name="" />
|
173
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
174
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
175
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
176
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
177
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
178
|
+
<envs />
|
179
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
180
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
181
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov" />
|
182
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
183
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
184
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
185
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
186
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
187
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
|
188
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
189
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
190
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
191
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
|
192
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
193
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
194
|
+
<method />
|
195
|
+
</configuration>
|
196
|
+
<configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
|
197
|
+
<module name="" />
|
198
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
199
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
|
200
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
201
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
202
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
203
|
+
<envs />
|
204
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
205
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
206
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov" />
|
207
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
208
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
|
209
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
210
|
+
<method />
|
211
|
+
</configuration>
|
212
|
+
<configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
|
213
|
+
<predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
|
214
|
+
<module name="" />
|
215
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
216
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
217
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
218
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
219
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
220
|
+
<envs />
|
221
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
222
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
223
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov" />
|
224
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
225
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
226
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
227
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
|
228
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
|
229
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
230
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
231
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
|
232
|
+
<method />
|
233
|
+
</configuration>
|
234
|
+
<list size="1">
|
235
|
+
<item index="0" class="java.lang.String" itemvalue="Ruby.smtptestclass" />
|
236
|
+
</list>
|
237
|
+
<recent_temporary>
|
238
|
+
<list size="1">
|
239
|
+
<item index="0" class="java.lang.String" itemvalue="Ruby.smtptestclass" />
|
240
|
+
</list>
|
241
|
+
</recent_temporary>
|
242
|
+
</component>
|
243
|
+
<component name="ShelveChangesManager" show_recycled="false" />
|
244
|
+
<component name="TaskManager">
|
245
|
+
<task active="true" id="Default" summary="Default task">
|
246
|
+
<changelist id="c79a9e2b-6fa6-4417-8e89-71116b6bfa84" name="Default" comment="" />
|
247
|
+
<created>1364485312970</created>
|
248
|
+
<updated>1364485312970</updated>
|
249
|
+
</task>
|
250
|
+
<servers />
|
251
|
+
</component>
|
252
|
+
<component name="ToolWindowManager">
|
253
|
+
<frame x="-8" y="-8" width="1382" height="744" extended-state="6" />
|
254
|
+
<editor active="true" />
|
255
|
+
<layout>
|
256
|
+
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
257
|
+
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
258
|
+
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
259
|
+
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
260
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24166666" sideWeight="0.6704918" order="0" side_tool="false" content_ui="combo" />
|
261
|
+
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
262
|
+
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
263
|
+
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
264
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3295082" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
265
|
+
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
266
|
+
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
267
|
+
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
268
|
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
269
|
+
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
270
|
+
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
271
|
+
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
272
|
+
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
273
|
+
</layout>
|
274
|
+
</component>
|
275
|
+
<component name="VcsContentAnnotationSettings">
|
276
|
+
<option name="myLimit" value="2678400000" />
|
277
|
+
</component>
|
278
|
+
<component name="VcsManagerConfiguration">
|
279
|
+
<option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
|
280
|
+
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
|
281
|
+
<option name="CHECK_NEW_TODO" value="true" />
|
282
|
+
<option name="myTodoPanelSettings">
|
283
|
+
<value>
|
284
|
+
<are-packages-shown value="false" />
|
285
|
+
<are-modules-shown value="false" />
|
286
|
+
<flatten-packages value="false" />
|
287
|
+
<is-autoscroll-to-source value="false" />
|
288
|
+
</value>
|
289
|
+
</option>
|
290
|
+
<option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" />
|
291
|
+
<option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" />
|
292
|
+
<option name="PERFORM_EDIT_IN_BACKGROUND" value="true" />
|
293
|
+
<option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" />
|
294
|
+
<option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
|
295
|
+
<option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" />
|
296
|
+
<option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" />
|
297
|
+
<option name="CHANGED_ON_SERVER_INTERVAL" value="60" />
|
298
|
+
<option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" />
|
299
|
+
<option name="CHECK_COMMIT_MESSAGE_SPELLING" value="true" />
|
300
|
+
<option name="DEFAULT_PATCH_EXTENSION" value="patch" />
|
301
|
+
<option name="SHORT_DIFF_HORISONTALLY" value="true" />
|
302
|
+
<option name="SHORT_DIFF_EXTRA_LINES" value="2" />
|
303
|
+
<option name="SOFT_WRAPS_IN_SHORT_DIFF" value="true" />
|
304
|
+
<option name="INCLUDE_TEXT_INTO_PATCH" value="false" />
|
305
|
+
<option name="INCLUDE_TEXT_INTO_SHELF" value="false" />
|
306
|
+
<option name="SHOW_FILE_HISTORY_DETAILS" value="true" />
|
307
|
+
<option name="SHOW_VCS_ERROR_NOTIFICATIONS" value="true" />
|
308
|
+
<option name="SHOW_DIRTY_RECURSIVELY" value="false" />
|
309
|
+
<option name="LIMIT_HISTORY" value="true" />
|
310
|
+
<option name="MAXIMUM_HISTORY_ROWS" value="1000" />
|
311
|
+
<option name="FORCE_NON_EMPTY_COMMENT" value="false" />
|
312
|
+
<option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="false" />
|
313
|
+
<option name="LAST_COMMIT_MESSAGE" />
|
314
|
+
<option name="MAKE_NEW_CHANGELIST_ACTIVE" value="false" />
|
315
|
+
<option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
|
316
|
+
<option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
|
317
|
+
<option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
|
318
|
+
<option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
|
319
|
+
<option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
|
320
|
+
<option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
|
321
|
+
<option name="ACTIVE_VCS_NAME" />
|
322
|
+
<option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
|
323
|
+
<option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
|
324
|
+
<option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
|
325
|
+
<option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
|
326
|
+
</component>
|
327
|
+
<component name="XDebuggerManager">
|
328
|
+
<breakpoint-manager />
|
329
|
+
</component>
|
330
|
+
<component name="editorHistoryManager">
|
331
|
+
<entry file="file://$PROJECT_DIR$/smtptestclass.rb">
|
332
|
+
<provider selected="true" editor-type-id="text-editor">
|
333
|
+
<state line="5" column="37" selection-start="276" selection-end="276" vertical-scroll-proportion="0.0">
|
334
|
+
<folding />
|
335
|
+
</state>
|
336
|
+
</provider>
|
337
|
+
</entry>
|
338
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
339
|
+
<provider selected="true" editor-type-id="text-editor">
|
340
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
341
|
+
<folding />
|
342
|
+
</state>
|
343
|
+
</provider>
|
344
|
+
</entry>
|
345
|
+
<entry file="file://$PROJECT_DIR$/lib/EZsmtp.rb">
|
346
|
+
<provider selected="true" editor-type-id="text-editor">
|
347
|
+
<state line="16" column="40" selection-start="346" selection-end="346" vertical-scroll-proportion="0.0">
|
348
|
+
<folding />
|
349
|
+
</state>
|
350
|
+
</provider>
|
351
|
+
</entry>
|
352
|
+
<entry file="file://$PROJECT_DIR$/EZsmtp.gemspec">
|
353
|
+
<provider selected="true" editor-type-id="text-editor">
|
354
|
+
<state line="14" column="21" selection-start="497" selection-end="497" vertical-scroll-proportion="0.6214099">
|
355
|
+
<folding />
|
356
|
+
</state>
|
357
|
+
</provider>
|
358
|
+
</entry>
|
359
|
+
</component>
|
360
|
+
</project>
|
361
|
+
|
data/EZsmtp.gemspec
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'EZsmtp/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "EZsmtp"
|
8
|
+
spec.version = EZsmtp::VERSION
|
9
|
+
spec.authors = ["Daniel Breen"]
|
10
|
+
spec.email = ["Daniel.Breen@ballyfad.com"]
|
11
|
+
spec.description = %q{This is a simple smtp gem}
|
12
|
+
spec.summary = %q{no}
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
spec.version="0.5.0"
|
16
|
+
|
17
|
+
spec.files = `git ls-files`.split($/)
|
18
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
|
+
spec.require_paths = ["lib"]
|
21
|
+
|
22
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
23
|
+
spec.add_development_dependency "rake"
|
24
|
+
end
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 Daniel Breen
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# EZsmtp
|
2
|
+
|
3
|
+
TODO: Write a gem description
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'EZsmtp'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install EZsmtp
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Write usage instructions here
|
22
|
+
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
1. Fork it
|
26
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
data/lib/EZsmtp.rb
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
require "EZsmtp/version"
|
2
|
+
require 'net/smtp'
|
3
|
+
|
4
|
+
module EZsmtp
|
5
|
+
class TEST
|
6
|
+
@server=""
|
7
|
+
@mail=""
|
8
|
+
@port=0
|
9
|
+
@username=""
|
10
|
+
@fromAddress=""
|
11
|
+
@password
|
12
|
+
|
13
|
+
def initialize(server,mail_from_domain,port,username,password)
|
14
|
+
@server=server
|
15
|
+
@mail=mail_from_domain
|
16
|
+
@port=port
|
17
|
+
@username=username
|
18
|
+
@fromAddress=username
|
19
|
+
@password=password
|
20
|
+
end
|
21
|
+
|
22
|
+
def sendMail(toAddress,subject,message)
|
23
|
+
messageTosend="From:#{@fromAddress}"
|
24
|
+
message = <<MESSAGE_END
|
25
|
+
From: #{@fromAddress}
|
26
|
+
To: #{toAddress}
|
27
|
+
Subject: #{subject}
|
28
|
+
|
29
|
+
#{message}
|
30
|
+
MESSAGE_END
|
31
|
+
smtp = Net::SMTP.new(@server, @port)
|
32
|
+
smtp.enable_starttls_auto
|
33
|
+
smtp.start(@server,@username,@password, :plain)
|
34
|
+
smtp.send_message(message, @fromAddress, toAddress)
|
35
|
+
puts "DONE"
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
metadata
ADDED
@@ -0,0 +1,88 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: EZsmtp
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.5.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Daniel Breen
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-03-28 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.3'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
description: This is a simple smtp gem
|
42
|
+
email:
|
43
|
+
- Daniel.Breen@ballyfad.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- .gitignore
|
49
|
+
- .idea/.name
|
50
|
+
- .idea/EZsmtp.iml
|
51
|
+
- .idea/encodings.xml
|
52
|
+
- .idea/misc.xml
|
53
|
+
- .idea/modules.xml
|
54
|
+
- .idea/scopes/scope_settings.xml
|
55
|
+
- .idea/vcs.xml
|
56
|
+
- .idea/workspace.xml
|
57
|
+
- EZsmtp.gemspec
|
58
|
+
- Gemfile
|
59
|
+
- LICENSE.txt
|
60
|
+
- README.md
|
61
|
+
- Rakefile
|
62
|
+
- lib/EZsmtp.rb
|
63
|
+
- lib/EZsmtp/version.rb
|
64
|
+
homepage: ''
|
65
|
+
licenses:
|
66
|
+
- MIT
|
67
|
+
metadata: {}
|
68
|
+
post_install_message:
|
69
|
+
rdoc_options: []
|
70
|
+
require_paths:
|
71
|
+
- lib
|
72
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ! '>='
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
requirements: []
|
83
|
+
rubyforge_project:
|
84
|
+
rubygems_version: 2.0.3
|
85
|
+
signing_key:
|
86
|
+
specification_version: 4
|
87
|
+
summary: 'no'
|
88
|
+
test_files: []
|