codeclimate 0.42.0 → 0.42.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/cli/prepare.rb +3 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97b8703152c1d5f176ab6bca9be91372c916b6e9
4
- data.tar.gz: 3a39cc2ac4d058872de43517885a1f5afd572028
3
+ metadata.gz: 1385155338953e0b1cca517cfa861eab2ad8a7ed
4
+ data.tar.gz: e164fedcdee848b7ca1450d322f587b4cc040fba
5
5
  SHA512:
6
- metadata.gz: 4348dc046d73642b2140078a4d359bbd400336ab7072954c307208e00c46189384d959db591f8b139d85da2da8495909313d17dfaadd5b3c6b89bfa6b677c358
7
- data.tar.gz: a638fe4d722976ebce93e082d6a0c7149498b039035af467710ecbea34a4c1eb7aca07aa048557b1143f0927993fea7126c5d285029b54ab1654d23f00960023
6
+ metadata.gz: c9f94282732cfabe590e1ebd534df57725379f5582dceff4be0dbe49f4c308bee755937317ba6abf16e25136f0a87e114695997bf48a228a75b85681f4dc23c6
7
+ data.tar.gz: f4c9aa49e50154c8338d645358c2c18de01c880b44752ee084efc3fd49c0350947dd317afe8c462e7485a27fdb7e69b7a94e3d879f456ae2668294dc25ca0cac
@@ -26,7 +26,9 @@ module CC
26
26
  require_codeclimate_yml
27
27
  fatal("No fetches configured") unless fetches.present?
28
28
 
29
- ::CC::Resolv.with_fixed_dns { fetch_all }
29
+ Dir.chdir(CC::Analyzer::MountedPath.code.container_path) do
30
+ ::CC::Resolv.with_fixed_dns { fetch_all }
31
+ end
30
32
  success("All fetches fetched")
31
33
  rescue FetchError, InternalHostError => ex
32
34
  fatal(ex.message)
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.42.0
4
+ version: 0.42.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: 2016-11-11 00:00:00.000000000 Z
11
+ date: 2016-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport