cocoapods-trunk 1.0.0.beta.3 → 1.0.0.beta.4

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
  SHA1:
3
- metadata.gz: aa6bb38c9906111357691750b2a15a2c387f681d
4
- data.tar.gz: 0c7526a32a20805483a28c403f13071561da109e
3
+ metadata.gz: 23c468b90815a380dab83a873c6dbec1aa8a59d6
4
+ data.tar.gz: eadb2e4bbf8bc0c73e6bf8107455e4852bbabbea
5
5
  SHA512:
6
- metadata.gz: 0a87ba47fe14b1f854c3d80bddc3015d6713f8ee94c0c3b03f2b71e45f3d37f45830255e5b56702af113396bbc081e62cb2ae29c5b13aec71af32a009d1af5b9
7
- data.tar.gz: f7b6c0b764af002e0b5789085cb62a98ad38a485f4cc84469eaa617e1fdd966a46d4ee10d27de7ef3e6e3d455bc6222354558451c82c53de01d2645e88a69a50
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: b44534d04023fbe82182a8be33d5c728f74c1b9c
3
+ revision: 62896152c8f884ddb062afb2cb0ff7a4fd0a9a65
4
4
  branch: master
5
5
  specs:
6
- claide (0.9.1)
6
+ claide (1.0.0.beta.3)
7
7
 
8
8
  GIT
9
9
  remote: https://github.com/CocoaPods/CocoaPods.git
10
- revision: b34c7148a3952195f1eddb684d7eae2a941eb431
10
+ revision: 96c6d8babc3a4d36927eadb51401d77fce18df86
11
11
  branch: master
12
12
  specs:
13
- cocoapods (0.39.0)
13
+ cocoapods (1.0.0.beta.7)
14
14
  activesupport (>= 4.0.2)
15
- claide (~> 0.9.1)
16
- cocoapods-core (= 0.39.0)
17
- cocoapods-downloader (~> 0.9.3)
18
- cocoapods-plugins (~> 0.4.2)
19
- cocoapods-search (~> 0.1.0)
20
- cocoapods-stats (~> 0.6.2)
21
- cocoapods-trunk (~> 1.0.0.beta.1)
22
- cocoapods-try (~> 0.5.1)
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
- molinillo (~> 0.4.0)
26
+ fourflusher (~> 0.3.0)
27
+ molinillo (~> 0.4.4)
26
28
  nap (~> 1.0)
27
- xcodeproj (~> 0.28.2)
29
+ xcodeproj (= 1.0.0.beta.4)
28
30
 
29
31
  GIT
30
32
  remote: https://github.com/CocoaPods/Core.git
31
- revision: c91e84a264ce9ab5fc500cc8bd8ffad9c9ecd3cf
33
+ revision: a31c88165961dd2d79f12e4d09534c2fbfa314b2
32
34
  branch: master
33
35
  specs:
34
- cocoapods-core (0.39.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.3)
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.4)
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-downloader (0.9.3)
59
- cocoapods-plugins (0.4.2)
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.1.0)
62
- cocoapods-stats (0.6.2)
63
- cocoapods-try (0.5.1)
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.1)
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.0)
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.28.2)
129
+ xcodeproj (1.0.0.beta.4)
126
130
  activesupport (>= 3)
127
- claide (~> 0.9.1)
131
+ claide (>= 1.0.0.beta.1, < 2.0)
128
132
  colored (~> 1.2)
129
133
 
130
134
  PLATFORMS
@@ -1,3 +1,3 @@
1
1
  module CocoaPodsTrunk
2
- VERSION = '1.0.0.beta.3'.freeze
2
+ VERSION = '1.0.0.beta.4'.freeze
3
3
  end
@@ -111,8 +111,13 @@ module Pod
111
111
  end
112
112
 
113
113
  def update_master_repo
114
- if SourcesManager.master_repo_functional?
115
- SourcesManager.update('master')
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
- "verification email that has been sent to #{@email}".yellow
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, nil, true).once.returns(Podfile.new)
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
- SourcesManager.stubs(:master_repo_functional?).returns(true)
162
- SourcesManager.expects(:update).with('master').twice
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
- SourcesManager.stubs(:master_repo_functional?).returns(false)
169
- SourcesManager.expects(:update).never
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.3
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-14 00:00:00.000000000 Z
11
+ date: 2016-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nap