skio_sms_client 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b605131a26d26a83797b7701c56f59d46182fedf
4
+ data.tar.gz: 9f8fd81810b201b3fd59c40d4a2dc27c9595ccbb
5
+ SHA512:
6
+ metadata.gz: 18a83ad791da782ca701bb07972279fcfb93bc0c2094e9ab6f0f1006f365dd30498427053ab49ae670205b6ce26a397bfd7de907030e4e51ba496e9b13829120
7
+ data.tar.gz: cc32209e098b34dd439a57c637f037cad7f9afd2360fc6895b794c0cd8deb3f73333f552248d9ba39e29f5477096b5eb849515eab6cb905146cf99383ccf4e34
data/.gitignore ADDED
@@ -0,0 +1,60 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ =======
11
+ *.gem
12
+ *.rbc
13
+ /.config
14
+ /coverage/
15
+ /InstalledFiles
16
+ /pkg/
17
+ /spec/reports/
18
+ /spec/examples.txt
19
+ /test/tmp/
20
+ /test/version_tmp/
21
+ /tmp/
22
+
23
+ # Used by dotenv library to load environment variables.
24
+ # .env
25
+
26
+ ## Specific to RubyMotion:
27
+ .dat*
28
+ .repl_history
29
+ build/
30
+ *.bridgesupport
31
+ build-iPhoneOS/
32
+ build-iPhoneSimulator/
33
+
34
+ ## Specific to RubyMotion (use of CocoaPods):
35
+ #
36
+ # We recommend against adding the Pods directory to your .gitignore. However
37
+ # you should judge for yourself, the pros and cons are mentioned at:
38
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
39
+ #
40
+ # vendor/Pods/
41
+
42
+ ## Documentation cache and generated files:
43
+ /.yardoc/
44
+ /_yardoc/
45
+ /doc/
46
+ /rdoc/
47
+
48
+ ## Environment normalization:
49
+ /.bundle/
50
+ /vendor/bundle
51
+ /lib/bundler/man/
52
+
53
+ # for a library or gem, you might want to ignore these files since the code is
54
+ # intended to run in multiple environments; otherwise, check them in:
55
+ # Gemfile.lock
56
+ # .ruby-version
57
+ # .ruby-gemset
58
+
59
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
60
+ .rvmrc
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 skio_sms_client-0.1.0.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated files" fullCmd="clobber" taksId="clobber" /><RakeTask description="Build and install skio_sms_client-0.1.0.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install skio_sms_client-0.1.0.gem into system gems without network access" fullCmd="install:local" taksId="local" /></RakeGroup><RakeTask description="Create tag v0.1.0 and build and push skio_sms_client-0.1.0.gem to Rubygems" fullCmd="release[remote]" taksId="release[remote]" /><RakeTask description="Run RSpec code examples" fullCmd="spec" taksId="spec" /><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" fullCmd="release" taksId="release" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup></RakeGroup></Settings>
data/.idea/misc.xml ADDED
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectLevelVcsManager" settingsEditedManually="false">
4
+ <OptionsSetting value="true" id="Add" />
5
+ <OptionsSetting value="true" id="Remove" />
6
+ <OptionsSetting value="true" id="Checkout" />
7
+ <OptionsSetting value="true" id="Update" />
8
+ <OptionsSetting value="true" id="Status" />
9
+ <OptionsSetting value="true" id="Edit" />
10
+ <ConfirmationsSetting value="0" id="Add" />
11
+ <ConfirmationsSetting value="0" id="Remove" />
12
+ </component>
13
+ <component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-2.3.1" project-jdk-type="RUBY_SDK" />
14
+ </project>
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/skio_sms_client.iml" filepath="$PROJECT_DIR$/.idea/skio_sms_client.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,39 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="RUBY_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$" />
5
+ <orderEntry type="inheritedJdk" />
6
+ <orderEntry type="sourceFolder" forTests="false" />
7
+ <orderEntry type="library" scope="PROVIDED" name="activesupport (v4.2.7.1, RVM: ruby-2.3.1) [gem]" level="application" />
8
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.13.1, RVM: ruby-2.3.1) [gem]" level="application" />
9
+ <orderEntry type="library" scope="PROVIDED" name="codeclimate-test-reporter (v0.6.0, RVM: ruby-2.3.1) [gem]" level="application" />
10
+ <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.5, RVM: ruby-2.3.1) [gem]" level="application" />
11
+ <orderEntry type="library" scope="PROVIDED" name="docile (v1.1.5, RVM: ruby-2.3.1) [gem]" level="application" />
12
+ <orderEntry type="library" scope="PROVIDED" name="domain_name (v0.5.20160826, RVM: ruby-2.3.1) [gem]" level="application" />
13
+ <orderEntry type="library" scope="PROVIDED" name="http-cookie (v1.0.2, RVM: ruby-2.3.1) [gem]" level="application" />
14
+ <orderEntry type="library" scope="PROVIDED" name="i18n (v0.7.0, RVM: ruby-2.3.1) [gem]" level="application" />
15
+ <orderEntry type="library" scope="PROVIDED" name="mechanize (v2.7.5, RVM: ruby-2.3.1) [gem]" level="application" />
16
+ <orderEntry type="library" scope="PROVIDED" name="mime-types (v3.1, RVM: ruby-2.3.1) [gem]" level="application" />
17
+ <orderEntry type="library" scope="PROVIDED" name="mime-types-data (v3.2016.0521, RVM: ruby-2.3.1) [gem]" level="application" />
18
+ <orderEntry type="library" scope="PROVIDED" name="mini_portile2 (v2.1.0, RVM: ruby-2.3.1) [gem]" level="application" />
19
+ <orderEntry type="library" scope="PROVIDED" name="minitest (v5.9.1, RVM: ruby-2.3.1) [gem]" level="application" />
20
+ <orderEntry type="library" scope="PROVIDED" name="net-http-digest_auth (v1.4, RVM: ruby-2.3.1) [gem]" level="application" />
21
+ <orderEntry type="library" scope="PROVIDED" name="net-http-persistent (v2.9.4, RVM: ruby-2.3.1) [gem]" level="application" />
22
+ <orderEntry type="library" scope="PROVIDED" name="nokogiri (v1.6.8, RVM: ruby-2.3.1) [gem]" level="application" />
23
+ <orderEntry type="library" scope="PROVIDED" name="ntlm-http (v0.1.1, RVM: ruby-2.3.1) [gem]" level="application" />
24
+ <orderEntry type="library" scope="PROVIDED" name="pkg-config (v1.1.7, RVM: ruby-2.3.1) [gem]" level="application" />
25
+ <orderEntry type="library" scope="PROVIDED" name="rake (v10.5.0, RVM: ruby-2.3.1) [gem]" level="application" />
26
+ <orderEntry type="library" scope="PROVIDED" name="rspec (v3.5.0, RVM: ruby-2.3.1) [gem]" level="application" />
27
+ <orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.5.3, RVM: ruby-2.3.1) [gem]" level="application" />
28
+ <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.5.0, RVM: ruby-2.3.1) [gem]" level="application" />
29
+ <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.5.0, RVM: ruby-2.3.1) [gem]" level="application" />
30
+ <orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.5.0, RVM: ruby-2.3.1) [gem]" level="application" />
31
+ <orderEntry type="library" scope="PROVIDED" name="simplecov (v0.12.0, RVM: ruby-2.3.1) [gem]" level="application" />
32
+ <orderEntry type="library" scope="PROVIDED" name="simplecov-html (v0.10.0, RVM: ruby-2.3.1) [gem]" level="application" />
33
+ <orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.3.5, RVM: ruby-2.3.1) [gem]" level="application" />
34
+ <orderEntry type="library" scope="PROVIDED" name="tzinfo (v1.2.2, RVM: ruby-2.3.1) [gem]" level="application" />
35
+ <orderEntry type="library" scope="PROVIDED" name="unf (v0.1.4, RVM: ruby-2.3.1) [gem]" level="application" />
36
+ <orderEntry type="library" scope="PROVIDED" name="unf_ext (v0.0.7.2, RVM: ruby-2.3.1) [gem]" level="application" />
37
+ <orderEntry type="library" scope="PROVIDED" name="webrobots (v0.1.2, RVM: ruby-2.3.1) [gem]" level="application" />
38
+ </component>
39
+ </module>
data/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,600 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="5561f88e-a560-41e5-8efb-6cdcd31902b9" name="Default" comment="">
5
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.gitignore" afterPath="$PROJECT_DIR$/.gitignore" />
6
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
7
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Gemfile" afterPath="$PROJECT_DIR$/Gemfile" />
8
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/skio_sms_client.gemspec" afterPath="$PROJECT_DIR$/skio_sms_client.gemspec" />
9
+ </list>
10
+ <ignored path="skio_sms_client.iws" />
11
+ <ignored path=".idea/workspace.xml" />
12
+ <ignored path=".idea/dataSources.local.xml" />
13
+ <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
14
+ <option name="TRACKING_ENABLED" value="true" />
15
+ <option name="SHOW_DIALOG" value="false" />
16
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
17
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
18
+ <option name="LAST_RESOLUTION" value="IGNORE" />
19
+ </component>
20
+ <component name="CreatePatchCommitExecutor">
21
+ <option name="PATCH_PATH" value="" />
22
+ </component>
23
+ <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
24
+ <component name="FavoritesManager">
25
+ <favorites_list name="skio_sms_client" />
26
+ </component>
27
+ <component name="FileEditorManager">
28
+ <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
29
+ <file leaf-file-name="skio_sms_client.rb" pinned="false" current-in-tab="false">
30
+ <entry file="file://$PROJECT_DIR$/lib/skio_sms_client.rb">
31
+ <provider selected="true" editor-type-id="text-editor">
32
+ <state relative-caret-position="216">
33
+ <caret line="12" column="21" selection-start-line="11" selection-start-column="1" selection-end-line="11" selection-end-column="15" />
34
+ <folding />
35
+ </state>
36
+ </provider>
37
+ </entry>
38
+ </file>
39
+ <file leaf-file-name="spec_helper.rb" pinned="false" current-in-tab="false">
40
+ <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
41
+ <provider selected="true" editor-type-id="text-editor">
42
+ <state relative-caret-position="216">
43
+ <caret line="12" column="44" selection-start-line="12" selection-start-column="44" selection-end-line="12" selection-end-column="44" />
44
+ <folding />
45
+ </state>
46
+ </provider>
47
+ </entry>
48
+ </file>
49
+ <file leaf-file-name="Gemfile" pinned="false" current-in-tab="false">
50
+ <entry file="file://$PROJECT_DIR$/Gemfile">
51
+ <provider selected="true" editor-type-id="text-editor">
52
+ <state relative-caret-position="90">
53
+ <caret line="5" column="14" selection-start-line="5" selection-start-column="5" selection-end-line="5" selection-end-column="14" />
54
+ <folding />
55
+ </state>
56
+ </provider>
57
+ </entry>
58
+ </file>
59
+ <file leaf-file-name="README.md" pinned="false" current-in-tab="false">
60
+ <entry file="file://$PROJECT_DIR$/README.md">
61
+ <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
62
+ <state split_layout="SPLIT">
63
+ <first_editor relative-caret-position="0">
64
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
65
+ <folding />
66
+ </first_editor>
67
+ <second_editor />
68
+ </state>
69
+ </provider>
70
+ </entry>
71
+ </file>
72
+ <file leaf-file-name="skio_sms_client.gemspec" pinned="false" current-in-tab="true">
73
+ <entry file="file://$PROJECT_DIR$/skio_sms_client.gemspec">
74
+ <provider selected="true" editor-type-id="text-editor">
75
+ <state relative-caret-position="55">
76
+ <caret line="11" column="24" selection-start-line="11" selection-start-column="24" selection-end-line="11" selection-end-column="24" />
77
+ <folding />
78
+ </state>
79
+ </provider>
80
+ </entry>
81
+ </file>
82
+ <file leaf-file-name=".gitignore" pinned="false" current-in-tab="false">
83
+ <entry file="file://$PROJECT_DIR$/.gitignore">
84
+ <provider selected="true" editor-type-id="text-editor">
85
+ <state relative-caret-position="288">
86
+ <caret line="24" column="0" selection-start-line="24" selection-start-column="0" selection-end-line="24" selection-end-column="0" />
87
+ <folding />
88
+ </state>
89
+ </provider>
90
+ </entry>
91
+ </file>
92
+ <file leaf-file-name="sms_sender_spec.rb" pinned="false" current-in-tab="false">
93
+ <entry file="file://$PROJECT_DIR$/spec/sms_sender_spec.rb">
94
+ <provider selected="true" editor-type-id="text-editor">
95
+ <state relative-caret-position="162">
96
+ <caret line="9" column="3" selection-start-line="9" selection-start-column="3" selection-end-line="9" selection-end-column="3" />
97
+ <folding />
98
+ </state>
99
+ </provider>
100
+ </entry>
101
+ </file>
102
+ <file leaf-file-name="sms_sender.rb" pinned="false" current-in-tab="false">
103
+ <entry file="file://$PROJECT_DIR$/lib/skio_sms_client/sms_sender.rb">
104
+ <provider selected="true" editor-type-id="text-editor">
105
+ <state relative-caret-position="144">
106
+ <caret line="8" column="134" selection-start-line="8" selection-start-column="122" selection-end-line="8" selection-end-column="134" />
107
+ <folding />
108
+ </state>
109
+ </provider>
110
+ </entry>
111
+ </file>
112
+ </leaf>
113
+ </component>
114
+ <component name="FileTemplateManagerImpl">
115
+ <option name="RECENT_TEMPLATES">
116
+ <list>
117
+ <option value="Ruby Class Template" />
118
+ <option value="Test-Spec Template" />
119
+ </list>
120
+ </option>
121
+ </component>
122
+ <component name="Git.Settings">
123
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
124
+ </component>
125
+ <component name="IdeDocumentHistory">
126
+ <option name="CHANGED_PATHS">
127
+ <list>
128
+ <option value="$PROJECT_DIR$/.gitignore" />
129
+ <option value="$PROJECT_DIR$/skio_sms_client.gemspec" />
130
+ <option value="$PROJECT_DIR$/Gemfile" />
131
+ <option value="$PROJECT_DIR$/lib/skio_sms_client.rb" />
132
+ <option value="$PROJECT_DIR$/lib/skio_sms_client/sms_sender.rb" />
133
+ <option value="$PROJECT_DIR$/spec/sms_sender_spec.rb" />
134
+ <option value="$PROJECT_DIR$/spec/spec_helper.rb" />
135
+ </list>
136
+ </option>
137
+ </component>
138
+ <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
139
+ <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
140
+ <component name="JsGulpfileManager">
141
+ <detection-done>true</detection-done>
142
+ <sorting>DEFINITION_ORDER</sorting>
143
+ </component>
144
+ <component name="ProjectFrameBounds">
145
+ <option name="x" value="65" />
146
+ <option name="y" value="24" />
147
+ <option name="width" value="1855" />
148
+ <option name="height" value="1056" />
149
+ </component>
150
+ <component name="ProjectLevelVcsManager" settingsEditedManually="false">
151
+ <OptionsSetting value="true" id="Add" />
152
+ <OptionsSetting value="true" id="Remove" />
153
+ <OptionsSetting value="true" id="Checkout" />
154
+ <OptionsSetting value="true" id="Update" />
155
+ <OptionsSetting value="true" id="Status" />
156
+ <OptionsSetting value="true" id="Edit" />
157
+ <ConfirmationsSetting value="0" id="Add" />
158
+ <ConfirmationsSetting value="0" id="Remove" />
159
+ </component>
160
+ <component name="ProjectView">
161
+ <navigator currentView="ProjectPane" proportions="" version="1">
162
+ <flattenPackages />
163
+ <showMembers />
164
+ <showModules />
165
+ <showLibraryContents />
166
+ <hideEmptyPackages />
167
+ <abbreviatePackageNames />
168
+ <autoscrollToSource />
169
+ <autoscrollFromSource />
170
+ <sortByType />
171
+ <manualOrder />
172
+ <foldersAlwaysOnTop value="true" />
173
+ </navigator>
174
+ <panes>
175
+ <pane id="Scope" />
176
+ <pane id="Scratches" />
177
+ <pane id="ProjectPane">
178
+ <subPane>
179
+ <PATH>
180
+ <PATH_ELEMENT>
181
+ <option name="myItemId" value="skio_sms_client" />
182
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
183
+ </PATH_ELEMENT>
184
+ </PATH>
185
+ <PATH>
186
+ <PATH_ELEMENT>
187
+ <option name="myItemId" value="skio_sms_client" />
188
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
189
+ </PATH_ELEMENT>
190
+ <PATH_ELEMENT>
191
+ <option name="myItemId" value="skio_sms_client" />
192
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
193
+ </PATH_ELEMENT>
194
+ </PATH>
195
+ <PATH>
196
+ <PATH_ELEMENT>
197
+ <option name="myItemId" value="skio_sms_client" />
198
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
199
+ </PATH_ELEMENT>
200
+ <PATH_ELEMENT>
201
+ <option name="myItemId" value="skio_sms_client" />
202
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
203
+ </PATH_ELEMENT>
204
+ <PATH_ELEMENT>
205
+ <option name="myItemId" value="spec" />
206
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
207
+ </PATH_ELEMENT>
208
+ </PATH>
209
+ <PATH>
210
+ <PATH_ELEMENT>
211
+ <option name="myItemId" value="skio_sms_client" />
212
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
213
+ </PATH_ELEMENT>
214
+ <PATH_ELEMENT>
215
+ <option name="myItemId" value="skio_sms_client" />
216
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
217
+ </PATH_ELEMENT>
218
+ <PATH_ELEMENT>
219
+ <option name="myItemId" value="lib" />
220
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
221
+ </PATH_ELEMENT>
222
+ </PATH>
223
+ <PATH>
224
+ <PATH_ELEMENT>
225
+ <option name="myItemId" value="skio_sms_client" />
226
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
227
+ </PATH_ELEMENT>
228
+ <PATH_ELEMENT>
229
+ <option name="myItemId" value="skio_sms_client" />
230
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
231
+ </PATH_ELEMENT>
232
+ <PATH_ELEMENT>
233
+ <option name="myItemId" value="lib" />
234
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
235
+ </PATH_ELEMENT>
236
+ <PATH_ELEMENT>
237
+ <option name="myItemId" value="skio_sms_client" />
238
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
239
+ </PATH_ELEMENT>
240
+ </PATH>
241
+ </subPane>
242
+ </pane>
243
+ </panes>
244
+ </component>
245
+ <component name="PropertiesComponent">
246
+ <property name="settings.editor.selected.configurable" value="configurable.group.appearance" />
247
+ <property name="settings.editor.splitter.proportion" value="0.2" />
248
+ <property name="last_opened_file_path" value="$PROJECT_DIR$/../aliyun_mns" />
249
+ <property name="WebServerToolWindowFactoryState" value="false" />
250
+ </component>
251
+ <component name="RunManager">
252
+ <configuration default="true" type="BashConfigurationType" factoryName="Bash">
253
+ <option name="INTERPRETER_OPTIONS" value="" />
254
+ <option name="INTERPRETER_PATH" value="/bin/bash" />
255
+ <option name="WORKING_DIRECTORY" value="" />
256
+ <option name="PARENT_ENVS" value="true" />
257
+ <option name="SCRIPT_NAME" value="" />
258
+ <option name="PARAMETERS" value="" />
259
+ <module name="" />
260
+ <envs />
261
+ <method />
262
+ </configuration>
263
+ <configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
264
+ <predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
265
+ <module name="" />
266
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
267
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
268
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
269
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
270
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
271
+ <envs />
272
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
273
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
274
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
275
+ <COVERAGE_PATTERN ENABLED="true">
276
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
277
+ </COVERAGE_PATTERN>
278
+ </EXTENSION>
279
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*.feature" />
280
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
281
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
282
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
283
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TAGS_FILTER" VALUE="" />
284
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_NAME_FILTER" VALUE="" />
285
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_ARGS" VALUE="--color -r features" />
286
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
287
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
288
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="VERBOSE_OPTION" VALUE="false" />
289
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
290
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
291
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
292
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_RUNNER_PATH" VALUE="" />
293
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_RUNNER" VALUE="false" />
294
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SETTINGS_VERSION" VALUE="2" />
295
+ <method />
296
+ </configuration>
297
+ <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
298
+ <method />
299
+ </configuration>
300
+ <configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
301
+ <predefined_log_file id="RUBY_RSPEC" enabled="true" />
302
+ <module name="" />
303
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
304
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
305
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
306
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
307
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
308
+ <envs />
309
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
310
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
311
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
312
+ <COVERAGE_PATTERN ENABLED="true">
313
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
314
+ </COVERAGE_PATTERN>
315
+ </EXTENSION>
316
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
317
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
318
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
319
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
320
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
321
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
322
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
323
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
324
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
325
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
326
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
327
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
328
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
329
+ <method />
330
+ </configuration>
331
+ <configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
332
+ <module name="" />
333
+ <RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
334
+ <RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
335
+ <RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
336
+ <RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
337
+ <RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
338
+ <envs />
339
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
340
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
341
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
342
+ <COVERAGE_PATTERN ENABLED="true">
343
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
344
+ </COVERAGE_PATTERN>
345
+ </EXTENSION>
346
+ <RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
347
+ <RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
348
+ <method />
349
+ </configuration>
350
+ <configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
351
+ <predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
352
+ <module name="" />
353
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
354
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
355
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
356
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
357
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
358
+ <envs />
359
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
360
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
361
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
362
+ <COVERAGE_PATTERN ENABLED="true">
363
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
364
+ </COVERAGE_PATTERN>
365
+ </EXTENSION>
366
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
367
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
368
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
369
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
370
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
371
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
372
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
373
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
374
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
375
+ <method />
376
+ </configuration>
377
+ <configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
378
+ <node-interpreter>project</node-interpreter>
379
+ <node-options />
380
+ <gulpfile />
381
+ <tasks />
382
+ <arguments />
383
+ <envs />
384
+ <method />
385
+ </configuration>
386
+ <configuration default="true" type="js.build_tools.npm" factoryName="npm">
387
+ <command value="run-script" />
388
+ <scripts />
389
+ <node-interpreter value="project" />
390
+ <envs />
391
+ <method />
392
+ </configuration>
393
+ </component>
394
+ <component name="ShelveChangesManager" show_recycled="false">
395
+ <option name="remove_strategy" value="false" />
396
+ </component>
397
+ <component name="TaskManager">
398
+ <task active="true" id="Default" summary="Default task">
399
+ <changelist id="5561f88e-a560-41e5-8efb-6cdcd31902b9" name="Default" comment="" />
400
+ <created>1475216611062</created>
401
+ <option name="number" value="Default" />
402
+ <option name="presentableId" value="Default" />
403
+ <updated>1475216611062</updated>
404
+ <workItem from="1475216612345" duration="8550000" />
405
+ <workItem from="1475741552259" duration="3187000" />
406
+ </task>
407
+ <task id="LOCAL-00001" summary="发送短信">
408
+ <created>1475744325236</created>
409
+ <option name="number" value="00001" />
410
+ <option name="presentableId" value="LOCAL-00001" />
411
+ <option name="project" value="LOCAL" />
412
+ <updated>1475744325236</updated>
413
+ </task>
414
+ <task id="LOCAL-00002" summary="发送短信">
415
+ <created>1475744646283</created>
416
+ <option name="number" value="00002" />
417
+ <option name="presentableId" value="LOCAL-00002" />
418
+ <option name="project" value="LOCAL" />
419
+ <updated>1475744646283</updated>
420
+ </task>
421
+ <option name="localTasksCounter" value="3" />
422
+ <servers />
423
+ </component>
424
+ <component name="TimeTrackingManager">
425
+ <option name="totallyTimeSpent" value="11737000" />
426
+ </component>
427
+ <component name="ToolWindowManager">
428
+ <frame x="65" y="24" width="1855" height="1056" extended-state="6" />
429
+ <editor active="false" />
430
+ <layout>
431
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.32156646" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
432
+ <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
433
+ <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="8" side_tool="true" content_ui="tabs" />
434
+ <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.23993382" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
435
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.66970617" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
436
+ <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32881" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
437
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
438
+ <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.2498621" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
439
+ <window_info id="Terminal" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.32985386" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
440
+ <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
441
+ <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
442
+ <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
443
+ <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
444
+ <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
445
+ <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
446
+ <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
447
+ <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
448
+ <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
449
+ </layout>
450
+ </component>
451
+ <component name="Vcs.Log.UiProperties">
452
+ <option name="RECENTLY_FILTERED_USER_GROUPS">
453
+ <collection />
454
+ </option>
455
+ <option name="RECENTLY_FILTERED_BRANCH_GROUPS">
456
+ <collection />
457
+ </option>
458
+ </component>
459
+ <component name="VcsContentAnnotationSettings">
460
+ <option name="myLimit" value="2678400000" />
461
+ </component>
462
+ <component name="VcsManagerConfiguration">
463
+ <MESSAGE value="发送短信" />
464
+ <option name="LAST_COMMIT_MESSAGE" value="发送短信" />
465
+ </component>
466
+ <component name="XDebuggerManager">
467
+ <breakpoint-manager />
468
+ <watches-manager />
469
+ </component>
470
+ <component name="editorHistoryManager">
471
+ <entry file="file://$PROJECT_DIR$/lib/skio_sms_client.rb">
472
+ <provider selected="true" editor-type-id="text-editor">
473
+ <state relative-caret-position="378">
474
+ <caret line="21" column="17" selection-start-line="21" selection-start-column="17" selection-end-line="21" selection-end-column="17" />
475
+ <folding />
476
+ </state>
477
+ </provider>
478
+ </entry>
479
+ <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
480
+ <provider selected="true" editor-type-id="text-editor">
481
+ <state relative-caret-position="216">
482
+ <caret line="12" column="9" selection-start-line="12" selection-start-column="9" selection-end-line="12" selection-end-column="9" />
483
+ <folding />
484
+ </state>
485
+ </provider>
486
+ </entry>
487
+ <entry file="file://$PROJECT_DIR$/Gemfile">
488
+ <provider selected="true" editor-type-id="text-editor">
489
+ <state relative-caret-position="90">
490
+ <caret line="5" column="14" selection-start-line="5" selection-start-column="5" selection-end-line="5" selection-end-column="14" />
491
+ <folding />
492
+ </state>
493
+ </provider>
494
+ </entry>
495
+ <entry file="file://$PROJECT_DIR$/spec/sms_sender_spec.rb">
496
+ <provider selected="true" editor-type-id="text-editor">
497
+ <state relative-caret-position="0">
498
+ <caret line="0" column="16" selection-start-line="0" selection-start-column="16" selection-end-line="0" selection-end-column="16" />
499
+ <folding />
500
+ </state>
501
+ </provider>
502
+ </entry>
503
+ <entry file="file://$PROJECT_DIR$/lib/skio_sms_client/sms_sender.rb">
504
+ <provider selected="true" editor-type-id="text-editor">
505
+ <state relative-caret-position="0">
506
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
507
+ <folding />
508
+ </state>
509
+ </provider>
510
+ </entry>
511
+ <entry file="file://$PROJECT_DIR$/bin/setup">
512
+ <provider selected="true" editor-type-id="text-editor">
513
+ <state relative-caret-position="0">
514
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
515
+ </state>
516
+ </provider>
517
+ </entry>
518
+ <entry file="file://$PROJECT_DIR$/bin/console">
519
+ <provider selected="true" editor-type-id="text-editor">
520
+ <state relative-caret-position="0">
521
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
522
+ </state>
523
+ </provider>
524
+ </entry>
525
+ <entry file="file://$PROJECT_DIR$/.rspec">
526
+ <provider selected="true" editor-type-id="text-editor">
527
+ <state relative-caret-position="0">
528
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
529
+ </state>
530
+ </provider>
531
+ </entry>
532
+ <entry file="file://$PROJECT_DIR$/lib/skio_sms_client/sms_sender.rb">
533
+ <provider selected="true" editor-type-id="text-editor">
534
+ <state relative-caret-position="144">
535
+ <caret line="8" column="134" selection-start-line="8" selection-start-column="122" selection-end-line="8" selection-end-column="134" />
536
+ <folding />
537
+ </state>
538
+ </provider>
539
+ </entry>
540
+ <entry file="file://$PROJECT_DIR$/lib/skio_sms_client.rb">
541
+ <provider selected="true" editor-type-id="text-editor">
542
+ <state relative-caret-position="216">
543
+ <caret line="12" column="21" selection-start-line="11" selection-start-column="1" selection-end-line="11" selection-end-column="15" />
544
+ <folding />
545
+ </state>
546
+ </provider>
547
+ </entry>
548
+ <entry file="file://$PROJECT_DIR$/spec/sms_sender_spec.rb">
549
+ <provider selected="true" editor-type-id="text-editor">
550
+ <state relative-caret-position="162">
551
+ <caret line="9" column="3" selection-start-line="9" selection-start-column="3" selection-end-line="9" selection-end-column="3" />
552
+ <folding />
553
+ </state>
554
+ </provider>
555
+ </entry>
556
+ <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
557
+ <provider selected="true" editor-type-id="text-editor">
558
+ <state relative-caret-position="216">
559
+ <caret line="12" column="44" selection-start-line="12" selection-start-column="44" selection-end-line="12" selection-end-column="44" />
560
+ <folding />
561
+ </state>
562
+ </provider>
563
+ </entry>
564
+ <entry file="file://$PROJECT_DIR$/.gitignore">
565
+ <provider selected="true" editor-type-id="text-editor">
566
+ <state relative-caret-position="288">
567
+ <caret line="24" column="0" selection-start-line="24" selection-start-column="0" selection-end-line="24" selection-end-column="0" />
568
+ <folding />
569
+ </state>
570
+ </provider>
571
+ </entry>
572
+ <entry file="file://$PROJECT_DIR$/Gemfile">
573
+ <provider selected="true" editor-type-id="text-editor">
574
+ <state relative-caret-position="90">
575
+ <caret line="5" column="14" selection-start-line="5" selection-start-column="5" selection-end-line="5" selection-end-column="14" />
576
+ <folding />
577
+ </state>
578
+ </provider>
579
+ </entry>
580
+ <entry file="file://$PROJECT_DIR$/README.md">
581
+ <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
582
+ <state split_layout="SPLIT">
583
+ <first_editor relative-caret-position="0">
584
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
585
+ <folding />
586
+ </first_editor>
587
+ <second_editor />
588
+ </state>
589
+ </provider>
590
+ </entry>
591
+ <entry file="file://$PROJECT_DIR$/skio_sms_client.gemspec">
592
+ <provider selected="true" editor-type-id="text-editor">
593
+ <state relative-caret-position="55">
594
+ <caret line="11" column="24" selection-start-line="11" selection-start-column="24" selection-end-line="11" selection-end-column="24" />
595
+ <folding />
596
+ </state>
597
+ </provider>
598
+ </entry>
599
+ </component>
600
+ </project>
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.1
5
+ before_install: gem install bundler -v 1.13.1
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at zhangbin@skio.cn. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source 'https://gems.ruby-china.org'
2
+
3
+ # Specify your gem's dependencies in skio_sms_client.gemspec
4
+ gemspec
5
+ gem 'activesupport', '~> 4.2', '>= 4.2.6'
6
+ gem 'mechanize'
7
+ gem "codeclimate-test-reporter", group: :test, require: nil
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 jason
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,41 @@
1
+ # SkioSmsClient
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/skio_sms_client`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'skio_sms_client'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install skio_sms_client
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/skio_sms_client. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "skio_sms_client"
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,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,34 @@
1
+ require 'active_support'
2
+ require 'active_support/core_ext'
3
+ require 'nokogiri'
4
+ require 'yaml'
5
+ require 'openssl'
6
+ require 'mechanize'
7
+ require 'digest/md5'
8
+
9
+ require "skio_sms_client/version"
10
+
11
+ module SkioSmsClient
12
+ class << self
13
+ def configuration
14
+ @configuration ||= begin
15
+ if defined? Rails
16
+ config_file = Rails.root.join('config/skio_sms_client.yml')
17
+ else
18
+ config_file = File.expand_path('../../config/skio_sms_client.yml', __FILE__)
19
+ end
20
+
21
+ if (File.exist?(config_file))
22
+ config = YAML.load(ERB.new(File.new(config_file).read).result)
23
+ config = config[Rails.env] if defined? Rails
24
+ end
25
+ OpenStruct.new(config || {app_name: "", send_key: "", send_server: ""})
26
+ end
27
+ end
28
+
29
+ def configure
30
+ yield(configuration)
31
+ end
32
+
33
+ end
34
+ end
@@ -0,0 +1,34 @@
1
+ module SkioSmsClient
2
+ class SmsSender
3
+ delegate :app_name, :send_key, :send_server, to: :configuration
4
+
5
+ def self.send_sms(phone, message, message_type)
6
+ sms_sender = SmsSender.new
7
+ agent = Mechanize.new
8
+ agent.user_agent_alias = 'Mac Safari'
9
+ page = agent.post(sms_sender.send_server, get_send_params(sms_sender.app_name, sms_sender.send_key, phone, message, message_type))
10
+ htmlStr = page.body.to_s
11
+ html_doc = Nokogiri::HTML(htmlStr)
12
+ JSON.parse(html_doc)
13
+ end
14
+
15
+ private
16
+ def configuration
17
+ SkioSmsClient.configuration
18
+ end
19
+
20
+ def self.get_send_params(app_name, send_key, phone, message, message_type=nil)
21
+ message_type ||= 'notice'
22
+ timestamp = Time.now.strftime('%Y%m%d%H%M%S')
23
+ sign = Digest::MD5.hexdigest("#{send_key}#{timestamp}")
24
+ {
25
+ :phone => "#{phone}",
26
+ :content => "#{message}",
27
+ :sign => sign,
28
+ :app_name => app_name,
29
+ :timestamp => timestamp,
30
+ :message_type => message_type
31
+ }
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,3 @@
1
+ module SkioSmsClient
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,36 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'skio_sms_client/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "skio_sms_client"
8
+ spec.version = SkioSmsClient::VERSION
9
+ spec.authors = ["jason"]
10
+ spec.email = ["zhangbin.zj@gmail.com"]
11
+
12
+ spec.summary = ""
13
+ spec.description = "skio sms sender client"
14
+ spec.homepage = "https://github.com/zhangbin/skio_sms_client"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ if spec.respond_to?(:metadata)
20
+ # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against " \
23
+ "public gem pushes."
24
+ end
25
+
26
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
27
+ f.match(%r{^(test|spec|features)/})
28
+ end
29
+ spec.bindir = "exe"
30
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
31
+ spec.require_paths = ["lib"]
32
+
33
+ spec.add_development_dependency "bundler", "~> 1.13"
34
+ spec.add_development_dependency "rake", "~> 10.0"
35
+ spec.add_development_dependency "rspec", "~> 3.0"
36
+ end
metadata ADDED
@@ -0,0 +1,106 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: skio_sms_client
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - jason
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-10-06 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.13'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.13'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.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: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ description: skio sms sender client
56
+ email:
57
+ - zhangbin.zj@gmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".gitignore"
63
+ - ".idea/.rakeTasks"
64
+ - ".idea/misc.xml"
65
+ - ".idea/modules.xml"
66
+ - ".idea/skio_sms_client.iml"
67
+ - ".idea/vcs.xml"
68
+ - ".idea/workspace.xml"
69
+ - ".rspec"
70
+ - ".travis.yml"
71
+ - CODE_OF_CONDUCT.md
72
+ - Gemfile
73
+ - LICENSE.txt
74
+ - README.md
75
+ - Rakefile
76
+ - bin/console
77
+ - bin/setup
78
+ - lib/skio_sms_client.rb
79
+ - lib/skio_sms_client/sms_sender.rb
80
+ - lib/skio_sms_client/version.rb
81
+ - skio_sms_client.gemspec
82
+ homepage: https://github.com/zhangbin/skio_sms_client
83
+ licenses:
84
+ - MIT
85
+ metadata: {}
86
+ post_install_message:
87
+ rdoc_options: []
88
+ require_paths:
89
+ - lib
90
+ required_ruby_version: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ required_rubygems_version: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - ">="
98
+ - !ruby/object:Gem::Version
99
+ version: '0'
100
+ requirements: []
101
+ rubyforge_project:
102
+ rubygems_version: 2.5.1
103
+ signing_key:
104
+ specification_version: 4
105
+ summary: ''
106
+ test_files: []