monos 0.2.0 → 0.2.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: 0ed5ea6cba9c516588dc37be7d6f5fb8d3b34b55
4
- data.tar.gz: ec4093fb26ef80b80a808d790b969cf8bc78994b
3
+ metadata.gz: 70c115bc6f5762608c35c75b05991cafa719485f
4
+ data.tar.gz: f6c91d659878aacc2f5902b0525acbbd27a52106
5
5
  SHA512:
6
- metadata.gz: 646e57745308c2b3863531a1972497f98a5d17d0af62eef68b27ca82fcd605f5212cf5025f106ce3f053133ccdd5743279a00b8177724ea5b45f9f67eaebea52
7
- data.tar.gz: 55b9207a778b841ec19885ccbbe035ea40a990eac5ea36189d02091e36ceae474d2b11b66ea24209b34ea001f1b1193f582371518644734cefd1bec0c61624b7
6
+ metadata.gz: d7c3067d9f56f3b4888017540746ae118dae15cf3c9a46a86d47f5489ac07246105feccf608203c23628f5c15c3a11ff71fca8816f13226aa9e31f21ca6b0d97
7
+ data.tar.gz: 2e19f6360434425c493ff6bbfbf72fef6b22e7e4d96ec7d99a5a28d7aa89c2599fb009bc8686ee725375b04bbce0ca11d4d9a5b6fed54838e73784feb4e9f479
@@ -107,14 +107,15 @@ class Git ## make Git a module - why? why not?
107
107
  # --full-tree makes the command run as if you were in the repo's root directory.
108
108
  # -r recurses into subdirectories. Combined with --full-tree, this gives you all committed, tracked files.
109
109
  # --name-only removes SHA / permission info for when you just want the file paths.
110
- # HEAD specifies which branch you want the list of tracked, committed files for.
110
+ # HEAD specifies which branch you want the list of tracked, committed files for.
111
111
  # You could change this to master or any other branch name, but HEAD is the commit you have checked out right now.
112
112
  #
113
113
  # see https://stackoverflow.com/questions/15606955/how-can-i-make-git-show-a-list-of-the-files-that-are-being-tracked
114
-
115
- def self.files( pathspec=nil ) ## e.g. git ls-files . or git ls-files *.rb or such
116
- cmd = 'git ls-files'
117
- cmd << " #{pathspec}" unless pathspec.nil? || pathspec.empty?
114
+ #
115
+ # was:
116
+
117
+ def self.files ## was: e.g. git ls-files . or git ls-files *.rb or such
118
+ cmd = 'git ls-tree --full-tree --name-only -r HEAD' # was: 'git ls-files'
118
119
  Shell.run( cmd )
119
120
  end
120
121
  ## add list_files or ls_files alias - why? why not?
@@ -199,7 +200,7 @@ class GitProject
199
200
  def add_all() Git.add_all; end
200
201
  def commit( message: ) Git.commit( message: message ); end
201
202
 
202
- def files( pathspec=nil ) Git.files( pathspec ); end
203
+ def files() Git.files; end
203
204
 
204
205
  end # class GitProject
205
206
 
@@ -1,3 +1,11 @@
1
+ ########
2
+ ##
3
+ # fix:
4
+ # move to sportdb/setup or sportdb/boot ?
5
+ # use module SportDb::Boot
6
+
7
+
8
+
1
9
  ##########
2
10
  # setup load path
3
11
  # lets you use environments
@@ -4,7 +4,7 @@
4
4
  module Mono
5
5
  MAJOR = 0 ## todo: namespace inside version or something - why? why not??
6
6
  MINOR = 2
7
- PATCH = 0
7
+ PATCH = 1
8
8
  VERSION = [MAJOR,MINOR,PATCH].join('.')
9
9
 
10
10
  def self.version
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gerald Bauer