construi 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NzNjNDkwNGM3OWI0ZTVhNjgzYzY0ODg5NDkyOGQ2MWNjMGM0ZDE3NA==
4
+ OGU0NjllMmVmMTBmMzU3YjJlYWViMTA5MDlmMzA0M2IyMmM5MTZiNg==
5
5
  data.tar.gz: !binary |-
6
- ZTZkYmJjMDI3ZDI5YWIzYTQ2ZTlhOTgxYTIyMTJkNTg5MzY0ZTg3ZQ==
6
+ Y2I4N2E1YmQ2YmUyMWY1MDFiN2Y3YmMzZTdjMjg4ZTlhYzcwMjljZg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YmY5NzhjMzRiN2FkMzMyYmNkYWJkY2UyZWE0NDMzODkwNDJlYTE3NDVjNWNi
10
- NTBiMzAyNDc4YTlmNDdkMTJiN2NjMjkxNWU1OTg3ZGMxZTkwZGI2Yjc2YTVl
11
- MzczNjU5MzZlNDhkNjE5NjNmZGE1YTNkNThlODc1OGZiZmQyN2Q=
9
+ OGE2YTRhNjVlYzE5YWY5Mzg5ZDBiYjUyM2RiMWFkNzBjZDZlN2I4ZGY1OGNi
10
+ ZGNhYmVjZmYzNmQwOGQ1MDE3YWM1ZTVmMDUzYjA4MmU5MzY4NDE5ZDYyYWRm
11
+ ODQwMDQ0ZjY4NjZkYWIwOWM5ZDVlNGIzYmVjMzU0ZDZmNTE5Nzg=
12
12
  data.tar.gz: !binary |-
13
- YThjODY0Yjg2ZTMyNGZmYmM2MGNjMGUyNmQ5YmIxYjIyNTQ2ZDAwMDk4ODNk
14
- YzVhYTQxODExOWY0YjY5NGM4NDM1MDE4YWIxZWI4M2RlNTc1MzEwYjc5NTYy
15
- Yjc3ZjI5YTE1M2IyMWVlN2JhYjVhNTEyYmRjMDVkNmU4ODM1MmE=
13
+ NDc3NDRjOTBhMmI0ZjQ0ZWE2YTgwNzQ3MGViN2JmMjZkYjMxOTVmZWM1MTJi
14
+ ZTViZDhjYzRjMGM0NzZkOTJmOGRlNzc0ODFiNWViY2JmNzY3ODdiMzhjMjQ0
15
+ OTc5OWFmZDhkYmZkNmQwNjBjYmI5YTM2MDA4ZDQ0NjE2NGY0MWQ=
@@ -3,6 +3,7 @@ image: ruby:1.9
3
3
  environment:
4
4
  - CODECLIMATE_REPO_TOKEN
5
5
  - COVERALLS_TOKEN
6
+ - GIT_COMMIT
6
7
 
7
8
  targets:
8
9
  build:
@@ -13,3 +14,11 @@ targets:
13
14
  - bundle install --path=vendor/bundle
14
15
  - bundle exec rake install
15
16
 
17
+ release:
18
+ - git config user.email levi.stephen@gmail.com
19
+ - git config user.name lstephen
20
+ - git merge --no-ff --commit origin/master
21
+ - git push origin ${GIT_COMMIT}:master
22
+ - bundle install --path vendor/bundle
23
+ - bundle exec gem bump --version minor --push
24
+
@@ -36,7 +36,7 @@ module Construi
36
36
 
37
37
  def self.create(image, cmd, env)
38
38
  wrap Docker::Container.create(
39
- 'Cmd' => cmd.split,
39
+ 'Cmd' => ["sh", "-c"] << cmd.split,
40
40
  'Image' => image.id,
41
41
  'Env' => env.to_json,
42
42
  'Tty' => false,
@@ -1,3 +1,3 @@
1
1
  module Construi
2
- VERSION = "0.6.0"
2
+ VERSION = "0.7.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: construi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - lstephen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-06 00:00:00.000000000 Z
11
+ date: 2015-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: docker-api
@@ -133,44 +133,6 @@ files:
133
133
  - lib/construi/version.rb
134
134
  - spec/sanity_spec.rb
135
135
  - spec/spec_helper.rb
136
- - vendor/bundle/ruby/1.9.1/build_info/codeclimate-test-reporter-0.4.6.info
137
- - vendor/bundle/ruby/1.9.1/cache/codeclimate-test-reporter-0.4.6.gem
138
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/.gitignore
139
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/.rspec
140
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/.travis.yml
141
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/Gemfile
142
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/LICENSE.txt
143
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/README.md
144
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/Rakefile
145
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/bin/cc-tddium-post-worker
146
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/codeclimate-test-reporter.gemspec
147
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/config/cacert.pem
148
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/lib/code_climate/test_reporter.rb
149
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/lib/code_climate/test_reporter/calculate_blob.rb
150
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/lib/code_climate/test_reporter/ci.rb
151
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/lib/code_climate/test_reporter/client.rb
152
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/lib/code_climate/test_reporter/configuration.rb
153
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/lib/code_climate/test_reporter/exception_message.rb
154
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/lib/code_climate/test_reporter/formatter.rb
155
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/lib/code_climate/test_reporter/git.rb
156
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/lib/code_climate/test_reporter/payload_validator.rb
157
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/lib/code_climate/test_reporter/version.rb
158
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/lib/codeclimate-test-reporter.rb
159
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/spec/fixtures/encoding_test.rb
160
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/spec/fixtures/encoding_test_iso.rb
161
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/spec/lib/calculate_blob_spec.rb
162
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/spec/lib/ci_spec.rb
163
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/spec/lib/client_spec.rb
164
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/spec/lib/configuration_spec.rb
165
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/spec/lib/formatter_spec.rb
166
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/spec/lib/git_spec.rb
167
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/spec/lib/payload_validator_spec.rb
168
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/spec/lib/test_reporter_spec.rb
169
- - vendor/bundle/ruby/1.9.1/gems/codeclimate-test-reporter-0.4.6/spec/spec_helper.rb
170
- - vendor/bundle/ruby/1.9.1/gems/json-1.8.2/ext/json/Makefile
171
- - vendor/bundle/ruby/1.9.1/gems/json-1.8.2/ext/json/ext/generator/Makefile
172
- - vendor/bundle/ruby/1.9.1/gems/json-1.8.2/ext/json/ext/parser/Makefile
173
- - vendor/bundle/ruby/1.9.1/specifications/codeclimate-test-reporter-0.4.6.gemspec
174
136
  homepage: ''
175
137
  licenses:
176
138
  - MIT