pod-synchronize 0.2.0 → 0.3.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/Gemfile.lock +4 -1
- data/README.md +3 -0
- data/Rakefile +5 -4
- data/lib/updater/configuration.rb +4 -0
- data/lib/updater/synchronize.rb +2 -0
- data/pod-synchronize.gemspec +1 -1
- data/spec/configuration_spec.rb +7 -0
- data/spec/fixtures/api_client_config.yml +16 -0
- data/spec/fixtures/config.yml +2 -0
- data/spec/synchronize_spec.rb +23 -0
- metadata +7 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64ba11133608da86cf23d0dda30d0e31bed06ac7
|
4
|
+
data.tar.gz: be3047b5565ef6e4a6b94e1b387a1ce228ad5406
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b065721ac581e56bfb51fdcbf75d5506335e386d1b8279feeba85e62dd397c879dfd96d009c34899f02e26efcd8cb4064c4bae03bba6551919c23a56bb71e201
|
7
|
+
data.tar.gz: 9432028627cb9fcfcd3e8c811cec6d2b7fe62c00fe14b144dadfd15b6cc8834fab2126fc288e7e2ca76c53c39c97fb2357216ee46f039d9cb60cca34dfb84f06
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -35,6 +35,8 @@ podfiles:
|
|
35
35
|
- "https://git.hooli.xyz/ios/bro2bro/raw/master/Podfile.lock"
|
36
36
|
pods:
|
37
37
|
- Google-Mobile-Ads-SDK
|
38
|
+
exclude:
|
39
|
+
- BABCropperView
|
38
40
|
```
|
39
41
|
|
40
42
|
|key|meaning|
|
@@ -48,6 +50,7 @@ pods:
|
|
48
50
|
|mirror.github.endpoint|API Endpoint of your GitHub api|
|
49
51
|
|podfiles|List of __Podfile.lock__ in __Plain Text__ format|
|
50
52
|
|pods|List of additional Pods you would like to add|
|
53
|
+
|exclude|List of Pods you would like to exclude|
|
51
54
|
|
52
55
|
We use Jenkins to run the synchronize process twice daily. To do that use the following command:
|
53
56
|
|
data/Rakefile
CHANGED
data/lib/updater/synchronize.rb
CHANGED
data/pod-synchronize.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
Gem::Specification.new do |spec|
|
3
3
|
spec.name = "pod-synchronize"
|
4
|
-
spec.version = "0.
|
4
|
+
spec.version = "0.3.0"
|
5
5
|
spec.authors = ["Matthias Männich", "Piet Brauer", "Renzo Crisostomo"]
|
6
6
|
spec.email = ["matthias.maennich@xing.com", "piet.brauer@xing.com", "renzo.crisostomo@xing.com"]
|
7
7
|
spec.summary = %q{Mirrors CocoaPods specs}
|
data/spec/configuration_spec.rb
CHANGED
@@ -36,6 +36,13 @@ describe Configuration do
|
|
36
36
|
end
|
37
37
|
end
|
38
38
|
|
39
|
+
describe '#excluded_pods' do
|
40
|
+
it 'should parse the excluded_pods list correctly' do
|
41
|
+
expected_result = ["BABCropperView"]
|
42
|
+
expect(@config.excluded_pods).to eql(expected_result)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
39
46
|
describe "#mirror" do
|
40
47
|
it 'should have the correct @specs_push_url' do
|
41
48
|
expect(@config.mirror.specs_push_url).to eql("git@git.hooli.xyz:pods-mirror/Specs.git")
|
@@ -0,0 +1,16 @@
|
|
1
|
+
---
|
2
|
+
master_repo: https://github.com/CocoaPods/Specs.git
|
3
|
+
mirror:
|
4
|
+
specs_push_url: git@git.hooli.xyz:pods-mirror/Specs.git
|
5
|
+
source_push_url: git@git.hooli.xyz:pods-mirror
|
6
|
+
source_clone_url: git://git.hooli.xyz/pods-mirror
|
7
|
+
github:
|
8
|
+
acccess_token: 0y83t1ihosjklgnuioa
|
9
|
+
organisation: pods-mirror
|
10
|
+
endpoint: https://git.hooli.xyz/api/v3
|
11
|
+
podfiles:
|
12
|
+
- "https://raw.githubusercontent.com/xing/XNGAPIClient/master/Example/Podfile.lock"
|
13
|
+
pods:
|
14
|
+
- Google-Mobile-Ads-SDK
|
15
|
+
excluded_pods:
|
16
|
+
- SSKeychain
|
data/spec/fixtures/config.yml
CHANGED
@@ -0,0 +1,23 @@
|
|
1
|
+
describe PodSynchronize::Command::Synchronize do
|
2
|
+
|
3
|
+
before :all do
|
4
|
+
@sync = PodSynchronize::Command::Synchronize.new(CLAide::ARGV.new(['./spec/fixtures/api_client_config.yml']))
|
5
|
+
Dir.mktmpdir { |dir| @sync.setup(temp_path: dir) }
|
6
|
+
end
|
7
|
+
|
8
|
+
describe "#dependencies" do
|
9
|
+
it "resolves the dependencies correctly" do
|
10
|
+
expected_result = [
|
11
|
+
"AFNetworking",
|
12
|
+
"Expecta",
|
13
|
+
"OCMock",
|
14
|
+
"OHHTTPStubs",
|
15
|
+
"XNGAPIClient",
|
16
|
+
"XNGOAuth1Client",
|
17
|
+
"Google-Mobile-Ads-SDK",
|
18
|
+
]
|
19
|
+
expect(@sync.dependencies).to eql(expected_result)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pod-synchronize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthias Männich
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2016-05-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: claide
|
@@ -98,6 +98,7 @@ files:
|
|
98
98
|
- lib/updater/version.rb
|
99
99
|
- pod-synchronize.gemspec
|
100
100
|
- spec/configuration_spec.rb
|
101
|
+
- spec/fixtures/api_client_config.yml
|
101
102
|
- spec/fixtures/config.yml
|
102
103
|
- spec/fixtures/specs/NBNRealmBrowser/0.1.0/NBNRealmBrowser.podspec.json
|
103
104
|
- spec/fixtures/specs/NBNRealmBrowser/0.2.0/NBNRealmBrowser.podspec.json
|
@@ -128,6 +129,7 @@ files:
|
|
128
129
|
- spec/pod_spec.rb
|
129
130
|
- spec/spec_helper.rb
|
130
131
|
- spec/specs_spec.rb
|
132
|
+
- spec/synchronize_spec.rb
|
131
133
|
- spec/version_spec.rb
|
132
134
|
homepage: https://github.com/xing/XNGPodsSynchronizer
|
133
135
|
licenses:
|
@@ -149,12 +151,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
149
151
|
version: '0'
|
150
152
|
requirements: []
|
151
153
|
rubyforge_project:
|
152
|
-
rubygems_version: 2.4.
|
154
|
+
rubygems_version: 2.4.3
|
153
155
|
signing_key:
|
154
156
|
specification_version: 4
|
155
157
|
summary: Mirrors CocoaPods specs
|
156
158
|
test_files:
|
157
159
|
- spec/configuration_spec.rb
|
160
|
+
- spec/fixtures/api_client_config.yml
|
158
161
|
- spec/fixtures/config.yml
|
159
162
|
- spec/fixtures/specs/NBNRealmBrowser/0.1.0/NBNRealmBrowser.podspec.json
|
160
163
|
- spec/fixtures/specs/NBNRealmBrowser/0.2.0/NBNRealmBrowser.podspec.json
|
@@ -185,4 +188,5 @@ test_files:
|
|
185
188
|
- spec/pod_spec.rb
|
186
189
|
- spec/spec_helper.rb
|
187
190
|
- spec/specs_spec.rb
|
191
|
+
- spec/synchronize_spec.rb
|
188
192
|
- spec/version_spec.rb
|