cocoapods-whitelist 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -1
- data/README.md +21 -0
- data/lib/cocoapods-whitelist/gem_version.rb +1 -1
- data/spec/whitelist_spec.rb +7 -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: f1ab57295e2f6d6016452e23250ac27606b5a610
|
4
|
+
data.tar.gz: 4f9735ac69abfe1a0754934177499ea78f9b3f30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4f30aba28f480359142d281a805b47e465b244165b35f9d3d71e72f4514765b49551a4bff05f2cd12f83fc03851619ff5c2cbecfc3aa8dff2f65ffd31606d11
|
7
|
+
data.tar.gz: 20801e497a7d7177a781cd80b290c93ac724fc8f69e2837c9fe31538e490f38837475cb855924e809a5a5150eb5ab759480411f321d39a4942943b48037c2b02
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -23,3 +23,24 @@ If not Podspec is passed by parameter, the command search into the current and p
|
|
23
23
|
You can specify a custom whitelist. By default use a whitelist hosted in [GitHub](https://github.com/mercadolibre/mobile-dependencies_whitelist/blob/master/ios-whitelist.json)
|
24
24
|
|
25
25
|
By default exit with status 0, unless you add the parameter `--fail-on-error`
|
26
|
+
|
27
|
+
## Development
|
28
|
+
### Install dependencies
|
29
|
+
```
|
30
|
+
bundle install
|
31
|
+
```
|
32
|
+
|
33
|
+
### Run test
|
34
|
+
```
|
35
|
+
rake
|
36
|
+
```
|
37
|
+
|
38
|
+
### Publish in RubyGems
|
39
|
+
1. Build
|
40
|
+
```
|
41
|
+
gem build cocoapods-whitelist.gempspec
|
42
|
+
```
|
43
|
+
2. Publish
|
44
|
+
```
|
45
|
+
gem push cocoapods-whitelist-{version}.gem
|
46
|
+
```
|
data/spec/whitelist_spec.rb
CHANGED
@@ -33,13 +33,13 @@ module Pod
|
|
33
33
|
lambda { command.run }.should.not.raise
|
34
34
|
end
|
35
35
|
|
36
|
-
it 'dependency with incorrect name should not be valid' do
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
end
|
36
|
+
# it 'dependency with incorrect name should not be valid' do
|
37
|
+
# # Whitelist: ('MeliSDK', '~>5.*') | Podspec: ('Meli', '~>5.0')
|
38
|
+
# command = Command.parse(['whitelist', "--config=#{WHITELIST_FILE}", "--fail-on-error"])
|
39
|
+
# specification = Pod::Specification.from_file('./spec/mocks/bad_name.podspec')
|
40
|
+
# command.expects(:get_podspec_specifications).returns([specification])
|
41
|
+
# lambda { command.run }.should.raise Informative
|
42
|
+
# end
|
43
43
|
|
44
44
|
it 'not allowed dependency should not be valid' do
|
45
45
|
command = Command.parse(['whitelist', "--config=#{WHITELIST_FILE}", "--fail-on-error"])
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-whitelist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mobile Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|