codeclimate-yaml 0.7.0 → 0.8.0

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: 203086b47fa06ed85c137d10b175983929c7c4da
4
- data.tar.gz: 11e20b9957bfe024bf190cd377146dee5bb06339
3
+ metadata.gz: 0ef414bbe74d4f6cf8f22713d3386fe8d309e9b6
4
+ data.tar.gz: fd8d685db080e22c4270bc99cacf9989a37b4004
5
5
  SHA512:
6
- metadata.gz: 582160565295d585a521ae959818353010bce6059b7d3727eb5079a71e36ad22b4396388289bf83224e4f2f25001e4feca8a5ab153b6b5dcd021fcad9c706ccf
7
- data.tar.gz: 6665de410ca5dd3c7b86ff9f517b0fe1efbdeb73ba791764cdbd7049cdb3380b02de0b0802490de27eb374b23ded58677730442e0cb2bce2ce03b35213f8b975
6
+ metadata.gz: eff75337b523245c5e76222792c5a0bdec25e3370f53bddfe0c76beccadb9eb469cf3c6cdbe49f34a0dd7601dea1b812fcbcad3367f4805688c28c64fc2f24c4
7
+ data.tar.gz: f9ec914744a46db49026e375dc6bf5653d5225a57a773b5f44fea4a04703387eb5aec4d76ec4dae12032f6b255b56cc59eab74f219ed33902c770c7124d6b093
@@ -2,6 +2,10 @@ module CC
2
2
  module Yaml
3
3
  module Nodes
4
4
  class Glob < Scalar
5
+ def to_s
6
+ value
7
+ end
8
+
5
9
  def value
6
10
  @value.sub(%r{\*\*([^\/]*)?$}, "**/*\\1") # normalize glob format: app/** => app/**/* and **.rb => **/*.rb
7
11
  end
@@ -1,5 +1,5 @@
1
1
  module CC
2
2
  module Yaml
3
- VERSION = "0.7.0".freeze
3
+ VERSION = "0.8.0".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codeclimate-yaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
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-11-12 00:00:00.000000000 Z
11
+ date: 2016-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: secure_string