spectre-git 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/lib/spectre/git.rb +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d095a2bea71ef37d5836a116e5c76cadbe5284a7a41ca760fbd0a0f4032e6f81
|
4
|
+
data.tar.gz: 30c03a76df3cb252d8faff721ef6b7efbba0cd37f2181531c83086f730a53345
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f48d279ed4d9a41a9a4f26e6fe216a982cb9202c7b4105aac5652a53e3e5b38979588d85a997a0debae018e79ffd473c2c861b7a809de775a5cc9566dd5548a
|
7
|
+
data.tar.gz: 6339afdf9e290e9dc7da2b0729e43276a9f90a475b354260b438c9c788496f03d464297e2539ff3ef1a69e53e0b8adde088405c4c9ca4b2ede130bb3c26422b9
|
data/lib/spectre/git.rb
CHANGED
@@ -21,7 +21,7 @@ module Spectre
|
|
21
21
|
|
22
22
|
raise "invalid git url: '#{git_url}'" unless url_match
|
23
23
|
|
24
|
-
@__cfg['
|
24
|
+
@__cfg['url_path'] = url_match[:url]
|
25
25
|
@__cfg['scheme'] = url_match[:scheme]
|
26
26
|
@__cfg['username'] = url_match[:user] unless @__cfg['username']
|
27
27
|
@__cfg['password'] = url_match[:pass] unless @__cfg['password']
|
@@ -145,7 +145,7 @@ module Spectre
|
|
145
145
|
|
146
146
|
def get_url
|
147
147
|
cred = @__cfg['username'] ? "#{@__cfg['username']}:#{@__cfg['password']}@" : ''
|
148
|
-
"#{@__cfg['scheme']}://#{cred}#{@__cfg['
|
148
|
+
"#{@__cfg['scheme']}://#{cred}#{@__cfg['url_path']}"
|
149
149
|
end
|
150
150
|
end
|
151
151
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spectre-git
|
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
|
- Christian Neubauer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: spectre-core
|
@@ -32,14 +32,14 @@ extensions: []
|
|
32
32
|
extra_rdoc_files: []
|
33
33
|
files:
|
34
34
|
- lib/spectre/git.rb
|
35
|
-
homepage: https://
|
35
|
+
homepage: https://github.com/cneubauer/spectre-git
|
36
36
|
licenses:
|
37
37
|
- MIT
|
38
38
|
metadata:
|
39
39
|
allowed_push_host: https://rubygems.org/
|
40
|
-
homepage_uri: https://
|
41
|
-
source_code_uri: https://
|
42
|
-
changelog_uri: https://
|
40
|
+
homepage_uri: https://github.com/cneubauer/spectre-git
|
41
|
+
source_code_uri: https://github.com/cneubauer/spectre-git
|
42
|
+
changelog_uri: https://github.com/cneubauer/spectre-git/blob/master/CHANGELOG.md
|
43
43
|
post_install_message:
|
44
44
|
rdoc_options: []
|
45
45
|
require_paths:
|