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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cce729ba6d11269232cc35aeb9bd0e776cbbc8c6
4
- data.tar.gz: d9bc60169106dc76750a275e9bd8e5bd71cb6333
3
+ metadata.gz: 62adfa9ee77f46c0ff4a0c5c7946a4ccf5cac96e
4
+ data.tar.gz: e0d7a90b32fb6b422e00667570d69a6dea33ab09
5
5
  SHA512:
6
- metadata.gz: c43df16d49a5928d0937a0869b342966c5302543791084b1914a137fd984a2f55e99bd7c1d2f335c76a84142951e2a223f15f7d2a7e4789fc25782e1d5d06a6c
7
- data.tar.gz: 86003e902a54018859e48c627e15027711b67aa2bd51f3c36c7963a6cd0a8ec4731089fb54c43c33583973334de569d2d5ca72e4341ff1491a33997e835a3916
6
+ metadata.gz: 149cc0dc4355b4dbe4e4c1dfd715edec2b692d62b2de8487dff55ee51a00e82a5fa832bf1ae1c1ee480ca99afaf5f6a447003dc1ac6db961cbc9e5d9c928c4dc
7
+ data.tar.gz: 7d7e020fff8866dd966835e5a260c70282b03a87314b204bc539fe8b77333e345bfb34d159b282bcf4be06710ec621765a77f5350200dd389baddc1cc1270b22
@@ -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 ) MonoGitProject.open( name, &block ); end
126
- def self.clone( name ) MonoGitHub.clone( name ); end
127
- def self.real_path( name) MonoFile.real_path( name ); end
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
-
@@ -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 = 0
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.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-25 00:00:00.000000000 Z
11
+ date: 2020-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gitti