dpl 1.8.40.travis.2195.5 → 1.8.40.travis.2196.5

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/dpl/provider/pages.rb +6 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 86485cc78278edda21ddc764d8376e380780281d
4
- data.tar.gz: 1681c2999a5a341f2ec925e1a1b1e762f75ba65c
3
+ metadata.gz: b75fca06d22f0571a50d98384bc85a7d5f214e33
4
+ data.tar.gz: f9c235dacc316db8d207438077a2d7390151fc10
5
5
  SHA512:
6
- metadata.gz: ebe4b77a4810312b217ada1179e873e157b39b0bb2c845dedf75a421430c21cb9e59e5f786b11664b542d138c3f7cd331e672c56e5b12e50f0332fff495aaaf5
7
- data.tar.gz: 5d6d51d05837f3bab7578cf6775203ed0da46bc589c26429198febe2173074a79cb9383f0579622c74e4184dcf536546993fd906ecd980ccd63c59cfee492591
6
+ metadata.gz: 94f5eec007c2b69d2bcd91c1c6f7bb854701b51d71cd2938d0bb089469df4a94377e581d4d39be31a45bbdf92aafe0eaf6bb541412e1340ff4a97e0446b234a1
7
+ data.tar.gz: 680203c4071fd845e6e71028570ac16cfaa2607e360e1c76ebeb2446ae6f884a9af1d9aefec505154a33aff9e88ceed5f17a7f3eff204197c121b5c0ee7424db
@@ -6,6 +6,7 @@ module DPL
6
6
  Options:
7
7
  - repo [optional, for pushed to other repos]
8
8
  - github-token [required]
9
+ - github-url [optional, defaults to github.com]
9
10
  - target-branch [optional, defaults to gh-pages]
10
11
  - local-dir [optional, defaults to `pwd`]
11
12
  - fqdn [optional]
@@ -22,16 +23,17 @@ module DPL
22
23
  super
23
24
 
24
25
  @build_dir = options[:local_dir] || '.'
25
-
26
26
  @project_name = options[:project_name] || fqdn || slug
27
- @gh_fqdn = fqdn
28
-
29
- @gh_ref = "github.com/#{slug}.git"
30
27
  @target_branch = options[:target_branch] || 'gh-pages'
28
+
29
+ @gh_fqdn = fqdn
30
+ @gh_url = options[:github_url] || 'github.com'
31
31
  @gh_token = option(:github_token)
32
32
 
33
33
  @gh_email = options[:email] || 'deploy@travis-ci.org'
34
34
  @gh_name = "#{options[:name] || 'Deployment Bot'} (from Travis CI)"
35
+
36
+ @gh_ref = "#{@gh_url}/#{slug}.git"
35
37
  end
36
38
 
37
39
  def fqdn
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dpl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.40.travis.2195.5
4
+ version: 1.8.40.travis.2196.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase