uri_config 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uri_config/config.rb +4 -0
- data/lib/uri_config/version.rb +1 -1
- data/spec/config_spec.rb +3 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f0675c9f1c3bb689d94c4ae96029e2c9439183c
|
4
|
+
data.tar.gz: 2a9bb33f0be8e11a08f09a445315cad1621ecf3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b925e2c0201f2b564e3bc92c50a0453465652bf9da69003382f1ef9d7c5164d227dd5b13b27a0b167da13bd1047ff03d6436d1945df715d408792ffcedb95da
|
7
|
+
data.tar.gz: c49ab439580a54e3970af2b79f6f03e8d8390b25535062a9077629e1295ac138c0df324161bd30164a4bca9cbc947e96f01e1fb1fc016bbd85b5bcc0d06281ab
|
data/lib/uri_config/config.rb
CHANGED
data/lib/uri_config/version.rb
CHANGED
data/spec/config_spec.rb
CHANGED
@@ -5,10 +5,10 @@ module URIConfig
|
|
5
5
|
subject { described_class.new(url) }
|
6
6
|
|
7
7
|
{
|
8
|
-
"https://TESTMERCHANT1:abcd1234abcd@secure.ap.tnspayments.com" => {
|
8
|
+
"https://TESTMERCHANT1:abcd1234abcd@secure.ap.tnspayments.com/gateway" => {
|
9
9
|
:username => 'TESTMERCHANT1',
|
10
10
|
:password => 'abcd1234abcd',
|
11
|
-
:base_uri => 'https://secure.ap.tnspayments.com',
|
11
|
+
:base_uri => 'https://secure.ap.tnspayments.com/gateway',
|
12
12
|
},
|
13
13
|
"https://foo:bar@us-west-2.amazonaws.com/namespace" => {
|
14
14
|
:username => "foo",
|
@@ -23,6 +23,7 @@ module URIConfig
|
|
23
23
|
"https://example.com:8080" => {
|
24
24
|
:host => "example.com",
|
25
25
|
:port => 8080,
|
26
|
+
:scheme => "https",
|
26
27
|
},
|
27
28
|
}.each do |url, components|
|
28
29
|
context "with a URL of #{url}" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uri_config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathon M. Abbott
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
111
|
rubyforge_project:
|
112
|
-
rubygems_version: 2.5.
|
112
|
+
rubygems_version: 2.5.2
|
113
113
|
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: extract configuration from URIs
|