cocoapods-trunk 1.0.0.beta.3 → 1.0.0.beta.4
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/CHANGELOG.md +13 -0
- data/Gemfile.lock +31 -27
- data/lib/cocoapods_trunk.rb +1 -1
- data/lib/pod/command/trunk/push.rb +7 -2
- data/lib/pod/command/trunk/register.rb +2 -2
- data/spec/command/trunk/push_spec.rb +11 -7
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 23c468b90815a380dab83a873c6dbec1aa8a59d6
|
|
4
|
+
data.tar.gz: eadb2e4bbf8bc0c73e6bf8107455e4852bbabbea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8772eec2bace28f29ae803cc100655ce13c631fdf02f8273fc24246148a8feb1521829a631b1f56ef9476026cd79245b813bad39bd5f3a0fbb5b1c3626159e2f
|
|
7
|
+
data.tar.gz: 1885ce0145d4fa17db4599f0969ce6e3bd8a5a17901a35b2e49a5d0643172a4452d9eb94e43e76aa920f10928fe22694d856de67224837c0bbd0eef50b2f9758
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
## 1.0.0.beta.4 (2016-04-15)
|
|
2
|
+
|
|
3
|
+
##### Enhancements
|
|
4
|
+
|
|
5
|
+
* None.
|
|
6
|
+
|
|
7
|
+
##### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* Compatibility With CocoaPods 1.0.0.beta.8.
|
|
10
|
+
[Samuel Giddins](https://github.com/segiddins)
|
|
11
|
+
[#61](https://github.com/CocoaPods/cocoapods-trunk/issues/61)
|
|
12
|
+
|
|
13
|
+
|
|
1
14
|
## 1.0.0.beta.3 (2016-04-14)
|
|
2
15
|
|
|
3
16
|
##### Enhancements
|
data/Gemfile.lock
CHANGED
|
@@ -1,37 +1,39 @@
|
|
|
1
1
|
GIT
|
|
2
2
|
remote: https://github.com/CocoaPods/CLAide.git
|
|
3
|
-
revision:
|
|
3
|
+
revision: 62896152c8f884ddb062afb2cb0ff7a4fd0a9a65
|
|
4
4
|
branch: master
|
|
5
5
|
specs:
|
|
6
|
-
claide (0.
|
|
6
|
+
claide (1.0.0.beta.3)
|
|
7
7
|
|
|
8
8
|
GIT
|
|
9
9
|
remote: https://github.com/CocoaPods/CocoaPods.git
|
|
10
|
-
revision:
|
|
10
|
+
revision: 96c6d8babc3a4d36927eadb51401d77fce18df86
|
|
11
11
|
branch: master
|
|
12
12
|
specs:
|
|
13
|
-
cocoapods (0.
|
|
13
|
+
cocoapods (1.0.0.beta.7)
|
|
14
14
|
activesupport (>= 4.0.2)
|
|
15
|
-
claide (
|
|
16
|
-
cocoapods-core (= 0.
|
|
17
|
-
cocoapods-
|
|
18
|
-
cocoapods-
|
|
19
|
-
cocoapods-
|
|
20
|
-
cocoapods-
|
|
21
|
-
cocoapods-
|
|
22
|
-
cocoapods-
|
|
15
|
+
claide (>= 1.0.0.beta.3, < 2.0)
|
|
16
|
+
cocoapods-core (= 1.0.0.beta.7)
|
|
17
|
+
cocoapods-deintegrate (>= 1.0.0.beta.1, < 2.0)
|
|
18
|
+
cocoapods-downloader (= 1.0.0.beta.3)
|
|
19
|
+
cocoapods-plugins (>= 1.0.0.beta.1, < 2.0)
|
|
20
|
+
cocoapods-search (= 1.0.0.beta.2)
|
|
21
|
+
cocoapods-stats (= 1.0.0.beta.4)
|
|
22
|
+
cocoapods-trunk (= 1.0.0.beta.4)
|
|
23
|
+
cocoapods-try (>= 1.0.0.beta.3, < 2.0)
|
|
23
24
|
colored (~> 1.2)
|
|
24
25
|
escape (~> 0.0.4)
|
|
25
|
-
|
|
26
|
+
fourflusher (~> 0.3.0)
|
|
27
|
+
molinillo (~> 0.4.4)
|
|
26
28
|
nap (~> 1.0)
|
|
27
|
-
xcodeproj (
|
|
29
|
+
xcodeproj (= 1.0.0.beta.4)
|
|
28
30
|
|
|
29
31
|
GIT
|
|
30
32
|
remote: https://github.com/CocoaPods/Core.git
|
|
31
|
-
revision:
|
|
33
|
+
revision: a31c88165961dd2d79f12e4d09534c2fbfa314b2
|
|
32
34
|
branch: master
|
|
33
35
|
specs:
|
|
34
|
-
cocoapods-core (0.
|
|
36
|
+
cocoapods-core (1.0.0.beta.7)
|
|
35
37
|
activesupport (>= 4.0.2)
|
|
36
38
|
fuzzy_match (~> 2.0.4)
|
|
37
39
|
nap (~> 1.0)
|
|
@@ -39,14 +41,14 @@ GIT
|
|
|
39
41
|
PATH
|
|
40
42
|
remote: .
|
|
41
43
|
specs:
|
|
42
|
-
cocoapods-trunk (1.0.0.beta.
|
|
44
|
+
cocoapods-trunk (1.0.0.beta.4)
|
|
43
45
|
nap (>= 0.8, < 2.0)
|
|
44
46
|
netrc (= 0.7.8)
|
|
45
47
|
|
|
46
48
|
GEM
|
|
47
49
|
remote: https://rubygems.org/
|
|
48
50
|
specs:
|
|
49
|
-
activesupport (4.2.
|
|
51
|
+
activesupport (4.2.6)
|
|
50
52
|
i18n (~> 0.7)
|
|
51
53
|
json (~> 1.7, >= 1.7.7)
|
|
52
54
|
minitest (~> 5.1)
|
|
@@ -55,12 +57,13 @@ GEM
|
|
|
55
57
|
addressable (2.3.8)
|
|
56
58
|
ast (2.2.0)
|
|
57
59
|
bacon (1.2.0)
|
|
58
|
-
cocoapods-
|
|
59
|
-
cocoapods-
|
|
60
|
+
cocoapods-deintegrate (1.0.0.beta.1)
|
|
61
|
+
cocoapods-downloader (1.0.0.beta.3)
|
|
62
|
+
cocoapods-plugins (1.0.0.beta.1)
|
|
60
63
|
nap
|
|
61
|
-
cocoapods-search (0.
|
|
62
|
-
cocoapods-stats (0.
|
|
63
|
-
cocoapods-try (0.
|
|
64
|
+
cocoapods-search (1.0.0.beta.2)
|
|
65
|
+
cocoapods-stats (1.0.0.beta.4)
|
|
66
|
+
cocoapods-try (1.0.0.beta.3)
|
|
64
67
|
codeclimate-test-reporter (0.4.7)
|
|
65
68
|
simplecov (>= 0.7.1, < 1.0.0)
|
|
66
69
|
colored (1.2)
|
|
@@ -69,6 +72,7 @@ GEM
|
|
|
69
72
|
docile (1.1.5)
|
|
70
73
|
escape (0.0.4)
|
|
71
74
|
ffi (1.9.10)
|
|
75
|
+
fourflusher (0.3.0)
|
|
72
76
|
fuzzy_match (2.0.4)
|
|
73
77
|
i18n (0.7.0)
|
|
74
78
|
json (1.7.7)
|
|
@@ -80,12 +84,12 @@ GEM
|
|
|
80
84
|
rb-inotify (>= 0.9)
|
|
81
85
|
rb-kqueue (>= 0.2)
|
|
82
86
|
metaclass (0.0.4)
|
|
83
|
-
minitest (5.8.
|
|
87
|
+
minitest (5.8.4)
|
|
84
88
|
mocha (1.1.0)
|
|
85
89
|
metaclass (~> 0.0.1)
|
|
86
90
|
mocha-on-bacon (0.2.2)
|
|
87
91
|
mocha (>= 0.13.0)
|
|
88
|
-
molinillo (0.4.
|
|
92
|
+
molinillo (0.4.4)
|
|
89
93
|
multi_json (1.11.2)
|
|
90
94
|
nap (1.1.0)
|
|
91
95
|
netrc (0.7.8)
|
|
@@ -122,9 +126,9 @@ GEM
|
|
|
122
126
|
webmock (1.21.0)
|
|
123
127
|
addressable (>= 2.3.6)
|
|
124
128
|
crack (>= 0.3.2)
|
|
125
|
-
xcodeproj (0.
|
|
129
|
+
xcodeproj (1.0.0.beta.4)
|
|
126
130
|
activesupport (>= 3)
|
|
127
|
-
claide (
|
|
131
|
+
claide (>= 1.0.0.beta.1, < 2.0)
|
|
128
132
|
colored (~> 1.2)
|
|
129
133
|
|
|
130
134
|
PLATFORMS
|
data/lib/cocoapods_trunk.rb
CHANGED
|
@@ -111,8 +111,13 @@ module Pod
|
|
|
111
111
|
end
|
|
112
112
|
|
|
113
113
|
def update_master_repo
|
|
114
|
-
if SourcesManager
|
|
115
|
-
|
|
114
|
+
sources_manager = if defined?(Pod::SourcesManager)
|
|
115
|
+
Pod::SourcesManager
|
|
116
|
+
else
|
|
117
|
+
config.sources_manager
|
|
118
|
+
end
|
|
119
|
+
if sources_manager.master_repo_functional?
|
|
120
|
+
sources_manager.update('master')
|
|
116
121
|
else
|
|
117
122
|
Setup.invoke
|
|
118
123
|
end
|
|
@@ -59,8 +59,8 @@ module Pod
|
|
|
59
59
|
json = json(request_path(:post, 'sessions', body, default_headers))
|
|
60
60
|
save_token(json['token'])
|
|
61
61
|
# TODO UI.notice inserts an empty line :/
|
|
62
|
-
puts '[!] Please verify the session by clicking the link in the ' \
|
|
63
|
-
|
|
62
|
+
UI.puts '[!] Please verify the session by clicking the link in the ' \
|
|
63
|
+
"verification email that has been sent to #{@email}".yellow
|
|
64
64
|
rescue REST::Error => e
|
|
65
65
|
raise Informative, 'There was an error registering with trunk: ' \
|
|
66
66
|
"#{e.message}"
|
|
@@ -90,18 +90,22 @@ module Pod
|
|
|
90
90
|
describe 'validation' do
|
|
91
91
|
before do
|
|
92
92
|
Installer.any_instance.stubs(:aggregate_targets).returns([])
|
|
93
|
-
Installer.any_instance.stubs(:install!)
|
|
94
93
|
|
|
95
94
|
Validator.any_instance.stubs(:check_file_patterns)
|
|
96
|
-
Validator.any_instance.stubs(:validated?).returns(true)
|
|
97
95
|
Validator.any_instance.stubs(:validate_url)
|
|
98
96
|
Validator.any_instance.stubs(:validate_screenshots)
|
|
99
97
|
Validator.any_instance.stubs(:xcodebuild).returns('')
|
|
98
|
+
Validator.any_instance.stubs(:install_pod)
|
|
99
|
+
Validator.any_instance.stubs(:build_pod)
|
|
100
|
+
Validator.any_instance.stubs(:add_app_project_import)
|
|
101
|
+
%i(prepare resolve_dependencies download_dependencies).each do |m|
|
|
102
|
+
Installer.any_instance.stubs(m)
|
|
103
|
+
end
|
|
100
104
|
end
|
|
101
105
|
|
|
102
106
|
it 'validates specs as frameworks by default' do
|
|
103
107
|
Validator.any_instance.expects(:podfile_from_spec).
|
|
104
|
-
with(:ios,
|
|
108
|
+
with(:ios, '8.0', true).once.returns(Podfile.new)
|
|
105
109
|
Validator.any_instance.expects(:podfile_from_spec).
|
|
106
110
|
with(:osx, nil, true).once.returns(Podfile.new)
|
|
107
111
|
Validator.any_instance.expects(:podfile_from_spec).
|
|
@@ -158,15 +162,15 @@ module Pod
|
|
|
158
162
|
end
|
|
159
163
|
|
|
160
164
|
it 'updates the master repo when it exists' do
|
|
161
|
-
|
|
162
|
-
|
|
165
|
+
Config.instance.sources_manager.stubs(:master_repo_functional?).returns(true)
|
|
166
|
+
Config.instance.sources_manager.expects(:update).with('master').twice
|
|
163
167
|
|
|
164
168
|
@cmd.run
|
|
165
169
|
end
|
|
166
170
|
|
|
167
171
|
it 'sets up the master repo when it does not exist' do
|
|
168
|
-
|
|
169
|
-
|
|
172
|
+
Config.instance.sources_manager.stubs(:master_repo_functional?).returns(false)
|
|
173
|
+
Config.instance.sources_manager.expects(:update).never
|
|
170
174
|
Command::Setup.any_instance.expects(:run).twice
|
|
171
175
|
|
|
172
176
|
@cmd.run
|
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.0.0.beta.
|
|
4
|
+
version: 1.0.0.beta.4
|
|
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-04-
|
|
11
|
+
date: 2016-04-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: nap
|