cide 0.8.0 → 0.8.1

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: 929d1f4d583f4b694999c35c0f3ff12c56164c39
4
- data.tar.gz: a83fdc09070c59410043c8d2670d051d321bc1fd
3
+ metadata.gz: 448bec20bb2da007599668a8a7e25e1a1e2dbfb3
4
+ data.tar.gz: de4f6cd1c52ba1f3d483b5768e9cae4d06a4f1b7
5
5
  SHA512:
6
- metadata.gz: b18d7c3a787a3c09de24e4b5168eebbbc440e512b5250ecb6374730872aebdb80b65d480af0a6950ec87f3cce6ed2ba66985718d85ee3ec70ce18ca8261bbd42
7
- data.tar.gz: ea4ca7f133d9c877f06ba76056d3ddeeccf80bc1e947da6e4986f7db3abe91c473a63ff8f28a3a77132663982f1aba2686d476acd402e100dbae4878f579d797
6
+ metadata.gz: e3a8e475acf9dd10ebbbc09035884322f74dd579ec725fece66b36b37be8afddd8ab80e5344419348337bddf124eed71dbbd58e8929523bb25a1a715704caeb4
7
+ data.tar.gz: d3f82460d908ad40dc01ccfc54da9d14dd9c770df8aebca667ad2463b8697261bddfcf3a0eddc643d004c44ebf2aa82dcdbebd4993fc8542324c28e480a12da3
data/CHANGELOG.md CHANGED
@@ -1,4 +1,10 @@
1
1
 
2
+ 0.8.1 / 2016-02-15
3
+ ==================
4
+
5
+ * FIX: cide package --set-version
6
+ * Make sure the build root is not imported into the next build
7
+
2
8
  0.8.0 / 2016-02-15
3
9
  ==================
4
10
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cide (0.8.0)
4
+ cide (0.8.1)
5
5
  thor (~> 0.19)
6
6
  virtus (~> 1.0)
7
7
 
data/cide.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'cide'
5
- s.version = '0.8.0'
5
+ s.version = '0.8.1'
6
6
  s.authors = ['zimbatm']
7
7
  s.email = ['zimbatm@zimbatm.com']
8
8
  s.summary = 'Isolated test runner with Docker'
data/docs/sidebar.md CHANGED
@@ -14,9 +14,10 @@
14
14
 
15
15
  ## Man pages
16
16
  - [man 1 cide](#man/cide.1)
17
- - [man 1 cide-build](#man/cide-build.1)
18
17
  - [man 1 cide-clean](#man/cide-clean.1)
19
18
  - [man 1 cide-debug](#man/cide-debug.1)
19
+ - [man 1 cide-exec](#man/cide-build.1)
20
20
  - [man 1 cide-init](#man/cide-init.1)
21
+ - [man 1 cide-package](#man/cide-package.1)
21
22
  - [man 1 cide.yml](#man/cide.yml.1)
22
23
 
data/lib/cide/cli.rb CHANGED
@@ -123,7 +123,7 @@ module CIDE
123
123
  type: :boolean,
124
124
  default: true
125
125
 
126
- method_option 'set-version',
126
+ method_option 'set_version',
127
127
  desc: 'Tells cide the package version, otherwise extracted from git',
128
128
  default: nil
129
129
 
@@ -142,7 +142,9 @@ module CIDE
142
142
  guest_export_dir = '/cide/package'
143
143
  host_export_dir = File.join(build_root, 'package')
144
144
 
145
- version = options.version || (
145
+ FileUtils.rm_rf(build_root)
146
+
147
+ version = options.set_version || (
146
148
  git_branch = `git symbolic-ref --short -q HEAD || echo unknown`.strip
147
149
  git_rev = `git rev-parse --short HEAD`.strip
148
150
  "#{git_branch}-#{git_rev}"
@@ -178,8 +180,6 @@ module CIDE
178
180
  ## Export ##
179
181
  banner 'Export'
180
182
 
181
- FileUtils.rm_rf(build_root)
182
-
183
183
  runner.export!(
184
184
  guest_dir: guest_export_dir,
185
185
  host_dir: host_export_dir,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cide
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - zimbatm