high_five 0.2.8 → 0.2.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 697b43cd0c99875dfad86b3c5fc37a17aa23f6bc
4
- data.tar.gz: 30f7fd136bf0957cd7176b1447cdd094ab03527b
3
+ metadata.gz: 52ca3beb07e85c1e6b388a810ab27f4a7fdee98f
4
+ data.tar.gz: 55e815ed370411950efa53c1f65e7e31c1238e88
5
5
  SHA512:
6
- metadata.gz: 12879143bfd2679e67115533ef97fd19ae5d7c99f71a0b53536be4ad8e8f072da799c5bfeb2821ba2b592042ce03f4dc4b63cb9dceb1d826e1843429ffbb5727
7
- data.tar.gz: ed566404e0909c2650a83a859ea8fb2b4659e944ed0915f9301b295646977123b0424f05db915118a610a6bfd8b38a44f5db2e55b1054049ea605e5c96fbaf44
6
+ metadata.gz: 38b1f37ae987582f39d4bfab998abb3d1d6b8919c906bc26ec93f2dc3f71ea2cbad90d40fb6a1f0e794f3f5dd7b500c4638ed9a5aaabb825736e2b51427ee928
7
+ data.tar.gz: 16d7afbc75833f003bdc59d782bffb3f1e8d4def24d57173ef2b8569cbe85a8afae543f3b62d9174c904b7e72991b078329c7a6aff50756a512025ca858938ad
@@ -30,9 +30,11 @@ module HighFive
30
30
  def info_plist_path(target=nil)
31
31
  root_dir = ios_path
32
32
  target = "*" if target.nil?
33
- info = Dir["#{root_dir}/**/#{target}-Info.plist"].first
34
- raise "Couldn't find infoplist" if info.nil?
35
- return info
33
+ Dir["#{root_dir}/**/#{target}-Info.plist"].each do |path|
34
+ next if path =~ /\/build\//
35
+ return path
36
+ end
37
+ raise "Couldn't find infoplist in #{root_dir}"
36
38
  end
37
39
 
38
40
  def xcodeproj_path
@@ -29,7 +29,7 @@ module HighFive
29
29
  File.open(plist_path, 'w') do |f|
30
30
  f.write(Plist::Emit.dump(plist))
31
31
  end
32
- puts "Wrote Info.plist succesfully"
32
+ puts "Wrote #{plist_path} succesfully"
33
33
  end
34
34
 
35
35
  desc "set_icon", "Generate app icons from base png image"
@@ -1,3 +1,3 @@
1
1
  module HighFive
2
- VERSION = "0.2.8"
2
+ VERSION = "0.2.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: high_five
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Samson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-31 00:00:00.000000000 Z
11
+ date: 2014-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json