corepro_eg 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/lib/corepro/connection.rb +5 -1
- data/lib/corepro/utils/requestor.rb +1 -1
- data/lib/corepro/version.rb +1 -1
- metadata +2 -11
- data/.idea/.name +0 -1
- data/.idea/.rakeTasks +0 -7
- data/.idea/codeStyleSettings.xml +0 -14
- data/.idea/corepro-sdk-ruby.iml +0 -27
- data/.idea/encodings.xml +0 -5
- data/.idea/misc.xml +0 -5
- data/.idea/modules.xml +0 -8
- data/.idea/scopes/scope_settings.xml +0 -5
- data/.idea/vcs.xml +0 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0ae7f8ae10d702a80eaa351826dd94d10400d38c3fabcf13c2e6f2b9fe76010c
|
|
4
|
+
data.tar.gz: b1cd7b58c93f27feeeb73bdad98537b5e6faf204c9b842748c5714057e507f94
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b591a4dbcfd52c99d87888fd44525267a1350265262fc5ae71300ddfc5171c6a3a6a70a965c4e98a7dd73ea79ebe14ae7b57743cd80b35398894796097d05824
|
|
7
|
+
data.tar.gz: e1b1748b98a04f5863fc7b8d04fe5314eecf951caf6e1372dfdcbe4e3cd2381eafa877f2e9a5935ad0c7b577a652e1d4e0f9c91383729e92034d3e38e9309cbb
|
data/.gitignore
CHANGED
data/lib/corepro/connection.rb
CHANGED
|
@@ -6,6 +6,8 @@ module CorePro
|
|
|
6
6
|
|
|
7
7
|
attr_accessor :proxyServerName
|
|
8
8
|
attr_accessor :proxyPort
|
|
9
|
+
attr_accessor :proxyUser
|
|
10
|
+
attr_accessor :proxyPassword
|
|
9
11
|
|
|
10
12
|
@@config = begin
|
|
11
13
|
if File.exists?('config.yml')
|
|
@@ -30,12 +32,14 @@ module CorePro
|
|
|
30
32
|
c
|
|
31
33
|
end
|
|
32
34
|
|
|
33
|
-
def initialize(apiKey = nil, apiSecret = nil, domainName = nil, proxyServerName = nil, proxyPort = nil)
|
|
35
|
+
def initialize(apiKey = nil, apiSecret = nil, domainName = nil, proxyServerName = nil, proxyPort = nil, proxyUser = nil, proxyPassword = nil)
|
|
34
36
|
@apiKey = apiKey || @@config['CoreProApiKey']
|
|
35
37
|
@apiSecret = apiSecret || @@config['CoreProApiSecret']
|
|
36
38
|
@domainName = domainName || @@config['CoreProDomainName']
|
|
37
39
|
@proxyServerName = proxyServerName || @@config['CoreProProxyServerName']
|
|
38
40
|
@proxyPort = proxyPort || @@config['CoreProProxyPort']
|
|
41
|
+
@proxyUser = proxyUser || @@config['CoreProProxyUser']
|
|
42
|
+
@proxyPassword = proxyPassword || @@config['CoreProProxyPassword']
|
|
39
43
|
@headerValue = ''
|
|
40
44
|
end
|
|
41
45
|
|
|
@@ -34,7 +34,7 @@ module CorePro
|
|
|
34
34
|
end
|
|
35
35
|
uri = URI.parse("https://#{connection.domainName}#{relativeUrl}")
|
|
36
36
|
if connection.proxyServerName != nil && connection.proxyPort != nil
|
|
37
|
-
proxy = Net::HTTP::Proxy(connection.proxyServerName, connection.proxyPort)
|
|
37
|
+
proxy = Net::HTTP::Proxy(connection.proxyServerName, connection.proxyPort, connection.proxyUser, connection.proxyPassword)
|
|
38
38
|
http = proxy.new(uri.host, uri.port)
|
|
39
39
|
else
|
|
40
40
|
http = Net::HTTP.new(uri.host, uri.port)
|
data/lib/corepro/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: corepro_eg
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- devsupport
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2019-01-02 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|
|
@@ -62,15 +62,6 @@ extensions: []
|
|
|
62
62
|
extra_rdoc_files: []
|
|
63
63
|
files:
|
|
64
64
|
- ".gitignore"
|
|
65
|
-
- ".idea/.name"
|
|
66
|
-
- ".idea/.rakeTasks"
|
|
67
|
-
- ".idea/codeStyleSettings.xml"
|
|
68
|
-
- ".idea/corepro-sdk-ruby.iml"
|
|
69
|
-
- ".idea/encodings.xml"
|
|
70
|
-
- ".idea/misc.xml"
|
|
71
|
-
- ".idea/modules.xml"
|
|
72
|
-
- ".idea/scopes/scope_settings.xml"
|
|
73
|
-
- ".idea/vcs.xml"
|
|
74
65
|
- Gemfile
|
|
75
66
|
- LICENSE
|
|
76
67
|
- README.md
|
data/.idea/.name
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
corepro-sdk-ruby
|
data/.idea/.rakeTasks
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
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 corepro-1.0.1.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 corepro-1.0.1.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install corepro-1.0.1.gem into system gems without network access" fullCmd="install:local" taksId="local" /></RakeGroup><RakeTask description="Create tag v1.0.1 and build and push corepro-1.0.1.gem to rubygems.org" fullCmd="release[remote]" taksId="release[remote]" /><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/codeStyleSettings.xml
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="ProjectCodeStyleSettingsManager">
|
|
4
|
-
<option name="PER_PROJECT_SETTINGS">
|
|
5
|
-
<value>
|
|
6
|
-
<XML>
|
|
7
|
-
<option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
|
|
8
|
-
</XML>
|
|
9
|
-
</value>
|
|
10
|
-
</option>
|
|
11
|
-
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default (1)" />
|
|
12
|
-
</component>
|
|
13
|
-
</project>
|
|
14
|
-
|
data/.idea/corepro-sdk-ruby.iml
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<module type="RUBY_MODULE" version="4">
|
|
3
|
-
<component name="FacetManager">
|
|
4
|
-
<facet type="gem" name="Ruby Gem">
|
|
5
|
-
<configuration />
|
|
6
|
-
</facet>
|
|
7
|
-
</component>
|
|
8
|
-
<component name="ModuleRunConfigurationManager">
|
|
9
|
-
<shared />
|
|
10
|
-
</component>
|
|
11
|
-
<component name="NewModuleRootManager">
|
|
12
|
-
<content url="file://$MODULE_DIR$">
|
|
13
|
-
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
|
|
14
|
-
</content>
|
|
15
|
-
<orderEntry type="jdk" jdkName="RVM: ruby-2.4.1" jdkType="RUBY_SDK" />
|
|
16
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
|
17
|
-
<orderEntry type="library" scope="PROVIDED" name="ansi (v1.5.0, RVM: ruby-2.4.1) [gem]" level="application" />
|
|
18
|
-
<orderEntry type="library" scope="PROVIDED" name="builder (v3.2.3, RVM: ruby-2.4.1) [gem]" level="application" />
|
|
19
|
-
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.16.6, RVM: ruby-2.4.1) [gem]" level="application" />
|
|
20
|
-
<orderEntry type="library" scope="PROVIDED" name="minitest (v5.11.3, RVM: ruby-2.4.1) [gem]" level="application" />
|
|
21
|
-
<orderEntry type="library" scope="PROVIDED" name="minitest-reporters (v1.3.5, RVM: ruby-2.4.1) [gem]" level="application" />
|
|
22
|
-
<orderEntry type="library" scope="PROVIDED" name="power_assert (v1.1.3, RVM: ruby-2.4.1) [gem]" level="application" />
|
|
23
|
-
<orderEntry type="library" scope="PROVIDED" name="rake (v10.5.0, RVM: ruby-2.4.1) [gem]" level="application" />
|
|
24
|
-
<orderEntry type="library" scope="PROVIDED" name="ruby-progressbar (v1.10.0, RVM: ruby-2.4.1) [gem]" level="application" />
|
|
25
|
-
<orderEntry type="library" scope="PROVIDED" name="test-unit (v3.2.8, RVM: ruby-2.4.1) [gem]" level="application" />
|
|
26
|
-
</component>
|
|
27
|
-
</module>
|
data/.idea/encodings.xml
DELETED
data/.idea/misc.xml
DELETED
data/.idea/modules.xml
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
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/corepro-sdk-ruby.iml" filepath="$PROJECT_DIR$/.idea/corepro-sdk-ruby.iml" />
|
|
6
|
-
</modules>
|
|
7
|
-
</component>
|
|
8
|
-
</project>
|