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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 65eefa528b0b25994c532de7940c5773a379420c5dc9b63bd5b41be19ecbebf7
4
- data.tar.gz: c84271792512a4675373407f71c783e110646f3dfaf521b871951f40ba52f158
3
+ metadata.gz: 0ae7f8ae10d702a80eaa351826dd94d10400d38c3fabcf13c2e6f2b9fe76010c
4
+ data.tar.gz: b1cd7b58c93f27feeeb73bdad98537b5e6faf204c9b842748c5714057e507f94
5
5
  SHA512:
6
- metadata.gz: e86044c569481782d909ab72ed5c211ffb0d1ab97eb9d147f29f1ca58c30a208eba1d20cb9e77ddde0cecf845c6107a060800e7508b39f4cbf9ad98ac47dcd36
7
- data.tar.gz: f7a279b88e8d5627b1774208a7bfaf13f1308253243db125f963992269c63d1e204c623512d5235c06bf45f52cd6b1983f803db1f3598c9902f3ba6a3065662b
6
+ metadata.gz: b591a4dbcfd52c99d87888fd44525267a1350265262fc5ae71300ddfc5171c6a3a6a70a965c4e98a7dd73ea79ebe14ae7b57743cd80b35398894796097d05824
7
+ data.tar.gz: e1b1748b98a04f5863fc7b8d04fe5314eecf951caf6e1372dfdcbe4e3cd2381eafa877f2e9a5935ad0c7b577a652e1d4e0f9c91383729e92034d3e38e9309cbb
data/.gitignore CHANGED
@@ -13,4 +13,5 @@
13
13
  *.a
14
14
  mkmf.log
15
15
 
16
- config.yml
16
+ config.yml
17
+ .idea/*
@@ -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)
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/ruby -w
2
2
  module CorePro
3
- VERSION = '1.0.6'
3
+ VERSION = '1.0.7'
4
4
  end
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.6
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: 2018-12-27 00:00:00.000000000 Z
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>
@@ -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
-
@@ -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
@@ -1,5 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
4
- </project>
5
-
data/.idea/misc.xml DELETED
@@ -1,5 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectRootManager" version="2" project-jdk-name="ruby-1.9.3-p484" project-jdk-type="RUBY_SDK" />
4
- </project>
5
-
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>
@@ -1,5 +0,0 @@
1
- <component name="DependencyValidationManager">
2
- <state>
3
- <option name="SKIP_IMPORT_STATEMENTS" value="false" />
4
- </state>
5
- </component>
data/.idea/vcs.xml DELETED
@@ -1,7 +0,0 @@
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>
7
-