high_five 0.3.7 → 0.3.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3559bbd38b7da53591176f3676475cb47df13f45
4
- data.tar.gz: b42f12b127fdfd4f60aeaa7b352400a18ced4905
3
+ metadata.gz: b25bb9aad3d751131146290ee0d0069411cc4ea4
4
+ data.tar.gz: fede843cbfae8a8631f2a6f01b330c0d4d09f3c2
5
5
  SHA512:
6
- metadata.gz: fd981b4fe75b8078e67d2814522eba8e78e181250cfd43d420b51f67a8859bee4c298a317a961a47d4d09aca2d6cc7e2ac1d21426faf863fb343ad5d5c885560
7
- data.tar.gz: 026f0962b1056c590ea61be6ff4ca70ad1064e2ab6214f41fb66e23b204ec48af2b356dd791ad0c6324b6f7b22316e736b51ecd6961b76373a37d91a2fbae976
6
+ metadata.gz: 71b214b0bfaacc387e7766de7074bda21df73d3df48d9757e06fcfb6c772a70a5e1dc7e1481c43a62c3de65326dba673875c3a685b8785344b2e9f67b4b83d4b
7
+ data.tar.gz: fc0bf8bc51fde5fc0a73102b108665d16dccfc77e9f2187354c691cf37cc2a8640ba2faf67c2821fae4fbecfdf7bf6c88a896f48470d899743182b948a35c00b
@@ -76,8 +76,13 @@ module HighFive
76
76
  android_name = HighFive::AndroidHelper.project_name_from_build_xml("#{android_path}/build.xml")
77
77
 
78
78
  if @output_file_name
79
- say "copying final build #{android_path}/bin/#{android_name}-release.apk -> #{android_path}/bin/#{@output_file_name}.apk"
80
- FileUtils.cp("#{android_path}/bin/#{android_name}-release.apk", "#{android_path}/bin/#{@output_file_name}.apk")
79
+ if File.exists?(gradle_file)
80
+ say "copying final build #{android_path}/build/outputs/apk/android-release.apk -> #{android_path}/build/outputs/apk/#{@output_file_name}.apk"
81
+ FileUtils.cp("#{android_path}/build/outputs/apk/android-release.apk", "#{android_path}/build/outputs/apk/#{@output_file_name}.apk")
82
+ else
83
+ say "copying final build #{android_path}/bin/#{android_name}-release.apk -> #{android_path}/bin/#{@output_file_name}.apk"
84
+ FileUtils.cp("#{android_path}/bin/#{android_name}-release.apk", "#{android_path}/bin/#{@output_file_name}.apk")
85
+ end
81
86
  end
82
87
  end
83
88
 
@@ -1,3 +1,3 @@
1
1
  module HighFive
2
- VERSION = "0.3.7"
2
+ VERSION = "0.3.8"
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.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Samson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-16 00:00:00.000000000 Z
11
+ date: 2015-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json