code_cache 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/code_cache/repo/git.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21413adf37ef6b66159fca1f7d963f6ca78dd2c8
|
4
|
+
data.tar.gz: fe7b6e22b44fc8424cf10d877c2e7ad4b97f210d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da99e0cea63a546829071aa0b0554103df708d22343635c3383542c7e5682dde7971db0bdeb6ce64fb4e997fdd5ea602defd8cba207e090234610b41b8ac92cb
|
7
|
+
data.tar.gz: 0bf50f3fc6da5e78c12c82bfad25d6332692503f23f62a44ebdafd2fc5d2333217227c084a11aad05af241ad464a5d83a4229abd8c44599d505e19550b50a07a
|
data/lib/code_cache/repo/git.rb
CHANGED
@@ -62,7 +62,7 @@ module CodeCache
|
|
62
62
|
end
|
63
63
|
|
64
64
|
def checkout_from_cache_to_destination(cache_destination, destination, revision, branch)
|
65
|
-
if branch
|
65
|
+
if branch && branch != ""
|
66
66
|
output = `git clone --single-branch #{cache_destination} #{destination} -b #{branch} 2>&1`
|
67
67
|
else
|
68
68
|
output = `git clone --single-branch #{cache_destination} #{destination} 2>&1`
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: code_cache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Buckhurst
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3.3'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: mixlib-shellout
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 2.2.7
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 2.2.7
|
41
41
|
description: Provides a simple api for checking out svn and git repositories. Caches
|
@@ -45,11 +45,11 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
+
- README.md
|
48
49
|
- lib/code_cache.rb
|
49
50
|
- lib/code_cache/repo.rb
|
50
51
|
- lib/code_cache/repo/git.rb
|
51
52
|
- lib/code_cache/repo/svn.rb
|
52
|
-
- README.md
|
53
53
|
homepage: https://github.com/bbc/code_cache
|
54
54
|
licenses:
|
55
55
|
- MIT
|
@@ -60,17 +60,17 @@ require_paths:
|
|
60
60
|
- lib
|
61
61
|
required_ruby_version: !ruby/object:Gem::Requirement
|
62
62
|
requirements:
|
63
|
-
- -
|
63
|
+
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
65
|
version: '0'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
|
-
- -
|
68
|
+
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
72
|
rubyforge_project:
|
73
|
-
rubygems_version: 2.
|
73
|
+
rubygems_version: 2.5.1
|
74
74
|
signing_key:
|
75
75
|
specification_version: 4
|
76
76
|
summary: Abstracts & caches svn & git operations
|