nixenvironment 0.0.141 → 0.0.142

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
  SHA256:
3
- metadata.gz: acf6d53aea7d6db73447ebfbbdca2da15e4a333d73bf13b2fa703f1452ab0820
4
- data.tar.gz: bff85b8e2ed3b16d7e75a463916766a0279b4a906193924bde2610a574e15550
3
+ metadata.gz: f10edee740c751de70dd39358a445f024c87141fa089baa8746844403b40ec18
4
+ data.tar.gz: b0e34f20ecdca588c9a03c41050c704d98db3165c4d1ce41c1e35cda7aa1f257
5
5
  SHA512:
6
- metadata.gz: 51d5f55ea46ff25dc6d9f6c83d2f4d7dfcc2ec7864a2e11909d4ece4006e8d35e07d2966b2f4181bc073f0c4fcc29ba194ee118a094f6b47b185ae8295d8c2c1
7
- data.tar.gz: 826568a6ba3c2332a2e4ff82075edcef06b7a837fda2b32eae4cacf419ee0845fc081150e22314ddf2ff5d01b1e65e4dc5d44163c3585b622a0664247aa42699
6
+ metadata.gz: 5a456b5b7a09013300f702d8089b00c29de7b6ef61782efd052e989b60c5cdb0c79be517b3f5037984498ff3d669c2e7e7e8baf1984590878d269c5f5a6c6c9c
7
+ data.tar.gz: '0109a659a62cc31796b1b28d525a8dd6fdd5fa721d13e6c7cb3ed4ffac57de392fefc303def58692eb739acc40bd1a28283199ae67477d069e35bafe5e508769'
data/bin/nixenvironment CHANGED
@@ -97,7 +97,6 @@ command :build do |c|
97
97
  $build_number = options.build_number
98
98
 
99
99
  if is_unity_platform
100
- ENV['UNITY_BUILD'] = 'UNITY_BUILD'
101
100
  unity_path = ENV[options.unity_path] || options.unity_path
102
101
  unity_build(options.config, unity_platform, unity_path, options.development_build, options.connect_profiler,
103
102
  options.keystore_path, options.keystore_password, options.key_alias_name, options.key_alias_password)
@@ -14,8 +14,8 @@ module Nixenvironment
14
14
  end
15
15
 
16
16
  def self.execute(cmd, opts = [], silent = false)
17
- input = "#{@binary_name}"
18
- input << " #{cmd}" if cmd.present?
17
+ input = "set -euo pipefail; #{@binary_name}"
18
+ input << " #{cmd}" if cmd.present?
19
19
  input << " #{opts.join(' ')}" if opts.present?
20
20
  output = ''
21
21
 
@@ -1,26 +1,25 @@
1
- require_relative 'CFPropertyList228/lib/cfpropertylist'
2
- require_relative 'CFPropertyList228/lib/cfpropertylist/rbCFPropertyList'
1
+ require 'cfpropertylist'
3
2
 
4
3
  module Nixenvironment
5
4
  class Plist
6
- FORMAT_BINARY = CFPropertyList228::List::FORMAT_BINARY
7
- FORMAT_XML = CFPropertyList228::List::FORMAT_XML
8
- # FORMAT_PLAIN = CFPropertyList228::List::FORMAT_PLAIN
9
- FORMAT_AUTO = CFPropertyList228::List::FORMAT_AUTO
5
+ FORMAT_BINARY = CFPropertyList::List::FORMAT_BINARY
6
+ FORMAT_XML = CFPropertyList::List::FORMAT_XML
7
+ # FORMAT_PLAIN = CFPropertyList::List::FORMAT_PLAIN
8
+ FORMAT_AUTO = CFPropertyList::List::FORMAT_AUTO
10
9
 
11
10
  def self.from_file(path)
12
- new(CFPropertyList228::List.new(:file => path))
11
+ new(CFPropertyList::List.new(:file => path))
13
12
  end
14
13
 
15
14
  def self.from_hash(hash)
16
- plist = CFPropertyList228::List.new
17
- plist.value = CFPropertyList228.guess(hash)
15
+ plist = CFPropertyList::List.new
16
+ plist.value = CFPropertyList.guess(hash)
18
17
  plist.format = FORMAT_XML
19
18
  new(plist)
20
19
  end
21
20
 
22
21
  def self.from_str(str)
23
- plist = CFPropertyList228::List.new
22
+ plist = CFPropertyList::List.new
24
23
  plist.load_str(str)
25
24
  new(plist)
26
25
  end
@@ -28,7 +27,7 @@ module Nixenvironment
28
27
  def initialize(plist)
29
28
  @plist = plist
30
29
  @path = @plist.filename
31
- @data = CFPropertyList228.native_types(@plist.value)
30
+ @data = CFPropertyList.native_types(@plist.value)
32
31
  end
33
32
 
34
33
  def [](key)
@@ -37,7 +36,7 @@ module Nixenvironment
37
36
 
38
37
  def []=(key, value)
39
38
  @data[key] = value
40
- @plist.value = CFPropertyList228.guess(@data, :convert_unknown_to_string => true)
39
+ @plist.value = CFPropertyList.guess(@data, :convert_unknown_to_string => true)
41
40
  end
42
41
 
43
42
  def save(path = nil, format = nil, formatted = true)
@@ -1,3 +1,3 @@
1
1
  module Nixenvironment
2
- VERSION = '0.0.141'
2
+ VERSION = '0.0.142'
3
3
  end
@@ -48,7 +48,7 @@ module Nixenvironment
48
48
  end
49
49
 
50
50
  build_args << xc_args if xc_args.present?
51
- build_args << '| tee xcodebuild.log | xcpretty -c && cat xcodebuild.log && rm xcodebuild.log && exit ${PIPESTATUS[0]}'
51
+ build_args << '| xcpretty -c && exit ${PIPESTATUS[0]}'
52
52
 
53
53
  execute(nil, build_args)
54
54
  end
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
31
31
  spec.add_dependency 'xcodeproj'
32
32
  spec.add_dependency 'commander'
33
33
  spec.add_dependency 'fuzzy_match'
34
- spec.add_dependency 'fastlane_core'
34
+ spec.add_dependency 'fastlane'
35
35
  spec.add_dependency 'slather', '~> 2.4.2'
36
36
 
37
37
  # Development only
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nixenvironment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.141
4
+ version: 0.0.142
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-02-13 00:00:00.000000000 Z
12
+ date: 2018-11-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cocoapods
@@ -180,7 +180,7 @@ dependencies:
180
180
  - !ruby/object:Gem::Version
181
181
  version: '0'
182
182
  - !ruby/object:Gem::Dependency
183
- name: fastlane_core
183
+ name: fastlane
184
184
  requirement: !ruby/object:Gem::Requirement
185
185
  requirements:
186
186
  - - ">="
@@ -337,7 +337,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
337
337
  version: '0'
338
338
  requirements: []
339
339
  rubyforge_project:
340
- rubygems_version: 2.7.4
340
+ rubygems_version: 2.7.7
341
341
  signing_key:
342
342
  specification_version: 4
343
343
  summary: NIX projects build and deploy utility