suning_pay 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.idea/inspectionProfiles/Project_Default.xml +6 -0
- data/.idea/misc.xml +4 -0
- data/.idea/modules.xml +8 -0
- data/.idea/suning_pay.iml +35 -0
- data/.idea/vcs.xml +6 -0
- data/.idea/workspace.xml +779 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +21 -0
- data/README.md +81 -0
- data/Rakefile +12 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/bin/suning_pay +1 -0
- data/lib/rake/suning_pay.rake +13 -0
- data/lib/suning_pay/ent_service.rb +164 -0
- data/lib/suning_pay/railtie.rb +6 -0
- data/lib/suning_pay/rsa.rb +73 -0
- data/lib/suning_pay/service.rb +104 -0
- data/lib/suning_pay/util.rb +73 -0
- data/lib/suning_pay/version.rb +3 -0
- data/lib/suning_pay.rb +96 -0
- data/suning_pay.gemspec +37 -0
- data/suning_pay.rb +28 -0
- metadata +126 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c4f0ef70b4403ee3143a282ed7507436d63cc6e5
|
4
|
+
data.tar.gz: f327488b36070d3d8e942bc48bfa13e098731d79
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 10142f955d7a6638cb4688c65768a8f04ab9c4db6868607cc15c570ceb5206df3845cf2b2fc092dabe19666294caece4c1ef2866ac447ed85450b41ce2161112
|
7
|
+
data.tar.gz: 80183277c1e0c4172d84cf7c800e09e92823042d77fabe7a8decc63c5ef3a8adf909c1ddb36f0803279a908affb9e73dc7135674962a022a4cbf96b6fe805948
|
data/.gitignore
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/suning_pay.iml" filepath="$PROJECT_DIR$/.idea/suning_pay.iml" />
|
6
|
+
</modules>
|
7
|
+
</component>
|
8
|
+
</project>
|
@@ -0,0 +1,35 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
3
|
+
<component name="ModuleRunConfigurationManager">
|
4
|
+
<shared />
|
5
|
+
<local>
|
6
|
+
<configuration default="false" name="suning_pay" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
|
7
|
+
<module name="suning_pay" />
|
8
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
9
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/lib" />
|
10
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
11
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
12
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
13
|
+
<envs />
|
14
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
15
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
16
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
17
|
+
<COVERAGE_PATTERN ENABLED="true">
|
18
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
19
|
+
</COVERAGE_PATTERN>
|
20
|
+
</EXTENSION>
|
21
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/lib/suning_pay.rb" />
|
22
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
23
|
+
<method />
|
24
|
+
</configuration>
|
25
|
+
</local>
|
26
|
+
</component>
|
27
|
+
<component name="NewModuleRootManager">
|
28
|
+
<content url="file://$MODULE_DIR$" />
|
29
|
+
<orderEntry type="jdk" jdkName="RVM: ruby-2.2.1 [rails4]" jdkType="RUBY_SDK" />
|
30
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
31
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.15.2, RVM: ruby-2.2.1 [rails4]) [gem]" level="application" />
|
32
|
+
<orderEntry type="library" scope="PROVIDED" name="faraday (v0.9.0, RVM: ruby-2.2.1 [rails4]) [gem]" level="application" />
|
33
|
+
<orderEntry type="library" scope="PROVIDED" name="multipart-post (v2.0.0, RVM: ruby-2.2.1 [rails4]) [gem]" level="application" />
|
34
|
+
</component>
|
35
|
+
</module>
|