monos 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mono/base.rb +5 -6
- data/lib/mono/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62adfa9ee77f46c0ff4a0c5c7946a4ccf5cac96e
|
4
|
+
data.tar.gz: e0d7a90b32fb6b422e00667570d69a6dea33ab09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 149cc0dc4355b4dbe4e4c1dfd715edec2b692d62b2de8487dff55ee51a00e82a5fa832bf1ae1c1ee480ca99afaf5f6a447003dc1ac6db961cbc9e5d9c928c4dc
|
7
|
+
data.tar.gz: 7d7e020fff8866dd966835e5a260c70282b03a87314b204bc539fe8b77333e345bfb34d159b282bcf4be06710ec621765a77f5350200dd389baddc1cc1270b22
|
data/lib/mono/base.rb
CHANGED
@@ -56,7 +56,7 @@ end ## module Mono
|
|
56
56
|
## (rename to mononame and monopath) - why? why not?
|
57
57
|
|
58
58
|
class MonoGitHub
|
59
|
-
def self.clone( name )
|
59
|
+
def self.clone( name, depth: nil )
|
60
60
|
path = MonoFile.real_path( name )
|
61
61
|
|
62
62
|
org_path = File.dirname( path )
|
@@ -67,7 +67,7 @@ class MonoGitHub
|
|
67
67
|
ssh_clone_url = "git@github.com:#{name}.git"
|
68
68
|
|
69
69
|
Dir.chdir( org_path ) do
|
70
|
-
Gitti::Git.clone( ssh_clone_url )
|
70
|
+
Gitti::Git.clone( ssh_clone_url, depth: depth )
|
71
71
|
end
|
72
72
|
end
|
73
73
|
end
|
@@ -122,10 +122,9 @@ end ## class MonoFile
|
|
122
122
|
module Mono
|
123
123
|
#################
|
124
124
|
## add some short cuts
|
125
|
-
def self.open( name, &block )
|
126
|
-
def self.clone( name )
|
127
|
-
def self.real_path( name)
|
125
|
+
def self.open( name, &block ) MonoGitProject.open( name, &block ); end
|
126
|
+
def self.clone( name, depth: nil ) MonoGitHub.clone( name, depth: depth ); end
|
127
|
+
def self.real_path( name) MonoFile.real_path( name ); end
|
128
128
|
end ## module Mono
|
129
129
|
|
130
130
|
|
131
|
-
|
data/lib/mono/version.rb
CHANGED
@@ -7,7 +7,7 @@ module MonoCore ## todo/check: rename to MonoMeta, MonoModule or such - why? w
|
|
7
7
|
## conflict with Mono.root!!!!
|
8
8
|
MAJOR = 1 ## todo: namespace inside version or something - why? why not??
|
9
9
|
MINOR = 0
|
10
|
-
PATCH =
|
10
|
+
PATCH = 1
|
11
11
|
VERSION = [MAJOR,MINOR,PATCH].join('.')
|
12
12
|
|
13
13
|
def self.version
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: monos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gerald Bauer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gitti
|