xcode-install 2.6.4 → 2.7.0
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 +4 -4
- data/.github/workflows/ci.yml +42 -0
- data/.gitignore +1 -0
- data/README.md +13 -3
- data/XCODE_VERSION.md +49 -0
- data/lib/xcode/install.rb +104 -51
- data/lib/xcode/install/install.rb +6 -3
- data/lib/xcode/install/version.rb +1 -1
- data/spec/fixtures/xcode.json +30 -1
- data/spec/fixtures/xcode_63.json +28 -44
- data/spec/fixtures/yolo.json +1 -1
- data/spec/install_spec.rb +5 -5
- data/spec/installer_spec.rb +109 -104
- data/spec/json_spec.rb +14 -4
- data/spec/list_spec.rb +32 -3
- data/xcode-install.gemspec +2 -2
- metadata +19 -13
- data/.circleci/config.yml +0 -33
- data/.github/workflows/e2e.yml +0 -47
data/xcode-install.gemspec
CHANGED
@@ -27,6 +27,6 @@ Gem::Specification.new do |spec|
|
|
27
27
|
# contains spaceship, which is used for auth and dev portal interactions
|
28
28
|
spec.add_dependency 'fastlane', '>= 2.1.0', '< 3.0.0'
|
29
29
|
|
30
|
-
spec.add_development_dependency 'bundler', '
|
31
|
-
spec.add_development_dependency 'rake', '
|
30
|
+
spec.add_development_dependency 'bundler', '>= 2.0.0', '< 3.0.0'
|
31
|
+
spec.add_development_dependency 'rake', '>= 12.3.3'
|
32
32
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xcode-install
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boris Bügling
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: claide
|
@@ -54,30 +54,36 @@ dependencies:
|
|
54
54
|
name: bundler
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- - "
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: 2.0.0
|
60
|
+
- - "<"
|
58
61
|
- !ruby/object:Gem::Version
|
59
|
-
version:
|
62
|
+
version: 3.0.0
|
60
63
|
type: :development
|
61
64
|
prerelease: false
|
62
65
|
version_requirements: !ruby/object:Gem::Requirement
|
63
66
|
requirements:
|
64
|
-
- - "
|
67
|
+
- - ">="
|
65
68
|
- !ruby/object:Gem::Version
|
66
|
-
version:
|
69
|
+
version: 2.0.0
|
70
|
+
- - "<"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: 3.0.0
|
67
73
|
- !ruby/object:Gem::Dependency
|
68
74
|
name: rake
|
69
75
|
requirement: !ruby/object:Gem::Requirement
|
70
76
|
requirements:
|
71
|
-
- - "
|
77
|
+
- - ">="
|
72
78
|
- !ruby/object:Gem::Version
|
73
|
-
version:
|
79
|
+
version: 12.3.3
|
74
80
|
type: :development
|
75
81
|
prerelease: false
|
76
82
|
version_requirements: !ruby/object:Gem::Requirement
|
77
83
|
requirements:
|
78
|
-
- - "
|
84
|
+
- - ">="
|
79
85
|
- !ruby/object:Gem::Version
|
80
|
-
version:
|
86
|
+
version: 12.3.3
|
81
87
|
description: Download, install and upgrade Xcodes with ease.
|
82
88
|
email:
|
83
89
|
- boris@icculus.org
|
@@ -87,9 +93,8 @@ executables:
|
|
87
93
|
extensions: []
|
88
94
|
extra_rdoc_files: []
|
89
95
|
files:
|
90
|
-
- ".circleci/config.yml"
|
91
96
|
- ".gitattributes"
|
92
|
-
- ".github/workflows/
|
97
|
+
- ".github/workflows/ci.yml"
|
93
98
|
- ".gitignore"
|
94
99
|
- ".rubocop.yml"
|
95
100
|
- ".rubocop_todo.yml"
|
@@ -97,6 +102,7 @@ files:
|
|
97
102
|
- LICENSE
|
98
103
|
- README.md
|
99
104
|
- Rakefile
|
105
|
+
- XCODE_VERSION.md
|
100
106
|
- bin/xcversion
|
101
107
|
- "bin/\U0001F389"
|
102
108
|
- lib/xcode/install.rb
|
@@ -160,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
166
|
- !ruby/object:Gem::Version
|
161
167
|
version: '0'
|
162
168
|
requirements: []
|
163
|
-
rubygems_version: 3.1.
|
169
|
+
rubygems_version: 3.1.4
|
164
170
|
signing_key:
|
165
171
|
specification_version: 4
|
166
172
|
summary: Xcode installation manager.
|
data/.circleci/config.yml
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
version: 2
|
2
|
-
|
3
|
-
jobs:
|
4
|
-
build:
|
5
|
-
macos:
|
6
|
-
xcode: "9.0"
|
7
|
-
working_directory: ~/xcode-install
|
8
|
-
shell: /bin/bash --login -eo pipefail
|
9
|
-
steps:
|
10
|
-
- checkout
|
11
|
-
|
12
|
-
# See Also: https://discuss.circleci.com/t/circleci-2-0-ios-error-installing-gems/23291/4
|
13
|
-
- run:
|
14
|
-
name: Set Ruby Version
|
15
|
-
command: echo "ruby-2.4" > ~/.ruby-version
|
16
|
-
|
17
|
-
- run:
|
18
|
-
name: Install ruby dependencies
|
19
|
-
command: bundle install
|
20
|
-
|
21
|
-
- run:
|
22
|
-
name: Run test
|
23
|
-
command: bundle exec rake spec
|
24
|
-
|
25
|
-
- run:
|
26
|
-
name: Run lint
|
27
|
-
command: bundle exec rake rubocop
|
28
|
-
|
29
|
-
workflows:
|
30
|
-
version: 2
|
31
|
-
build_and_test:
|
32
|
-
jobs:
|
33
|
-
- build
|
data/.github/workflows/e2e.yml
DELETED
@@ -1,47 +0,0 @@
|
|
1
|
-
name: "E2E test"
|
2
|
-
on: [pull_request]
|
3
|
-
|
4
|
-
jobs:
|
5
|
-
check_install:
|
6
|
-
strategy:
|
7
|
-
fail-fast: false
|
8
|
-
matrix:
|
9
|
-
os: [macos-latest]
|
10
|
-
xcode: ["10.0", "10.1", "10.2.1", "10.3", "11.0", "11.1", "11.2.1"]
|
11
|
-
|
12
|
-
runs-on: ${{ matrix.os }}
|
13
|
-
env:
|
14
|
-
# It needs AppleID that has disabled 2FA.
|
15
|
-
XCODE_INSTALL_USER: ${{ secrets.XCODE_INSTALL_USER }}
|
16
|
-
XCODE_INSTALL_PASSWORD: ${{ secrets.XCODE_INSTALL_PASSWORD }}
|
17
|
-
steps:
|
18
|
-
# Prepare env
|
19
|
-
- uses: actions/checkout@master
|
20
|
-
- uses: actions/setup-ruby@master
|
21
|
-
with:
|
22
|
-
ruby-version: '2.6'
|
23
|
-
|
24
|
-
# Show env
|
25
|
-
- name: Show macOS version
|
26
|
-
run: sw_vers
|
27
|
-
- name: Show ruby version
|
28
|
-
run: |
|
29
|
-
ruby --version
|
30
|
-
bundler --version
|
31
|
-
|
32
|
-
# Prepare
|
33
|
-
- run: bundle install -j4 --clean --path=vendor
|
34
|
-
- run: bundle exec xcversion update
|
35
|
-
- name: Show installed versions before install
|
36
|
-
run: bundle exec xcversion installed
|
37
|
-
- name: Uninstall installed target Xcode version
|
38
|
-
run: bundle exec xcversion uninstall ${{ matrix.xcode }} || true
|
39
|
-
|
40
|
-
# Exec
|
41
|
-
- run: bundle exec xcversion install ${{ matrix.xcode }}
|
42
|
-
|
43
|
-
# Check
|
44
|
-
- name: Show installed versions after install
|
45
|
-
run: bundle exec xcversion installed
|
46
|
-
- name: Check Xcode installation was successful
|
47
|
-
run: bundle exec xcversion installed | grep "${{ matrix.xcode }}"
|