simple_smtp_test 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/.idea/.name +1 -0
- data/.idea/.rakeTasks +7 -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/simple_smtp_test.iml +53 -0
- data/.idea/vcs.xml +7 -0
- data/.idea/workspace.xml +655 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +4 -0
- data/lib/simple_smtp_test.rb +5 -0
- data/lib/simple_smtp_test/railtie.rb +11 -0
- data/lib/simple_smtp_test/simple_smtp_test_mailer.rb +9 -0
- data/lib/simple_smtp_test/version.rb +3 -0
- data/lib/tasks/.keep +0 -0
- data/lib/tasks/simple_smtp_test.rake +21 -0
- data/simple_smtp_test.gemspec +26 -0
- data/spec/spec_helper.rb +59 -0
- data/spec/tasks/null.txt +3 -0
- data/spec/tasks/simple_smtp_test_rake_spec.rb +27 -0
- metadata +142 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: b9636cbb1548383ab5931e78182c84f15ae3064b
|
4
|
+
data.tar.gz: 0d3e415b35960934948c822bcb051d83e7157519
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 06d9f36b19b681baf2cda9949a16080b1f7c002bd1f510c797dd968e7df1f1abdb82a07d9ed7191d70315a45adc05d2041bd61f2b9ebdff2367c39262262e49d
|
7
|
+
data.tar.gz: f89ae1b69ed031b6eb689ea38fb4ca8f0c120eaa6d28c925bd59634612f379e35281bb3c2e2fc9f707fc793f6652b9cf68d04655a9ece3d64530e5a2b0d15af1
|
data/.gitignore
ADDED
data/.idea/.name
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
simple_smtp_test
|
data/.idea/.rakeTasks
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<Settings><!--This file was automatically generated by Ruby plugin.
|
3
|
+
You are allowed to:
|
4
|
+
1. Remove rake task
|
5
|
+
2. Add existing rake tasks
|
6
|
+
To add existing rake tasks automatically delete this file and reload the project.
|
7
|
+
--><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build simple_smtp_test-0.0.1.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Build and install simple_smtp_test-0.0.1.gem into system gems" fullCmd="install" taksId="install" /><RakeTask description="Create tag v0.0.1 and build and push simple_smtp_test-0.0.1.gem to Rubygems" fullCmd="release" taksId="release" /></RakeGroup></Settings>
|
data/.idea/encodings.xml
ADDED
data/.idea/misc.xml
ADDED
data/.idea/modules.xml
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ProjectModuleManager">
|
4
|
+
<modules>
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/simple_smtp_test.iml" filepath="$PROJECT_DIR$/.idea/simple_smtp_test.iml" />
|
6
|
+
</modules>
|
7
|
+
</component>
|
8
|
+
</project>
|
9
|
+
|
@@ -0,0 +1,53 @@
|
|
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="$MODULE_DIR$/lib" />
|
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="actionmailer (v4.0.0, rbenv: 2.0.0-p247) [gem]" level="application" />
|
17
|
+
<orderEntry type="library" scope="PROVIDED" name="actionpack (v4.0.0, rbenv: 2.0.0-p247) [gem]" level="application" />
|
18
|
+
<orderEntry type="library" scope="PROVIDED" name="activemodel (v4.0.0, rbenv: 2.0.0-p247) [gem]" level="application" />
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="activerecord (v4.0.0, rbenv: 2.0.0-p247) [gem]" level="application" />
|
20
|
+
<orderEntry type="library" scope="PROVIDED" name="activerecord-deprecated_finders (v1.0.3, rbenv: 2.0.0-p247) [gem]" level="application" />
|
21
|
+
<orderEntry type="library" scope="PROVIDED" name="activesupport (v4.0.0, rbenv: 2.0.0-p247) [gem]" level="application" />
|
22
|
+
<orderEntry type="library" scope="PROVIDED" name="arel (v4.0.0, rbenv: 2.0.0-p247) [gem]" level="application" />
|
23
|
+
<orderEntry type="library" scope="PROVIDED" name="atomic (v1.1.13, rbenv: 2.0.0-p247) [gem]" level="application" />
|
24
|
+
<orderEntry type="library" scope="PROVIDED" name="builder (v3.1.4, rbenv: 2.0.0-p247) [gem]" level="application" />
|
25
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.3.5, rbenv: 2.0.0-p247) [gem]" level="application" />
|
26
|
+
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.4, rbenv: 2.0.0-p247) [gem]" level="application" />
|
27
|
+
<orderEntry type="library" scope="PROVIDED" name="erubis (v2.7.0, rbenv: 2.0.0-p247) [gem]" level="application" />
|
28
|
+
<orderEntry type="library" scope="PROVIDED" name="hike (v1.2.3, rbenv: 2.0.0-p247) [gem]" level="application" />
|
29
|
+
<orderEntry type="library" scope="PROVIDED" name="i18n (v0.6.5, rbenv: 2.0.0-p247) [gem]" level="application" />
|
30
|
+
<orderEntry type="library" scope="PROVIDED" name="mail (v2.5.4, rbenv: 2.0.0-p247) [gem]" level="application" />
|
31
|
+
<orderEntry type="library" scope="PROVIDED" name="mime-types (v1.25, rbenv: 2.0.0-p247) [gem]" level="application" />
|
32
|
+
<orderEntry type="library" scope="PROVIDED" name="minitest (v4.7.5, rbenv: 2.0.0-p247) [gem]" level="application" />
|
33
|
+
<orderEntry type="library" scope="PROVIDED" name="multi_json (v1.7.9, rbenv: 2.0.0-p247) [gem]" level="application" />
|
34
|
+
<orderEntry type="library" scope="PROVIDED" name="polyglot (v0.3.3, rbenv: 2.0.0-p247) [gem]" level="application" />
|
35
|
+
<orderEntry type="library" scope="PROVIDED" name="rack (v1.5.2, rbenv: 2.0.0-p247) [gem]" level="application" />
|
36
|
+
<orderEntry type="library" scope="PROVIDED" name="rack-test (v0.6.2, rbenv: 2.0.0-p247) [gem]" level="application" />
|
37
|
+
<orderEntry type="library" scope="PROVIDED" name="rails (v4.0.0, rbenv: 2.0.0-p247) [gem]" level="application" />
|
38
|
+
<orderEntry type="library" scope="PROVIDED" name="railties (v4.0.0, rbenv: 2.0.0-p247) [gem]" level="application" />
|
39
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v10.1.0, rbenv: 2.0.0-p247) [gem]" level="application" />
|
40
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec (v2.14.1, rbenv: 2.0.0-p247) [gem]" level="application" />
|
41
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v2.14.5, rbenv: 2.0.0-p247) [gem]" level="application" />
|
42
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v2.14.2, rbenv: 2.0.0-p247) [gem]" level="application" />
|
43
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v2.14.3, rbenv: 2.0.0-p247) [gem]" level="application" />
|
44
|
+
<orderEntry type="library" scope="PROVIDED" name="sprockets (v2.10.0, rbenv: 2.0.0-p247) [gem]" level="application" />
|
45
|
+
<orderEntry type="library" scope="PROVIDED" name="sprockets-rails (v2.0.0, rbenv: 2.0.0-p247) [gem]" level="application" />
|
46
|
+
<orderEntry type="library" scope="PROVIDED" name="thor (v0.18.1, rbenv: 2.0.0-p247) [gem]" level="application" />
|
47
|
+
<orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.1.2, rbenv: 2.0.0-p247) [gem]" level="application" />
|
48
|
+
<orderEntry type="library" scope="PROVIDED" name="tilt (v1.4.1, rbenv: 2.0.0-p247) [gem]" level="application" />
|
49
|
+
<orderEntry type="library" scope="PROVIDED" name="treetop (v1.4.15, rbenv: 2.0.0-p247) [gem]" level="application" />
|
50
|
+
<orderEntry type="library" scope="PROVIDED" name="tzinfo (v0.3.37, rbenv: 2.0.0-p247) [gem]" level="application" />
|
51
|
+
</component>
|
52
|
+
</module>
|
53
|
+
|
data/.idea/vcs.xml
ADDED
data/.idea/workspace.xml
ADDED
@@ -0,0 +1,655 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ChangeListManager">
|
4
|
+
<list default="true" id="cd9c8d3e-a565-4ede-b343-76a1ec9b4d89" name="Default" comment="">
|
5
|
+
<change type="MOVED" beforePath="$PROJECT_DIR$/lib/tasks/simple_smtp_test_mailer.rb" afterPath="$PROJECT_DIR$/lib/simple_smtp_test/simple_smtp_test_mailer.rb" />
|
6
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/simple_smtp_test.iml" afterPath="$PROJECT_DIR$/.idea/simple_smtp_test.iml" />
|
7
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/Gemfile" afterPath="$PROJECT_DIR$/Gemfile" />
|
8
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/Rakefile" afterPath="$PROJECT_DIR$/Rakefile" />
|
9
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/spec/tasks/null.txt" afterPath="$PROJECT_DIR$/spec/tasks/null.txt" />
|
10
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/simple_smtp_test.gemspec" afterPath="$PROJECT_DIR$/simple_smtp_test.gemspec" />
|
11
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/tasks/simple_smtp_test.rake" afterPath="$PROJECT_DIR$/lib/tasks/simple_smtp_test.rake" />
|
12
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
13
|
+
</list>
|
14
|
+
<ignored path="simple_smtp_test.iws" />
|
15
|
+
<ignored path=".idea/workspace.xml" />
|
16
|
+
<file path="/Dummy.txt" changelist="cd9c8d3e-a565-4ede-b343-76a1ec9b4d89" time="1380561138518" ignored="false" />
|
17
|
+
<file path="/simple_smtp_test.gemspec" changelist="cd9c8d3e-a565-4ede-b343-76a1ec9b4d89" time="1380599492107" ignored="false" />
|
18
|
+
<file path="/Gemfile" changelist="cd9c8d3e-a565-4ede-b343-76a1ec9b4d89" time="1380571858373" ignored="false" />
|
19
|
+
<file path="$PROJECT_DIR$/../sample_app/Gemfile" changelist="cd9c8d3e-a565-4ede-b343-76a1ec9b4d89" time="1380571858373" ignored="false" />
|
20
|
+
<file path="/simple_smtp_test.rb" changelist="cd9c8d3e-a565-4ede-b343-76a1ec9b4d89" time="1380576200064" ignored="false" />
|
21
|
+
<file path="/railtie.rb" changelist="cd9c8d3e-a565-4ede-b343-76a1ec9b4d89" time="1380573742645" ignored="false" />
|
22
|
+
<file path="$USER_HOME$/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/simple_smtp_test-1.0.0/lib/tasks/simple_smtp_test.rake" changelist="cd9c8d3e-a565-4ede-b343-76a1ec9b4d89" time="1380602092403" ignored="false" />
|
23
|
+
<file path="$USER_HOME$/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/simple_smtp_test-1.0.0/lib/simple_smtp_test/railtie.rb" changelist="cd9c8d3e-a565-4ede-b343-76a1ec9b4d89" time="1380602089140" ignored="false" />
|
24
|
+
<file path="$USER_HOME$/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/simple_smtp_test-1.0.0/lib/tasks/simple_smtp_test_mailer.rb" changelist="cd9c8d3e-a565-4ede-b343-76a1ec9b4d89" time="1380582949789" ignored="false" />
|
25
|
+
<file path="/spec_helper.rb" changelist="cd9c8d3e-a565-4ede-b343-76a1ec9b4d89" time="1380599123851" ignored="false" />
|
26
|
+
<file path="/simple_smtp_test.rake" changelist="cd9c8d3e-a565-4ede-b343-76a1ec9b4d89" time="1380601640992" ignored="false" />
|
27
|
+
<file path="$PROJECT_DIR$/../dermbids/lib/tasks/simple_smtp_test_mailer.rb" changelist="cd9c8d3e-a565-4ede-b343-76a1ec9b4d89" time="1380600803764" ignored="false" />
|
28
|
+
<file path="/simple_smtp_test_mailer.rb" changelist="cd9c8d3e-a565-4ede-b343-76a1ec9b4d89" time="1380600797559" ignored="false" />
|
29
|
+
<file path="$PROJECT_DIR$/../sample_app/config/environments/development.rb" changelist="cd9c8d3e-a565-4ede-b343-76a1ec9b4d89" time="1380602239605" ignored="false" />
|
30
|
+
<option name="TRACKING_ENABLED" value="true" />
|
31
|
+
<option name="SHOW_DIALOG" value="false" />
|
32
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
33
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
34
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
35
|
+
</component>
|
36
|
+
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
37
|
+
<component name="CreatePatchCommitExecutor">
|
38
|
+
<option name="PATCH_PATH" value="" />
|
39
|
+
</component>
|
40
|
+
<component name="DaemonCodeAnalyzer">
|
41
|
+
<disable_hints />
|
42
|
+
</component>
|
43
|
+
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
|
44
|
+
<component name="FavoritesManager">
|
45
|
+
<favorites_list name="simple_smtp_test" />
|
46
|
+
</component>
|
47
|
+
<component name="FileEditorManager">
|
48
|
+
<leaf>
|
49
|
+
<file leaf-file-name="simple_smtp_test.gemspec" pinned="false" current="false" current-in-tab="false">
|
50
|
+
<entry file="file://$PROJECT_DIR$/simple_smtp_test.gemspec">
|
51
|
+
<provider selected="true" editor-type-id="text-editor">
|
52
|
+
<state line="10" column="86" selection-start="451" selection-end="451" vertical-scroll-proportion="-5.172414">
|
53
|
+
<folding />
|
54
|
+
</state>
|
55
|
+
</provider>
|
56
|
+
</entry>
|
57
|
+
</file>
|
58
|
+
<file leaf-file-name="simple_smtp_test.rb" pinned="false" current="false" current-in-tab="false">
|
59
|
+
<entry file="file://$PROJECT_DIR$/lib/simple_smtp_test.rb">
|
60
|
+
<provider selected="true" editor-type-id="text-editor">
|
61
|
+
<state line="3" column="35" selection-start="93" selection-end="93" vertical-scroll-proportion="0.0">
|
62
|
+
<folding />
|
63
|
+
</state>
|
64
|
+
</provider>
|
65
|
+
</entry>
|
66
|
+
</file>
|
67
|
+
<file leaf-file-name="spec_helper.rb" pinned="false" current="false" current-in-tab="false">
|
68
|
+
<entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
|
69
|
+
<provider selected="true" editor-type-id="text-editor">
|
70
|
+
<state line="35" column="25" selection-start="1167" selection-end="1167" vertical-scroll-proportion="0.0">
|
71
|
+
<folding />
|
72
|
+
</state>
|
73
|
+
</provider>
|
74
|
+
</entry>
|
75
|
+
</file>
|
76
|
+
<file leaf-file-name="simple_smtp_test_mailer.rb" pinned="false" current="false" current-in-tab="false">
|
77
|
+
<entry file="file://$PROJECT_DIR$/lib/simple_smtp_test/simple_smtp_test_mailer.rb">
|
78
|
+
<provider selected="true" editor-type-id="text-editor">
|
79
|
+
<state line="0" column="23" selection-start="23" selection-end="23" vertical-scroll-proportion="0.0">
|
80
|
+
<folding />
|
81
|
+
</state>
|
82
|
+
</provider>
|
83
|
+
</entry>
|
84
|
+
</file>
|
85
|
+
<file leaf-file-name="simple_smtp_test.rake" pinned="false" current="true" current-in-tab="true">
|
86
|
+
<entry file="file://$PROJECT_DIR$/lib/tasks/simple_smtp_test.rake">
|
87
|
+
<provider selected="true" editor-type-id="text-editor">
|
88
|
+
<state line="7" column="113" selection-start="440" selection-end="440" vertical-scroll-proportion="0.20710059">
|
89
|
+
<folding />
|
90
|
+
</state>
|
91
|
+
</provider>
|
92
|
+
</entry>
|
93
|
+
</file>
|
94
|
+
<file leaf-file-name="Rakefile" pinned="false" current="false" current-in-tab="false">
|
95
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
96
|
+
<provider selected="true" editor-type-id="text-editor">
|
97
|
+
<state line="4" column="54" selection-start="94" selection-end="94" vertical-scroll-proportion="0.0">
|
98
|
+
<folding />
|
99
|
+
</state>
|
100
|
+
</provider>
|
101
|
+
</entry>
|
102
|
+
</file>
|
103
|
+
<file leaf-file-name="Gemfile" pinned="false" current="false" current-in-tab="false">
|
104
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
105
|
+
<provider selected="true" editor-type-id="text-editor">
|
106
|
+
<state line="3" column="7" selection-start="100" selection-end="100" vertical-scroll-proportion="0.0">
|
107
|
+
<folding />
|
108
|
+
</state>
|
109
|
+
</provider>
|
110
|
+
</entry>
|
111
|
+
</file>
|
112
|
+
</leaf>
|
113
|
+
</component>
|
114
|
+
<component name="FindManager">
|
115
|
+
<FindUsagesManager>
|
116
|
+
<setting name="OPEN_NEW_TAB" value="false" />
|
117
|
+
</FindUsagesManager>
|
118
|
+
</component>
|
119
|
+
<component name="Git.Settings">
|
120
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
121
|
+
</component>
|
122
|
+
<component name="GitLogSettings">
|
123
|
+
<option name="myDateState">
|
124
|
+
<MyDateState />
|
125
|
+
</option>
|
126
|
+
</component>
|
127
|
+
<component name="IdeDocumentHistory">
|
128
|
+
<option name="changedFiles">
|
129
|
+
<list>
|
130
|
+
<option value="$PROJECT_DIR$/lib/simple_smtp_test/version.rb" />
|
131
|
+
<option value="$PROJECT_DIR$/lib/simple_smtp_test/simple_smtp_test.rb" />
|
132
|
+
<option value="$PROJECT_DIR$/lib/simple_smtp_test/railtie.rb" />
|
133
|
+
<option value="$PROJECT_DIR$/lib/simple_smtp_test.rb" />
|
134
|
+
<option value="$PROJECT_DIR$/Rakefile" />
|
135
|
+
<option value="$PROJECT_DIR$/Gemfile" />
|
136
|
+
<option value="$PROJECT_DIR$/spec/spec_helper.rb" />
|
137
|
+
<option value="$PROJECT_DIR$/simple_smtp_test.gemspec" />
|
138
|
+
<option value="$PROJECT_DIR$/lib/simple_smtp_test/simple_smtp_test_mailer.rb" />
|
139
|
+
<option value="$PROJECT_DIR$/lib/tasks/simple_smtp_test.rake" />
|
140
|
+
</list>
|
141
|
+
</option>
|
142
|
+
</component>
|
143
|
+
<component name="ProjectFrameBounds">
|
144
|
+
<option name="x" value="64" />
|
145
|
+
<option name="y" value="-4" />
|
146
|
+
<option name="width" value="1303" />
|
147
|
+
<option name="height" value="687" />
|
148
|
+
</component>
|
149
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
150
|
+
<OptionsSetting value="true" id="Add" />
|
151
|
+
<OptionsSetting value="true" id="Remove" />
|
152
|
+
<OptionsSetting value="true" id="Checkout" />
|
153
|
+
<OptionsSetting value="true" id="Update" />
|
154
|
+
<OptionsSetting value="true" id="Status" />
|
155
|
+
<OptionsSetting value="true" id="Edit" />
|
156
|
+
<ConfirmationsSetting value="1" id="Add" />
|
157
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
158
|
+
</component>
|
159
|
+
<component name="ProjectReloadState">
|
160
|
+
<option name="STATE" value="0" />
|
161
|
+
</component>
|
162
|
+
<component name="ProjectView">
|
163
|
+
<navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
|
164
|
+
<flattenPackages />
|
165
|
+
<showMembers />
|
166
|
+
<showModules />
|
167
|
+
<showLibraryContents />
|
168
|
+
<hideEmptyPackages />
|
169
|
+
<abbreviatePackageNames />
|
170
|
+
<autoscrollToSource />
|
171
|
+
<autoscrollFromSource />
|
172
|
+
<sortByType />
|
173
|
+
</navigator>
|
174
|
+
<panes>
|
175
|
+
<pane id="ProjectPane">
|
176
|
+
<subPane>
|
177
|
+
<PATH>
|
178
|
+
<PATH_ELEMENT>
|
179
|
+
<option name="myItemId" value="simple_smtp_test" />
|
180
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
181
|
+
</PATH_ELEMENT>
|
182
|
+
<PATH_ELEMENT>
|
183
|
+
<option name="myItemId" value="External Libraries" />
|
184
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ExternalLibrariesNode" />
|
185
|
+
</PATH_ELEMENT>
|
186
|
+
</PATH>
|
187
|
+
<PATH>
|
188
|
+
<PATH_ELEMENT>
|
189
|
+
<option name="myItemId" value="simple_smtp_test" />
|
190
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
191
|
+
</PATH_ELEMENT>
|
192
|
+
<PATH_ELEMENT>
|
193
|
+
<option name="myItemId" value="External Libraries" />
|
194
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ExternalLibrariesNode" />
|
195
|
+
</PATH_ELEMENT>
|
196
|
+
<PATH_ELEMENT>
|
197
|
+
<option name="myItemId" value="bundler (v1.3.5, rbenv: 2.0.0-p247) [gem]" />
|
198
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.NamedLibraryElementNode" />
|
199
|
+
</PATH_ELEMENT>
|
200
|
+
<PATH_ELEMENT>
|
201
|
+
<option name="myItemId" value="man" />
|
202
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
203
|
+
</PATH_ELEMENT>
|
204
|
+
</PATH>
|
205
|
+
<PATH>
|
206
|
+
<PATH_ELEMENT>
|
207
|
+
<option name="myItemId" value="simple_smtp_test" />
|
208
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
209
|
+
</PATH_ELEMENT>
|
210
|
+
<PATH_ELEMENT>
|
211
|
+
<option name="myItemId" value="External Libraries" />
|
212
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ExternalLibrariesNode" />
|
213
|
+
</PATH_ELEMENT>
|
214
|
+
<PATH_ELEMENT>
|
215
|
+
<option name="myItemId" value="bundler (v1.3.5, rbenv: 2.0.0-p247) [gem]" />
|
216
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.NamedLibraryElementNode" />
|
217
|
+
</PATH_ELEMENT>
|
218
|
+
</PATH>
|
219
|
+
<PATH>
|
220
|
+
<PATH_ELEMENT>
|
221
|
+
<option name="myItemId" value="simple_smtp_test" />
|
222
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
223
|
+
</PATH_ELEMENT>
|
224
|
+
<PATH_ELEMENT>
|
225
|
+
<option name="myItemId" value="External Libraries" />
|
226
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ExternalLibrariesNode" />
|
227
|
+
</PATH_ELEMENT>
|
228
|
+
<PATH_ELEMENT>
|
229
|
+
<option name="myItemId" value="bundler (v1.3.5, rbenv: 2.0.0-p247) [gem]" />
|
230
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.NamedLibraryElementNode" />
|
231
|
+
</PATH_ELEMENT>
|
232
|
+
<PATH_ELEMENT>
|
233
|
+
<option name="myItemId" value="bin" />
|
234
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
235
|
+
</PATH_ELEMENT>
|
236
|
+
</PATH>
|
237
|
+
<PATH>
|
238
|
+
<PATH_ELEMENT>
|
239
|
+
<option name="myItemId" value="simple_smtp_test" />
|
240
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
241
|
+
</PATH_ELEMENT>
|
242
|
+
<PATH_ELEMENT>
|
243
|
+
<option name="myItemId" value="simple_smtp_test" />
|
244
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
245
|
+
</PATH_ELEMENT>
|
246
|
+
</PATH>
|
247
|
+
<PATH>
|
248
|
+
<PATH_ELEMENT>
|
249
|
+
<option name="myItemId" value="simple_smtp_test" />
|
250
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
251
|
+
</PATH_ELEMENT>
|
252
|
+
<PATH_ELEMENT>
|
253
|
+
<option name="myItemId" value="simple_smtp_test" />
|
254
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
255
|
+
</PATH_ELEMENT>
|
256
|
+
<PATH_ELEMENT>
|
257
|
+
<option name="myItemId" value="spec" />
|
258
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
259
|
+
</PATH_ELEMENT>
|
260
|
+
</PATH>
|
261
|
+
<PATH>
|
262
|
+
<PATH_ELEMENT>
|
263
|
+
<option name="myItemId" value="simple_smtp_test" />
|
264
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
265
|
+
</PATH_ELEMENT>
|
266
|
+
<PATH_ELEMENT>
|
267
|
+
<option name="myItemId" value="simple_smtp_test" />
|
268
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
269
|
+
</PATH_ELEMENT>
|
270
|
+
<PATH_ELEMENT>
|
271
|
+
<option name="myItemId" value="spec" />
|
272
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
273
|
+
</PATH_ELEMENT>
|
274
|
+
<PATH_ELEMENT>
|
275
|
+
<option name="myItemId" value="tasks" />
|
276
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
277
|
+
</PATH_ELEMENT>
|
278
|
+
</PATH>
|
279
|
+
<PATH>
|
280
|
+
<PATH_ELEMENT>
|
281
|
+
<option name="myItemId" value="simple_smtp_test" />
|
282
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
283
|
+
</PATH_ELEMENT>
|
284
|
+
<PATH_ELEMENT>
|
285
|
+
<option name="myItemId" value="simple_smtp_test" />
|
286
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
287
|
+
</PATH_ELEMENT>
|
288
|
+
<PATH_ELEMENT>
|
289
|
+
<option name="myItemId" value="lib" />
|
290
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
291
|
+
</PATH_ELEMENT>
|
292
|
+
</PATH>
|
293
|
+
<PATH>
|
294
|
+
<PATH_ELEMENT>
|
295
|
+
<option name="myItemId" value="simple_smtp_test" />
|
296
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
297
|
+
</PATH_ELEMENT>
|
298
|
+
<PATH_ELEMENT>
|
299
|
+
<option name="myItemId" value="simple_smtp_test" />
|
300
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
301
|
+
</PATH_ELEMENT>
|
302
|
+
<PATH_ELEMENT>
|
303
|
+
<option name="myItemId" value="lib" />
|
304
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
305
|
+
</PATH_ELEMENT>
|
306
|
+
<PATH_ELEMENT>
|
307
|
+
<option name="myItemId" value="tasks" />
|
308
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
309
|
+
</PATH_ELEMENT>
|
310
|
+
</PATH>
|
311
|
+
<PATH>
|
312
|
+
<PATH_ELEMENT>
|
313
|
+
<option name="myItemId" value="simple_smtp_test" />
|
314
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
315
|
+
</PATH_ELEMENT>
|
316
|
+
<PATH_ELEMENT>
|
317
|
+
<option name="myItemId" value="simple_smtp_test" />
|
318
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
319
|
+
</PATH_ELEMENT>
|
320
|
+
<PATH_ELEMENT>
|
321
|
+
<option name="myItemId" value="lib" />
|
322
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
323
|
+
</PATH_ELEMENT>
|
324
|
+
<PATH_ELEMENT>
|
325
|
+
<option name="myItemId" value="simple_smtp_test" />
|
326
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
327
|
+
</PATH_ELEMENT>
|
328
|
+
</PATH>
|
329
|
+
</subPane>
|
330
|
+
</pane>
|
331
|
+
<pane id="Scope" />
|
332
|
+
</panes>
|
333
|
+
</component>
|
334
|
+
<component name="PropertiesComponent">
|
335
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
336
|
+
<property name="last_opened_file_path" value="$PROJECT_DIR$/../sample_app" />
|
337
|
+
</component>
|
338
|
+
<component name="RecentsManager">
|
339
|
+
<key name="CopyFile.RECENT_KEYS">
|
340
|
+
<recent name="$PROJECT_DIR$/spec" />
|
341
|
+
<recent name="$PROJECT_DIR$" />
|
342
|
+
</key>
|
343
|
+
<key name="MoveFile.RECENT_KEYS">
|
344
|
+
<recent name="$PROJECT_DIR$/lib/simple_smtp_test" />
|
345
|
+
<recent name="$PROJECT_DIR$/spec" />
|
346
|
+
</key>
|
347
|
+
</component>
|
348
|
+
<component name="RunManager">
|
349
|
+
<configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
|
350
|
+
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
351
|
+
<module name="" />
|
352
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
353
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
354
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
355
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
356
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
357
|
+
<envs />
|
358
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
359
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
360
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
361
|
+
<COVERAGE_PATTERN ENABLED="true">
|
362
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
363
|
+
</COVERAGE_PATTERN>
|
364
|
+
</EXTENSION>
|
365
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
366
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
367
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
368
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
369
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
370
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
|
371
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
372
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
373
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
374
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
|
375
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
376
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
377
|
+
<method />
|
378
|
+
</configuration>
|
379
|
+
<configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
|
380
|
+
<module name="" />
|
381
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
382
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
|
383
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
384
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
385
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
386
|
+
<envs />
|
387
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
388
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
389
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
390
|
+
<COVERAGE_PATTERN ENABLED="true">
|
391
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
392
|
+
</COVERAGE_PATTERN>
|
393
|
+
</EXTENSION>
|
394
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
395
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
|
396
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
397
|
+
<method />
|
398
|
+
</configuration>
|
399
|
+
<configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
|
400
|
+
<predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
|
401
|
+
<module name="" />
|
402
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
403
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
404
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
405
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
406
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
407
|
+
<envs />
|
408
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
409
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
410
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
411
|
+
<COVERAGE_PATTERN ENABLED="true">
|
412
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
413
|
+
</COVERAGE_PATTERN>
|
414
|
+
</EXTENSION>
|
415
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
416
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
417
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
418
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
|
419
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
|
420
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
421
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
422
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
|
423
|
+
<method />
|
424
|
+
</configuration>
|
425
|
+
<configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
|
426
|
+
<predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
|
427
|
+
<module name="" />
|
428
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
429
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
430
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
431
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
432
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
433
|
+
<envs>
|
434
|
+
<env name="ANSICON" value="" />
|
435
|
+
</envs>
|
436
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
437
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
438
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
439
|
+
<COVERAGE_PATTERN ENABLED="true">
|
440
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
441
|
+
</COVERAGE_PATTERN>
|
442
|
+
</EXTENSION>
|
443
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
444
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*.feature" />
|
445
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
446
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
447
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
448
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TAGS_FILTER" VALUE="" />
|
449
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_NAME_FILTER" VALUE="" />
|
450
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_ARGS" VALUE="--color -r features" />
|
451
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
452
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
453
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="VERBOSE_OPTION" VALUE="false" />
|
454
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
455
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_RUNNER_PATH" VALUE="" />
|
456
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_RUNNER" VALUE="false" />
|
457
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SETTINGS_VERSION" VALUE="2" />
|
458
|
+
<method />
|
459
|
+
</configuration>
|
460
|
+
<list size="0" />
|
461
|
+
</component>
|
462
|
+
<component name="ShelveChangesManager" show_recycled="false" />
|
463
|
+
<component name="TaskManager">
|
464
|
+
<task active="true" id="Default" summary="Default task">
|
465
|
+
<changelist id="cd9c8d3e-a565-4ede-b343-76a1ec9b4d89" name="Default" comment="" />
|
466
|
+
<created>1380561126109</created>
|
467
|
+
<updated>1380561126109</updated>
|
468
|
+
</task>
|
469
|
+
<servers />
|
470
|
+
</component>
|
471
|
+
<component name="ToolWindowManager">
|
472
|
+
<frame x="64" y="-4" width="1303" height="687" extended-state="6" />
|
473
|
+
<editor active="true" />
|
474
|
+
<layout>
|
475
|
+
<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" />
|
476
|
+
<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" />
|
477
|
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3297491" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
478
|
+
<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" />
|
479
|
+
<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" />
|
480
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24940239" sideWeight="0.6702509" order="0" side_tool="false" content_ui="combo" />
|
481
|
+
<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" />
|
482
|
+
<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="true" content_ui="tabs" />
|
483
|
+
<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="true" content_ui="tabs" />
|
484
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
485
|
+
<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" />
|
486
|
+
<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" />
|
487
|
+
<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" />
|
488
|
+
<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" />
|
489
|
+
<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" />
|
490
|
+
<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" />
|
491
|
+
<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" />
|
492
|
+
</layout>
|
493
|
+
</component>
|
494
|
+
<component name="VcsContentAnnotationSettings">
|
495
|
+
<option name="myLimit" value="2678400000" />
|
496
|
+
</component>
|
497
|
+
<component name="VcsManagerConfiguration">
|
498
|
+
<option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
|
499
|
+
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
|
500
|
+
<option name="CHECK_NEW_TODO" value="true" />
|
501
|
+
<option name="myTodoPanelSettings">
|
502
|
+
<value>
|
503
|
+
<are-packages-shown value="false" />
|
504
|
+
<are-modules-shown value="false" />
|
505
|
+
<flatten-packages value="false" />
|
506
|
+
<is-autoscroll-to-source value="false" />
|
507
|
+
</value>
|
508
|
+
</option>
|
509
|
+
<option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" />
|
510
|
+
<option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" />
|
511
|
+
<option name="PERFORM_EDIT_IN_BACKGROUND" value="true" />
|
512
|
+
<option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" />
|
513
|
+
<option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
|
514
|
+
<option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" />
|
515
|
+
<option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" />
|
516
|
+
<option name="CHANGED_ON_SERVER_INTERVAL" value="60" />
|
517
|
+
<option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" />
|
518
|
+
<option name="CHECK_COMMIT_MESSAGE_SPELLING" value="true" />
|
519
|
+
<option name="DEFAULT_PATCH_EXTENSION" value="patch" />
|
520
|
+
<option name="SHORT_DIFF_HORIZONTALLY" value="true" />
|
521
|
+
<option name="SHORT_DIFF_EXTRA_LINES" value="2" />
|
522
|
+
<option name="SOFT_WRAPS_IN_SHORT_DIFF" value="true" />
|
523
|
+
<option name="INCLUDE_TEXT_INTO_PATCH" value="false" />
|
524
|
+
<option name="INCLUDE_TEXT_INTO_SHELF" value="false" />
|
525
|
+
<option name="SHOW_FILE_HISTORY_DETAILS" value="true" />
|
526
|
+
<option name="SHOW_VCS_ERROR_NOTIFICATIONS" value="true" />
|
527
|
+
<option name="SHOW_DIRTY_RECURSIVELY" value="false" />
|
528
|
+
<option name="LIMIT_HISTORY" value="true" />
|
529
|
+
<option name="MAXIMUM_HISTORY_ROWS" value="1000" />
|
530
|
+
<option name="UPDATE_FILTER_SCOPE_NAME" />
|
531
|
+
<option name="USE_COMMIT_MESSAGE_MARGIN" value="false" />
|
532
|
+
<option name="COMMIT_MESSAGE_MARGIN_SIZE" value="72" />
|
533
|
+
<option name="WRAP_WHEN_TYPING_REACHES_RIGHT_MARGIN" value="false" />
|
534
|
+
<option name="FORCE_NON_EMPTY_COMMENT" value="false" />
|
535
|
+
<option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="false" />
|
536
|
+
<option name="LAST_COMMIT_MESSAGE" />
|
537
|
+
<option name="MAKE_NEW_CHANGELIST_ACTIVE" value="false" />
|
538
|
+
<option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
|
539
|
+
<option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
|
540
|
+
<option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
|
541
|
+
<option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
|
542
|
+
<option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
|
543
|
+
<option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
|
544
|
+
<option name="ACTIVE_VCS_NAME" />
|
545
|
+
<option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
|
546
|
+
<option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
|
547
|
+
<option name="UPDATE_FILTER_BY_SCOPE" value="false" />
|
548
|
+
<option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
|
549
|
+
<option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
|
550
|
+
</component>
|
551
|
+
<component name="XDebuggerManager">
|
552
|
+
<breakpoint-manager />
|
553
|
+
</component>
|
554
|
+
<component name="editorHistoryManager">
|
555
|
+
<entry file="file://$PROJECT_DIR$/lib/simple_smtp_test/version.rb">
|
556
|
+
<provider selected="true" editor-type-id="text-editor">
|
557
|
+
<state line="1" column="18" selection-start="40" selection-end="40" vertical-scroll-proportion="0.028301887">
|
558
|
+
<folding />
|
559
|
+
</state>
|
560
|
+
</provider>
|
561
|
+
</entry>
|
562
|
+
<entry file="file://$USER_HOME$/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/gem_tasks.rb">
|
563
|
+
<provider selected="true" editor-type-id="text-editor">
|
564
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
565
|
+
<folding />
|
566
|
+
</state>
|
567
|
+
</provider>
|
568
|
+
</entry>
|
569
|
+
<entry file="file://$USER_HOME$/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/gem_helpers.rb">
|
570
|
+
<provider selected="true" editor-type-id="text-editor">
|
571
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
572
|
+
<folding />
|
573
|
+
</state>
|
574
|
+
</provider>
|
575
|
+
</entry>
|
576
|
+
<entry file="file://$USER_HOME$/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/gem_helper.rb">
|
577
|
+
<provider selected="true" editor-type-id="text-editor">
|
578
|
+
<state line="56" column="38" selection-start="1547" selection-end="1547" vertical-scroll-proportion="0.0">
|
579
|
+
<folding />
|
580
|
+
</state>
|
581
|
+
</provider>
|
582
|
+
</entry>
|
583
|
+
<entry file="file://$PROJECT_DIR$/spec/tasks/null.txt">
|
584
|
+
<provider selected="true" editor-type-id="text-editor">
|
585
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
586
|
+
<folding />
|
587
|
+
</state>
|
588
|
+
</provider>
|
589
|
+
</entry>
|
590
|
+
<entry file="file://$PROJECT_DIR$/lib/simple_smtp_test/railtie.rb">
|
591
|
+
<provider selected="true" editor-type-id="text-editor">
|
592
|
+
<state line="6" column="0" selection-start="134" selection-end="134" vertical-scroll-proportion="0.16981132">
|
593
|
+
<folding />
|
594
|
+
</state>
|
595
|
+
</provider>
|
596
|
+
</entry>
|
597
|
+
<entry file="file://$PROJECT_DIR$/spec/tasks/simple_smtp_test_rake_spec.rb">
|
598
|
+
<provider selected="true" editor-type-id="text-editor">
|
599
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
600
|
+
<folding />
|
601
|
+
</state>
|
602
|
+
</provider>
|
603
|
+
</entry>
|
604
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
605
|
+
<provider selected="true" editor-type-id="text-editor">
|
606
|
+
<state line="3" column="7" selection-start="100" selection-end="100" vertical-scroll-proportion="0.0">
|
607
|
+
<folding />
|
608
|
+
</state>
|
609
|
+
</provider>
|
610
|
+
</entry>
|
611
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
612
|
+
<provider selected="true" editor-type-id="text-editor">
|
613
|
+
<state line="4" column="54" selection-start="94" selection-end="94" vertical-scroll-proportion="0.0">
|
614
|
+
<folding />
|
615
|
+
</state>
|
616
|
+
</provider>
|
617
|
+
</entry>
|
618
|
+
<entry file="file://$PROJECT_DIR$/lib/simple_smtp_test/simple_smtp_test_mailer.rb">
|
619
|
+
<provider selected="true" editor-type-id="text-editor">
|
620
|
+
<state line="0" column="23" selection-start="23" selection-end="23" vertical-scroll-proportion="0.0">
|
621
|
+
<folding />
|
622
|
+
</state>
|
623
|
+
</provider>
|
624
|
+
</entry>
|
625
|
+
<entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
|
626
|
+
<provider selected="true" editor-type-id="text-editor">
|
627
|
+
<state line="35" column="25" selection-start="1167" selection-end="1167" vertical-scroll-proportion="0.0">
|
628
|
+
<folding />
|
629
|
+
</state>
|
630
|
+
</provider>
|
631
|
+
</entry>
|
632
|
+
<entry file="file://$PROJECT_DIR$/lib/simple_smtp_test.rb">
|
633
|
+
<provider selected="true" editor-type-id="text-editor">
|
634
|
+
<state line="3" column="35" selection-start="93" selection-end="93" vertical-scroll-proportion="0.0">
|
635
|
+
<folding />
|
636
|
+
</state>
|
637
|
+
</provider>
|
638
|
+
</entry>
|
639
|
+
<entry file="file://$PROJECT_DIR$/simple_smtp_test.gemspec">
|
640
|
+
<provider selected="true" editor-type-id="text-editor">
|
641
|
+
<state line="10" column="86" selection-start="451" selection-end="451" vertical-scroll-proportion="-5.172414">
|
642
|
+
<folding />
|
643
|
+
</state>
|
644
|
+
</provider>
|
645
|
+
</entry>
|
646
|
+
<entry file="file://$PROJECT_DIR$/lib/tasks/simple_smtp_test.rake">
|
647
|
+
<provider selected="true" editor-type-id="text-editor">
|
648
|
+
<state line="7" column="113" selection-start="440" selection-end="440" vertical-scroll-proportion="0.20710059">
|
649
|
+
<folding />
|
650
|
+
</state>
|
651
|
+
</provider>
|
652
|
+
</entry>
|
653
|
+
</component>
|
654
|
+
</project>
|
655
|
+
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 Winston Kotzan
|
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
|
+
# SimpleSmtpTest
|
2
|
+
|
3
|
+
TODO: Write a gem description
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'simple_smtp_test'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install simple_smtp_test
|
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,9 @@
|
|
1
|
+
require 'action_mailer'
|
2
|
+
|
3
|
+
class SimpleSmtpTestMailer < ActionMailer::Base
|
4
|
+
def test_email(to, body='This message was generated by the Simple SMTP Test program for Ruby on Rails.')
|
5
|
+
from = 'do-not-reply@example.com'
|
6
|
+
subject = 'This is a test email from Simple SMTP test'
|
7
|
+
mail to:to, from:from, subject:subject, body:body
|
8
|
+
end
|
9
|
+
end
|
data/lib/tasks/.keep
ADDED
File without changes
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'simple_smtp_test/simple_smtp_test_mailer'
|
2
|
+
|
3
|
+
desc 'Tests out the email settings in the current environment'
|
4
|
+
task :simple_smtp_test, [:to_email_address] => :environment do |t, args|
|
5
|
+
raise 'Error: Please provide an email address as a parameter.' if args[:to_email_address].blank?
|
6
|
+
|
7
|
+
puts "Current Mail Server Settings:"
|
8
|
+
puts "\n#{ActionMailer::Base.smtp_settings.to_yaml}\nCurrent Rails Environment: #{Rails.env}" if defined?(Rails)
|
9
|
+
puts "Preparing to send test message to #{args[:to_email_address]}..."
|
10
|
+
|
11
|
+
mailobj = SimpleSmtpTestMailer.test_email(args[:to_email_address])
|
12
|
+
mailobj.raise_delivery_errors = true
|
13
|
+
begin
|
14
|
+
mailobj.deliver
|
15
|
+
rescue Exception => e
|
16
|
+
puts "An error has occurred: #{e.message}"
|
17
|
+
next
|
18
|
+
end
|
19
|
+
|
20
|
+
puts 'Message successfully sent. Please check that the test message was received.'
|
21
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'simple_smtp_test/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "simple_smtp_test"
|
8
|
+
spec.version = SimpleSmtpTest::VERSION
|
9
|
+
spec.authors = ["Winston Kotzan"]
|
10
|
+
spec.email = ["wak@wakproductions.com"]
|
11
|
+
spec.description = %q{A simple gem for testing your Rails outgoing mail settings.}
|
12
|
+
spec.summary = %q{Run the rake task simple_smtp_test['email@example.com'] and it will send a test email to that address.}
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
22
|
+
spec.add_development_dependency "rake"
|
23
|
+
spec.add_development_dependency "rspec", "~> 2.14"
|
24
|
+
spec.add_development_dependency "rails", "~> 4.0"
|
25
|
+
spec.add_development_dependency "actionmailer", "~> 4.0"
|
26
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
require 'rspec'
|
2
|
+
require 'simple_smtp_test'
|
3
|
+
|
4
|
+
RSpec.configure do |config|
|
5
|
+
config.color_enabled = true
|
6
|
+
config.formatter = 'documentation'
|
7
|
+
end
|
8
|
+
|
9
|
+
|
10
|
+
#require 'rubygems'
|
11
|
+
##uncomment the following line to use spork with the debugger
|
12
|
+
##require 'spork/ext/ruby-debug'
|
13
|
+
#
|
14
|
+
## Loading more in this block will cause your tests to run faster. However,
|
15
|
+
## if you change any configuration or code from libraries loaded here, you'll
|
16
|
+
## need to restart spork for it take effect.
|
17
|
+
#
|
18
|
+
#ENV["RAILS_ENV"] ||= 'test'
|
19
|
+
##require File.expand_path("../../config/environment", __FILE__)
|
20
|
+
#require 'rspec/rails'
|
21
|
+
#require 'rspec/autorun'
|
22
|
+
#require 'simple_smtp_test'
|
23
|
+
#
|
24
|
+
## Requires supporting ruby files with custom matchers and macros, etc,
|
25
|
+
## in spec/support/ and its subdirectories.
|
26
|
+
#Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
|
27
|
+
#
|
28
|
+
## Checks for pending migrations before tests are run.
|
29
|
+
## If you are not using ActiveRecord, you can remove this line.
|
30
|
+
##ActiveRecord::Migration.check_pending! if defined?(ActiveRecord::Migration)
|
31
|
+
#
|
32
|
+
#RSpec.configure do |config|
|
33
|
+
# # ## Mock Framework
|
34
|
+
# #
|
35
|
+
# # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
|
36
|
+
# #
|
37
|
+
# # config.mock_with :mocha
|
38
|
+
# # config.mock_with :flexmock
|
39
|
+
# # config.mock_with :rr
|
40
|
+
#
|
41
|
+
# # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
42
|
+
# config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
43
|
+
#
|
44
|
+
# # If you're not using ActiveRecord, or you'd prefer not to run each of your
|
45
|
+
# # examples within a transaction, remove the following line or assign false
|
46
|
+
# # instead of true.
|
47
|
+
# config.use_transactional_fixtures = true
|
48
|
+
#
|
49
|
+
# # If true, the base class of anonymous controllers will be inferred
|
50
|
+
# # automatically. This will be the default behavior in future versions of
|
51
|
+
# # rspec-rails.
|
52
|
+
# config.infer_base_class_for_anonymous_controllers = false
|
53
|
+
#
|
54
|
+
# # Run specs in random order to surface order dependencies. If you find an
|
55
|
+
# # order dependency and want to debug it, you can fix the order by providing
|
56
|
+
# # the seed, which is printed after each run.
|
57
|
+
# # --seed 1234
|
58
|
+
# config.order = "random"
|
59
|
+
#end
|
data/spec/tasks/null.txt
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'rake'
|
3
|
+
|
4
|
+
describe 'task #simple_smtp_test' do
|
5
|
+
before do
|
6
|
+
Rake.application.rake_require "tasks/simple_smtp_test"
|
7
|
+
Rake::Task.define_task(:environment)
|
8
|
+
$stdout = File.new(File.join(File.dirname(__FILE__), 'null.txt'), 'w') # redirects/stubs terminal output from the Rake task
|
9
|
+
Rake::Task['simple_smtp_test'].reenable
|
10
|
+
end
|
11
|
+
|
12
|
+
it 'calls the Mail::Message#deliver method' do
|
13
|
+
mailobj = double(:SimpleSmtpTestMailer)
|
14
|
+
SimpleSmtpTestMailer.stub(:test_email) { mailobj }
|
15
|
+
mailobj.should_receive(:raise_delivery_errors=)
|
16
|
+
mailobj.should_receive(:deliver)
|
17
|
+
Rake::Task['simple_smtp_test'].invoke('myemail@example.com')
|
18
|
+
end
|
19
|
+
|
20
|
+
context 'when invoked without an email address parameter' do
|
21
|
+
it 'should raise exception' do
|
22
|
+
expect {
|
23
|
+
Rake::Task['simple_smtp_test'].invoke
|
24
|
+
}.to raise_error
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
metadata
ADDED
@@ -0,0 +1,142 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: simple_smtp_test
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Winston Kotzan
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-10-01 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
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.14'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.14'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rails
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '4.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '4.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: actionmailer
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '4.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '4.0'
|
83
|
+
description: A simple gem for testing your Rails outgoing mail settings.
|
84
|
+
email:
|
85
|
+
- wak@wakproductions.com
|
86
|
+
executables: []
|
87
|
+
extensions: []
|
88
|
+
extra_rdoc_files: []
|
89
|
+
files:
|
90
|
+
- .gitignore
|
91
|
+
- .idea/.name
|
92
|
+
- .idea/.rakeTasks
|
93
|
+
- .idea/encodings.xml
|
94
|
+
- .idea/misc.xml
|
95
|
+
- .idea/modules.xml
|
96
|
+
- .idea/scopes/scope_settings.xml
|
97
|
+
- .idea/simple_smtp_test.iml
|
98
|
+
- .idea/vcs.xml
|
99
|
+
- .idea/workspace.xml
|
100
|
+
- Gemfile
|
101
|
+
- LICENSE.txt
|
102
|
+
- README.md
|
103
|
+
- Rakefile
|
104
|
+
- lib/simple_smtp_test.rb
|
105
|
+
- lib/simple_smtp_test/railtie.rb
|
106
|
+
- lib/simple_smtp_test/simple_smtp_test_mailer.rb
|
107
|
+
- lib/simple_smtp_test/version.rb
|
108
|
+
- lib/tasks/.keep
|
109
|
+
- lib/tasks/simple_smtp_test.rake
|
110
|
+
- simple_smtp_test.gemspec
|
111
|
+
- spec/spec_helper.rb
|
112
|
+
- spec/tasks/null.txt
|
113
|
+
- spec/tasks/simple_smtp_test_rake_spec.rb
|
114
|
+
homepage: ''
|
115
|
+
licenses:
|
116
|
+
- MIT
|
117
|
+
metadata: {}
|
118
|
+
post_install_message:
|
119
|
+
rdoc_options: []
|
120
|
+
require_paths:
|
121
|
+
- lib
|
122
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - '>='
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '0'
|
127
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
requirements: []
|
133
|
+
rubyforge_project:
|
134
|
+
rubygems_version: 2.1.5
|
135
|
+
signing_key:
|
136
|
+
specification_version: 4
|
137
|
+
summary: Run the rake task simple_smtp_test['email@example.com'] and it will send
|
138
|
+
a test email to that address.
|
139
|
+
test_files:
|
140
|
+
- spec/spec_helper.rb
|
141
|
+
- spec/tasks/null.txt
|
142
|
+
- spec/tasks/simple_smtp_test_rake_spec.rb
|