codeclimate 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cc/analyzer/container.rb +2 -0
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cafe3dac901f50a8819edc83ab26d775b6a0a638
4
- data.tar.gz: e7fbfe5cdfff9ffa0eb34e8d6c6c4d0aa0fb9585
3
+ metadata.gz: cc38b173427463ad6d16b71d72c98c76490ef456
4
+ data.tar.gz: 6157f5687722c22692b139cddc27c3c7473b6370
5
5
  SHA512:
6
- metadata.gz: 56fbddc81eb40d2e9069dad68ec4097126a98af8f524b9f6e6bdcfb7699242ca36e99b2fcb43d7b2cea44d40e0f052a6e8677ce557e2e2d45a5da873f3f92b29
7
- data.tar.gz: e4111b3ea6a1bd9f0ded855bfb77aaecbbdb829990c5c5b8aff4c97a3df7f9e8ce88159c519f5d9419e8f0c02934b5298401b8815df341512a73a4cf57bca444
6
+ metadata.gz: 956eef4be2eafa19949b8028eae6886d6b4b10d5047c6226103cc3883e0ab27f2f53111991e81d2fa02b638a1fc56d2d405b3231a9ea052a7b98c4aee1bd40b6
7
+ data.tar.gz: 34fceeccebed12b3d044d16dfa00ed16e1f935ebb39d973d6ca8206a3f918c09026c5cd1890e105ca25c14e7de969be51b9924a1a9b4a5166ab504ef9d28eb3a
@@ -10,6 +10,7 @@ module CC
10
10
  :status, # status, for a finished event
11
11
  :stderr, # stderr, for a finished event
12
12
  )
13
+ ImageRequired = Class.new(StandardError)
13
14
 
14
15
  DEFAULT_TIMEOUT = 15 * 60 # 15m
15
16
 
@@ -20,6 +21,7 @@ module CC
20
21
  listener: ContainerListener.new,
21
22
  timeout: DEFAULT_TIMEOUT
22
23
  )
24
+ raise ImageRequired if image.blank?
23
25
  @image = image
24
26
  @name = name
25
27
  @command = command
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codeclimate
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
  - Code Climate
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-12 00:00:00.000000000 Z
11
+ date: 2015-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -50,14 +50,14 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: 0.2.3
53
+ version: 0.3.0
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 0.2.3
60
+ version: 0.3.0
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: faraday
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -256,7 +256,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
256
256
  version: '0'
257
257
  requirements: []
258
258
  rubyforge_project:
259
- rubygems_version: 2.4.8
259
+ rubygems_version: 2.4.5
260
260
  signing_key:
261
261
  specification_version: 4
262
262
  summary: Code Climate CLI