gitlab_git 5.2.0 → 5.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/gitlab_git/repository.rb +18 -0
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 68bd2b8cece23ce9a6c60c5303bb084ffc2bdeb4
4
- data.tar.gz: dd31b1e48b9bcb854c3405025299f0799185d309
3
+ metadata.gz: ddb7cedb6dcc41c8e2ba624b7718fcfd76f1474a
4
+ data.tar.gz: 300923b0bb6c9dd1957b186c499cf04ef22e8d9d
5
5
  SHA512:
6
- metadata.gz: 068c5c67a558a81f61af31b35e2a9534c633a9b28c2ff2d60e9823909ed2a2fe176d298c5a1bf23969345410a1f20b2b23c388d659c3f197677533974da786a1
7
- data.tar.gz: fc020e342e8df55bb3ca3458b92e6f7a56b332862e17f6600b9a5ec82fa93d1afbf491a8fec7f38867218981c3ea18709d110c109e4ed78ad69fce6d1466fa0d
6
+ metadata.gz: 1bc8919844978c5070f8507a5368199717273cef573c60023caa3ea78d5ff19c0f4ce5859b2527573666d4780052436dad6f69a70c31bc80c6cfc07eef59050f
7
+ data.tar.gz: 5ffa553d9dd5f5aa008da4474dae67c679cac65efcd99caa67d0e8c5792a5ca0a78ca26da77d04decf5f2e061336f1a0e7312867f24632fa712c64f24d7a567d
data/VERSION CHANGED
@@ -1 +1 @@
1
- 5.2.0
1
+ 5.3.0
@@ -320,6 +320,24 @@ module Gitlab
320
320
  def lookup(oid)
321
321
  rugged.lookup(oid)
322
322
  end
323
+
324
+ # Return hash with submodules info for this repository
325
+ #
326
+ # Ex.
327
+ # {
328
+ # "rack" => {
329
+ # "id" => "c67be4624545b4263184c4a0e8f887efd0a66320",
330
+ # "path" => "rack",
331
+ # "url" => "git://github.com/chneukirchen/rack.git"
332
+ # },
333
+ # "encoding" => {
334
+ # "id" => ....
335
+ # }
336
+ # }
337
+ #
338
+ def submodules(ref)
339
+ Grit::Submodule.config(grit, ref)
340
+ end
323
341
  end
324
342
  end
325
343
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab_git
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.0
4
+ version: 5.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitriy Zaporozhets
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-06 00:00:00.000000000 Z
11
+ date: 2014-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gitlab-linguist