samus 2.0.1 → 2.0.2

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: 1f8644f170978f3b65a4bc6917ca424e55eb036a
4
- data.tar.gz: ea3df9b0bcc042d382565461fce7628d5f82d2dd
3
+ metadata.gz: 9544bdd2a698c18f7c49f86accb53616e8f0fd87
4
+ data.tar.gz: b9a293f6fa0701a9dce8473a1164e4fcf81645a6
5
5
  SHA512:
6
- metadata.gz: eb181ff4f2afedaea9bb1c0277ce61667a9831adefa00eab3f5d09862e35ac65df166f1dd624316f4d9844a52d7d0edfd069cb7ffc20d34d80dec424d660bfc4
7
- data.tar.gz: e47bc23105ae8a402b767a284306cf8d95b2258d1a0c8e50d11b764cbc35c92095ba2c279b40f542fed8f3ce363bc554043010d6666a03d39d6703bc674a4e02
6
+ metadata.gz: b568b2c073d557c927aa2fff9c2a2251990e5ef731993b030f8a78d3528e7494b74782504634762e5e8ab5928bb8d208686f8766aab0238a22302b076df5f29f
7
+ data.tar.gz: 85c5039162271d070739ca0a9a5422434eb8a1b858051dbd3402e1a0bb3713f2afb39d239d039629076c2defbf6462a13dafaa5b34711902226cd9f4dd14006d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 2.0.2 - August 11th, 2018
2
+
3
+ - Some more fixes for Windows compatibility when using `archive-git-full`.
4
+
1
5
  # 2.0.0 - August 9th, 2018
2
6
 
3
7
  - Add support for Windows. This caused a backwards incompatible change where
@@ -2,4 +2,4 @@
2
2
 
3
3
  set -e
4
4
  git gc # might as well GC before archiving .git
5
- tar cfz $__BUILD_DIR/$1 .git $(git ls-files)
5
+ tar cfz "$__BUILD_DIR/$1" .git $(git ls-files)
data/lib/samus/builder.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'json'
2
2
  require 'tmpdir'
3
+ require 'pathname'
3
4
 
4
5
  require_relative './build_action'
5
6
 
@@ -35,6 +36,8 @@ module Samus
35
36
  remove_restore_file
36
37
 
37
38
  Dir.mktmpdir do |build_dir|
39
+ pwdpath = Pathname.new(Dir.pwd)
40
+ build_dir = Pathname.new(build_dir).relative_path_from(pwdpath).to_s
38
41
  actions.map do |action|
39
42
  BuildAction.new(dry_run: dry_run, arguments: {
40
43
  '_RESTORE_FILE' => RESTORE_FILE,
data/lib/samus/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Samus
2
- VERSION = '2.0.1'.freeze
2
+ VERSION = '2.0.2'.freeze
3
3
  end
data/samus.gemspec CHANGED
@@ -9,5 +9,5 @@ Gem::Specification.new do |s|
9
9
  s.homepage = 'http://github.com/lsegal/samus'
10
10
  s.files = `git ls-files`.split(/\s+/)
11
11
  s.executables = ['samus']
12
- s.license = 'BSD'
12
+ s.license = 'MIT'
13
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: samus
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Loren Segal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-09 00:00:00.000000000 Z
11
+ date: 2018-08-11 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: lsegal@soen.ca
@@ -89,7 +89,7 @@ files:
89
89
  - samus.json
90
90
  homepage: http://github.com/lsegal/samus
91
91
  licenses:
92
- - BSD
92
+ - MIT
93
93
  metadata: {}
94
94
  post_install_message:
95
95
  rdoc_options: []