pkgforge 0.8.4 → 0.9.0
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 +4 -4
- data/lib/pkgforge/components/source.rb +1 -13
- data/lib/pkgforge/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1530ec7df5efd0e60847db6570337b45d9baf41a
|
|
4
|
+
data.tar.gz: b92ffa98ed980694ab952f9d95099027c7e809e0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7e77600221376d563f0b893a7b22258c1000ab0400530fd6a8e145e00088da4a417098e970e4b52072ee9569c7b9effc7f97c5bbf5cbd19ab7062c7dd86ad93
|
|
7
|
+
data.tar.gz: 44ec516fee60e799e0f79a7e30b6644d9c2b808fc5b5126037692e55b62b01483a41849de3c76c37b9536a750395a0e220e4bde066fa21f59da61c83f7648ffc
|
|
@@ -24,19 +24,7 @@ module PkgForge
|
|
|
24
24
|
Contract None => nil
|
|
25
25
|
def git_prepare_source
|
|
26
26
|
run_local 'git submodule update --init --recursive'
|
|
27
|
-
|
|
28
|
-
git_fix_submodule unless source[:path] == '.'
|
|
29
|
-
end
|
|
30
|
-
|
|
31
|
-
Contract None => nil
|
|
32
|
-
def git_fix_submodule
|
|
33
|
-
dest_git = File.join(tmpdir(:build), '.git')
|
|
34
|
-
dest_git_config = File.join(dest_git, 'config')
|
|
35
|
-
FileUtils.rm dest_git
|
|
36
|
-
FileUtils.cp_r ".git/modules/#{source[:path]}", dest_git
|
|
37
|
-
new_config = File.readlines(dest_git_config).grep_v(/worktree =/).join
|
|
38
|
-
File.open(dest_git_config, 'w') { |fh| fh << new_config }
|
|
39
|
-
nil
|
|
27
|
+
run "git clone --recursive '#{source[:path]}' #{tmpdir(:build)}"
|
|
40
28
|
end
|
|
41
29
|
|
|
42
30
|
Contract None => nil
|
data/lib/pkgforge/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pkgforge
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.9.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Les Aker
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-10-
|
|
11
|
+
date: 2016-10-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: mercenary
|