nixenvironment 0.0.144 → 0.0.145

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
  SHA256:
3
- metadata.gz: 3781387745b971db43cd5883f9637ad0cc4d02696a52d3d8f394b1bc6a8dfb47
4
- data.tar.gz: a3e0f382c01bb9d2703c9a7b55b471b65593a30b1d6541b7106a7f0aa584e4a0
3
+ metadata.gz: 79cd87bb48e3ef8665f43397b80e8aa54b01bd13c17834046ab165a907efb7d3
4
+ data.tar.gz: 69878af0325ba9a1ab3a9036e82e73c244bcb3e3a4b5ac8240cf7e8a75a842f0
5
5
  SHA512:
6
- metadata.gz: e3dc4877a10611e959ee7eca3720458fb144b13d41b5cc92bbc6829673d967554482a1d9d1d23eb8a2f1add22a5328cf4799ea66583da8462cd5d1bd68fc5492
7
- data.tar.gz: 1a9caf25ac096a3827c37eb9f697b10cb48e6a46b57f083a2e8bd6c1886e8c65c4b5be65fb0a58c6cbc8f488df4f9027fda01e858aa077bf2f32e0559e23d805
6
+ metadata.gz: 7a9964f19acf5c7f95cb833de954691a2cb11fca10066ed6f3bed14ffd762f5c4f99d3bf8b232499941e54ef4c18f5f32e2b323fe1708127eeaf185484e82ae1
7
+ data.tar.gz: 7a20248a1032e9faf69093dbdd955ac557a77433b75d678d4cfdfcee745dd4231ce0cf424ba30c7c6ac9129a97e65949155b4b3dbe20542cfed47525d6705209
data/bin/nixenvironment CHANGED
@@ -60,6 +60,7 @@ command :build do |c|
60
60
  c.option '--workspace VALUE', String, 'Workspace name'
61
61
  c.option '--scheme VALUE', String, 'Scheme name'
62
62
  c.option '--sdk VALUE', String, 'SDK name'
63
+
63
64
  c.option '--config NAME', String, 'Select configuration'
64
65
  c.option '--xcconfig PATH', String, 'Specify the path to .xcconfig file'
65
66
  c.option '--ipa TYPES', String, 'Select sign (device, resigned_device, resigned_adhoc, resigned_appstore)'
@@ -14,8 +14,8 @@ module Nixenvironment
14
14
  end
15
15
 
16
16
  def self.execute(cmd, opts = [], silent = false)
17
- input = "set -euo pipefail; #{@binary_name}"
18
- input << " #{cmd}" if cmd.present?
17
+ input = "#{@binary_name}"
18
+ input << " #{cmd}" if cmd.present?
19
19
  input << " #{opts.join(' ')}" if opts.present?
20
20
  output = ''
21
21
 
@@ -1,25 +1,26 @@
1
- require 'cfpropertylist'
1
+ require_relative 'CFPropertyList228/lib/cfpropertylist'
2
+ require_relative 'CFPropertyList228/lib/cfpropertylist/rbCFPropertyList'
2
3
 
3
4
  module Nixenvironment
4
5
  class Plist
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
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
9
10
 
10
11
  def self.from_file(path)
11
- new(CFPropertyList::List.new(:file => path))
12
+ new(CFPropertyList228::List.new(:file => path))
12
13
  end
13
14
 
14
15
  def self.from_hash(hash)
15
- plist = CFPropertyList::List.new
16
- plist.value = CFPropertyList.guess(hash)
16
+ plist = CFPropertyList228::List.new
17
+ plist.value = CFPropertyList228.guess(hash)
17
18
  plist.format = FORMAT_XML
18
19
  new(plist)
19
20
  end
20
21
 
21
22
  def self.from_str(str)
22
- plist = CFPropertyList::List.new
23
+ plist = CFPropertyList228::List.new
23
24
  plist.load_str(str)
24
25
  new(plist)
25
26
  end
@@ -27,7 +28,7 @@ module Nixenvironment
27
28
  def initialize(plist)
28
29
  @plist = plist
29
30
  @path = @plist.filename
30
- @data = CFPropertyList.native_types(@plist.value)
31
+ @data = CFPropertyList228.native_types(@plist.value)
31
32
  end
32
33
 
33
34
  def [](key)
@@ -36,7 +37,7 @@ module Nixenvironment
36
37
 
37
38
  def []=(key, value)
38
39
  @data[key] = value
39
- @plist.value = CFPropertyList.guess(@data, :convert_unknown_to_string => true)
40
+ @plist.value = CFPropertyList228.guess(@data, :convert_unknown_to_string => true)
40
41
  end
41
42
 
42
43
  def save(path = nil, format = nil, formatted = true)
@@ -1,3 +1,3 @@
1
1
  module Nixenvironment
2
- VERSION = '0.0.144'
2
+ VERSION = '0.0.145'
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 << '| xcpretty -c && exit ${PIPESTATUS[0]}'
51
+ build_args << '| xcpretty -c; exit ${PIPESTATUS[0]}'
52
52
 
53
53
  execute(nil, build_args)
54
54
  end
@@ -24,13 +24,14 @@ Gem::Specification.new do |spec|
24
24
  spec.add_dependency 'ocunit2junit'
25
25
  spec.add_dependency 'terminal-table'
26
26
  spec.add_dependency 'colored'
27
+ spec.add_dependency 'pilot'
27
28
  spec.add_dependency 'nokogiri'
28
29
  spec.add_dependency 'net-scp'
29
30
  spec.add_dependency 'activesupport'
30
31
  spec.add_dependency 'xcodeproj'
31
32
  spec.add_dependency 'commander'
32
33
  spec.add_dependency 'fuzzy_match'
33
- spec.add_dependency 'fastlane'
34
+ spec.add_dependency 'fastlane_core'
34
35
  spec.add_dependency 'slather', '~> 2.4.2'
35
36
 
36
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.144
4
+ version: 0.0.145
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen
@@ -81,6 +81,20 @@ dependencies:
81
81
  - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
+ - !ruby/object:Gem::Dependency
85
+ name: pilot
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ type: :runtime
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
84
98
  - !ruby/object:Gem::Dependency
85
99
  name: nokogiri
86
100
  requirement: !ruby/object:Gem::Requirement
@@ -166,7 +180,7 @@ dependencies:
166
180
  - !ruby/object:Gem::Version
167
181
  version: '0'
168
182
  - !ruby/object:Gem::Dependency
169
- name: fastlane
183
+ name: fastlane_core
170
184
  requirement: !ruby/object:Gem::Requirement
171
185
  requirements:
172
186
  - - ">="