yorobot 1.0.0 → 1.0.5

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: 744bf1d16ec92d8d24fdface05eaa82468f0cd06
4
- data.tar.gz: 955a0e8e8efdef32af7b704fe0fe68743f249155
3
+ metadata.gz: 4931ab505816c670703c70436f67ecd4de97c760
4
+ data.tar.gz: 123dfa5ee68956938511b39605ec8af3dd170b9b
5
5
  SHA512:
6
- metadata.gz: 97eb73654cddeaecc7e967ba2e61ef71cdd476fe432696297e4aa9a36c918ae6ee3b14a37fb88d6016c25d407bfed99f89a8f04e95eb0a513b2faaeec0a8c0f4
7
- data.tar.gz: df1022730ee3ab85a73ec362f91ecd8ef3d5ca7258807ebb96335946558d1dd7fb37d5efafc52191b7cf7e80162e19cc9f19276f1f694fcbb0a3ba1a0aa5af15
6
+ metadata.gz: 4df1fc46880e69e507cc3c8ebac1260d79f87c559833dd2cc420f522f39926feedf1b591b59ce6846b8fd51bab4b7ddb50166363dd3e3f4b594b9634c3b67467
7
+ data.tar.gz: c5177acd3ee61b6059d30c4016a051ae84a1e9d7feb3bced07ea41f55882f18a6d384325aba712a5f3012e3a5b1168fb450bd5122f82a8ed9ccaf9bec0b11fe9
data/Rakefile CHANGED
@@ -18,9 +18,11 @@ Hoe.spec 'yorobot' do
18
18
  self.history_file = 'CHANGELOG.md'
19
19
 
20
20
  self.extra_deps = [
21
- ['commands-lite', '>= 0.1.0'],
22
- ['gitti', '>= 0.5.0'],
21
+ ['flow-lite', '>= 1.0.1'],
22
+ ['gitti', '>= 0.6.1'],
23
23
  ['hubba', '>= 1.0.0'],
24
+ ['hubba-reports', '>= 1.0.1'],
25
+ ['monos', '>= 1.0.2'],
24
26
  ]
25
27
 
26
28
  self.licenses = ['Public Domain']
@@ -8,6 +8,7 @@ require 'flow-lite'
8
8
  # add via gitti & hubba
9
9
  require 'gitti'
10
10
  require 'hubba'
11
+ require 'hubba/reports'
11
12
  require 'mono'
12
13
 
13
14
 
@@ -35,7 +36,7 @@ class Base
35
36
  git config --global user.email "gerald.bauer+yorobot@gmail.com"
36
37
  git config -l --show-origin
37
38
  =end
38
- def setup
39
+ def step_setup
39
40
  ##############
40
41
  ## setup ssh
41
42
 
@@ -81,17 +82,43 @@ class Base
81
82
 
82
83
  Computer::Shell.run( %Q{git config -l --show-origin} )
83
84
  end
84
- alias_method :step_setup, :setup
85
85
 
86
86
  end # class Base
87
87
  end # module Flow
88
88
 
89
89
 
90
90
 
91
+ module Yorobot
92
+ class Tool
93
+ def self.main( args=ARGV )
91
94
 
95
+ ## setup/check mono root
96
+ puts "[flow] pwd: #{Dir.pwd}"
92
97
 
93
- module Yorobot
94
- Tool = ::Flow::Tool
98
+
99
+ ## quick hack:
100
+ ## if /sites does not exists
101
+ ## assume running with GitHub Actions or such
102
+ ## and use working dir as root? or change to home dir ~/ or ~/mono - why? why not?
103
+ ##
104
+ ## in the future use some -e/-env(ironemt) settings and scripts - why? why not?
105
+ if Dir.exist?( 'C:/Sites' )
106
+ Mono.root = 'C:/Sites' ## use local (dev) setup for testing flow steps
107
+
108
+ puts "[flow] assume local (dev) setup for testing"
109
+ else
110
+ Mono.root = Dir.pwd
111
+
112
+ ## for debugging print / walk mono (source) tree
113
+ Mono.walk
114
+ end
115
+ puts "[flow] Mono.root: #{Mono.root}"
116
+
117
+
118
+ ## pass along to "standard" flow engine
119
+ ::Flow::Tool.main( args )
120
+ end
121
+ end # class Tool
95
122
  end # module Yorobot
96
123
 
97
124
 
@@ -6,7 +6,7 @@
6
6
  module YorobotCore ## todo/check: rename GittiBase or GittiMeta or such - why? why not?
7
7
  MAJOR = 1 ## todo: namespace inside version or something - why? why not??
8
8
  MINOR = 0
9
- PATCH = 0
9
+ PATCH = 5
10
10
  VERSION = [MAJOR,MINOR,PATCH].join('.')
11
11
 
12
12
  def self.version
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yorobot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.5
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-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: commands-lite
14
+ name: flow-lite
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.1.0
19
+ version: 1.0.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 0.1.0
26
+ version: 1.0.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gitti
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.5.0
33
+ version: 0.6.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 0.5.0
40
+ version: 0.6.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: hubba
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -52,6 +52,34 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: 1.0.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: hubba-reports
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 1.0.1
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: 1.0.1
69
+ - !ruby/object:Gem::Dependency
70
+ name: monos
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: 1.0.2
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: 1.0.2
55
83
  - !ruby/object:Gem::Dependency
56
84
  name: rdoc
57
85
  requirement: !ruby/object:Gem::Requirement