gym 1.1.4 → 1.1.5

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: f6cdbe05fe12907327ee6956db38c39e6214166d
4
- data.tar.gz: 18cdece5ac0ddab2b3b82080dd6ecbf93e0edc6e
3
+ metadata.gz: 6fc8e8e8a7ee3ebdbf1f64d0049d3bd72b80887f
4
+ data.tar.gz: 8e9c37baf81c9ec9a8c111addc6b40b880f59173
5
5
  SHA512:
6
- metadata.gz: b6513656d2340b1c9b1d310e52d75cca3bf6d0131efcc883d8ec7a9d60b97c6a5d99800fc14bd4286124a9c01efac3416a4da04ea273474329efa073c3e6de22
7
- data.tar.gz: 1c2ddefa2f9988d31ecbba6959062fe90be223b097a66cba0d3917ed7c4f9f6eb6c0d27248025af885fe4283791f504f7efdbbee21c2c0869dfe551d02722981
6
+ metadata.gz: 616657e7f849eb720ad62a3432b04df184a26910a1fe8e971a73a32761c40b4ecbafce03cb0c66f414f47951e6e4d729295465593a699c51778f9521f3acf97d
7
+ data.tar.gz: 15eb6650d7711bab161c9e0d980e432e08f21ee1698cf4e374a8486d04be2e7154e7e1fc66a4f6c2236136097a7d4d99e764faccfdc900d5119b37616e330dc5
@@ -86,6 +86,7 @@ module Gym
86
86
  file_name = [Gym.config[:output_name], Time.now.strftime("%F %H.%M.%S")] # e.g. 2015-08-07 14.49.12
87
87
  Gym.cache[:archive_path] = File.join(build_path, file_name.join(" ") + ".xcarchive")
88
88
  end
89
+
89
90
  if File.extname(Gym.cache[:archive_path]) != ".xcarchive"
90
91
  Gym.cache[:archive_path] += ".xcarchive"
91
92
  end
data/lib/gym/manager.rb CHANGED
@@ -11,27 +11,7 @@ module Gym
11
11
  private
12
12
 
13
13
  def print_summary
14
- config = Gym.config
15
- rows = []
16
- rows << ["Project", config[:project]] if config[:project]
17
- rows << ["Workspace", config[:workspace]] if config[:workspace]
18
- rows << ["Scheme", config[:scheme]] if config[:scheme]
19
- rows << ["Configuration", config[:configuration]] if config[:configuration]
20
-
21
- if PackageCommandGenerator.generator == PackageCommandGeneratorXcode7
22
- rows << ["Export Method", config[:export_method]]
23
- end
24
-
25
- rows << ["Archive Path", config[:archive_path]] if config[:archive_path]
26
- rows << ["Platform", Gym.project.ios? ? "iOS" : "Mac"]
27
- rows << ["Xcode Path", Xcode.xcode_path.gsub("/Contents/Developer", "")]
28
-
29
- puts ""
30
- puts Terminal::Table.new(
31
- title: "Building Application 🚀".green,
32
- rows: rows
33
- )
34
- puts ""
14
+ FastlaneCore::PrintTable.print_values(config: Gym.config, hide_keys: [], title: "Summary for gym #{Gym::VERSION}")
35
15
  end
36
16
  end
37
17
  end
data/lib/gym/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Gym
2
- VERSION = "1.1.4"
2
+ VERSION = "1.1.5"
3
3
  DESCRIPTION = "Building your iOS apps has never been easier"
4
4
  end
@@ -61,7 +61,7 @@ module Gym
61
61
  files = []
62
62
  Zip::File.open(zipfile) do |zip_file|
63
63
  zip_file.each do |entry|
64
- files << entry.name if entry.name.match file_pattern
64
+ files << entry.name if entry.name.force_encoding("utf-8").match file_pattern
65
65
  end
66
66
  end
67
67
  files
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gym
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-30 00:00:00.000000000 Z
11
+ date: 2015-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane_core