xcmv 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/bin/xcmv +3 -1
  3. data/lib/xcmv.rb +1 -1
  4. data/lib/xcmv/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cad4ac64102796b11f832f6ae33269160f00230bc08a39477d63d903d45efc8a
4
- data.tar.gz: 58501f1928b283c087bdfd85962c5a8804de70b0c32317522e4c7ab53b353c72
3
+ metadata.gz: 2ec7f0a82d4f04cfe7fa5139d44b6a76956bf33a5c1f956dbe57a56e4d63d1b7
4
+ data.tar.gz: 4c3daaf0db05a66544caf04edb17b812e668c93ece61783c24f485316e46154b
5
5
  SHA512:
6
- metadata.gz: fcdf80f2586e3512cad056f0394890aeefa868448653ed0ffe674e8e346b8b7eea2041471da3e176df579ce613b8f524260e52873b18898c70ab2fd9f1a19853
7
- data.tar.gz: 6d0e372631852c9fe01fb3839ce4be0504ba1e019076f8cc134e8e8c472f4dd739bd9ee4ed907c67587da032935387a06aaf51c0830ccac0c1e8915b86ff1f11
6
+ metadata.gz: 4a60864ae7c5a0e86b707a1227818e83f8e899340839dca9a7014424d57583920b0aa07d441e2eca6fa73c6b3a6969d72b663cc643360a93131560d57f3fd509
7
+ data.tar.gz: 413984587827cedc8350cd9179fdd3a23392a162896ba44ec624d9fe64fc577421a13d452fa81b7fbf1b63acba1319c942203f7af4911378ecafe036c7fd35f8
data/bin/xcmv CHANGED
@@ -4,7 +4,9 @@
4
4
  require 'optparse'
5
5
  require 'xcmv'
6
6
 
7
- options = {}
7
+ options = {
8
+ :git => system("git rev-parse")
9
+ }
8
10
  parser = OptionParser.new do |opts|
9
11
  opts.banner = "Usage: xcmv src_file [...] dst_file"
10
12
 
@@ -26,7 +26,7 @@ module XcodeMove
26
26
  dst.add_to_targets(options[:targets], options[:headers])
27
27
 
28
28
  # Move the actual file
29
- if options[:git] || system("git rev-parse")
29
+ if options[:git]
30
30
  mover = "git mv"
31
31
  else
32
32
  mover = "mv"
@@ -1,4 +1,4 @@
1
1
 
2
2
  module XcodeMove
3
- VERSION = '0.1.3'
3
+ VERSION = '0.1.4'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xcmv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elliott Williams