gitload 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/README.md +1 -1
- data/VERSION +1 -1
- data/lib/gitload.rb +1 -1
- data/lib/gitload/sources/gitlab.rb +2 -8
- metadata +20 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2337d67ace4bece0d684c5b298fdce235493395ec5fccda0c8e0cefa4c9cc49a
|
4
|
+
data.tar.gz: a7e573af2df43a2067e109844f6716c39220fa6a2c032c1ec3971c47d6794972
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e4498fb08beccd988bed5675e74315d06bcb2f43228732b94de99867844a0c1d17b3a90602743a3a41c01f57d63a38bdab2304b14104ff781fec440442cad69
|
7
|
+
data.tar.gz: 25a95f1da442a433e536d694e9a6a8a1b6673fb0ec9be7bb5693c2262b1830d067cb0e432c1098d24fa6120f3670795e67b13cf7b2799439694c1d22bdcbda11
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -4,4 +4,4 @@ Easily clone all your GitHub repositories.
|
|
4
4
|
|
5
5
|
[![Gem Version](https://badge.fury.io/rb/gitload.svg)](http://badge.fury.io/rb/gitload)
|
6
6
|
[![Build Status](https://travis-ci.org/AlphaHydrae/gitload.svg?branch=master)](http://travis-ci.org/AlphaHydrae/gitload)
|
7
|
-
[![Coverage Status](https://coveralls.io/repos/AlphaHydrae/gitload/badge.svg)](https://coveralls.io/
|
7
|
+
[![Coverage Status](https://coveralls.io/repos/github/AlphaHydrae/gitload/badge.svg?branch=master)](https://coveralls.io/github/AlphaHydrae/gitload?branch=master)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.3
|
data/lib/gitload.rb
CHANGED
@@ -20,16 +20,10 @@ module Gitload
|
|
20
20
|
puts 'Loading GitLab projects...'
|
21
21
|
data = @config.load_or_cache_data 'gitlab' do
|
22
22
|
|
23
|
-
page = 1
|
24
23
|
projects = []
|
25
24
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
while res.has_next_page?
|
30
|
-
page += 1
|
31
|
-
puts "Loading GitLab projects (page #{page})..."
|
32
|
-
projects += res.next_page.collect(&:to_h)
|
25
|
+
Gitlab.projects(membership: true, per_page: 100).auto_paginate do |project|
|
26
|
+
projects << project.to_h
|
33
27
|
end
|
34
28
|
|
35
29
|
Utils.stringify_keys(projects)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitload
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simon Oulevay (Alpha Hydrae)
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: paint
|
@@ -192,6 +192,20 @@ dependencies:
|
|
192
192
|
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: 0.16.1
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: coveralls
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: 0.8.22
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: 0.8.22
|
195
209
|
description: Gitload provides a DSL to easily clone all your repositories from GitHub
|
196
210
|
and other providers.
|
197
211
|
email: git@alphahydrae.com
|
@@ -224,7 +238,7 @@ homepage: https://github.com/AlphaHydrae/gitload
|
|
224
238
|
licenses:
|
225
239
|
- MIT
|
226
240
|
metadata: {}
|
227
|
-
post_install_message:
|
241
|
+
post_install_message:
|
228
242
|
rdoc_options: []
|
229
243
|
require_paths:
|
230
244
|
- lib
|
@@ -239,8 +253,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
239
253
|
- !ruby/object:Gem::Version
|
240
254
|
version: '0'
|
241
255
|
requirements: []
|
242
|
-
rubygems_version: 3.
|
243
|
-
signing_key:
|
256
|
+
rubygems_version: 3.1.2
|
257
|
+
signing_key:
|
244
258
|
specification_version: 4
|
245
259
|
summary: Gitload downloads your repositories.
|
246
260
|
test_files: []
|