gollum-rugged_adapter 1.1.1 → 1.1.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
  SHA256:
3
- metadata.gz: e30b044f09b8b22f7616816d30ae2ad30397e45537df0c256fdd5e85f4f186ab
4
- data.tar.gz: 2ec6f1bddc5d186160dde25cfc03a45182d779bed3bf026eeb414008255c4ea5
3
+ metadata.gz: 3b4b572fd56e0608c76ab7b3536ed18a54211571ded4f37dbfe77e296df17bfe
4
+ data.tar.gz: e3f2ab7a9ae0ebe06eaa1983426a9f89f78796e8535cb6373d21499d45914c72
5
5
  SHA512:
6
- metadata.gz: 75c2a499064d67e007d0e970831fe317c457e9b25d6cfc1958a984faf13ff19ce8bee9292830e65395d183d91fdd09dbfb680c63b00ec688a0a011baeb489acb
7
- data.tar.gz: 7d74de8e8eae9b1f606c73330324fdd5026d34cc4be7ab12cf1da34defaabbfa2b09ed8a666c9a35708366a4e09eb05325b37689fd5726c02926944fed910644
6
+ metadata.gz: 4c481c8741c577b5cf0e0af292745c04fea0a32d96f89ed77ddb54db726c510517e35e134ca80ab3ddba8966618814fb1590c590c89e2f453fdab2447a62acba
7
+ data.tar.gz: 8b7cbcc97c857862a2e60ddb9beb7f625d5eb184ca7800189d95400cbe38400511075083f0dbd50bef91bbe21c9f38f1ba1599675d83dbb31fe5e72d2b903545
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  [![Gem Version](https://badge.fury.io/rb/gollum-rugged_adapter.svg)](http://badge.fury.io/rb/gollum-rugged_adapter)
2
- [![Build Status](https://travis-ci.org/gollum/rugged_adapter.svg?branch=master)](https://travis-ci.org/gollum/rugged_adapter)
2
+ ![Build Status](https://github.com/gollum/rugged_adapter/actions/workflows/test.yaml/badge.svg)
3
3
  [![Dependency Status](https://gemnasium.com/gollum/rugged_adapter.svg)](https://gemnasium.com/gollum/rugged_adapter)
4
4
 
5
5
  ## DESCRIPTION
@@ -174,7 +174,7 @@ module Gollum
174
174
  def grep(search_terms, options={}, &block)
175
175
  ref = options[:ref] ? options[:ref] : "HEAD"
176
176
  tree = @repo.lookup(sha_from_ref(ref)).tree
177
- tree = @repo.lookup(tree[options[:path]][:oid]) if options[:path]
177
+ tree = @repo.lookup(tree.path(options[:path])[:oid]) if options[:path]
178
178
  enc = options.fetch(:encoding, 'utf-8')
179
179
  results = []
180
180
  tree.walk_blobs(:postorder) do |root, entry|
@@ -1,7 +1,7 @@
1
1
  module Gollum
2
2
  module Lib
3
3
  module Git
4
- VERSION = '1.1.1'
4
+ VERSION = '1.1.2'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gollum-rugged_adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bart Kamphorst, Dawa Ometto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-28 00:00:00.000000000 Z
11
+ date: 2021-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rugged