cocoapods-trunk 1.0.0 → 1.1.0.beta.1
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/.travis.yml +2 -1
- data/CHANGELOG.md +13 -0
- data/Gemfile +3 -1
- data/Gemfile.lock +44 -36
- data/lib/cocoapods_trunk.rb +1 -1
- data/lib/pod/command/trunk.rb +1 -1
- data/lib/pod/command/trunk/push.rb +4 -0
- data/spec/command/trunk/push_spec.rb +7 -0
- metadata +20 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2420bad5c8404637a01a359be2f5e6a5102985dd
|
|
4
|
+
data.tar.gz: 7278abfb6ecdb18b3b7b632e21e58f140aee9bde
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1ee5c3d4c895415ac0c42c96f85508878785d5ea9c117aa506ebc144cb2795c4d75191260faa09bef2c1cad7b5a2822d833fcbbe1a148a1c5533adc55e24c8e7
|
|
7
|
+
data.tar.gz: a524a78baee39eaa47247134e22a9869e06e2d6058977db31560a6c460e6e68d9cc038388e7f407c7e04a161135d6e2e1137e3c628e62318b400dc6aa95aff41
|
data/.travis.yml
CHANGED
|
@@ -16,9 +16,10 @@ before_install:
|
|
|
16
16
|
- source ~/.rvm/scripts/rvm
|
|
17
17
|
- if [[ $RVM_RUBY_VERSION != 'system' ]]; then rvm install $RVM_RUBY_VERSION; fi
|
|
18
18
|
- rvm use $RVM_RUBY_VERSION
|
|
19
|
+
- if [[ $RVM_RUBY_VERSION == 'system' ]]; then sudo gem update --system; fi
|
|
19
20
|
- if [[ $RVM_RUBY_VERSION == 'system' ]]; then sudo gem install bundler --no-ri --no-rdoc; else gem install bundler --no-ri --no-rdoc; fi
|
|
20
21
|
|
|
21
22
|
install:
|
|
22
|
-
-
|
|
23
|
+
- bundle install --without=documentation
|
|
23
24
|
|
|
24
25
|
script: bundle exec rake spec
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
## 1.1.0.beta.1 (2016-10-10)
|
|
2
|
+
|
|
3
|
+
##### Enhancements
|
|
4
|
+
|
|
5
|
+
* Pass --swift-version to the Validator during `pod lib lint`
|
|
6
|
+
[Danielle Tomlinson](https://github.com/dantoml)
|
|
7
|
+
[#92](https://github.com/CocoaPods/cocoapods-trunk/pull/72)
|
|
8
|
+
|
|
9
|
+
##### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* None.
|
|
12
|
+
|
|
13
|
+
|
|
1
14
|
## 1.0.0 (2016-05-10)
|
|
2
15
|
|
|
3
16
|
##### Enhancements
|
data/Gemfile
CHANGED
|
@@ -3,7 +3,9 @@ source 'https://rubygems.org'
|
|
|
3
3
|
gemspec
|
|
4
4
|
|
|
5
5
|
# This is the version that ships with OS X 10.10, so be sure we test against it.
|
|
6
|
-
|
|
6
|
+
# At the same time, the 1.7.7 version won't install cleanly on Ruby > 2.2,
|
|
7
|
+
# so we use a fork that makes a trivial change to a macro invocation.
|
|
8
|
+
gem 'json', :git => 'https://github.com/segiddins/json.git', :branch => 'seg-1.7.7-ruby-2.2'
|
|
7
9
|
|
|
8
10
|
group :development do
|
|
9
11
|
gem 'cocoapods', :git => "https://github.com/CocoaPods/CocoaPods.git", :branch => 'master'
|
data/Gemfile.lock
CHANGED
|
@@ -1,54 +1,62 @@
|
|
|
1
1
|
GIT
|
|
2
2
|
remote: https://github.com/CocoaPods/CLAide.git
|
|
3
|
-
revision:
|
|
3
|
+
revision: 8106d0d779ae1c9f571404a9f38950905ad5c803
|
|
4
4
|
branch: master
|
|
5
5
|
specs:
|
|
6
|
-
claide (1.0.0
|
|
6
|
+
claide (1.0.0)
|
|
7
7
|
|
|
8
8
|
GIT
|
|
9
9
|
remote: https://github.com/CocoaPods/CocoaPods.git
|
|
10
|
-
revision:
|
|
10
|
+
revision: b6143c3e2095d689531112764492545f842c0cce
|
|
11
11
|
branch: master
|
|
12
12
|
specs:
|
|
13
|
-
cocoapods (1.
|
|
14
|
-
activesupport (>= 4.0.2)
|
|
15
|
-
claide (>= 1.0.0
|
|
16
|
-
cocoapods-core (= 1.
|
|
17
|
-
cocoapods-deintegrate (>= 1.0.
|
|
18
|
-
cocoapods-downloader (
|
|
19
|
-
cocoapods-plugins (>= 1.0.0
|
|
20
|
-
cocoapods-search (
|
|
21
|
-
cocoapods-stats (
|
|
22
|
-
cocoapods-trunk (= 1.0.
|
|
23
|
-
cocoapods-try (>= 1.
|
|
13
|
+
cocoapods (1.1.0.rc.2)
|
|
14
|
+
activesupport (>= 4.0.2, < 5)
|
|
15
|
+
claide (>= 1.0.0, < 2.0)
|
|
16
|
+
cocoapods-core (= 1.1.0.rc.2)
|
|
17
|
+
cocoapods-deintegrate (>= 1.0.1, < 2.0)
|
|
18
|
+
cocoapods-downloader (>= 1.1.1, < 2.0)
|
|
19
|
+
cocoapods-plugins (>= 1.0.0, < 2.0)
|
|
20
|
+
cocoapods-search (>= 1.0.0, < 2.0)
|
|
21
|
+
cocoapods-stats (>= 1.0.0, < 2.0)
|
|
22
|
+
cocoapods-trunk (= 1.1.0.beta.1)
|
|
23
|
+
cocoapods-try (>= 1.1.0, < 2.0)
|
|
24
24
|
colored (~> 1.2)
|
|
25
25
|
escape (~> 0.0.4)
|
|
26
|
-
fourflusher (~> 0.
|
|
27
|
-
|
|
26
|
+
fourflusher (~> 1.0.1)
|
|
27
|
+
gh_inspector (~> 1.0)
|
|
28
|
+
molinillo (~> 0.5.1)
|
|
28
29
|
nap (~> 1.0)
|
|
29
|
-
xcodeproj (
|
|
30
|
+
xcodeproj (>= 1.3.1, < 2.0)
|
|
30
31
|
|
|
31
32
|
GIT
|
|
32
33
|
remote: https://github.com/CocoaPods/Core.git
|
|
33
|
-
revision:
|
|
34
|
+
revision: fef34047643147b09955f8aeb1277a47d01ff1c1
|
|
34
35
|
branch: master
|
|
35
36
|
specs:
|
|
36
|
-
cocoapods-core (1.
|
|
37
|
-
activesupport (>= 4.0.2)
|
|
37
|
+
cocoapods-core (1.1.0.rc.2)
|
|
38
|
+
activesupport (>= 4.0.2, < 5)
|
|
38
39
|
fuzzy_match (~> 2.0.4)
|
|
39
40
|
nap (~> 1.0)
|
|
40
41
|
|
|
42
|
+
GIT
|
|
43
|
+
remote: https://github.com/segiddins/json.git
|
|
44
|
+
revision: a9588bc4334c2f5bf985f255b61c05eafdcd8907
|
|
45
|
+
branch: seg-1.7.7-ruby-2.2
|
|
46
|
+
specs:
|
|
47
|
+
json (1.7.7)
|
|
48
|
+
|
|
41
49
|
PATH
|
|
42
50
|
remote: .
|
|
43
51
|
specs:
|
|
44
|
-
cocoapods-trunk (1.0.
|
|
52
|
+
cocoapods-trunk (1.1.0.beta.1)
|
|
45
53
|
nap (>= 0.8, < 2.0)
|
|
46
54
|
netrc (= 0.7.8)
|
|
47
55
|
|
|
48
56
|
GEM
|
|
49
57
|
remote: https://rubygems.org/
|
|
50
58
|
specs:
|
|
51
|
-
activesupport (4.2.
|
|
59
|
+
activesupport (4.2.7.1)
|
|
52
60
|
i18n (~> 0.7)
|
|
53
61
|
json (~> 1.7, >= 1.7.7)
|
|
54
62
|
minitest (~> 5.1)
|
|
@@ -57,13 +65,13 @@ GEM
|
|
|
57
65
|
addressable (2.3.8)
|
|
58
66
|
ast (2.2.0)
|
|
59
67
|
bacon (1.2.0)
|
|
60
|
-
cocoapods-deintegrate (1.0.
|
|
61
|
-
cocoapods-downloader (1.
|
|
62
|
-
cocoapods-plugins (1.0.0
|
|
68
|
+
cocoapods-deintegrate (1.0.1)
|
|
69
|
+
cocoapods-downloader (1.1.1)
|
|
70
|
+
cocoapods-plugins (1.0.0)
|
|
63
71
|
nap
|
|
64
|
-
cocoapods-search (1.0.0
|
|
65
|
-
cocoapods-stats (1.0.0
|
|
66
|
-
cocoapods-try (1.
|
|
72
|
+
cocoapods-search (1.0.0)
|
|
73
|
+
cocoapods-stats (1.0.0)
|
|
74
|
+
cocoapods-try (1.1.0)
|
|
67
75
|
codeclimate-test-reporter (0.4.7)
|
|
68
76
|
simplecov (>= 0.7.1, < 1.0.0)
|
|
69
77
|
colored (1.2)
|
|
@@ -72,10 +80,10 @@ GEM
|
|
|
72
80
|
docile (1.1.5)
|
|
73
81
|
escape (0.0.4)
|
|
74
82
|
ffi (1.9.10)
|
|
75
|
-
fourflusher (0.
|
|
83
|
+
fourflusher (1.0.1)
|
|
76
84
|
fuzzy_match (2.0.4)
|
|
85
|
+
gh_inspector (1.0.2)
|
|
77
86
|
i18n (0.7.0)
|
|
78
|
-
json (1.7.7)
|
|
79
87
|
kicker (3.0.0)
|
|
80
88
|
listen (~> 1.3.0)
|
|
81
89
|
notify (~> 0.5.2)
|
|
@@ -84,12 +92,12 @@ GEM
|
|
|
84
92
|
rb-inotify (>= 0.9)
|
|
85
93
|
rb-kqueue (>= 0.2)
|
|
86
94
|
metaclass (0.0.4)
|
|
87
|
-
minitest (5.
|
|
95
|
+
minitest (5.9.1)
|
|
88
96
|
mocha (1.1.0)
|
|
89
97
|
metaclass (~> 0.0.1)
|
|
90
98
|
mocha-on-bacon (0.2.2)
|
|
91
99
|
mocha (>= 0.13.0)
|
|
92
|
-
molinillo (0.
|
|
100
|
+
molinillo (0.5.1)
|
|
93
101
|
multi_json (1.11.2)
|
|
94
102
|
nap (1.1.0)
|
|
95
103
|
netrc (0.7.8)
|
|
@@ -126,9 +134,9 @@ GEM
|
|
|
126
134
|
webmock (1.21.0)
|
|
127
135
|
addressable (>= 2.3.6)
|
|
128
136
|
crack (>= 0.3.2)
|
|
129
|
-
xcodeproj (1.
|
|
137
|
+
xcodeproj (1.3.1)
|
|
130
138
|
activesupport (>= 3)
|
|
131
|
-
claide (>= 1.0.0
|
|
139
|
+
claide (>= 1.0.0, < 2.0)
|
|
132
140
|
colored (~> 1.2)
|
|
133
141
|
|
|
134
142
|
PLATFORMS
|
|
@@ -142,7 +150,7 @@ DEPENDENCIES
|
|
|
142
150
|
cocoapods-core!
|
|
143
151
|
cocoapods-trunk!
|
|
144
152
|
codeclimate-test-reporter
|
|
145
|
-
json
|
|
153
|
+
json!
|
|
146
154
|
kicker
|
|
147
155
|
mocha
|
|
148
156
|
mocha-on-bacon
|
|
@@ -152,4 +160,4 @@ DEPENDENCIES
|
|
|
152
160
|
webmock
|
|
153
161
|
|
|
154
162
|
BUNDLED WITH
|
|
155
|
-
1.
|
|
163
|
+
1.12.5
|
data/lib/cocoapods_trunk.rb
CHANGED
data/lib/pod/command/trunk.rb
CHANGED
|
@@ -31,12 +31,15 @@ module Pod
|
|
|
31
31
|
[
|
|
32
32
|
['--allow-warnings', 'Allows push even if there are lint warnings'],
|
|
33
33
|
['--use-libraries', 'Linter uses static libraries to install the spec'],
|
|
34
|
+
['--swift-version=VERSION', 'The SWIFT_VERSION that should be used to lint the spec. ' \
|
|
35
|
+
'This takes precedence over a .swift-version file.'],
|
|
34
36
|
].concat(super)
|
|
35
37
|
end
|
|
36
38
|
|
|
37
39
|
def initialize(argv)
|
|
38
40
|
@allow_warnings = argv.flag?('allow-warnings', false)
|
|
39
41
|
@use_frameworks = !argv.flag?('use-libraries')
|
|
42
|
+
@swift_version = argv.option('swift-version', nil)
|
|
40
43
|
@path = argv.shift_argument || '.'
|
|
41
44
|
find_podspec_file if File.directory?(@path)
|
|
42
45
|
super
|
|
@@ -106,6 +109,7 @@ module Pod
|
|
|
106
109
|
validator = Validator.new(spec, %w(https://github.com/CocoaPods/Specs.git))
|
|
107
110
|
validator.allow_warnings = @allow_warnings
|
|
108
111
|
validator.use_frameworks = @use_frameworks
|
|
112
|
+
validator.swift_version = @swift_version
|
|
109
113
|
validator.validate
|
|
110
114
|
unless validator.validated?
|
|
111
115
|
raise Informative, "The spec did not pass validation, due to #{validator.failure_reason}."
|
|
@@ -103,6 +103,13 @@ module Pod
|
|
|
103
103
|
end
|
|
104
104
|
end
|
|
105
105
|
|
|
106
|
+
it 'passes the SWIFT_VERSION to the Validator' do
|
|
107
|
+
Validator.any_instance.expects(:swift_version=).with('3.0')
|
|
108
|
+
|
|
109
|
+
cmd = Command.parse(%w(trunk push spec/fixtures/BananaLib.podspec --swift-version=3.0))
|
|
110
|
+
cmd.send(:validate_podspec)
|
|
111
|
+
end
|
|
112
|
+
|
|
106
113
|
it 'validates specs as frameworks by default' do
|
|
107
114
|
Validator.any_instance.expects(:podfile_from_spec).
|
|
108
115
|
with(:ios, '8.0', true).once.returns(Podfile.new)
|
metadata
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cocoapods-trunk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.1.0.beta.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eloy Durán
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-10-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: nap
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '0.8'
|
|
20
|
-
- - <
|
|
20
|
+
- - "<"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
22
|
version: '2.0'
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
26
26
|
requirements:
|
|
27
|
-
- -
|
|
27
|
+
- - ">="
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
29
|
version: '0.8'
|
|
30
|
-
- - <
|
|
30
|
+
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
32
|
version: '2.0'
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
@@ -48,28 +48,28 @@ dependencies:
|
|
|
48
48
|
name: bundler
|
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
|
50
50
|
requirements:
|
|
51
|
-
- - ~>
|
|
51
|
+
- - "~>"
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
53
|
version: '1.3'
|
|
54
54
|
type: :development
|
|
55
55
|
prerelease: false
|
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
|
57
57
|
requirements:
|
|
58
|
-
- - ~>
|
|
58
|
+
- - "~>"
|
|
59
59
|
- !ruby/object:Gem::Version
|
|
60
60
|
version: '1.3'
|
|
61
61
|
- !ruby/object:Gem::Dependency
|
|
62
62
|
name: rake
|
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
|
64
64
|
requirements:
|
|
65
|
-
- - ~>
|
|
65
|
+
- - "~>"
|
|
66
66
|
- !ruby/object:Gem::Version
|
|
67
67
|
version: '10.0'
|
|
68
68
|
type: :development
|
|
69
69
|
prerelease: false
|
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
|
-
- - ~>
|
|
72
|
+
- - "~>"
|
|
73
73
|
- !ruby/object:Gem::Version
|
|
74
74
|
version: '10.0'
|
|
75
75
|
description:
|
|
@@ -79,12 +79,12 @@ executables: []
|
|
|
79
79
|
extensions: []
|
|
80
80
|
extra_rdoc_files: []
|
|
81
81
|
files:
|
|
82
|
-
- .gitignore
|
|
83
|
-
- .kick
|
|
84
|
-
- .rubocop.yml
|
|
85
|
-
- .rubocop_cocoapods.yml
|
|
86
|
-
- .rubocop_todo.yml
|
|
87
|
-
- .travis.yml
|
|
82
|
+
- ".gitignore"
|
|
83
|
+
- ".kick"
|
|
84
|
+
- ".rubocop.yml"
|
|
85
|
+
- ".rubocop_cocoapods.yml"
|
|
86
|
+
- ".rubocop_todo.yml"
|
|
87
|
+
- ".travis.yml"
|
|
88
88
|
- CHANGELOG.md
|
|
89
89
|
- Gemfile
|
|
90
90
|
- Gemfile.lock
|
|
@@ -124,17 +124,17 @@ require_paths:
|
|
|
124
124
|
- lib
|
|
125
125
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
126
126
|
requirements:
|
|
127
|
-
- -
|
|
127
|
+
- - ">="
|
|
128
128
|
- !ruby/object:Gem::Version
|
|
129
129
|
version: 2.0.0
|
|
130
130
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
131
131
|
requirements:
|
|
132
|
-
- -
|
|
132
|
+
- - ">"
|
|
133
133
|
- !ruby/object:Gem::Version
|
|
134
|
-
version:
|
|
134
|
+
version: 1.3.1
|
|
135
135
|
requirements: []
|
|
136
136
|
rubyforge_project:
|
|
137
|
-
rubygems_version: 2.
|
|
137
|
+
rubygems_version: 2.4.5.1
|
|
138
138
|
signing_key:
|
|
139
139
|
specification_version: 4
|
|
140
140
|
summary: Interact with trunk.cocoapods.org
|