mapa 0.0.7 → 0.0.8
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/mapa/utility.rb +3 -3
- 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: e4d86932a98596798390c0a343bdc072d3d7b766
|
4
|
+
data.tar.gz: 02e9f350970bea2925e8ffa91a6dda106f1a2e3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 048764674bf35e832e846624cc57c5840e8607051fced6218ee48b66f87bed806de0ddcc148863404dcb9d1f79b73cc897f16400cf26b8714aab4d4093418bd8
|
7
|
+
data.tar.gz: a84361f11d70c5517803776e997bc169bfa7ffd5e2d26f703c7d8a1a49437417e395ae3e800144bd8a5ef871d737034b648380ef0be67c9e2caaa1973121d309
|
data/lib/mapa/utility.rb
CHANGED
@@ -68,11 +68,11 @@ class Mapa::Utility
|
|
68
68
|
end
|
69
69
|
|
70
70
|
def pl
|
71
|
-
e 'git
|
71
|
+
e 'git rev-parse --abbrev-ref HEAD | xargs git pull origin'
|
72
72
|
end
|
73
73
|
|
74
74
|
def ph
|
75
|
-
e 'git
|
75
|
+
e 'git rev-parse --abbrev-ref HEAD | xargs git push origin'
|
76
76
|
end
|
77
77
|
|
78
78
|
def co(*options)
|
@@ -80,7 +80,7 @@ class Mapa::Utility
|
|
80
80
|
when '-b'
|
81
81
|
e "git checkout -b #{options[1]}"
|
82
82
|
else
|
83
|
-
e "git checkout #{options[1]} && git rev-parse --abbrev-ref HEAD"
|
83
|
+
e "git checkout '#{options[1]}' && git rev-parse --abbrev-ref HEAD"
|
84
84
|
end
|
85
85
|
end
|
86
86
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mapa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mapa Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A simple aliasing gem
|
14
14
|
email: tangposma@gmail.com
|