pkgforge 0.8.4 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97fbcc2ac3feeb4078d230c85783a2a5c945f8b2
4
- data.tar.gz: bb0dcacd951bf663187a8560c92f08eb6988904d
3
+ metadata.gz: 1530ec7df5efd0e60847db6570337b45d9baf41a
4
+ data.tar.gz: b92ffa98ed980694ab952f9d95099027c7e809e0
5
5
  SHA512:
6
- metadata.gz: fb261c25ffa8c81b9f00a9469b9c49850d6c768a6d17ccafe1702cddcdd66d7c2fc105331d510eda009a3885557376d440b69f893d91a27100bfcadc29e80209
7
- data.tar.gz: 33be93a7aa36dfd194c9834b144afea168d9d22ac7e801a91673e6f684f6c01df05554abdf1b2de25140489f04668f6bbb054ed0a3f47a49191bb271327ff61b
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
- FileUtils.cp_r "#{source[:path]}/.", tmpdir(:build)
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
@@ -1,5 +1,5 @@
1
1
  ##
2
2
  # Declare version number
3
3
  module PkgForge
4
- VERSION = '0.8.4'.freeze
4
+ VERSION = '0.9.0'.freeze
5
5
  end
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.8.4
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-01 00:00:00.000000000 Z
11
+ date: 2016-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mercenary