lazy_fork 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -1
- data/Gemfile.lock +47 -0
- data/lib/lazy_fork.rb +2 -3
- data/lib/lazy_fork/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a45a63d043f3337638145df8130ef82b718bd45f
|
4
|
+
data.tar.gz: 5078f56b7ed38dc9577b935a3a800dc42edf4e94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16de28a38ea577fa38884f02f2c6d5f47d983c735f64bd4997a92dfd2717fae9e862846856787c4762a3831c34dbe10e9967d45b5535d9be356d9f4a9ffda5ad
|
7
|
+
data.tar.gz: ff7de2f49321f22693988c383413ab50258f6b3954e0bb96f5a7c0b8ce11144140207ec23ae54166a6c7c4578ce45ce3f5a35bf4cd79329f6391e1b48371e6de
|
data/.gitignore
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
lazy_fork (0.0.4)
|
5
|
+
octokit
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
addressable (2.5.2)
|
11
|
+
public_suffix (>= 2.0.2, < 4.0)
|
12
|
+
diff-lcs (1.3)
|
13
|
+
faraday (0.14.0)
|
14
|
+
multipart-post (>= 1.2, < 3)
|
15
|
+
multipart-post (2.0.0)
|
16
|
+
octokit (4.8.0)
|
17
|
+
sawyer (~> 0.8.0, >= 0.5.3)
|
18
|
+
public_suffix (3.0.2)
|
19
|
+
rake (10.5.0)
|
20
|
+
rspec (3.7.0)
|
21
|
+
rspec-core (~> 3.7.0)
|
22
|
+
rspec-expectations (~> 3.7.0)
|
23
|
+
rspec-mocks (~> 3.7.0)
|
24
|
+
rspec-core (3.7.1)
|
25
|
+
rspec-support (~> 3.7.0)
|
26
|
+
rspec-expectations (3.7.0)
|
27
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
28
|
+
rspec-support (~> 3.7.0)
|
29
|
+
rspec-mocks (3.7.0)
|
30
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
31
|
+
rspec-support (~> 3.7.0)
|
32
|
+
rspec-support (3.7.1)
|
33
|
+
sawyer (0.8.1)
|
34
|
+
addressable (>= 2.3.5, < 2.6)
|
35
|
+
faraday (~> 0.8, < 1.0)
|
36
|
+
|
37
|
+
PLATFORMS
|
38
|
+
ruby
|
39
|
+
|
40
|
+
DEPENDENCIES
|
41
|
+
bundler (~> 1.14)
|
42
|
+
lazy_fork!
|
43
|
+
rake (~> 10.0)
|
44
|
+
rspec (~> 3.0)
|
45
|
+
|
46
|
+
BUNDLED WITH
|
47
|
+
1.16.1
|
data/lib/lazy_fork.rb
CHANGED
@@ -33,10 +33,9 @@ module LazyFork
|
|
33
33
|
|
34
34
|
private
|
35
35
|
|
36
|
+
# Fork repo and return Octokit::Repository of newly forked repo
|
36
37
|
def fork_repo(repo)
|
37
|
-
|
38
|
-
fork_repo = @client.fork(repo)
|
39
|
-
Octokit::Repository.new(fork_repo[:full_name])
|
38
|
+
Octokit::Repository.new(@client.fork(repo)[:full_name])
|
40
39
|
end
|
41
40
|
|
42
41
|
def clone_repo(repo, dest=".")
|
data/lib/lazy_fork/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lazy_fork
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Gregg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -78,6 +78,7 @@ files:
|
|
78
78
|
- ".rspec"
|
79
79
|
- ".travis.yml"
|
80
80
|
- Gemfile
|
81
|
+
- Gemfile.lock
|
81
82
|
- LICENSE.txt
|
82
83
|
- README.md
|
83
84
|
- Rakefile
|
@@ -107,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
108
|
version: '0'
|
108
109
|
requirements: []
|
109
110
|
rubyforge_project:
|
110
|
-
rubygems_version: 2.6.
|
111
|
+
rubygems_version: 2.6.12
|
111
112
|
signing_key:
|
112
113
|
specification_version: 4
|
113
114
|
summary: A gem for lazy forkers.
|