gitattributes 2.0.0 → 2.1.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: 4055ed6765e1558b96eebb9b052de3fbfc27eff3
4
- data.tar.gz: 34f605af19c5218246de1dcab55ddbb438217c62
3
+ metadata.gz: 1dc92733e0082ca268d4b9f6abc03e5c8f33cd14
4
+ data.tar.gz: e2c35f9ec4cebfb13a27d53c56ee2790093bdd91
5
5
  SHA512:
6
- metadata.gz: cd290ced985cf1e8f854faffea25d7ed27d7ae260ccca267a43393090e55163590ac167b29d487c4a271bee9cd6c4fce6b6809fe96997219e91e682944bd7bdb
7
- data.tar.gz: 65d810237cea85dcb80c1ea0a2be88cd3137e07e59bce344a1aab6956cd7abde8a3e288e2245e747fca6d0e3b9086d04e247c0a69412382aacca65f2006bce92
6
+ metadata.gz: c9cc69a1152dc647d27a5717ba1bc025a1c954e4d557b93b43200b08d6a9f31480af96ca8361a1fc93a4e437353cf9c95a9ddf1c869cf602c9381ec3328a7808
7
+ data.tar.gz: b32cc7ac4ab3d2c7cfd3ac508df6f497e7c5cb2bb7a05f4924b58abcaefbf2a8a1e6d3311a430c6f8827449e05b25b485fd82205d0adf8bd0b35c0d11728fc17
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{gitattributes}
5
- s.version = '2.0.0'
5
+ s.version = '2.1.0'
6
6
  s.platform = Gem::Platform::RUBY
7
7
 
8
8
  s.authors = ['Peter Donald']
@@ -24,7 +24,7 @@ module Reality #nodoc
24
24
  def parse(repository_path, attributes_file = nil, relative_path = nil)
25
25
  path = File.expand_path(repository_path)
26
26
  attributes_file ||= "#{path}/.gitattributes"
27
- rules = File.exist?(attributes_file) ? Reality::Git::AttributesParser.parse_file(attributes_file) : {}
27
+ rules = File.exist?(attributes_file) ? Reality::Git::AttributesParser.parse_file(attributes_file) : []
28
28
  Attributes.new(repository_path, attributes_file, relative_path, rules)
29
29
  end
30
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitattributes
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Donald
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-01 00:00:00.000000000 Z
11
+ date: 2017-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest