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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mapa/utility.rb +3 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6c70d5e33ad211d98db649c5437cef3609e9c0c
4
- data.tar.gz: 69b0ff959c3dc7e587fb0b985c7db92c003c390c
3
+ metadata.gz: e4d86932a98596798390c0a343bdc072d3d7b766
4
+ data.tar.gz: 02e9f350970bea2925e8ffa91a6dda106f1a2e3b
5
5
  SHA512:
6
- metadata.gz: f6a4541a2520ff23880499cc0eaa363560b51d8ca28731f022666a32ada66aea1b1c59b8fb29d7dbf9550903a1a7f4031a6f2b80fd78f25a189dfb0f96244fe8
7
- data.tar.gz: 55187b41f0ee476f7b5fde8055045f1bcbd640fe46208b0920b5de27a296e5a8558e6d80881183608b6cf8778dd2dc3128d02c1cd0a7e090ff3e4421e934ffad
6
+ metadata.gz: 048764674bf35e832e846624cc57c5840e8607051fced6218ee48b66f87bed806de0ddcc148863404dcb9d1f79b73cc897f16400cf26b8714aab4d4093418bd8
7
+ data.tar.gz: a84361f11d70c5517803776e997bc169bfa7ffd5e2d26f703c7d8a1a49437417e395ae3e800144bd8a5ef871d737034b648380ef0be67c9e2caaa1973121d309
@@ -68,11 +68,11 @@ class Mapa::Utility
68
68
  end
69
69
 
70
70
  def pl
71
- e 'git branch | xargs git pull origin'
71
+ e 'git rev-parse --abbrev-ref HEAD | xargs git pull origin'
72
72
  end
73
73
 
74
74
  def ph
75
- e 'git branch | xargs git push origin'
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.7
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-13 00:00:00.000000000 Z
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