ysrmailParser 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/.gitignore +9 -0
- data/.idea/.name +1 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/encodings.xml +4 -0
- data/.idea/misc.xml +4 -0
- data/.idea/modules.xml +8 -0
- data/.idea/scopes/scope_settings.xml +5 -0
- data/.idea/vcs.xml +7 -0
- data/.idea/workspace.xml +434 -0
- data/.idea/ysrmailParser.iml +18 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +32 -0
- data/Rakefile +2 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/lib/ysrmailParser.rb +35 -0
- data/lib/ysrmailParser/version.rb +3 -0
- data/ysrmailParser-0.1.1.gem +0 -0
- data/ysrmailParser.gemspec +19 -0
- metadata +25 -3
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
ZjE4ZmI0ODViNGZmZjRhZDFjOTlmNGQ1NmM4ZDA3ZmZlYTU4NDZkNw==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NDMxMzA4Njc3NzNkN2IyYjRlNzRlMjUwYzhlMjgxODM5Zjk3N2FlZA==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
YmJhMjEwMWViMGUxZjgwNDAxMWJjNzYyOWFiYTFmMzdlMDk1YWY2OTRlOTQ5
|
|
10
|
+
ODExMDQ5NGJiNjkxNDM1ZTg0MTJhM2UxYWIzYWQ5MjRkMDUzOGVjNzUzZWQ5
|
|
11
|
+
MGIwYTUwYTQwZTliZjk3MWFmNGQ2NTE4ZDczZmQwN2FiZTI2ZmU=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ODIxN2IxY2YxY2E3NDUzODlhNGIzMzYyOWE1ZDc3N2U3NDgzODg3MGM3NzEz
|
|
14
|
+
NGFmNThiZjEyMzE1Y2YyODA2MTgyNTBkMzZjZjgzYTkxNWVhMmI4YTczMjFl
|
|
15
|
+
OGJkZjllMDExYmQzZDQzMzgyMjcyYzA1MTA4ZGU1MTE1YzhiMGM=
|
data/.gitignore
ADDED
data/.idea/.name
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ysrmailParser
|
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 ysrmailParser-0.1.0.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Build and install ysrmailParser-0.1.0.gem into system gems" fullCmd="install" taksId="install" /><RakeTask description="Create tag v0.1.0 and build and push ysrmailParser-0.1.0.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,8 @@
|
|
|
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/ysrmailParser.iml" filepath="$PROJECT_DIR$/.idea/ysrmailParser.iml" />
|
|
6
|
+
</modules>
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
data/.idea/vcs.xml
ADDED
data/.idea/workspace.xml
ADDED
|
@@ -0,0 +1,434 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ChangeListManager">
|
|
4
|
+
<list default="true" id="df4f450c-3033-45a4-9403-afa0f39ca0ac" name="Default" comment="">
|
|
5
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/ysrmailParser/version.rb" afterPath="$PROJECT_DIR$/lib/ysrmailParser/version.rb" />
|
|
6
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/ysrmailParser.gemspec" afterPath="$PROJECT_DIR$/ysrmailParser.gemspec" />
|
|
7
|
+
</list>
|
|
8
|
+
<ignored path="ysrmailParser.iws" />
|
|
9
|
+
<ignored path=".idea/workspace.xml" />
|
|
10
|
+
<ignored path=".idea/dataSources.local.xml" />
|
|
11
|
+
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
|
12
|
+
<option name="TRACKING_ENABLED" value="true" />
|
|
13
|
+
<option name="SHOW_DIALOG" value="false" />
|
|
14
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
15
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
16
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
17
|
+
</component>
|
|
18
|
+
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
|
19
|
+
<component name="CreatePatchCommitExecutor">
|
|
20
|
+
<option name="PATCH_PATH" value="" />
|
|
21
|
+
</component>
|
|
22
|
+
<component name="DaemonCodeAnalyzer">
|
|
23
|
+
<disable_hints />
|
|
24
|
+
</component>
|
|
25
|
+
<component name="DatabaseView">
|
|
26
|
+
<option name="SHOW_TOOLBAR" value="true" />
|
|
27
|
+
<option name="FLATTEN" value="false" />
|
|
28
|
+
<option name="GROUP_BY_TYPE" value="true" />
|
|
29
|
+
<option name="SORT_CHILDREN" value="false" />
|
|
30
|
+
<option name="SHOW_TABLE_CONSTRAINTS" value="true" />
|
|
31
|
+
</component>
|
|
32
|
+
<component name="FavoritesManager">
|
|
33
|
+
<favorites_list name="ysrmailParser" />
|
|
34
|
+
</component>
|
|
35
|
+
<component name="FileEditorManager">
|
|
36
|
+
<leaf>
|
|
37
|
+
<file leaf-file-name="ysrmailParser.rb" pinned="false" current-in-tab="false">
|
|
38
|
+
<entry file="file://$PROJECT_DIR$/lib/ysrmailParser.rb">
|
|
39
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
40
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="738">
|
|
41
|
+
<caret line="22" column="51" selection-start-line="22" selection-start-column="51" selection-end-line="22" selection-end-column="51" />
|
|
42
|
+
<folding />
|
|
43
|
+
</state>
|
|
44
|
+
</provider>
|
|
45
|
+
</entry>
|
|
46
|
+
</file>
|
|
47
|
+
<file leaf-file-name="ysrmailParser.gemspec" pinned="false" current-in-tab="false">
|
|
48
|
+
<entry file="file://$PROJECT_DIR$/ysrmailParser.gemspec">
|
|
49
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
50
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="450">
|
|
51
|
+
<caret line="11" column="141" selection-start-line="11" selection-start-column="141" selection-end-line="11" selection-end-column="141" />
|
|
52
|
+
<folding />
|
|
53
|
+
</state>
|
|
54
|
+
</provider>
|
|
55
|
+
</entry>
|
|
56
|
+
</file>
|
|
57
|
+
<file leaf-file-name="README.md" pinned="false" current-in-tab="false">
|
|
58
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
|
59
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
60
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="684">
|
|
61
|
+
<caret line="3" column="0" selection-start-line="3" selection-start-column="0" selection-end-line="3" selection-end-column="0" />
|
|
62
|
+
<folding />
|
|
63
|
+
</state>
|
|
64
|
+
</provider>
|
|
65
|
+
</entry>
|
|
66
|
+
</file>
|
|
67
|
+
<file leaf-file-name="version.rb" pinned="false" current-in-tab="true">
|
|
68
|
+
<entry file="file://$PROJECT_DIR$/lib/ysrmailParser/version.rb">
|
|
69
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
70
|
+
<state vertical-scroll-proportion="0.031034483" vertical-offset="0" max-vertical-offset="580">
|
|
71
|
+
<caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
|
|
72
|
+
<folding />
|
|
73
|
+
</state>
|
|
74
|
+
</provider>
|
|
75
|
+
</entry>
|
|
76
|
+
</file>
|
|
77
|
+
</leaf>
|
|
78
|
+
</component>
|
|
79
|
+
<component name="Git.Settings">
|
|
80
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
81
|
+
</component>
|
|
82
|
+
<component name="IdeDocumentHistory">
|
|
83
|
+
<option name="CHANGED_PATHS">
|
|
84
|
+
<list>
|
|
85
|
+
<option value="$PROJECT_DIR$/lib/ysrmailParser.rb" />
|
|
86
|
+
<option value="$PROJECT_DIR$/README.md" />
|
|
87
|
+
<option value="$PROJECT_DIR$/ysrmailParser.gemspec" />
|
|
88
|
+
<option value="$PROJECT_DIR$/lib/ysrmailParser/version.rb" />
|
|
89
|
+
</list>
|
|
90
|
+
</option>
|
|
91
|
+
</component>
|
|
92
|
+
<component name="JsGulpfileManager">
|
|
93
|
+
<detection-done>true</detection-done>
|
|
94
|
+
</component>
|
|
95
|
+
<component name="ProjectFrameBounds">
|
|
96
|
+
<option name="x" value="65" />
|
|
97
|
+
<option name="y" value="24" />
|
|
98
|
+
<option name="width" value="1215" />
|
|
99
|
+
<option name="height" value="1000" />
|
|
100
|
+
</component>
|
|
101
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="true">
|
|
102
|
+
<OptionsSetting value="true" id="Add" />
|
|
103
|
+
<OptionsSetting value="true" id="Remove" />
|
|
104
|
+
<OptionsSetting value="true" id="Checkout" />
|
|
105
|
+
<OptionsSetting value="true" id="Update" />
|
|
106
|
+
<OptionsSetting value="true" id="Status" />
|
|
107
|
+
<OptionsSetting value="true" id="Edit" />
|
|
108
|
+
<ConfirmationsSetting value="0" id="Add" />
|
|
109
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
|
110
|
+
</component>
|
|
111
|
+
<component name="ProjectView">
|
|
112
|
+
<navigator currentView="ProjectPane" proportions="" version="1">
|
|
113
|
+
<flattenPackages />
|
|
114
|
+
<showMembers />
|
|
115
|
+
<showModules />
|
|
116
|
+
<showLibraryContents />
|
|
117
|
+
<hideEmptyPackages />
|
|
118
|
+
<abbreviatePackageNames />
|
|
119
|
+
<autoscrollToSource />
|
|
120
|
+
<autoscrollFromSource />
|
|
121
|
+
<sortByType />
|
|
122
|
+
</navigator>
|
|
123
|
+
<panes>
|
|
124
|
+
<pane id="ProjectPane">
|
|
125
|
+
<subPane>
|
|
126
|
+
<PATH>
|
|
127
|
+
<PATH_ELEMENT>
|
|
128
|
+
<option name="myItemId" value="ysrmailParser" />
|
|
129
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
130
|
+
</PATH_ELEMENT>
|
|
131
|
+
</PATH>
|
|
132
|
+
<PATH>
|
|
133
|
+
<PATH_ELEMENT>
|
|
134
|
+
<option name="myItemId" value="ysrmailParser" />
|
|
135
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
136
|
+
</PATH_ELEMENT>
|
|
137
|
+
<PATH_ELEMENT>
|
|
138
|
+
<option name="myItemId" value="ysrmailParser" />
|
|
139
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
140
|
+
</PATH_ELEMENT>
|
|
141
|
+
</PATH>
|
|
142
|
+
<PATH>
|
|
143
|
+
<PATH_ELEMENT>
|
|
144
|
+
<option name="myItemId" value="ysrmailParser" />
|
|
145
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
146
|
+
</PATH_ELEMENT>
|
|
147
|
+
<PATH_ELEMENT>
|
|
148
|
+
<option name="myItemId" value="ysrmailParser" />
|
|
149
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
150
|
+
</PATH_ELEMENT>
|
|
151
|
+
<PATH_ELEMENT>
|
|
152
|
+
<option name="myItemId" value="lib" />
|
|
153
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
154
|
+
</PATH_ELEMENT>
|
|
155
|
+
</PATH>
|
|
156
|
+
<PATH>
|
|
157
|
+
<PATH_ELEMENT>
|
|
158
|
+
<option name="myItemId" value="ysrmailParser" />
|
|
159
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
160
|
+
</PATH_ELEMENT>
|
|
161
|
+
<PATH_ELEMENT>
|
|
162
|
+
<option name="myItemId" value="ysrmailParser" />
|
|
163
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
164
|
+
</PATH_ELEMENT>
|
|
165
|
+
<PATH_ELEMENT>
|
|
166
|
+
<option name="myItemId" value="lib" />
|
|
167
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
168
|
+
</PATH_ELEMENT>
|
|
169
|
+
<PATH_ELEMENT>
|
|
170
|
+
<option name="myItemId" value="ysrmailParser" />
|
|
171
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
172
|
+
</PATH_ELEMENT>
|
|
173
|
+
</PATH>
|
|
174
|
+
</subPane>
|
|
175
|
+
</pane>
|
|
176
|
+
<pane id="Scope" />
|
|
177
|
+
</panes>
|
|
178
|
+
</component>
|
|
179
|
+
<component name="PropertiesComponent">
|
|
180
|
+
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
|
181
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
|
182
|
+
<property name="options.lastSelected" value="project.propVCSSupport.Mappings" />
|
|
183
|
+
<property name="options.splitter.main.proportions" value="0.3" />
|
|
184
|
+
<property name="options.splitter.details.proportions" value="0.2" />
|
|
185
|
+
</component>
|
|
186
|
+
<component name="RunManager">
|
|
187
|
+
<configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
|
|
188
|
+
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
|
189
|
+
<module name="" />
|
|
190
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
|
191
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
|
192
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
|
193
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
|
194
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
|
195
|
+
<envs />
|
|
196
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
|
197
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
|
198
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
199
|
+
<COVERAGE_PATTERN ENABLED="true">
|
|
200
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
201
|
+
</COVERAGE_PATTERN>
|
|
202
|
+
</EXTENSION>
|
|
203
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
|
204
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
|
205
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
|
206
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
|
207
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
|
208
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
|
|
209
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
|
210
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
|
211
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
|
212
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
|
|
213
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
|
214
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
|
215
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
|
216
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
|
217
|
+
<method />
|
|
218
|
+
</configuration>
|
|
219
|
+
<configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
|
|
220
|
+
<predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
|
|
221
|
+
<module name="" />
|
|
222
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
|
223
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
|
224
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
|
225
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
|
226
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
|
227
|
+
<envs />
|
|
228
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
|
229
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
|
230
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
231
|
+
<COVERAGE_PATTERN ENABLED="true">
|
|
232
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
233
|
+
</COVERAGE_PATTERN>
|
|
234
|
+
</EXTENSION>
|
|
235
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
|
236
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
|
237
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
|
238
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
|
|
239
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
|
|
240
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
|
241
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
|
242
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
|
243
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
|
244
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
|
|
245
|
+
<method />
|
|
246
|
+
</configuration>
|
|
247
|
+
<configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
|
|
248
|
+
<method />
|
|
249
|
+
</configuration>
|
|
250
|
+
<configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
|
|
251
|
+
<predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
|
|
252
|
+
<module name="" />
|
|
253
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
|
254
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
|
255
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
|
256
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
|
257
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
|
258
|
+
<envs />
|
|
259
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
|
260
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
|
261
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
262
|
+
<COVERAGE_PATTERN ENABLED="true">
|
|
263
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
264
|
+
</COVERAGE_PATTERN>
|
|
265
|
+
</EXTENSION>
|
|
266
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
|
267
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*.feature" />
|
|
268
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
|
269
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
|
270
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
|
271
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TAGS_FILTER" VALUE="" />
|
|
272
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_NAME_FILTER" VALUE="" />
|
|
273
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_ARGS" VALUE="--color -r features" />
|
|
274
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
|
275
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
|
276
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="VERBOSE_OPTION" VALUE="false" />
|
|
277
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
|
278
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
|
279
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
|
280
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_RUNNER_PATH" VALUE="" />
|
|
281
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_RUNNER" VALUE="false" />
|
|
282
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SETTINGS_VERSION" VALUE="2" />
|
|
283
|
+
<method />
|
|
284
|
+
</configuration>
|
|
285
|
+
<configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
|
|
286
|
+
<method />
|
|
287
|
+
</configuration>
|
|
288
|
+
<list size="0" />
|
|
289
|
+
</component>
|
|
290
|
+
<component name="ShelveChangesManager" show_recycled="false" />
|
|
291
|
+
<component name="TaskManager">
|
|
292
|
+
<task active="true" id="Default" summary="Default task">
|
|
293
|
+
<changelist id="df4f450c-3033-45a4-9403-afa0f39ca0ac" name="Default" comment="" />
|
|
294
|
+
<created>1424544324614</created>
|
|
295
|
+
<option name="number" value="Default" />
|
|
296
|
+
<updated>1424544324614</updated>
|
|
297
|
+
</task>
|
|
298
|
+
<servers />
|
|
299
|
+
</component>
|
|
300
|
+
<component name="ToolWindowManager">
|
|
301
|
+
<frame x="65" y="24" width="1215" height="1000" extended-state="6" />
|
|
302
|
+
<editor active="true" />
|
|
303
|
+
<layout>
|
|
304
|
+
<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="8" side_tool="false" content_ui="tabs" />
|
|
305
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.27459368" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
|
306
|
+
<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="7" side_tool="false" content_ui="tabs" />
|
|
307
|
+
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.34479055" sideWeight="0.5004277" order="10" side_tool="true" content_ui="tabs" />
|
|
308
|
+
<window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="12" side_tool="false" content_ui="tabs" />
|
|
309
|
+
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.20530368" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
|
310
|
+
<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="11" side_tool="false" content_ui="tabs" />
|
|
311
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="true" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32975295" sideWeight="0.5" order="3" side_tool="true" content_ui="tabs" />
|
|
312
|
+
<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" />
|
|
313
|
+
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.34479055" sideWeight="0.49957228" order="9" side_tool="false" content_ui="tabs" />
|
|
314
|
+
<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="2" side_tool="true" content_ui="tabs" />
|
|
315
|
+
<window_info id="Debug" active="false" anchor="bottom" auto_hide="true" internal_type="DOCKED" type="FLOATING" visible="false" weight="0.39849624" sideWeight="0.5" order="4" side_tool="true" content_ui="tabs" x="88" y="338" width="1169" height="371" />
|
|
316
|
+
<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="5" side_tool="false" content_ui="tabs" />
|
|
317
|
+
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32975295" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
|
318
|
+
<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="1" side_tool="false" content_ui="tabs" />
|
|
319
|
+
<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" />
|
|
320
|
+
<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="6" side_tool="false" content_ui="tabs" />
|
|
321
|
+
<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" />
|
|
322
|
+
<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="2" side_tool="false" content_ui="tabs" />
|
|
323
|
+
<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" />
|
|
324
|
+
</layout>
|
|
325
|
+
</component>
|
|
326
|
+
<component name="Vcs.Log.UiProperties">
|
|
327
|
+
<option name="RECENTLY_FILTERED_USER_GROUPS">
|
|
328
|
+
<collection />
|
|
329
|
+
</option>
|
|
330
|
+
<option name="RECENTLY_FILTERED_BRANCH_GROUPS">
|
|
331
|
+
<collection />
|
|
332
|
+
</option>
|
|
333
|
+
</component>
|
|
334
|
+
<component name="VcsContentAnnotationSettings">
|
|
335
|
+
<option name="myLimit" value="2678400000" />
|
|
336
|
+
</component>
|
|
337
|
+
<component name="VcsManagerConfiguration">
|
|
338
|
+
<option name="myTodoPanelSettings">
|
|
339
|
+
<TodoPanelSettings />
|
|
340
|
+
</option>
|
|
341
|
+
</component>
|
|
342
|
+
<component name="XDebuggerManager">
|
|
343
|
+
<breakpoint-manager />
|
|
344
|
+
<watches-manager />
|
|
345
|
+
</component>
|
|
346
|
+
<component name="editorHistoryManager">
|
|
347
|
+
<entry file="file://$PROJECT_DIR$/lib/ysrmailParser.rb">
|
|
348
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
349
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="738">
|
|
350
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
351
|
+
<folding />
|
|
352
|
+
</state>
|
|
353
|
+
</provider>
|
|
354
|
+
</entry>
|
|
355
|
+
<entry file="file://$PROJECT_DIR$/ysrmailParser.gemspec">
|
|
356
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
357
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="198" max-vertical-offset="450">
|
|
358
|
+
<caret line="11" column="55" selection-start-line="11" selection-start-column="55" selection-end-line="11" selection-end-column="55" />
|
|
359
|
+
<folding />
|
|
360
|
+
</state>
|
|
361
|
+
</provider>
|
|
362
|
+
</entry>
|
|
363
|
+
<entry file="file://$PROJECT_DIR$/lib/ysrmailParser/version.rb">
|
|
364
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
365
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="18" max-vertical-offset="162">
|
|
366
|
+
<caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
|
|
367
|
+
<folding />
|
|
368
|
+
</state>
|
|
369
|
+
</provider>
|
|
370
|
+
</entry>
|
|
371
|
+
<entry file="file://$PROJECT_DIR$/CODE_OF_CONDUCT.md">
|
|
372
|
+
<provider editor-type-id="com.intellij.database.editor.CsvTableFileEditorProvider">
|
|
373
|
+
<state />
|
|
374
|
+
</provider>
|
|
375
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
376
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="535">
|
|
377
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
378
|
+
<folding />
|
|
379
|
+
</state>
|
|
380
|
+
</provider>
|
|
381
|
+
</entry>
|
|
382
|
+
<entry file="file://$PROJECT_DIR$/LICENSE.txt">
|
|
383
|
+
<provider editor-type-id="com.intellij.database.editor.CsvTableFileEditorProvider">
|
|
384
|
+
<state />
|
|
385
|
+
</provider>
|
|
386
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
387
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="535">
|
|
388
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
389
|
+
<folding />
|
|
390
|
+
</state>
|
|
391
|
+
</provider>
|
|
392
|
+
</entry>
|
|
393
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
|
394
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
395
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="580">
|
|
396
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
397
|
+
<folding />
|
|
398
|
+
</state>
|
|
399
|
+
</provider>
|
|
400
|
+
</entry>
|
|
401
|
+
<entry file="file://$PROJECT_DIR$/lib/ysrmailParser.rb">
|
|
402
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
403
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="738">
|
|
404
|
+
<caret line="22" column="51" selection-start-line="22" selection-start-column="51" selection-end-line="22" selection-end-column="51" />
|
|
405
|
+
<folding />
|
|
406
|
+
</state>
|
|
407
|
+
</provider>
|
|
408
|
+
</entry>
|
|
409
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
|
410
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
411
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="684">
|
|
412
|
+
<caret line="3" column="0" selection-start-line="3" selection-start-column="0" selection-end-line="3" selection-end-column="0" />
|
|
413
|
+
<folding />
|
|
414
|
+
</state>
|
|
415
|
+
</provider>
|
|
416
|
+
</entry>
|
|
417
|
+
<entry file="file://$PROJECT_DIR$/ysrmailParser.gemspec">
|
|
418
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
419
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="450">
|
|
420
|
+
<caret line="11" column="141" selection-start-line="11" selection-start-column="141" selection-end-line="11" selection-end-column="141" />
|
|
421
|
+
<folding />
|
|
422
|
+
</state>
|
|
423
|
+
</provider>
|
|
424
|
+
</entry>
|
|
425
|
+
<entry file="file://$PROJECT_DIR$/lib/ysrmailParser/version.rb">
|
|
426
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
427
|
+
<state vertical-scroll-proportion="0.031034483" vertical-offset="0" max-vertical-offset="580">
|
|
428
|
+
<caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
|
|
429
|
+
<folding />
|
|
430
|
+
</state>
|
|
431
|
+
</provider>
|
|
432
|
+
</entry>
|
|
433
|
+
</component>
|
|
434
|
+
</project>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
|
3
|
+
<component name="FacetManager">
|
|
4
|
+
<facet type="gem" name="Ruby 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="bundler (v1.7.12, RVM: ruby-1.9.3-p551) [gem]" level="application" />
|
|
17
|
+
</component>
|
|
18
|
+
</module>
|
data/CODE_OF_CONDUCT.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Contributor Code of Conduct
|
|
2
|
+
|
|
3
|
+
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
|
4
|
+
|
|
5
|
+
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
|
|
6
|
+
|
|
7
|
+
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
|
|
8
|
+
|
|
9
|
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
|
|
10
|
+
|
|
11
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
|
|
12
|
+
|
|
13
|
+
This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2015 Syed Muhammad Yasir
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# YsrmailParser
|
|
2
|
+
|
|
3
|
+
The gem is use for Parsing email from raw data .
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
Add this line to your application's Gemfile:
|
|
8
|
+
|
|
9
|
+
```ruby
|
|
10
|
+
gem 'ysrmailParser'
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Or install it yourself as:
|
|
14
|
+
|
|
15
|
+
$ gem install ysrmailParser
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
Create the csv file on Desktop if you are using Linux
|
|
20
|
+
Name it t1.csv . put all your raw data in it
|
|
21
|
+
|
|
22
|
+
create the new ruby Project
|
|
23
|
+
|
|
24
|
+
require 'rubygems'
|
|
25
|
+
require 'ysrmailParser'
|
|
26
|
+
|
|
27
|
+
**********************************
|
|
28
|
+
temp = YsrmailParser::YsrMail.new
|
|
29
|
+
puts temp.test
|
|
30
|
+
**********************************
|
|
31
|
+
|
|
32
|
+
It returns email and count of each email how many times it returns .
|
data/Rakefile
ADDED
data/bin/console
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require "bundler/setup"
|
|
4
|
+
require "ysrmailParser"
|
|
5
|
+
|
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
|
8
|
+
|
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
|
10
|
+
# require "pry"
|
|
11
|
+
# Pry.start
|
|
12
|
+
|
|
13
|
+
require "irb"
|
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
require "ysrmailParser/version"
|
|
2
|
+
|
|
3
|
+
module YsrmailParser
|
|
4
|
+
class YsrMail
|
|
5
|
+
def test
|
|
6
|
+
require 'socket'
|
|
7
|
+
tempArray = []
|
|
8
|
+
File.open("/home/#{Socket.gethostname}/Desktop/t1.csv", 'r') do |f|
|
|
9
|
+
while line = f.gets
|
|
10
|
+
regex = Regexp.new(/\Wdestination\W+(\b\w+\D\w+\D\w+.+\w+)"\]/)
|
|
11
|
+
t1 = line.scan(regex)
|
|
12
|
+
tempArray << t1
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
temp = tempArray.reject(&:empty?)
|
|
16
|
+
j = 0
|
|
17
|
+
i = 0
|
|
18
|
+
sortedArray = temp.sort
|
|
19
|
+
countRepetedEmail = 1
|
|
20
|
+
while j < temp.count do
|
|
21
|
+
if sortedArray[i] != sortedArray[i+1]
|
|
22
|
+
puts sortedArray[i]
|
|
23
|
+
puts " Repeted Count = #{countRepetedEmail}"
|
|
24
|
+
countRepetedEmail = 1
|
|
25
|
+
else
|
|
26
|
+
if sortedArray[i] == sortedArray[i+1]
|
|
27
|
+
countRepetedEmail +=1
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
i+=1
|
|
31
|
+
j+=1
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
Binary file
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
$:.push File.expand_path('../lib', __FILE__)
|
|
3
|
+
require 'ysrmailParser/version'
|
|
4
|
+
|
|
5
|
+
Gem::Specification.new do |spec|
|
|
6
|
+
spec.name = "ysrmailParser"
|
|
7
|
+
spec.version = YsrmailParser::VERSION
|
|
8
|
+
spec.authors = ["Syed Muhammad Yasir"]
|
|
9
|
+
spec.email = ["syed.yasir@tenpearls.com"]
|
|
10
|
+
|
|
11
|
+
spec.summary = %q{mail parser}
|
|
12
|
+
spec.description = %q{Parse out email from raw data. For Further Description or use please visit https://github.com/yasir47/ysrmailParser}
|
|
13
|
+
|
|
14
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
15
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
16
|
+
spec.require_paths = ["lib"]
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ysrmailParser
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Syed Muhammad Yasir
|
|
@@ -10,13 +10,35 @@ bindir: bin
|
|
|
10
10
|
cert_chain: []
|
|
11
11
|
date: 2015-02-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
|
-
description: Parse out email from raw data
|
|
13
|
+
description: Parse out email from raw data. For Further Description or use please
|
|
14
|
+
visit https://github.com/yasir47/ysrmailParser
|
|
14
15
|
email:
|
|
15
16
|
- syed.yasir@tenpearls.com
|
|
16
17
|
executables: []
|
|
17
18
|
extensions: []
|
|
18
19
|
extra_rdoc_files: []
|
|
19
|
-
files:
|
|
20
|
+
files:
|
|
21
|
+
- .gitignore
|
|
22
|
+
- .idea/.name
|
|
23
|
+
- .idea/.rakeTasks
|
|
24
|
+
- .idea/encodings.xml
|
|
25
|
+
- .idea/misc.xml
|
|
26
|
+
- .idea/modules.xml
|
|
27
|
+
- .idea/scopes/scope_settings.xml
|
|
28
|
+
- .idea/vcs.xml
|
|
29
|
+
- .idea/workspace.xml
|
|
30
|
+
- .idea/ysrmailParser.iml
|
|
31
|
+
- CODE_OF_CONDUCT.md
|
|
32
|
+
- Gemfile
|
|
33
|
+
- LICENSE.txt
|
|
34
|
+
- README.md
|
|
35
|
+
- Rakefile
|
|
36
|
+
- bin/console
|
|
37
|
+
- bin/setup
|
|
38
|
+
- lib/ysrmailParser.rb
|
|
39
|
+
- lib/ysrmailParser/version.rb
|
|
40
|
+
- ysrmailParser-0.1.1.gem
|
|
41
|
+
- ysrmailParser.gemspec
|
|
20
42
|
homepage:
|
|
21
43
|
licenses: []
|
|
22
44
|
metadata: {}
|