suning_pay 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.idea/suning_pay.iml +20 -0
- data/.idea/workspace.xml +195 -107
- data/Rakefile +1 -1
- data/lib/suning_pay/ent_service.rb +15 -15
- data/lib/suning_pay/version.rb +1 -1
- data/suning_pay.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9d1a6c90981782ee6c6adc7906034e8122b6b6b
|
4
|
+
data.tar.gz: 8476d5d15e5125108508fe410b0494329be9180f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bbeb6a4c4b972aafd2361b2b81fe3b7a9fea3f0e8b8d720aa6db7c3c2450b0abb1cda6131414b41f91f9dc98919cf3342c8001df81d69c172a1c1ccd4d4c7c6
|
7
|
+
data.tar.gz: 03ed75d1a9a1bfec9b48fe626b3d3ea86c29b19405e33dc0c3363584d75d8f21704e4531f5906a8ae31433ce186fe3f50cccf05683387dd64ff55dee8abd0e25
|
data/.idea/suning_pay.iml
CHANGED
@@ -22,6 +22,26 @@
|
|
22
22
|
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
23
23
|
<method />
|
24
24
|
</configuration>
|
25
|
+
<configuration default="false" name="IRB console: suning_pay" type="IrbRunConfigurationType" factoryName="IRB console" temporary="true">
|
26
|
+
<module name="suning_pay" />
|
27
|
+
<IRB_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
28
|
+
<IRB_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$" />
|
29
|
+
<IRB_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
30
|
+
<IRB_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
31
|
+
<IRB_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
32
|
+
<envs />
|
33
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
34
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
35
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
36
|
+
<COVERAGE_PATTERN ENABLED="true">
|
37
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
38
|
+
</COVERAGE_PATTERN>
|
39
|
+
</EXTENSION>
|
40
|
+
<IRB_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$APPLICATION_HOME_DIR$/rb/testing/runner/irb.rb" />
|
41
|
+
<IRB_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="--prompt simple" />
|
42
|
+
<IRB_RUN_CONFIG NAME="IS_RAILS_CONSOLE" VALUE="false" />
|
43
|
+
<method />
|
44
|
+
</configuration>
|
25
45
|
</local>
|
26
46
|
</component>
|
27
47
|
<component name="NewModuleRootManager">
|
data/.idea/workspace.xml
CHANGED
@@ -2,8 +2,12 @@
|
|
2
2
|
<project version="4">
|
3
3
|
<component name="ChangeListManager">
|
4
4
|
<list default="true" id="c8cf8def-5556-418a-b301-7917294a6f44" name="Default" comment="">
|
5
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/suning_pay.iml" afterPath="$PROJECT_DIR$/.idea/suning_pay.iml" />
|
5
6
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
6
|
-
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/
|
7
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/Rakefile" afterPath="$PROJECT_DIR$/Rakefile" />
|
8
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/suning_pay/ent_service.rb" afterPath="$PROJECT_DIR$/lib/suning_pay/ent_service.rb" />
|
9
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/suning_pay/version.rb" afterPath="$PROJECT_DIR$/lib/suning_pay/version.rb" />
|
10
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/test/suning_pay_test.rb" afterPath="$PROJECT_DIR$/test/suning_pay_test.rb" />
|
7
11
|
</list>
|
8
12
|
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
9
13
|
<option name="TRACKING_ENABLED" value="true" />
|
@@ -13,106 +17,107 @@
|
|
13
17
|
<option name="LAST_RESOLUTION" value="IGNORE" />
|
14
18
|
</component>
|
15
19
|
<component name="CoverageDataManager">
|
20
|
+
<SUITE FILE_PATH="coverage/suning_pay@IRB_console__suning_pay.coverage" NAME="IRB console: suning_pay Coverage Results" MODIFIED="1502171347472" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="suning_pay" />
|
16
21
|
<SUITE FILE_PATH="coverage/suning_pay@suning_pay.coverage" NAME="suning_pay Coverage Results" MODIFIED="1501653183953" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/lib" MODULE_NAME="suning_pay" />
|
17
22
|
</component>
|
18
23
|
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
|
19
24
|
<component name="FileEditorManager">
|
20
25
|
<leaf>
|
21
|
-
<file leaf-file-name="
|
22
|
-
<entry file="file://$PROJECT_DIR$/lib/suning_pay.rb">
|
26
|
+
<file leaf-file-name="rsa.rb" pinned="false" current-in-tab="false">
|
27
|
+
<entry file="file://$PROJECT_DIR$/lib/suning_pay/rsa.rb">
|
23
28
|
<provider selected="true" editor-type-id="text-editor">
|
24
|
-
<state relative-caret-position="
|
25
|
-
<caret line="
|
29
|
+
<state relative-caret-position="225">
|
30
|
+
<caret line="15" column="62" lean-forward="false" selection-start-line="15" selection-start-column="62" selection-end-line="15" selection-end-column="62" />
|
26
31
|
<folding />
|
27
32
|
</state>
|
28
33
|
</provider>
|
29
34
|
</entry>
|
30
35
|
</file>
|
31
|
-
<file leaf-file-name="
|
32
|
-
<entry file="file://$PROJECT_DIR$/suning_pay.rb">
|
36
|
+
<file leaf-file-name="service.rb" pinned="false" current-in-tab="false">
|
37
|
+
<entry file="file://$PROJECT_DIR$/lib/suning_pay/service.rb">
|
33
38
|
<provider selected="true" editor-type-id="text-editor">
|
34
|
-
<state relative-caret-position="
|
35
|
-
<caret line="
|
39
|
+
<state relative-caret-position="870">
|
40
|
+
<caret line="58" column="9" lean-forward="false" selection-start-line="58" selection-start-column="9" selection-end-line="58" selection-end-column="9" />
|
36
41
|
<folding />
|
37
42
|
</state>
|
38
43
|
</provider>
|
39
44
|
</entry>
|
40
45
|
</file>
|
41
|
-
<file leaf-file-name="
|
42
|
-
<entry file="file://$PROJECT_DIR$/lib/suning_pay/
|
46
|
+
<file leaf-file-name="ent_service.rb" pinned="false" current-in-tab="false">
|
47
|
+
<entry file="file://$PROJECT_DIR$/lib/suning_pay/ent_service.rb">
|
43
48
|
<provider selected="true" editor-type-id="text-editor">
|
44
|
-
<state relative-caret-position="
|
45
|
-
<caret line="
|
49
|
+
<state relative-caret-position="465">
|
50
|
+
<caret line="31" column="49" lean-forward="false" selection-start-line="31" selection-start-column="49" selection-end-line="31" selection-end-column="49" />
|
46
51
|
<folding />
|
47
52
|
</state>
|
48
53
|
</provider>
|
49
54
|
</entry>
|
50
55
|
</file>
|
51
|
-
<file leaf-file-name="
|
52
|
-
<entry file="file://$PROJECT_DIR$/
|
56
|
+
<file leaf-file-name="suning_pay_test.rb" pinned="false" current-in-tab="false">
|
57
|
+
<entry file="file://$PROJECT_DIR$/test/suning_pay_test.rb">
|
53
58
|
<provider selected="true" editor-type-id="text-editor">
|
54
|
-
<state relative-caret-position="
|
55
|
-
<caret line="
|
59
|
+
<state relative-caret-position="60">
|
60
|
+
<caret line="4" column="17" lean-forward="false" selection-start-line="4" selection-start-column="17" selection-end-line="4" selection-end-column="17" />
|
56
61
|
<folding />
|
57
62
|
</state>
|
58
63
|
</provider>
|
59
64
|
</entry>
|
60
65
|
</file>
|
61
|
-
<file leaf-file-name="
|
62
|
-
<entry file="file://$PROJECT_DIR$/lib/suning_pay
|
66
|
+
<file leaf-file-name="suning_pay.rb" pinned="false" current-in-tab="false">
|
67
|
+
<entry file="file://$PROJECT_DIR$/lib/suning_pay.rb">
|
63
68
|
<provider selected="true" editor-type-id="text-editor">
|
64
|
-
<state relative-caret-position="
|
65
|
-
<caret line="
|
69
|
+
<state relative-caret-position="281">
|
70
|
+
<caret line="28" column="91" lean-forward="false" selection-start-line="28" selection-start-column="71" selection-end-line="28" selection-end-column="91" />
|
66
71
|
<folding />
|
67
72
|
</state>
|
68
73
|
</provider>
|
69
74
|
</entry>
|
70
75
|
</file>
|
71
|
-
<file leaf-file-name="
|
72
|
-
<entry file="file://$PROJECT_DIR$/
|
76
|
+
<file leaf-file-name="suning_pay.rb" pinned="false" current-in-tab="false">
|
77
|
+
<entry file="file://$PROJECT_DIR$/suning_pay.rb">
|
73
78
|
<provider selected="true" editor-type-id="text-editor">
|
74
|
-
<state relative-caret-position="
|
75
|
-
<caret line="
|
79
|
+
<state relative-caret-position="120">
|
80
|
+
<caret line="8" column="0" lean-forward="false" selection-start-line="8" selection-start-column="0" selection-end-line="8" selection-end-column="34" />
|
76
81
|
<folding />
|
77
82
|
</state>
|
78
83
|
</provider>
|
79
84
|
</entry>
|
80
85
|
</file>
|
81
|
-
<file leaf-file-name="
|
82
|
-
<entry file="file://$PROJECT_DIR$/lib/suning_pay/
|
86
|
+
<file leaf-file-name="version.rb" pinned="false" current-in-tab="true">
|
87
|
+
<entry file="file://$PROJECT_DIR$/lib/suning_pay/version.rb">
|
83
88
|
<provider selected="true" editor-type-id="text-editor">
|
84
|
-
<state relative-caret-position="
|
85
|
-
<caret line="
|
89
|
+
<state relative-caret-position="15">
|
90
|
+
<caret line="1" column="18" lean-forward="false" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
|
86
91
|
<folding />
|
87
92
|
</state>
|
88
93
|
</provider>
|
89
94
|
</entry>
|
90
95
|
</file>
|
91
|
-
<file leaf-file-name="
|
92
|
-
<entry file="file://$PROJECT_DIR$/
|
96
|
+
<file leaf-file-name="test_helper.rb" pinned="false" current-in-tab="false">
|
97
|
+
<entry file="file://$PROJECT_DIR$/test/test_helper.rb">
|
93
98
|
<provider selected="true" editor-type-id="text-editor">
|
94
99
|
<state relative-caret-position="45">
|
95
|
-
<caret line="3" column="
|
100
|
+
<caret line="3" column="17" lean-forward="false" selection-start-line="3" selection-start-column="9" selection-end-line="3" selection-end-column="17" />
|
96
101
|
<folding />
|
97
102
|
</state>
|
98
103
|
</provider>
|
99
104
|
</entry>
|
100
105
|
</file>
|
101
|
-
<file leaf-file-name="
|
102
|
-
<entry file="file://$PROJECT_DIR$/
|
106
|
+
<file leaf-file-name="Rakefile" pinned="false" current-in-tab="false">
|
107
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
103
108
|
<provider selected="true" editor-type-id="text-editor">
|
104
|
-
<state relative-caret-position="
|
105
|
-
<caret line="
|
109
|
+
<state relative-caret-position="45">
|
110
|
+
<caret line="3" column="18" lean-forward="false" selection-start-line="3" selection-start-column="18" selection-end-line="3" selection-end-column="18" />
|
106
111
|
<folding />
|
107
112
|
</state>
|
108
113
|
</provider>
|
109
114
|
</entry>
|
110
115
|
</file>
|
111
|
-
<file leaf-file-name="
|
112
|
-
<entry file="file://$PROJECT_DIR$/lib/suning_pay/
|
116
|
+
<file leaf-file-name="railtie.rb" pinned="false" current-in-tab="false">
|
117
|
+
<entry file="file://$PROJECT_DIR$/lib/suning_pay/railtie.rb">
|
113
118
|
<provider selected="true" editor-type-id="text-editor">
|
114
|
-
<state relative-caret-position="
|
115
|
-
<caret line="
|
119
|
+
<state relative-caret-position="0">
|
120
|
+
<caret line="0" column="16" lean-forward="false" selection-start-line="0" selection-start-column="16" selection-end-line="0" selection-end-column="16" />
|
116
121
|
<folding />
|
117
122
|
</state>
|
118
123
|
</provider>
|
@@ -141,17 +146,18 @@
|
|
141
146
|
<option value="$PROJECT_DIR$/lib/suning_pay/utils.rb" />
|
142
147
|
<option value="$PROJECT_DIR$/bin/suning_pay" />
|
143
148
|
<option value="$PROJECT_DIR$/lib/rake/suning_pay.rake" />
|
144
|
-
<option value="$PROJECT_DIR$/Rakefile" />
|
145
149
|
<option value="$PROJECT_DIR$/lib/suning_pay/railtie.rb" />
|
146
150
|
<option value="$PROJECT_DIR$/lib/suning_pay/rsa.rb" />
|
147
|
-
<option value="$PROJECT_DIR$/lib/suning_pay/version.rb" />
|
148
151
|
<option value="$PROJECT_DIR$/lib/suning_pay/service.rb" />
|
149
152
|
<option value="$PROJECT_DIR$/README.md" />
|
150
153
|
<option value="$PROJECT_DIR$/lib/suning_pay.rb" />
|
151
154
|
<option value="$PROJECT_DIR$/lib/suning_pay/util.rb" />
|
152
|
-
<option value="$PROJECT_DIR$/lib/suning_pay/ent_service.rb" />
|
153
155
|
<option value="$PROJECT_DIR$/suning_pay.rb" />
|
154
156
|
<option value="$PROJECT_DIR$/suning_pay.gemspec" />
|
157
|
+
<option value="$PROJECT_DIR$/Rakefile" />
|
158
|
+
<option value="$PROJECT_DIR$/test/suning_pay_test.rb" />
|
159
|
+
<option value="$PROJECT_DIR$/lib/suning_pay/ent_service.rb" />
|
160
|
+
<option value="$PROJECT_DIR$/lib/suning_pay/version.rb" />
|
155
161
|
</list>
|
156
162
|
</option>
|
157
163
|
</component>
|
@@ -206,6 +212,20 @@
|
|
206
212
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
207
213
|
</PATH_ELEMENT>
|
208
214
|
</PATH>
|
215
|
+
<PATH>
|
216
|
+
<PATH_ELEMENT>
|
217
|
+
<option name="myItemId" value="suning_pay" />
|
218
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
219
|
+
</PATH_ELEMENT>
|
220
|
+
<PATH_ELEMENT>
|
221
|
+
<option name="myItemId" value="suning_pay" />
|
222
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
223
|
+
</PATH_ELEMENT>
|
224
|
+
<PATH_ELEMENT>
|
225
|
+
<option name="myItemId" value="test" />
|
226
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
227
|
+
</PATH_ELEMENT>
|
228
|
+
</PATH>
|
209
229
|
<PATH>
|
210
230
|
<PATH_ELEMENT>
|
211
231
|
<option name="myItemId" value="suning_pay" />
|
@@ -238,6 +258,24 @@
|
|
238
258
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
239
259
|
</PATH_ELEMENT>
|
240
260
|
</PATH>
|
261
|
+
<PATH>
|
262
|
+
<PATH_ELEMENT>
|
263
|
+
<option name="myItemId" value="suning_pay" />
|
264
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
265
|
+
</PATH_ELEMENT>
|
266
|
+
<PATH_ELEMENT>
|
267
|
+
<option name="myItemId" value="suning_pay" />
|
268
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
269
|
+
</PATH_ELEMENT>
|
270
|
+
<PATH_ELEMENT>
|
271
|
+
<option name="myItemId" value="lib" />
|
272
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
273
|
+
</PATH_ELEMENT>
|
274
|
+
<PATH_ELEMENT>
|
275
|
+
<option name="myItemId" value="rake" />
|
276
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
277
|
+
</PATH_ELEMENT>
|
278
|
+
</PATH>
|
241
279
|
</subPane>
|
242
280
|
</pane>
|
243
281
|
</panes>
|
@@ -263,7 +301,7 @@
|
|
263
301
|
</list>
|
264
302
|
</option>
|
265
303
|
</component>
|
266
|
-
<component name="RunManager" selected="
|
304
|
+
<component name="RunManager" selected="IRB console.IRB console: suning_pay">
|
267
305
|
<configuration default="false" name="suning_pay" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
|
268
306
|
<module name="suning_pay" />
|
269
307
|
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
@@ -283,6 +321,26 @@
|
|
283
321
|
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
284
322
|
<method />
|
285
323
|
</configuration>
|
324
|
+
<configuration default="false" name="IRB console: suning_pay" type="IrbRunConfigurationType" factoryName="IRB console" temporary="true">
|
325
|
+
<module name="suning_pay" />
|
326
|
+
<IRB_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
327
|
+
<IRB_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$" />
|
328
|
+
<IRB_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
329
|
+
<IRB_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
330
|
+
<IRB_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
331
|
+
<envs />
|
332
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
333
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
334
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
335
|
+
<COVERAGE_PATTERN ENABLED="true">
|
336
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
337
|
+
</COVERAGE_PATTERN>
|
338
|
+
</EXTENSION>
|
339
|
+
<IRB_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$APPLICATION_HOME_DIR$/rb/testing/runner/irb.rb" />
|
340
|
+
<IRB_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="--prompt simple" />
|
341
|
+
<IRB_RUN_CONFIG NAME="IS_RAILS_CONSOLE" VALUE="false" />
|
342
|
+
<method />
|
343
|
+
</configuration>
|
286
344
|
<configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
|
287
345
|
<predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
|
288
346
|
<module name="" />
|
@@ -317,6 +375,26 @@
|
|
317
375
|
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SETTINGS_VERSION" VALUE="2" />
|
318
376
|
<method />
|
319
377
|
</configuration>
|
378
|
+
<configuration default="true" type="IrbRunConfigurationType" factoryName="IRB console">
|
379
|
+
<module name="" />
|
380
|
+
<IRB_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
381
|
+
<IRB_RUN_CONFIG NAME="WORK DIR" VALUE="" />
|
382
|
+
<IRB_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
383
|
+
<IRB_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
384
|
+
<IRB_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
385
|
+
<envs />
|
386
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
387
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
388
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
389
|
+
<COVERAGE_PATTERN ENABLED="true">
|
390
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
391
|
+
</COVERAGE_PATTERN>
|
392
|
+
</EXTENSION>
|
393
|
+
<IRB_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
|
394
|
+
<IRB_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
395
|
+
<IRB_RUN_CONFIG NAME="IS_RAILS_CONSOLE" VALUE="false" />
|
396
|
+
<method />
|
397
|
+
</configuration>
|
320
398
|
<configuration default="true" type="JavaScriptTestRunnerJest" factoryName="Jest">
|
321
399
|
<node-interpreter value="project" />
|
322
400
|
<working-dir value="" />
|
@@ -420,12 +498,14 @@
|
|
420
498
|
<envs />
|
421
499
|
<method />
|
422
500
|
</configuration>
|
423
|
-
<list size="
|
501
|
+
<list size="2">
|
424
502
|
<item index="0" class="java.lang.String" itemvalue="Ruby.suning_pay" />
|
503
|
+
<item index="1" class="java.lang.String" itemvalue="IRB console.IRB console: suning_pay" />
|
425
504
|
</list>
|
426
505
|
<recent_temporary>
|
427
|
-
<list size="
|
428
|
-
<item index="0" class="java.lang.String" itemvalue="
|
506
|
+
<list size="2">
|
507
|
+
<item index="0" class="java.lang.String" itemvalue="IRB console.IRB console: suning_pay" />
|
508
|
+
<item index="1" class="java.lang.String" itemvalue="Ruby.suning_pay" />
|
429
509
|
</list>
|
430
510
|
</recent_temporary>
|
431
511
|
</component>
|
@@ -443,7 +523,7 @@
|
|
443
523
|
<option name="number" value="Default" />
|
444
524
|
<option name="presentableId" value="Default" />
|
445
525
|
<updated>1501651114580</updated>
|
446
|
-
<workItem from="1501651115718" duration="
|
526
|
+
<workItem from="1501651115718" duration="53549000" />
|
447
527
|
</task>
|
448
528
|
<task id="LOCAL-00001" summary="add params">
|
449
529
|
<created>1501809137189</created>
|
@@ -529,27 +609,34 @@
|
|
529
609
|
<option name="project" value="LOCAL" />
|
530
610
|
<updated>1502166827564</updated>
|
531
611
|
</task>
|
532
|
-
<
|
612
|
+
<task id="LOCAL-00013" summary="homepage">
|
613
|
+
<created>1502168463409</created>
|
614
|
+
<option name="number" value="00013" />
|
615
|
+
<option name="presentableId" value="LOCAL-00013" />
|
616
|
+
<option name="project" value="LOCAL" />
|
617
|
+
<updated>1502168463409</updated>
|
618
|
+
</task>
|
619
|
+
<option name="localTasksCounter" value="14" />
|
533
620
|
<servers />
|
534
621
|
</component>
|
535
622
|
<component name="TimeTrackingManager">
|
536
|
-
<option name="totallyTimeSpent" value="
|
623
|
+
<option name="totallyTimeSpent" value="53549000" />
|
537
624
|
</component>
|
538
625
|
<component name="ToolWindowManager">
|
539
626
|
<frame x="1443" y="0" width="1117" height="1440" extended-state="0" />
|
540
|
-
<editor active="true" />
|
541
627
|
<layout>
|
542
|
-
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.17905103" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
543
628
|
<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" />
|
544
|
-
<window_info id="JSON Utils" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
545
629
|
<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="-1" side_tool="true" content_ui="tabs" />
|
546
|
-
<window_info id="
|
630
|
+
<window_info id="REST Client" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32980973" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
547
631
|
<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.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
548
632
|
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.30162087" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
549
|
-
<window_info id="Structure" active="false" anchor="left" 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" />
|
550
633
|
<window_info id="Terminal" 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="-1" side_tool="false" content_ui="tabs" />
|
551
|
-
<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="-1" side_tool="true" content_ui="tabs" />
|
552
634
|
<window_info id="JSON Viewer" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
635
|
+
<window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.17905103" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
636
|
+
<window_info id="JSON Utils" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
637
|
+
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
638
|
+
<window_info id="Structure" active="false" anchor="left" 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" />
|
639
|
+
<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="-1" side_tool="true" content_ui="tabs" />
|
553
640
|
<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" />
|
554
641
|
<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" />
|
555
642
|
<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" />
|
@@ -574,29 +661,14 @@
|
|
574
661
|
<MESSAGE value="add query service" />
|
575
662
|
<MESSAGE value="doc" />
|
576
663
|
<MESSAGE value="fix json bug" />
|
577
|
-
<
|
664
|
+
<MESSAGE value="homepage" />
|
665
|
+
<option name="LAST_COMMIT_MESSAGE" value="homepage" />
|
578
666
|
</component>
|
579
667
|
<component name="XDebuggerManager">
|
580
668
|
<breakpoint-manager />
|
581
669
|
<watches-manager />
|
582
670
|
</component>
|
583
671
|
<component name="editorHistoryManager">
|
584
|
-
<entry file="file://$PROJECT_DIR$/test/suning_pay_test.rb">
|
585
|
-
<provider selected="true" editor-type-id="text-editor">
|
586
|
-
<state relative-caret-position="0">
|
587
|
-
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
588
|
-
<folding />
|
589
|
-
</state>
|
590
|
-
</provider>
|
591
|
-
</entry>
|
592
|
-
<entry file="file://$PROJECT_DIR$/test/test_helper.rb">
|
593
|
-
<provider selected="true" editor-type-id="text-editor">
|
594
|
-
<state relative-caret-position="0">
|
595
|
-
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
596
|
-
<folding />
|
597
|
-
</state>
|
598
|
-
</provider>
|
599
|
-
</entry>
|
600
672
|
<entry file="file://$PROJECT_DIR$/.travis.yml">
|
601
673
|
<provider selected="true" editor-type-id="text-editor">
|
602
674
|
<state relative-caret-position="0">
|
@@ -680,18 +752,33 @@
|
|
680
752
|
</state>
|
681
753
|
</provider>
|
682
754
|
</entry>
|
683
|
-
<entry file="file://$PROJECT_DIR$/
|
755
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
756
|
+
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
757
|
+
<state split_layout="SPLIT">
|
758
|
+
<first_editor relative-caret-position="855">
|
759
|
+
<caret line="57" column="41" lean-forward="false" selection-start-line="57" selection-start-column="41" selection-end-line="57" selection-end-column="41" />
|
760
|
+
<folding>
|
761
|
+
<marker date="1502099481000" expanded="true" signature="1418:2479" ph="for ... end" />
|
762
|
+
<marker date="1502099481000" expanded="true" signature="1695:2479" ph="for ... end" />
|
763
|
+
<marker date="1502099481000" expanded="true" signature="1975:2479" ph="for ... end" />
|
764
|
+
</folding>
|
765
|
+
</first_editor>
|
766
|
+
<second_editor />
|
767
|
+
</state>
|
768
|
+
</provider>
|
769
|
+
</entry>
|
770
|
+
<entry file="file://$PROJECT_DIR$/suning_pay.gemspec">
|
684
771
|
<provider selected="true" editor-type-id="text-editor">
|
685
|
-
<state relative-caret-position="
|
686
|
-
<caret line="
|
772
|
+
<state relative-caret-position="525">
|
773
|
+
<caret line="35" column="14" lean-forward="false" selection-start-line="35" selection-start-column="14" selection-end-line="35" selection-end-column="14" />
|
687
774
|
<folding />
|
688
775
|
</state>
|
689
776
|
</provider>
|
690
777
|
</entry>
|
691
|
-
<entry file="file://$PROJECT_DIR$/lib/suning_pay/
|
778
|
+
<entry file="file://$PROJECT_DIR$/lib/suning_pay/util.rb">
|
692
779
|
<provider selected="true" editor-type-id="text-editor">
|
693
|
-
<state relative-caret-position="
|
694
|
-
<caret line="
|
780
|
+
<state relative-caret-position="574">
|
781
|
+
<caret line="48" column="13" lean-forward="false" selection-start-line="48" selection-start-column="13" selection-end-line="48" selection-end-column="46" />
|
695
782
|
<folding />
|
696
783
|
</state>
|
697
784
|
</provider>
|
@@ -704,32 +791,33 @@
|
|
704
791
|
</state>
|
705
792
|
</provider>
|
706
793
|
</entry>
|
707
|
-
<entry file="file://$PROJECT_DIR$/
|
794
|
+
<entry file="file://$PROJECT_DIR$/test/test_helper.rb">
|
708
795
|
<provider selected="true" editor-type-id="text-editor">
|
709
|
-
<state relative-caret-position="
|
710
|
-
<caret line="
|
796
|
+
<state relative-caret-position="45">
|
797
|
+
<caret line="3" column="17" lean-forward="false" selection-start-line="3" selection-start-column="9" selection-end-line="3" selection-end-column="17" />
|
711
798
|
<folding />
|
712
799
|
</state>
|
713
800
|
</provider>
|
714
801
|
</entry>
|
715
|
-
<entry file="file://$PROJECT_DIR$/
|
716
|
-
<provider selected="true" editor-type-id="
|
717
|
-
<state
|
718
|
-
<
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
<
|
802
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
803
|
+
<provider selected="true" editor-type-id="text-editor">
|
804
|
+
<state relative-caret-position="45">
|
805
|
+
<caret line="3" column="18" lean-forward="false" selection-start-line="3" selection-start-column="18" selection-end-line="3" selection-end-column="18" />
|
806
|
+
<folding />
|
807
|
+
</state>
|
808
|
+
</provider>
|
809
|
+
</entry>
|
810
|
+
<entry file="file://$PROJECT_DIR$/lib/suning_pay/railtie.rb">
|
811
|
+
<provider selected="true" editor-type-id="text-editor">
|
812
|
+
<state relative-caret-position="0">
|
813
|
+
<caret line="0" column="16" lean-forward="false" selection-start-line="0" selection-start-column="16" selection-end-line="0" selection-end-column="16" />
|
814
|
+
<folding />
|
727
815
|
</state>
|
728
816
|
</provider>
|
729
817
|
</entry>
|
730
818
|
<entry file="file://$PROJECT_DIR$/lib/suning_pay/rsa.rb">
|
731
819
|
<provider selected="true" editor-type-id="text-editor">
|
732
|
-
<state relative-caret-position="
|
820
|
+
<state relative-caret-position="225">
|
733
821
|
<caret line="15" column="62" lean-forward="false" selection-start-line="15" selection-start-column="62" selection-end-line="15" selection-end-column="62" />
|
734
822
|
<folding />
|
735
823
|
</state>
|
@@ -737,40 +825,40 @@
|
|
737
825
|
</entry>
|
738
826
|
<entry file="file://$PROJECT_DIR$/lib/suning_pay.rb">
|
739
827
|
<provider selected="true" editor-type-id="text-editor">
|
740
|
-
<state relative-caret-position="
|
828
|
+
<state relative-caret-position="281">
|
741
829
|
<caret line="28" column="91" lean-forward="false" selection-start-line="28" selection-start-column="71" selection-end-line="28" selection-end-column="91" />
|
742
830
|
<folding />
|
743
831
|
</state>
|
744
832
|
</provider>
|
745
833
|
</entry>
|
746
|
-
<entry file="file://$PROJECT_DIR$/
|
834
|
+
<entry file="file://$PROJECT_DIR$/test/suning_pay_test.rb">
|
747
835
|
<provider selected="true" editor-type-id="text-editor">
|
748
|
-
<state relative-caret-position="
|
749
|
-
<caret line="
|
836
|
+
<state relative-caret-position="60">
|
837
|
+
<caret line="4" column="17" lean-forward="false" selection-start-line="4" selection-start-column="17" selection-end-line="4" selection-end-column="17" />
|
750
838
|
<folding />
|
751
839
|
</state>
|
752
840
|
</provider>
|
753
841
|
</entry>
|
754
842
|
<entry file="file://$PROJECT_DIR$/lib/suning_pay/ent_service.rb">
|
755
843
|
<provider selected="true" editor-type-id="text-editor">
|
756
|
-
<state relative-caret-position="
|
757
|
-
<caret line="
|
844
|
+
<state relative-caret-position="465">
|
845
|
+
<caret line="31" column="49" lean-forward="false" selection-start-line="31" selection-start-column="49" selection-end-line="31" selection-end-column="49" />
|
758
846
|
<folding />
|
759
847
|
</state>
|
760
848
|
</provider>
|
761
849
|
</entry>
|
762
|
-
<entry file="file://$PROJECT_DIR$/
|
850
|
+
<entry file="file://$PROJECT_DIR$/suning_pay.rb">
|
763
851
|
<provider selected="true" editor-type-id="text-editor">
|
764
|
-
<state relative-caret-position="
|
765
|
-
<caret line="
|
852
|
+
<state relative-caret-position="120">
|
853
|
+
<caret line="8" column="0" lean-forward="false" selection-start-line="8" selection-start-column="0" selection-end-line="8" selection-end-column="34" />
|
766
854
|
<folding />
|
767
855
|
</state>
|
768
856
|
</provider>
|
769
857
|
</entry>
|
770
|
-
<entry file="file://$PROJECT_DIR$/suning_pay.
|
858
|
+
<entry file="file://$PROJECT_DIR$/lib/suning_pay/version.rb">
|
771
859
|
<provider selected="true" editor-type-id="text-editor">
|
772
|
-
<state relative-caret-position="
|
773
|
-
<caret line="
|
860
|
+
<state relative-caret-position="15">
|
861
|
+
<caret line="1" column="18" lean-forward="false" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
|
774
862
|
<folding />
|
775
863
|
</state>
|
776
864
|
</provider>
|
data/Rakefile
CHANGED
@@ -111,21 +111,21 @@ module SuningPay
|
|
111
111
|
detail_data << detail_line
|
112
112
|
end
|
113
113
|
#body参数
|
114
|
-
body =
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
114
|
+
body =[{
|
115
|
+
:batchNo => batch_no,
|
116
|
+
:merchantNo => SuningPay.merchant_no,
|
117
|
+
:productCode => product_code,
|
118
|
+
:totalNum => total_num,
|
119
|
+
:totalAmount => total_amount,
|
120
|
+
:currency => SuningPay::EntService::CURRENCY_CNY,
|
121
|
+
:chargeMode => charge_mode,
|
122
|
+
:payDate => Time.now.strftime("%Y%m%d"),
|
123
|
+
:tunnelData => tunnel_data,
|
124
|
+
:detailData => detail_data,
|
125
|
+
:goodsType => goods_type,
|
126
|
+
:batchOrderName => batch_order_name,
|
127
|
+
:notifyUrl => notify_url
|
128
|
+
}]
|
129
129
|
|
130
130
|
input_hash = {:merchantNo => SuningPay.merchant_no,
|
131
131
|
:body => body.to_json.to_s.gsub("\\", '')}
|
data/lib/suning_pay/version.rb
CHANGED
data/suning_pay.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
|
12
12
|
spec.summary = %q{Suning Pay 1.1.2 doc.}
|
13
13
|
spec.description = %q{Suning Pay 1.1.2 doc.}
|
14
|
-
spec.homepage = "https://gitee.com/tarzansos"
|
14
|
+
spec.homepage = "https://gitee.com/tarzansos/suning_pay"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
17
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: suning_pay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Terry.Tu
|
@@ -99,7 +99,7 @@ files:
|
|
99
99
|
- lib/suning_pay/version.rb
|
100
100
|
- suning_pay.gemspec
|
101
101
|
- suning_pay.rb
|
102
|
-
homepage: https://gitee.com/tarzansos
|
102
|
+
homepage: https://gitee.com/tarzansos/suning_pay
|
103
103
|
licenses:
|
104
104
|
- MIT
|
105
105
|
metadata: {}
|