akabei 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/README.md +77 -0
- data/Rakefile +28 -0
- data/akabei.gemspec +2 -0
- data/lib/akabei/build_helper.rb +15 -0
- data/lib/akabei/builder.rb +7 -0
- data/lib/akabei/chroot_tree.rb +1 -0
- data/lib/akabei/cli.rb +18 -29
- data/lib/akabei/omakase/cli.rb +116 -0
- data/lib/akabei/omakase/config.rb +113 -0
- data/lib/akabei/omakase/s3.rb +71 -0
- data/lib/akabei/omakase/templates/.akabei.yml.tt +24 -0
- data/lib/akabei/omakase/templates/makepkg.i686.conf +140 -0
- data/lib/akabei/omakase/templates/makepkg.x86_64.conf +140 -0
- data/lib/akabei/omakase/templates/pacman.i686.conf +90 -0
- data/lib/akabei/omakase/templates/pacman.x86_64.conf +99 -0
- data/lib/akabei/repository.rb +5 -4
- data/lib/akabei/signer.rb +6 -2
- data/lib/akabei/version.rb +1 -1
- data/spec/akabei/builder_spec.rb +1 -5
- data/spec/akabei/cli_spec.rb +135 -0
- data/spec/akabei/omakase/cli_spec.rb +154 -0
- data/spec/akabei/repository_spec.rb +1 -2
- metadata +42 -2
@@ -148,8 +148,7 @@ describe Akabei::Repository do
|
|
148
148
|
|
149
149
|
it 'stores repository database' do
|
150
150
|
repo.save(dest_path)
|
151
|
-
new_repo = described_class.load(dest_path)
|
152
|
-
new_repo.include_files = true
|
151
|
+
new_repo = described_class.load(dest_path, include_files: true)
|
153
152
|
expect(repo).to eq(new_repo)
|
154
153
|
end
|
155
154
|
end
|
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.
|
4
|
+
version: 0.2.0
|
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-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gpgme
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: safe_yaml
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: thor
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,6 +66,20 @@ dependencies:
|
|
52
66
|
- - ">="
|
53
67
|
- !ruby/object:Gem::Version
|
54
68
|
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: aws-sdk
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
55
83
|
- !ruby/object:Gem::Dependency
|
56
84
|
name: bundler
|
57
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -133,6 +161,7 @@ files:
|
|
133
161
|
- ".gitignore"
|
134
162
|
- ".rspec"
|
135
163
|
- ".travis.yml"
|
164
|
+
- CHANGELOG.md
|
136
165
|
- Gemfile
|
137
166
|
- LICENSE.txt
|
138
167
|
- README.md
|
@@ -143,10 +172,19 @@ files:
|
|
143
172
|
- lib/akabei/abs.rb
|
144
173
|
- lib/akabei/archive_utils.rb
|
145
174
|
- lib/akabei/attr_path.rb
|
175
|
+
- lib/akabei/build_helper.rb
|
146
176
|
- lib/akabei/builder.rb
|
147
177
|
- lib/akabei/chroot_tree.rb
|
148
178
|
- lib/akabei/cli.rb
|
149
179
|
- lib/akabei/error.rb
|
180
|
+
- lib/akabei/omakase/cli.rb
|
181
|
+
- lib/akabei/omakase/config.rb
|
182
|
+
- lib/akabei/omakase/s3.rb
|
183
|
+
- lib/akabei/omakase/templates/.akabei.yml.tt
|
184
|
+
- lib/akabei/omakase/templates/makepkg.i686.conf
|
185
|
+
- lib/akabei/omakase/templates/makepkg.x86_64.conf
|
186
|
+
- lib/akabei/omakase/templates/pacman.i686.conf
|
187
|
+
- lib/akabei/omakase/templates/pacman.x86_64.conf
|
150
188
|
- lib/akabei/package.rb
|
151
189
|
- lib/akabei/package_entry.rb
|
152
190
|
- lib/akabei/package_info.rb
|
@@ -159,6 +197,7 @@ files:
|
|
159
197
|
- spec/akabei/builder_spec.rb
|
160
198
|
- spec/akabei/chroot_tree_spec.rb
|
161
199
|
- spec/akabei/cli_spec.rb
|
200
|
+
- spec/akabei/omakase/cli_spec.rb
|
162
201
|
- spec/akabei/package_entry_spec.rb
|
163
202
|
- spec/akabei/package_info_spec.rb
|
164
203
|
- spec/akabei/package_spec.rb
|
@@ -206,6 +245,7 @@ test_files:
|
|
206
245
|
- spec/akabei/builder_spec.rb
|
207
246
|
- spec/akabei/chroot_tree_spec.rb
|
208
247
|
- spec/akabei/cli_spec.rb
|
248
|
+
- spec/akabei/omakase/cli_spec.rb
|
209
249
|
- spec/akabei/package_entry_spec.rb
|
210
250
|
- spec/akabei/package_info_spec.rb
|
211
251
|
- spec/akabei/package_spec.rb
|