akabei 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/akabei/builder.rb +2 -0
- data/lib/akabei/signer.rb +1 -1
- data/lib/akabei/version.rb +1 -1
- data/spec/akabei/builder_spec.rb +3 -3
- data/spec/integration/build_spec.rb +2 -2
- 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: b52715966949f94250368a16c4bd3c52e315ebbb
|
4
|
+
data.tar.gz: b82857ce42354c89e40c88e81573f333ce934d60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 215640dc7cc202890f94f5f5ed31c595e7d6c73820ad9bd98ec4e5ff060cfd6914b1481db8590c39b66c3ce9f6c82530b9559a0bb4a75928c7194845d24ad365
|
7
|
+
data.tar.gz: 3d30af33b9d62e4b73a39e210ec279d6233df0b1dc9edb24d0036a71349511133f02d534131773dc89e212a057df305d2fd466aa34513de752c57c268ba913e9
|
data/CHANGELOG.md
CHANGED
data/lib/akabei/builder.rb
CHANGED
@@ -36,6 +36,7 @@ module Akabei
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def gather_packages(tmp_pkgdest)
|
39
|
+
pkgdest.mkpath
|
39
40
|
tmp_pkgdest.each_child.map do |package_path|
|
40
41
|
dest = pkgdest.join(package_path.basename)
|
41
42
|
copy_and_sign_package(package_path, dest)
|
@@ -67,6 +68,7 @@ module Akabei
|
|
67
68
|
block.call
|
68
69
|
end
|
69
70
|
else
|
71
|
+
old_dir.mkpath
|
70
72
|
block.call
|
71
73
|
end
|
72
74
|
ensure
|
data/lib/akabei/signer.rb
CHANGED
data/lib/akabei/version.rb
CHANGED
data/spec/akabei/builder_spec.rb
CHANGED
@@ -4,7 +4,7 @@ require 'akabei/signer'
|
|
4
4
|
|
5
5
|
describe Akabei::Builder do
|
6
6
|
let(:builder) { described_class.new(pkgdest: pkgdest) }
|
7
|
-
let(:pkgdest) { test_dest('packages')
|
7
|
+
let(:pkgdest) { test_dest('packages') }
|
8
8
|
let(:package_dir) { test_dest('nkf').tap(&:mkpath) }
|
9
9
|
let(:pkgname) { 'nkf-2.1.3-1' }
|
10
10
|
let(:arch) { 'x86_64' }
|
@@ -65,7 +65,7 @@ describe Akabei::Builder do
|
|
65
65
|
end
|
66
66
|
|
67
67
|
context 'with srcdest' do
|
68
|
-
let(:dest) { test_dest('sources')
|
68
|
+
let(:dest) { test_dest('sources') }
|
69
69
|
|
70
70
|
before do
|
71
71
|
builder.srcdest = dest
|
@@ -78,7 +78,7 @@ describe Akabei::Builder do
|
|
78
78
|
end
|
79
79
|
|
80
80
|
context 'with logdest' do
|
81
|
-
let(:dest) { test_dest('logs')
|
81
|
+
let(:dest) { test_dest('logs') }
|
82
82
|
|
83
83
|
before do
|
84
84
|
builder.logdest = dest
|
@@ -45,7 +45,7 @@ describe 'build subcommand', :archlinux do
|
|
45
45
|
end
|
46
46
|
|
47
47
|
context 'with --srcdest' do
|
48
|
-
let(:srcdest) { test_dest('sources')
|
48
|
+
let(:srcdest) { test_dest('sources') }
|
49
49
|
let(:build_command) { base_command + ['--srcdest', srcdest.to_s] }
|
50
50
|
|
51
51
|
it 'stores sources' do
|
@@ -55,7 +55,7 @@ describe 'build subcommand', :archlinux do
|
|
55
55
|
end
|
56
56
|
|
57
57
|
context 'with --logdest' do
|
58
|
-
let(:logdest) { test_dest('logs')
|
58
|
+
let(:logdest) { test_dest('logs') }
|
59
59
|
let(:build_command) { base_command + ['--logdest', logdest.to_s] }
|
60
60
|
|
61
61
|
it 'stores logs' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: akabei
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kohei Suzuki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gpgme
|