pod-synchronize 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.simplecov +0 -1
- data/Gemfile.lock +3 -3
- data/README.md +3 -0
- data/lib/updater/configuration.rb +5 -1
- data/lib/updater/synchronize.rb +2 -0
- data/pod-synchronize.gemspec +3 -3
- data/spec/configuration_spec.rb +7 -0
- data/spec/fixtures/config.yml +3 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1129a5487e2bcd369ec9b64ef8fba697e4e4c6e1
|
4
|
+
data.tar.gz: 9f510c3447ceb841fd28040a9d927e4fb8d8f64c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26f7824644ee7c41d30ba1452a13eb9c498ef3f66bcf4e82a4df8aba673125e5b21f244d99bf58e7b16dd5cab4072c57fe6c02d16adae726af3328b71fe04464
|
7
|
+
data.tar.gz: ba9f521dd78189af5910a728b866d56d8e30647f7ff3fc41c9c9f3723fe03b2db5c0ec83e390e4d0a574aaa7662b9629bbfc4c2248379ecc603ae2bf69d4653e
|
data/.simplecov
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
pod-synchronize (0.
|
4
|
+
pod-synchronize (0.2.0)
|
5
5
|
claide (~> 0.8.1)
|
6
|
-
colored
|
6
|
+
colored (~> 1.2)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
claide (0.8.
|
11
|
+
claide (0.8.2)
|
12
12
|
colored (1.2)
|
13
13
|
coveralls (0.8.1)
|
14
14
|
json (~> 1.8)
|
data/README.md
CHANGED
@@ -33,6 +33,8 @@ podfiles:
|
|
33
33
|
- "https://git.hooli.xyz/ios/moonshot/raw/master/Podfile.lock"
|
34
34
|
- "https://git.hooli.xyz/ios/nucleus/raw/master/Podfile.lock"
|
35
35
|
- "https://git.hooli.xyz/ios/bro2bro/raw/master/Podfile.lock"
|
36
|
+
pods:
|
37
|
+
- Google-Mobile-Ads-SDK
|
36
38
|
```
|
37
39
|
|
38
40
|
|key|meaning|
|
@@ -45,6 +47,7 @@ podfiles:
|
|
45
47
|
|mirror.github.organisation|The GitHub organization used for mirrored repositories|
|
46
48
|
|mirror.github.endpoint|API Endpoint of your GitHub api|
|
47
49
|
|podfiles|List of __Podfile.lock__ in __Plain Text__ format|
|
50
|
+
|pods|List of additional Pods you would like to add|
|
48
51
|
|
49
52
|
We use Jenkins to run the synchronize process twice daily. To do that use the following command:
|
50
53
|
|
data/lib/updater/synchronize.rb
CHANGED
@@ -71,6 +71,8 @@ module PodSynchronize
|
|
71
71
|
podfile_contents = open(podfile, {ssl_verify_mode: OpenSSL::SSL::VERIFY_NONE}) { |io| io.read }
|
72
72
|
pods_dependencies << YAML.load(podfile_contents)["SPEC CHECKSUMS"].keys
|
73
73
|
end
|
74
|
+
pods_dependencies << @config.pods
|
75
|
+
|
74
76
|
pods_dependencies.flatten!.uniq!
|
75
77
|
end
|
76
78
|
|
data/pod-synchronize.gemspec
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
Gem::Specification.new do |spec|
|
3
3
|
spec.name = "pod-synchronize"
|
4
|
-
spec.version = "0.
|
5
|
-
spec.authors = ["Matthias Männich", "Piet Brauer"]
|
6
|
-
spec.email = ["matthias.maennich@xing.com", "piet.brauer@xing.com"]
|
4
|
+
spec.version = "0.2.0"
|
5
|
+
spec.authors = ["Matthias Männich", "Piet Brauer", "Renzo Crisostomo"]
|
6
|
+
spec.email = ["matthias.maennich@xing.com", "piet.brauer@xing.com", "renzo.crisostomo@xing.com"]
|
7
7
|
spec.summary = %q{Mirrors CocoaPods specs}
|
8
8
|
spec.description = %q{Synchronizes the public CocoaPods Specs repo with your internal mirror.}
|
9
9
|
spec.homepage = "https://github.com/xing/XNGPodsSynchronizer"
|
data/spec/configuration_spec.rb
CHANGED
@@ -29,6 +29,13 @@ describe Configuration do
|
|
29
29
|
end
|
30
30
|
end
|
31
31
|
|
32
|
+
describe '#pods' do
|
33
|
+
it 'should parse the pods correctly' do
|
34
|
+
expected_result = ["Google-Mobile-Ads-SDK"]
|
35
|
+
expect(@config.pods).to eql(expected_result)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
32
39
|
describe "#mirror" do
|
33
40
|
it 'should have the correct @specs_push_url' do
|
34
41
|
expect(@config.mirror.specs_push_url).to eql("git@git.hooli.xyz:pods-mirror/Specs.git")
|
data/spec/fixtures/config.yml
CHANGED
@@ -11,4 +11,6 @@ mirror:
|
|
11
11
|
podfiles:
|
12
12
|
- "https://git.hooli.xyz/ios/moonshot/raw/master/Podfile.lock"
|
13
13
|
- "https://git.hooli.xyz/ios/nucleus/raw/master/Podfile.lock"
|
14
|
-
- "https://git.hooli.xyz/ios/bro2bro/raw/master/Podfile.lock"
|
14
|
+
- "https://git.hooli.xyz/ios/bro2bro/raw/master/Podfile.lock"
|
15
|
+
pods:
|
16
|
+
- Google-Mobile-Ads-SDK
|
metadata
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pod-synchronize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthias Männich
|
8
8
|
- Piet Brauer
|
9
|
+
- Renzo Crisostomo
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date: 2015-
|
13
|
+
date: 2015-08-13 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: claide
|
@@ -71,6 +72,7 @@ description: Synchronizes the public CocoaPods Specs repo with your internal mir
|
|
71
72
|
email:
|
72
73
|
- matthias.maennich@xing.com
|
73
74
|
- piet.brauer@xing.com
|
75
|
+
- renzo.crisostomo@xing.com
|
74
76
|
executables:
|
75
77
|
- pod-synchronize
|
76
78
|
extensions: []
|