codeclimate 0.6.1 → 0.6.2

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: 4afbaef27e0bf04d8cdb4acdb76f35fc64b99700
4
- data.tar.gz: 562f2a9af8fccfc5605542f6c33e77db8503c9f3
3
+ metadata.gz: b42431b628a118e38cff706001c322e2287b5d93
4
+ data.tar.gz: 5b84bf3f0682c8c51850c16c3ed8be8d0f81ac49
5
5
  SHA512:
6
- metadata.gz: 72f59b61a9683ba92dd68068e67e0c4e3dbc4199954a42248769f52e29675f5da14115407718667c5da9e77aa75207336347e96ce4fa2ae2bc4cfeb7202f7b6c
7
- data.tar.gz: a5632ba99511c922144b4f95320e917d798d7197dba17769e6d3bffd66fa05b30188b09e15aacd7993eb223562d625f9dbc6c37c862e67160967ef1ffe0bc28f
6
+ metadata.gz: 4e4620cd0c339fe753e6a36d2a032a527afcd1721dd5d4914556ffb449c3346e67bff076837cd01ba76b7398eed42ec256489955bd8361d4601ee0c9d2c9803a
7
+ data.tar.gz: 3ed24424c9983e302a5f18cf574fc9f8cebba085e654d1cf054de45ba256dbd126db5a2de3d0e1bdead6c8cca91a76dd72c8132d6e8ceda46b00546b2e7a70c0
@@ -12,7 +12,7 @@ module CC
12
12
  }.freeze
13
13
 
14
14
  def self.resolve(name)
15
- FORMATTERS[name.to_sym].new(ENV['FILESYSTEM_DIR']) or raise InvalidFormatterError, "'#{name}' is not a valid formatter. Valid options are: #{FORMATTERS.keys.join(", ")}"
15
+ FORMATTERS[name.to_sym] or raise InvalidFormatterError, "'#{name}' is not a valid formatter. Valid options are: #{FORMATTERS.keys.join(", ")}"
16
16
  end
17
17
  end
18
18
  end
@@ -35,7 +35,7 @@ module CC
35
35
  while arg = @args.shift
36
36
  case arg
37
37
  when '-f'
38
- @formatter = Formatters.resolve(@args.shift)
38
+ @formatter = Formatters.resolve(@args.shift).new(filesystem)
39
39
  when '-e', '--engine'
40
40
  @engine_options << @args.shift
41
41
  when '--dev'
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.6.1
4
+ version: 0.6.2
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-09-23 00:00:00.000000000 Z
11
+ date: 2015-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -252,7 +252,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
252
252
  version: '0'
253
253
  requirements: []
254
254
  rubyforge_project:
255
- rubygems_version: 2.4.8
255
+ rubygems_version: 2.4.5
256
256
  signing_key:
257
257
  specification_version: 4
258
258
  summary: Code Climate CLI