high_five 0.2.2 → 0.2.3
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 +8 -8
- data/lib/high_five/ios_helper.rb +3 -2
- data/lib/high_five/thor/tasks/ios_tasks.rb +2 -1
- data/lib/high_five/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTAyMzUzMWYxNDFiMzc0NzEzMzQyNTQ0ZThjY2MwMGMzY2EzZTQwZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjZjMmY4N2Q1ZTdlZjkwYzBiMDAzMjFiN2RlY2RmMzg4MDJlZjJhMg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZGNlY2QyZDEwNDRiMzJiYjRjZDM4ZjY4YmZkZWZmNDA1YWExN2M5ZTJhMWQ3
|
10
|
+
MGQ0M2Y4ZjYxNGM1ZjVmNDc4NTM5NDc1YzYyYjYyMmQ2ODRlNDUxZjQ3YmJk
|
11
|
+
NWQ2Y2QzMjVhZjU1YmZhOWFmODZiNTMwODNhODNkOTZkM2QzZDY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YzYyZjk0YzA2MTQ3ZmE5ZDA4NDBmOGJmY2IwZGI4ZTdkNjJlNTUwMjM0NDQ2
|
14
|
+
NzNjNDI3OTQyYTMwNTFjZWNmYzhlNmQyYTc2Njg5OGYzZWRjMzMzYjJmY2Rm
|
15
|
+
MTM4NmMyYmQxNGQwYTU5YWE1MjQ1YWEwMTFkY2U0YjI5NzMzNDI=
|
data/lib/high_five/ios_helper.rb
CHANGED
@@ -12,9 +12,10 @@ module HighFive
|
|
12
12
|
nil
|
13
13
|
end
|
14
14
|
|
15
|
-
def info_plist_path
|
15
|
+
def info_plist_path(target=nil)
|
16
16
|
root_dir = File.dirname(xcodeproj_path)
|
17
|
-
|
17
|
+
target = "*" if target.nil?
|
18
|
+
info = Dir["#{root_dir}/**/#{target}-Info.plist"].first
|
18
19
|
raise "Couldn't find infoplist" if info.nil?
|
19
20
|
return info
|
20
21
|
end
|
@@ -12,8 +12,9 @@ module HighFive
|
|
12
12
|
desc "set_version", "build the debug apk via ant debug"
|
13
13
|
method_option :version, :aliases => "-v", :desc => "Set main version"
|
14
14
|
method_option :build_number, :aliases => '-b', :desc => "set build number"
|
15
|
+
method_option :target, :aliases => '-t', :desc => "Use a specific target (i.e. <Target>.plist"
|
15
16
|
def set_version
|
16
|
-
info = info_plist_path
|
17
|
+
info = info_plist_path(options[:target])
|
17
18
|
puts "Using #{info}"
|
18
19
|
plist = Plist::parse_xml(info)
|
19
20
|
|
data/lib/high_five/version.rb
CHANGED
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.
|
4
|
+
version: 0.2.3
|
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-04-
|
11
|
+
date: 2014-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|