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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/spectre/git.rb +2 -2
  3. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43429a3308a69bf57e10cc825c1ec52263c12a54965a6b2574c7fd9f3cfef396
4
- data.tar.gz: cfe8b65f89eebaa202b63f4e18fd209c69de68fdde886d0d7cc42cec4e23b54c
3
+ metadata.gz: d095a2bea71ef37d5836a116e5c76cadbe5284a7a41ca760fbd0a0f4032e6f81
4
+ data.tar.gz: 30c03a76df3cb252d8faff721ef6b7efbba0cd37f2181531c83086f730a53345
5
5
  SHA512:
6
- metadata.gz: d4e10d58912256192d3eda3c2435d571c879c20c4a573ae6d2022b1b7c8f94e37634aa5c885237783d0cdf6a98b0c2f76b94ffac9156f71e8e3450ee33ddcab7
7
- data.tar.gz: 806344e64f6fff644fb76629af41437af7ba5055ee0c3c0f893dd6b11209bd72a5a84557c0e7cc9111997c310c4378d7f448a1d8bdb500ea8eb1a9bad875cedf
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['url'] = url_match[:url]
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['url']}"
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.0
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-06-16 00:00:00.000000000 Z
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://bitbucket.org/cneubaur/spectre-git
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://bitbucket.org/cneubaur/spectre-git
41
- source_code_uri: https://bitbucket.org/cneubaur/spectre-git
42
- changelog_uri: https://bitbucket.org/cneubaur/spectre-git/src/master/CHANGELOG.md
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: