imagemaster3000 0.7.0 → 0.8.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: 12db545fdb2c945fe2078f75e7696a5780fd0bb6
4
- data.tar.gz: 24ee73c3e748685d9c2636513ef3aff92ee29fb1
3
+ metadata.gz: 706709ff8db7e68916455fdcf0546dc7ede63310
4
+ data.tar.gz: ec12cdd3da410ec605a07fd52e3eaf098fff4133
5
5
  SHA512:
6
- metadata.gz: d3195e4a60c431c3fdb77c29831f5e6037869e2048eabd4434bb95f834c1b81d4f8ab1e734ea6e870bbb48c75f3def12a968517fca860193cd017bd91912fb77
7
- data.tar.gz: def7039b704391b18c49a0b1add5517b4f08ed1ebaa058051b3d1f44ef8678f745737502150491ab25f8b93f24c01b35f87adeae209fe4a197a267d8dec881c2
6
+ metadata.gz: 575d4700bc20c4a01fb3256d6e37c9b6d0107f2508f6013c89871920876239b88b860ebd8adc3baed1b82822ffe8de56407e4fe6f78bd7d5101d09e44241f863
7
+ data.tar.gz: 7fb0e0e92515b2a699bcd7c0f7410d8fe8f861d9479ddfb3e97d96af9761b6a637a3f6f3f05139932093d50994f80107c6e553e084416d214426d8741eba8876
data/.circleci/config.yml CHANGED
@@ -6,25 +6,28 @@ jobs:
6
6
  - /.*/
7
7
  docker:
8
8
  - image: docker:stable
9
- working_directory: /root/imagemaster3000
9
+ working_directory: /root/working_directory
10
10
  steps:
11
11
  - run: apk add --no-cache git openssh
12
12
  - checkout
13
13
  - setup_remote_docker
14
+ - run: |
15
+ git config --global --replace-all versionsort.prereleasesuffix ".alpha"
16
+ git config --global --add versionsort.prereleasesuffix ".beta"
14
17
  - run: |
15
18
  TAG=${CIRCLE_TAG#v}
16
19
  BRANCH=${TAG/%.*/.x}
17
20
  VERSION=${TAG}
18
- LATEST=$(git tag --sort=-refname | head -n 1)
21
+ LATEST=$(git tag --sort=-version:refname | head -n 1)
19
22
 
20
23
  docker login -u $DOCKER_USER -p $DOCKER_PASS
21
24
 
22
- docker build --build-arg branch=$BRANCH --build-arg version="$VERSION" -t misenko/imagemaster3000:$TAG .
23
- docker push misenko/imagemaster3000:$TAG
25
+ docker build --build-arg branch=$BRANCH --build-arg version="$VERSION" -t $DOCKERHUB_ORGANIZATION/$CIRCLE_PROJECT_REPONAME:$TAG ./$DOCKERFILE_DIR
26
+ docker push $DOCKERHUB_ORGANIZATION/$CIRCLE_PROJECT_REPONAME:$TAG
24
27
 
25
28
  if [ "$LATEST" == "$CIRCLE_TAG" ]; then
26
- docker tag misenko/imagemaster3000:$TAG misenko/imagemaster3000:latest
27
- docker push misenko/imagemaster3000:latest
29
+ docker tag $DOCKERHUB_ORGANIZATION/$CIRCLE_PROJECT_REPONAME:$TAG $DOCKERHUB_ORGANIZATION/$CIRCLE_PROJECT_REPONAME:latest
30
+ docker push $DOCKERHUB_ORGANIZATION/$CIRCLE_PROJECT_REPONAME:latest
28
31
  fi
29
32
  deployment:
30
33
  fake_deploy_for_cci2:
data/.rubocop.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  require: rubocop-rspec
2
2
 
3
3
  AllCops:
4
- TargetRubyVersion: 2.0
4
+ TargetRubyVersion: 2.2
5
5
  Exclude:
6
6
  - 'vendor/**/*'
7
7
 
@@ -22,6 +22,10 @@ Metrics/AbcSize:
22
22
  Style/Documentation:
23
23
  Enabled: false
24
24
 
25
+ Style/MixinUsage:
26
+ Exclude:
27
+ - 'lib/imagemaster3000/entities/image.rb'
28
+
25
29
  RSpec/MultipleExpectations:
26
30
  Enabled: false
27
31
 
@@ -1,5 +1,3 @@
1
- # coding: utf-8
2
-
3
1
  lib = File.expand_path('../lib', __FILE__)
4
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
3
  require 'imagemaster3000/version'
@@ -20,24 +18,24 @@ Gem::Specification.new do |spec|
20
18
  spec.require_paths = ['lib']
21
19
 
22
20
  spec.add_development_dependency 'bundler', '~> 1.15'
21
+ spec.add_development_dependency 'pry', '~> 0.10'
23
22
  spec.add_development_dependency 'rake', '~> 12.0'
24
23
  spec.add_development_dependency 'rspec', '~> 3.5'
25
24
  spec.add_development_dependency 'rubocop', '~> 0.48'
26
25
  spec.add_development_dependency 'rubocop-rspec', '~> 1.15'
27
26
  spec.add_development_dependency 'simplecov', '~> 0.12'
28
- spec.add_development_dependency 'pry', '~> 0.10'
29
27
  spec.add_development_dependency 'vcr', '~> 3.0'
30
28
  spec.add_development_dependency 'webmock', '~> 3.0'
31
29
 
32
- spec.add_runtime_dependency 'thor', '~> 0.19'
33
- spec.add_runtime_dependency 'yell', '~> 2.0'
34
- spec.add_runtime_dependency 'settingslogic', '~> 2.0'
35
30
  spec.add_runtime_dependency 'activesupport', '>= 4.0', '< 6.0'
36
- spec.add_runtime_dependency 'tilt', '~> 2.0'
31
+ spec.add_runtime_dependency 'git', '~> 1.3'
37
32
  spec.add_runtime_dependency 'gpgme', '~> 2.0'
38
- spec.add_runtime_dependency 'mixlib-shellout', '~> 2.2'
39
33
  spec.add_runtime_dependency 'json-schema', '~> 2.8'
40
- spec.add_runtime_dependency 'git', '~> 1.3'
34
+ spec.add_runtime_dependency 'mixlib-shellout', '~> 2.2'
35
+ spec.add_runtime_dependency 'settingslogic', '~> 2.0'
36
+ spec.add_runtime_dependency 'thor', '~> 0.19'
37
+ spec.add_runtime_dependency 'tilt', '~> 2.0'
38
+ spec.add_runtime_dependency 'yell', '~> 2.0'
41
39
 
42
40
  spec.required_ruby_version = '>= 2.2.0'
43
41
  end
@@ -14,6 +14,7 @@
14
14
  "dc:identifier":"<%= image.name %>",
15
15
  "ad:mpuri":"<%= Imagemaster3000::Settings[:'image-list-mpuri'] %>",
16
16
  "dc:title":"<%= image.name %>",
17
+ "dc:date:expires":"<%= (Time.now + 6.months).strftime('%Y-%m-%dT%H:%M:%SZ') %>",
17
18
  "hv:hypervisor":"QEMU-KVM",
18
19
  <% if image.ram -%>
19
20
  "hv:ram_minimum": "<%= image.ram %>",
@@ -1,3 +1,3 @@
1
1
  module Imagemaster3000
2
- VERSION = '0.7.0'.freeze
2
+ VERSION = '0.8.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imagemaster3000
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Kimle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-12 00:00:00.000000000 Z
11
+ date: 2017-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.15'
27
+ - !ruby/object:Gem::Dependency
28
+ name: pry
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.10'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.10'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rake
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -94,20 +108,6 @@ dependencies:
94
108
  - - "~>"
95
109
  - !ruby/object:Gem::Version
96
110
  version: '0.12'
97
- - !ruby/object:Gem::Dependency
98
- name: pry
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '0.10'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '0.10'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: vcr
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -137,35 +137,41 @@ dependencies:
137
137
  - !ruby/object:Gem::Version
138
138
  version: '3.0'
139
139
  - !ruby/object:Gem::Dependency
140
- name: thor
140
+ name: activesupport
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - "~>"
143
+ - - ">="
144
144
  - !ruby/object:Gem::Version
145
- version: '0.19'
145
+ version: '4.0'
146
+ - - "<"
147
+ - !ruby/object:Gem::Version
148
+ version: '6.0'
146
149
  type: :runtime
147
150
  prerelease: false
148
151
  version_requirements: !ruby/object:Gem::Requirement
149
152
  requirements:
150
- - - "~>"
153
+ - - ">="
151
154
  - !ruby/object:Gem::Version
152
- version: '0.19'
155
+ version: '4.0'
156
+ - - "<"
157
+ - !ruby/object:Gem::Version
158
+ version: '6.0'
153
159
  - !ruby/object:Gem::Dependency
154
- name: yell
160
+ name: git
155
161
  requirement: !ruby/object:Gem::Requirement
156
162
  requirements:
157
163
  - - "~>"
158
164
  - !ruby/object:Gem::Version
159
- version: '2.0'
165
+ version: '1.3'
160
166
  type: :runtime
161
167
  prerelease: false
162
168
  version_requirements: !ruby/object:Gem::Requirement
163
169
  requirements:
164
170
  - - "~>"
165
171
  - !ruby/object:Gem::Version
166
- version: '2.0'
172
+ version: '1.3'
167
173
  - !ruby/object:Gem::Dependency
168
- name: settingslogic
174
+ name: gpgme
169
175
  requirement: !ruby/object:Gem::Requirement
170
176
  requirements:
171
177
  - - "~>"
@@ -179,41 +185,35 @@ dependencies:
179
185
  - !ruby/object:Gem::Version
180
186
  version: '2.0'
181
187
  - !ruby/object:Gem::Dependency
182
- name: activesupport
188
+ name: json-schema
183
189
  requirement: !ruby/object:Gem::Requirement
184
190
  requirements:
185
- - - ">="
186
- - !ruby/object:Gem::Version
187
- version: '4.0'
188
- - - "<"
191
+ - - "~>"
189
192
  - !ruby/object:Gem::Version
190
- version: '6.0'
193
+ version: '2.8'
191
194
  type: :runtime
192
195
  prerelease: false
193
196
  version_requirements: !ruby/object:Gem::Requirement
194
197
  requirements:
195
- - - ">="
196
- - !ruby/object:Gem::Version
197
- version: '4.0'
198
- - - "<"
198
+ - - "~>"
199
199
  - !ruby/object:Gem::Version
200
- version: '6.0'
200
+ version: '2.8'
201
201
  - !ruby/object:Gem::Dependency
202
- name: tilt
202
+ name: mixlib-shellout
203
203
  requirement: !ruby/object:Gem::Requirement
204
204
  requirements:
205
205
  - - "~>"
206
206
  - !ruby/object:Gem::Version
207
- version: '2.0'
207
+ version: '2.2'
208
208
  type: :runtime
209
209
  prerelease: false
210
210
  version_requirements: !ruby/object:Gem::Requirement
211
211
  requirements:
212
212
  - - "~>"
213
213
  - !ruby/object:Gem::Version
214
- version: '2.0'
214
+ version: '2.2'
215
215
  - !ruby/object:Gem::Dependency
216
- name: gpgme
216
+ name: settingslogic
217
217
  requirement: !ruby/object:Gem::Requirement
218
218
  requirements:
219
219
  - - "~>"
@@ -227,47 +227,47 @@ dependencies:
227
227
  - !ruby/object:Gem::Version
228
228
  version: '2.0'
229
229
  - !ruby/object:Gem::Dependency
230
- name: mixlib-shellout
230
+ name: thor
231
231
  requirement: !ruby/object:Gem::Requirement
232
232
  requirements:
233
233
  - - "~>"
234
234
  - !ruby/object:Gem::Version
235
- version: '2.2'
235
+ version: '0.19'
236
236
  type: :runtime
237
237
  prerelease: false
238
238
  version_requirements: !ruby/object:Gem::Requirement
239
239
  requirements:
240
240
  - - "~>"
241
241
  - !ruby/object:Gem::Version
242
- version: '2.2'
242
+ version: '0.19'
243
243
  - !ruby/object:Gem::Dependency
244
- name: json-schema
244
+ name: tilt
245
245
  requirement: !ruby/object:Gem::Requirement
246
246
  requirements:
247
247
  - - "~>"
248
248
  - !ruby/object:Gem::Version
249
- version: '2.8'
249
+ version: '2.0'
250
250
  type: :runtime
251
251
  prerelease: false
252
252
  version_requirements: !ruby/object:Gem::Requirement
253
253
  requirements:
254
254
  - - "~>"
255
255
  - !ruby/object:Gem::Version
256
- version: '2.8'
256
+ version: '2.0'
257
257
  - !ruby/object:Gem::Dependency
258
- name: git
258
+ name: yell
259
259
  requirement: !ruby/object:Gem::Requirement
260
260
  requirements:
261
261
  - - "~>"
262
262
  - !ruby/object:Gem::Version
263
- version: '1.3'
263
+ version: '2.0'
264
264
  type: :runtime
265
265
  prerelease: false
266
266
  version_requirements: !ruby/object:Gem::Requirement
267
267
  requirements:
268
268
  - - "~>"
269
269
  - !ruby/object:Gem::Version
270
- version: '1.3'
270
+ version: '2.0'
271
271
  description: Downloading and slight modification of cloud images
272
272
  email:
273
273
  - kimle.michal@gmail.com
@@ -349,7 +349,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
349
349
  version: '0'
350
350
  requirements: []
351
351
  rubyforge_project:
352
- rubygems_version: 2.6.13
352
+ rubygems_version: 2.6.14
353
353
  signing_key:
354
354
  specification_version: 4
355
355
  summary: Downloading and slight modification of cloud images