mylib 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/mylib.rb +3 -3
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53b379d703e35c1db1e101f79ccd92e9a831eb694ad4e2def3c53bb2a915ebe3
|
4
|
+
data.tar.gz: bf861ac2b171e3da015d67e30e1544b3036a8949397ccd3f7cf007ef739e2f68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bda3a5c9d40198900d3602a5afafc173114fa0e970f7be65c360079742ffe0a47a707c756d879429562331b82a5dcd7f27d2f5d9d9c55c97fdba664271d84003
|
7
|
+
data.tar.gz: 646c86fada3683b1ab00888c0cab676e90955160b35d1858204e27bc21cc392f21eebc1cd812d4595102aca68c337a244dd7220e4d163f87a86097165ff25d00
|
data/lib/mylib.rb
CHANGED
@@ -3,7 +3,7 @@ require 'open3'
|
|
3
3
|
|
4
4
|
class MyLib < Thor
|
5
5
|
|
6
|
-
desc '
|
6
|
+
desc 'check status of libs', 'get git status for all development libs'
|
7
7
|
def status
|
8
8
|
# system 'find . -type d -name .git -exec git --git-dir={} --work-tree=$PWD/{}/.. status \;'
|
9
9
|
Open3.popen3('find . -type d -name .git -exec git --git-dir={} --work-tree=$PWD/{}/.. status \;') do | stdin, stdout, stderr, wait_thr|
|
@@ -12,7 +12,7 @@ class MyLib < Thor
|
|
12
12
|
end
|
13
13
|
end
|
14
14
|
|
15
|
-
desc '
|
15
|
+
desc 'pull libs', 'push all development libs, components, pods...'
|
16
16
|
def pull
|
17
17
|
Open3.popen3('find . -type d -name .git -exec git --git-dir={} --work-tree=$PWD/{}/.. pull \;') do | stdin, stdout, stderr, wait_thr|
|
18
18
|
puts stdout.read
|
@@ -20,7 +20,7 @@ class MyLib < Thor
|
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
23
|
-
desc '
|
23
|
+
desc 'push libs', 'push all development libs, components, pods...'
|
24
24
|
def push
|
25
25
|
Open3.popen3('find . -type d -name .git -exec git --git-dir={} --work-tree=$PWD/{}/.. push \;') do | stdin, stdout, stderr, wait_thr|
|
26
26
|
puts stdout.read
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mylib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wesley Araujo
|
@@ -9,7 +9,21 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2020-02-10 00:00:00.000000000 Z
|
12
|
-
dependencies:
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: thor
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
description: Manages several components, libs, pods...
|
14
28
|
email: wparaujo7@gmail.com
|
15
29
|
executables:
|