gitlab-grit 2.8.2 → 2.8.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +3 -1
  3. data/VERSION +1 -1
  4. data/lib/grit/repo.rb +2 -2
  5. metadata +25 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ae9605f81bfc13e718e0d386a1b648f6780e1d66
4
- data.tar.gz: 346a9612e43b8fbaa07e56e0af3f4dda626a3c58
2
+ SHA256:
3
+ metadata.gz: d5105bdf9a7a1f05c86cc4ee7cbba17d3bc3da8403fed664f3f787f5c22dad30
4
+ data.tar.gz: df3926babd0d893de759e8d7063e1e08f245689ca74eae00ccee0354e338f140
5
5
  SHA512:
6
- metadata.gz: 47f42bfa96182fd9967194f531deb8ea14a1e644a4a83d6b8b8f91322ba0ccc6b4d7f07ed77f25cb2a4799ff964ed375e8a2929f68753535e211ec180d5979ef
7
- data.tar.gz: 938a824e4580d23c4d4b753fe48d9614a91fcd6b016b2e9db2dc7e2bd2755b3b7e66358a367527709471c138e1442f7066219af19ac2b420def88b0af623b12f
6
+ metadata.gz: 157d5fc5c374e2aead9a65cda8b2f8462a83945a84dc616f0d004d163ee7a226f1660a556988fb3f52effebbba8f07394177fb51ed1455d4f3af0cec08c65905
7
+ data.tar.gz: c24f26f3112f6c61100acd857dad8322b4d6c7b8ac66c40be6c961b68958b8f2a11bd1318dff7b6d822beec3098927dbd47a89affb1661b4aec011a0d595b2f1
data/README.md CHANGED
@@ -2,7 +2,9 @@
2
2
 
3
3
  #### Code status
4
4
 
5
- [![build status](https://gitlab.com/gitlab-org/gitlab-grit/badges/master/build.svg)](https://gitlab.com/gitlab-org/gitlab-grit/commits/master)
5
+
6
+
7
+ [![pipeline status](https://gitlab.com/gitlab-org/gitlab-grit/badges/master/pipeline.svg)](https://gitlab.com/gitlab-org/gitlab-grit/-/commits/master)
6
8
  [![build status](https://secure.travis-ci.org/gitlabhq/grit.png)](https://travis-ci.org/gitlabhq/grit)
7
9
  [![Gem Version](https://badge.fury.io/rb/gitlab-grit.svg)](http://badge.fury.io/rb/gitlab-grit)
8
10
  [![Code Climate](https://codeclimate.com/github/gitlabhq/grit.png)](https://codeclimate.com/github/gitlabhq/grit)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.8.2
1
+ 2.8.3
@@ -516,13 +516,13 @@ module Grit
516
516
  # Returns array of hashes - one per tree entry
517
517
  def lstree(treeish = 'master', options = {})
518
518
  # check recursive option
519
- opts = {:timeout => false, :l => true, :t => true}
519
+ opts = {:timeout => false, :l => true, :t => true, :z => true}
520
520
  if options[:recursive]
521
521
  opts[:r] = true
522
522
  end
523
523
  # mode, type, sha, size, path
524
524
  revs = self.git.native(:ls_tree, opts, treeish)
525
- lines = revs.split("\n")
525
+ lines = revs.split("\0")
526
526
  revs = lines.map do |a|
527
527
  stuff, path = a.split("\t")
528
528
  mode, type, sha, size = stuff.split(" ")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-grit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.2
4
+ version: 2.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Preston-Werner
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-09-25 00:00:00.000000000 Z
13
+ date: 2020-02-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: charlock_holmes
@@ -18,14 +18,14 @@ dependencies:
18
18
  requirements:
19
19
  - - "~>"
20
20
  - !ruby/object:Gem::Version
21
- version: '0.6'
21
+ version: '0.7'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - "~>"
27
27
  - !ruby/object:Gem::Version
28
- version: '0.6'
28
+ version: '0.7'
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: posix-spawn
31
31
  requirement: !ruby/object:Gem::Requirement
@@ -47,6 +47,9 @@ dependencies:
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
49
  version: '1.16'
50
+ - - "<"
51
+ - !ruby/object:Gem::Version
52
+ version: '3'
50
53
  type: :runtime
51
54
  prerelease: false
52
55
  version_requirements: !ruby/object:Gem::Requirement
@@ -54,6 +57,9 @@ dependencies:
54
57
  - - ">="
55
58
  - !ruby/object:Gem::Version
56
59
  version: '1.16'
60
+ - - "<"
61
+ - !ruby/object:Gem::Version
62
+ version: '3'
57
63
  - !ruby/object:Gem::Dependency
58
64
  name: diff-lcs
59
65
  requirement: !ruby/object:Gem::Requirement
@@ -82,6 +88,20 @@ dependencies:
82
88
  - - ">="
83
89
  - !ruby/object:Gem::Version
84
90
  version: '0'
91
+ - !ruby/object:Gem::Dependency
92
+ name: test-unit
93
+ requirement: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
98
+ type: :development
99
+ prerelease: false
100
+ version_requirements: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: '0'
85
105
  description: Grit is a Ruby library for extracting information from a git repository
86
106
  in an object oriented manner. GitLab fork
87
107
  email: m@gitlabhq.com
@@ -151,8 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
171
  - !ruby/object:Gem::Version
152
172
  version: '0'
153
173
  requirements: []
154
- rubyforge_project:
155
- rubygems_version: 2.5.2
174
+ rubygems_version: 3.0.6
156
175
  signing_key:
157
176
  specification_version: 4
158
177
  summary: Ruby Git bindings.