cocoapods-trunk 1.5.0 → 1.6.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43e91d5573ade7674c9ede81699454a44188687418caf843239ad9cd0b1a0e63
4
- data.tar.gz: 9a978262bd54a83cbb69b3810df05950be3044a7deb04834ead9f2ef276d29fc
3
+ metadata.gz: 4b3bc8b97075a3ccef4bf732006d05ee7a3c17fa6f4b8ed5c7b3cf585091caac
4
+ data.tar.gz: 2265b69fcca3c4868631be9cdaae6259aaade1ff184c54bb39fb96de0b5453c2
5
5
  SHA512:
6
- metadata.gz: 023642a2121bdb3e345d5aaa27012c42c262b464e5fbaaa0f0d6d693544aff401212f6845bc61a586689804af778bd57748033b47707eba509f1dedab8ce7f84
7
- data.tar.gz: 25dd04be50dc69d3a5ca138b48a51b40e2577c446ab16e22e5b0390b4566919ff2360704201ffcac8b230c69d7033f6126e84be8250b7b9b5ac573c5a3343dab
6
+ metadata.gz: a35ddecad29e7e99c6efd3f6171471d16824fdbcf3b2fe81faa99fd0f3266271a2cb57223d0e49c67db1367992576cc7ea5ca7d7ef3f3c95a4c5f551c6d0a2b2
7
+ data.tar.gz: 349a6a173998300f3141c6c2024c5dbe618d992e94c2558f0f8e719bd16a9c64e4e69d3e22c854e69a07ab3855917c8633bef50a8d3a89988b502f0363ba5a33
@@ -0,0 +1,64 @@
1
+ name: Specs
2
+
3
+ jobs:
4
+ specs:
5
+ strategy:
6
+ fail-fast: false
7
+ matrix:
8
+ task: [SPECS]
9
+ ruby: [2.6, 2.7]
10
+ os: [ubuntu-16.04]
11
+ include:
12
+ - task: SPECS
13
+ os: macos-10.15
14
+ ruby: system
15
+
16
+ name: ${{ matrix.task }} / ${{ matrix.os }} / Ruby ${{ matrix.ruby }}
17
+ runs-on: ${{ matrix.os }}
18
+
19
+ steps:
20
+ - name: Set build image var
21
+ run: echo "ImageVersion=$ImageVersion" >> $GITHUB_ENV
22
+
23
+ - name: Checkout git
24
+ uses: actions/checkout@v1
25
+
26
+ - name: Set up Ruby
27
+ uses: ruby/setup-ruby@v1
28
+ if: ${{ matrix.ruby != 'system' }}
29
+ with:
30
+ ruby-version: ${{ matrix.ruby }}
31
+
32
+ - name: Update git submodules
33
+ run: git submodule update --init
34
+
35
+ - uses: actions/cache@v2
36
+ with:
37
+ path: vendor/bundle
38
+ key: gems@v1-${{ matrix.os }}-${{ env.ImageVersion }}-Ruby${{ matrix.ruby }}-${{ hashFiles('Gemfile.lock') }}
39
+ restore-keys: |
40
+ gems@v1-${{ matrix.os }}-${{ env.ImageVersion }}-Ruby${{ matrix.ruby }}-
41
+ - name: Run bundle install
42
+ run: |
43
+ gem install bundler -v "~> 1.17"
44
+ bundle config path vendor/bundle
45
+ bundle install --jobs 4 --retry 3 --without debugging documentation
46
+ - name: Set up git identity
47
+ run: |
48
+ git config --global user.email "tests@cocoapods.org"
49
+ git config --global user.name "CocoaPods Tests"
50
+
51
+ - name: Run Tests
52
+ run: bundle exec rake spec
53
+ env:
54
+ COCOAPODS_CI_TASKS: ${{ matrix.task }}
55
+
56
+ on:
57
+ push:
58
+ branches:
59
+ - "master"
60
+ - "*-stable"
61
+ pull_request:
62
+ branches:
63
+ - master
64
+ - "*-stable"
data/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ## 1.6.0 (2021-09-01)
2
+
3
+ ##### Enhancements
4
+
5
+ * None.
6
+
7
+ ##### Bug Fixes
8
+
9
+ * None.
10
+
11
+
1
12
  ## 1.5.0 (2020-05-01)
2
13
 
3
14
  ##### Enhancements
data/Gemfile.lock CHANGED
@@ -1,46 +1,49 @@
1
1
  GIT
2
2
  remote: https://github.com/CocoaPods/CLAide.git
3
- revision: b5ced9cc141df732e8027078543eb92fc6447567
3
+ revision: a5d1a29b08ca88f90f47104805bc4fad2efc93c9
4
4
  branch: master
5
5
  specs:
6
6
  claide (1.0.3)
7
7
 
8
8
  GIT
9
9
  remote: https://github.com/CocoaPods/CocoaPods.git
10
- revision: ae4d9804450c9f83a3fea29eadc3c6e2affe24c7
10
+ revision: 035518e56945778e9916d8118ea5e61ecb96beb0
11
11
  branch: master
12
12
  specs:
13
- cocoapods (1.8.0)
14
- activesupport (>= 4.0.2, < 5)
13
+ cocoapods (1.11.0)
14
+ addressable (~> 2.8)
15
15
  claide (>= 1.0.2, < 2.0)
16
- cocoapods-core (= 1.8.0)
16
+ cocoapods-core (= 1.11.0)
17
17
  cocoapods-deintegrate (>= 1.0.3, < 2.0)
18
- cocoapods-downloader (>= 1.2.2, < 2.0)
18
+ cocoapods-downloader (>= 1.4.0, < 2.0)
19
19
  cocoapods-plugins (>= 1.0.0, < 2.0)
20
20
  cocoapods-search (>= 1.0.0, < 2.0)
21
- cocoapods-stats (>= 1.0.0, < 2.0)
22
- cocoapods-trunk (= 1.5.0)
21
+ cocoapods-trunk (= 1.6.0)
23
22
  cocoapods-try (>= 1.1.0, < 2.0)
24
23
  colored2 (~> 3.1)
25
24
  escape (~> 0.0.4)
26
25
  fourflusher (>= 2.3.0, < 3.0)
27
26
  gh_inspector (~> 1.0)
28
- molinillo (~> 0.6.6)
27
+ molinillo (~> 0.8.0)
29
28
  nap (~> 1.0)
30
- ruby-macho (~> 1.4)
31
- xcodeproj (>= 1.11.1, < 2.0)
29
+ ruby-macho (>= 1.0, < 3.0)
30
+ xcodeproj (>= 1.21.0, < 2.0)
32
31
 
33
32
  GIT
34
33
  remote: https://github.com/CocoaPods/Core.git
35
- revision: dbc9b76820d546b4d655aa26141fad0412c3c849
34
+ revision: a8e38de9907968d6e627b1465f053c55fc778118
36
35
  branch: master
37
36
  specs:
38
- cocoapods-core (1.8.0)
39
- activesupport (>= 4.0.2, < 6)
37
+ cocoapods-core (1.11.0)
38
+ activesupport (>= 5.0, < 7)
39
+ addressable (~> 2.8)
40
40
  algoliasearch (~> 1.0)
41
- concurrent-ruby (~> 1.0)
41
+ concurrent-ruby (~> 1.1)
42
42
  fuzzy_match (~> 2.0.4)
43
43
  nap (~> 1.0)
44
+ netrc (~> 0.11)
45
+ public_suffix (~> 4.0)
46
+ typhoeus (~> 1.0)
44
47
 
45
48
  GIT
46
49
  remote: https://github.com/segiddins/json.git
@@ -52,49 +55,51 @@ GIT
52
55
  PATH
53
56
  remote: .
54
57
  specs:
55
- cocoapods-trunk (1.5.0)
58
+ cocoapods-trunk (1.6.0)
56
59
  nap (>= 0.8, < 2.0)
57
60
  netrc (~> 0.11)
58
61
 
59
62
  GEM
60
63
  remote: https://rubygems.org/
61
64
  specs:
62
- CFPropertyList (3.0.1)
63
- activesupport (4.2.11.1)
64
- i18n (~> 0.7)
65
- minitest (~> 5.1)
66
- thread_safe (~> 0.3, >= 0.3.4)
67
- tzinfo (~> 1.1)
68
- addressable (2.5.1)
69
- public_suffix (~> 2.0, >= 2.0.2)
70
- algoliasearch (1.27.0)
65
+ CFPropertyList (3.0.3)
66
+ activesupport (6.1.4.1)
67
+ concurrent-ruby (~> 1.0, >= 1.0.2)
68
+ i18n (>= 1.6, < 2)
69
+ minitest (>= 5.1)
70
+ tzinfo (~> 2.0)
71
+ zeitwerk (~> 2.3)
72
+ addressable (2.8.0)
73
+ public_suffix (>= 2.0.2, < 5.0)
74
+ algoliasearch (1.27.5)
71
75
  httpclient (~> 2.8, >= 2.8.3)
72
76
  json (>= 1.5.1)
73
77
  ast (2.2.0)
74
78
  atomos (0.1.3)
75
79
  bacon (1.2.0)
76
- cocoapods-deintegrate (1.0.4)
77
- cocoapods-downloader (1.2.2)
80
+ cocoapods-deintegrate (1.0.5)
81
+ cocoapods-downloader (1.5.0)
78
82
  cocoapods-plugins (1.0.0)
79
83
  nap
80
- cocoapods-search (1.0.0)
81
- cocoapods-stats (1.1.0)
82
- cocoapods-try (1.1.0)
84
+ cocoapods-search (1.0.1)
85
+ cocoapods-try (1.2.0)
83
86
  codeclimate-test-reporter (0.4.7)
84
87
  simplecov (>= 0.7.1, < 1.0.0)
85
88
  colored2 (3.1.2)
86
- concurrent-ruby (1.1.5)
89
+ concurrent-ruby (1.1.9)
87
90
  crack (0.4.3)
88
91
  safe_yaml (~> 1.0.0)
89
92
  docile (1.1.5)
90
93
  escape (0.0.4)
91
- ffi (1.9.10)
94
+ ethon (0.14.0)
95
+ ffi (>= 1.15.0)
96
+ ffi (1.15.3)
92
97
  fourflusher (2.3.1)
93
98
  fuzzy_match (2.0.4)
94
99
  gh_inspector (1.1.3)
95
100
  hashdiff (0.3.4)
96
101
  httpclient (2.8.3)
97
- i18n (0.9.5)
102
+ i18n (1.8.10)
98
103
  concurrent-ruby (~> 1.0)
99
104
  kicker (3.0.0)
100
105
  listen (~> 1.3.0)
@@ -104,14 +109,14 @@ GEM
104
109
  rb-inotify (>= 0.9)
105
110
  rb-kqueue (>= 0.2)
106
111
  metaclass (0.0.4)
107
- minitest (5.12.0)
112
+ minitest (5.14.4)
108
113
  mocha (1.1.0)
109
114
  metaclass (~> 0.0.1)
110
115
  mocha-on-bacon (0.2.2)
111
116
  mocha (>= 0.13.0)
112
- molinillo (0.6.6)
117
+ molinillo (0.8.0)
113
118
  multi_json (1.11.2)
114
- nanaimo (0.2.6)
119
+ nanaimo (0.3.0)
115
120
  nap (1.1.0)
116
121
  netrc (0.11.0)
117
122
  notify (0.5.2)
@@ -120,7 +125,7 @@ GEM
120
125
  powerpack (0.1.1)
121
126
  prettybacon (0.0.2)
122
127
  bacon (~> 1.2)
123
- public_suffix (2.0.5)
128
+ public_suffix (4.0.6)
124
129
  rainbow (2.1.0)
125
130
  rake (10.4.2)
126
131
  rb-fsevent (0.9.5)
@@ -128,13 +133,14 @@ GEM
128
133
  ffi (>= 0.5.0)
129
134
  rb-kqueue (0.2.4)
130
135
  ffi (>= 0.5.0)
136
+ rexml (3.2.5)
131
137
  rubocop (0.39.0)
132
138
  parser (>= 2.3.0.7, < 3.0)
133
139
  powerpack (~> 0.1)
134
140
  rainbow (>= 1.99.1, < 3.0)
135
141
  ruby-progressbar (~> 1.7)
136
142
  unicode-display_width (~> 1.0, >= 1.0.1)
137
- ruby-macho (1.4.0)
143
+ ruby-macho (2.5.1)
138
144
  ruby-progressbar (1.7.5)
139
145
  safe_yaml (1.0.4)
140
146
  simplecov (0.9.2)
@@ -142,20 +148,23 @@ GEM
142
148
  multi_json (~> 1.0)
143
149
  simplecov-html (~> 0.9.0)
144
150
  simplecov-html (0.9.0)
145
- thread_safe (0.3.6)
146
- tzinfo (1.2.5)
147
- thread_safe (~> 0.1)
151
+ typhoeus (1.4.0)
152
+ ethon (>= 0.9.0)
153
+ tzinfo (2.0.4)
154
+ concurrent-ruby (~> 1.0)
148
155
  unicode-display_width (1.0.3)
149
156
  webmock (3.5.1)
150
157
  addressable (>= 2.3.6)
151
158
  crack (>= 0.3.2)
152
159
  hashdiff
153
- xcodeproj (1.12.0)
160
+ xcodeproj (1.21.0)
154
161
  CFPropertyList (>= 2.3.3, < 4.0)
155
162
  atomos (~> 0.1.3)
156
163
  claide (>= 1.0.2, < 2.0)
157
164
  colored2 (~> 3.1)
158
- nanaimo (~> 0.2.6)
165
+ nanaimo (~> 0.3.0)
166
+ rexml (~> 3.2.4)
167
+ zeitwerk (2.4.2)
159
168
 
160
169
  PLATFORMS
161
170
  ruby
data/README.md CHANGED
@@ -1,8 +1,7 @@
1
1
  # CocoaPods::Trunk
2
2
 
3
- [![Build Status](https://img.shields.io/travis/CocoaPods/cocoapods-trunk/master.svg?style=flat)](https://travis-ci.org/CocoaPods/cocoapods-trunk)
4
- [![Coverage](https://img.shields.io/codeclimate/coverage/github/CocoaPods/cocoapods-trunk.svg?style=flat)](https://codeclimate.com/github/CocoaPods/cocoapods-trunk)
5
- [![Code Climate](https://img.shields.io/codeclimate/github/CocoaPods/cocoapods-trunk.svg?style=flat)](https://codeclimate.com/github/CocoaPods/cocoapods-trunk)
3
+ [![Build Status](https://img.shields.io/github/workflow/status/CocoaPods/cocoapods-trunk/Specs)](https://github.com/CocoaPods/cocoapods-trunk/actions)
4
+ [![Maintainability](https://api.codeclimate.com/v1/badges/157b8b7f7b73976f3edf/maintainability)](https://codeclimate.com/github/CocoaPods/cocoapods-trunk/maintainability)
6
5
 
7
6
  CocoaPods plugin for trunk.
8
7
 
@@ -1,3 +1,3 @@
1
1
  module CocoaPodsTrunk
2
- VERSION = '1.5.0'.freeze
2
+ VERSION = '1.6.0'.freeze
3
3
  end
@@ -20,20 +20,21 @@ module Pod
20
20
  end
21
21
 
22
22
  it 'confirms deletion' do
23
+ Colored2.disable!
23
24
  UI.inputs += %w(garbage true false)
24
25
  command = Command.parse(%w( trunk delete Stencil 1.0.0 ))
25
26
  command.send(:confirm_deletion?).should.be.true
26
27
  command.send(:confirm_deletion?).should.be.false
27
28
 
28
29
  UI.output.should == <<-OUTPUT.gsub(/^>$/, '> ')
29
- \e[33mWARNING: It is generally considered bad behavior to remove versions of a Pod that others are depending on!
30
- Please consider using the `deprecate` command instead.\e[0m
30
+ WARNING: It is generally considered bad behavior to remove versions of a Pod that others are depending on!
31
+ Please consider using the `deprecate` command instead.
31
32
  Are you sure you want to delete this Pod version?
32
33
  >
33
34
  Are you sure you want to delete this Pod version?
34
35
  >
35
- \e[33mWARNING: It is generally considered bad behavior to remove versions of a Pod that others are depending on!
36
- Please consider using the `deprecate` command instead.\e[0m
36
+ WARNING: It is generally considered bad behavior to remove versions of a Pod that others are depending on!
37
+ Please consider using the `deprecate` command instead.
37
38
  Are you sure you want to delete this Pod version?
38
39
  >
39
40
  OUTPUT
@@ -114,7 +114,7 @@ module Pod
114
114
  Validator.any_instance.stubs(:build_pod)
115
115
  Validator.any_instance.stubs(:add_app_project_import)
116
116
  Validator.any_instance.stubs(:used_swift_version).returns(nil)
117
- %i(prepare resolve_dependencies download_dependencies).each do |m|
117
+ %i(prepare resolve_dependencies download_dependencies write_lockfiles).each do |m|
118
118
  Installer.any_instance.stubs(m)
119
119
  end
120
120
  Command::Trunk::Push.any_instance.stubs(:master_repo_url).
@@ -139,13 +139,13 @@ module Pod
139
139
 
140
140
  it 'validates specs as frameworks by default' do
141
141
  Validator.any_instance.expects(:podfile_from_spec).
142
- with(:ios, '8.0', true, [], nil).once.returns(Podfile.new)
142
+ with(:ios, '8.0', true, [], nil, nil).once.returns(Podfile.new)
143
143
  Validator.any_instance.expects(:podfile_from_spec).
144
- with(:osx, nil, true, [], nil).once.returns(Podfile.new)
144
+ with(:osx, nil, true, [], nil, nil).once.returns(Podfile.new)
145
145
  Validator.any_instance.expects(:podfile_from_spec).
146
- with(:tvos, nil, true, [], nil).once.returns(Podfile.new)
146
+ with(:tvos, nil, true, [], nil, nil).once.returns(Podfile.new)
147
147
  Validator.any_instance.expects(:podfile_from_spec).
148
- with(:watchos, nil, true, [], nil).once.returns(Podfile.new)
148
+ with(:watchos, nil, true, [], nil, nil).once.returns(Podfile.new)
149
149
 
150
150
  cmd = Command.parse(%w(trunk push spec/fixtures/BananaLib.podspec))
151
151
  cmd.send(:validate_podspec)
@@ -153,13 +153,13 @@ module Pod
153
153
 
154
154
  it 'validates specs as libraries if requested' do
155
155
  Validator.any_instance.expects(:podfile_from_spec).
156
- with(:ios, nil, false, [], nil).once.returns(Podfile.new)
156
+ with(:ios, nil, false, [], nil, nil).once.returns(Podfile.new)
157
157
  Validator.any_instance.expects(:podfile_from_spec).
158
- with(:osx, nil, false, [], nil).once.returns(Podfile.new)
158
+ with(:osx, nil, false, [], nil, nil).once.returns(Podfile.new)
159
159
  Validator.any_instance.expects(:podfile_from_spec).
160
- with(:tvos, nil, false, [], nil).once.returns(Podfile.new)
160
+ with(:tvos, nil, false, [], nil, nil).once.returns(Podfile.new)
161
161
  Validator.any_instance.expects(:podfile_from_spec).
162
- with(:watchos, nil, false, [], nil).once.returns(Podfile.new)
162
+ with(:watchos, nil, false, [], nil, nil).once.returns(Podfile.new)
163
163
 
164
164
  cmd = Command.parse(%w(trunk push spec/fixtures/BananaLib.podspec --use-libraries))
165
165
  cmd.send(:validate_podspec)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-trunk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eloy Durán
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-01 00:00:00.000000000 Z
11
+ date: 2021-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nap
@@ -72,19 +72,19 @@ dependencies:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
74
  version: '10.0'
75
- description:
75
+ description:
76
76
  email:
77
77
  - eloy.de.enige@gmail.com
78
78
  executables: []
79
79
  extensions: []
80
80
  extra_rdoc_files: []
81
81
  files:
82
+ - ".github/workflows/ci.yml"
82
83
  - ".gitignore"
83
84
  - ".kick"
84
85
  - ".rubocop.yml"
85
86
  - ".rubocop_cocoapods.yml"
86
87
  - ".rubocop_todo.yml"
87
- - ".travis.yml"
88
88
  - CHANGELOG.md
89
89
  - Gemfile
90
90
  - Gemfile.lock
@@ -118,7 +118,7 @@ homepage: https://github.com/CocoaPods/cocoapods-trunk
118
118
  licenses:
119
119
  - MIT
120
120
  metadata: {}
121
- post_install_message:
121
+ post_install_message:
122
122
  rdoc_options: []
123
123
  require_paths:
124
124
  - lib
@@ -133,8 +133,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
133
  - !ruby/object:Gem::Version
134
134
  version: '0'
135
135
  requirements: []
136
- rubygems_version: 3.0.3
137
- signing_key:
136
+ rubygems_version: 3.1.6
137
+ signing_key:
138
138
  specification_version: 4
139
139
  summary: Interact with trunk.cocoapods.org
140
140
  test_files:
data/.travis.yml DELETED
@@ -1,25 +0,0 @@
1
- dist: trusty
2
- language: ruby
3
- cache: bundler
4
- rvm:
5
- - 2.0.0-p647
6
- - 2.3.4
7
- - 2.4.1
8
- - 2.6.3
9
- addons:
10
- code_climate:
11
- repo_token: 937468c2cbb0d7c0546b62d0fcbcba8a2a8b82714a64a52ffd0b951e71df626d
12
-
13
- before_install:
14
- - export GEM_HOME=$HOME/.gem
15
- - export PATH=$GEM_HOME/bin:$PATH
16
- # There is a bug in travis. When using system ruby, bundler is not
17
- # installed and causes the default install action to fail.
18
- - if [ "$TRAVIS_RUBY_VERSION" = "system" ]; then sudo gem install "bundler:~> 1.13"; else gem install "bundler:~> 1.13"; fi
19
- # RubyGems 2.0.14 isn't a fun time on 2.0.0p451
20
- - if [ "$TRAVIS_RUBY_VERSION" = "system" ]; then sudo gem update --system; fi
21
-
22
- install:
23
- - bundle install --without=documentation
24
-
25
- script: bundle exec rake spec