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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ce25eb9c894a1f5f04f16af8a0a1dd3212fd2edf
4
- data.tar.gz: f1ceb015b74b141a5a84b97480802867791836c7
3
+ metadata.gz: f1ab57295e2f6d6016452e23250ac27606b5a610
4
+ data.tar.gz: 4f9735ac69abfe1a0754934177499ea78f9b3f30
5
5
  SHA512:
6
- metadata.gz: 4ee82f3510cac178323a75c79ae7b052e46be7b0b3becc78f2c4f4898ab2b2c3bd54c9d689e77e564c2e3218cf0f720f2ac8eb6a9048f5c7878949a5ebd9842f
7
- data.tar.gz: 7f2846c8fb55f5486db44615c4d448a4832b9cb6892c99aaa76786ee65276b2d04c5bf973aa62260ecbc9316dd41a03cdc1252f131044848ab8cffc35e36156f
6
+ metadata.gz: d4f30aba28f480359142d281a805b47e465b244165b35f9d3d71e72f4514765b49551a4bff05f2cd12f83fc03851619ff5c2cbecfc3aa8dff2f65ffd31606d11
7
+ data.tar.gz: 20801e497a7d7177a781cd80b290c93ac724fc8f69e2837c9fe31538e490f38837475cb855924e809a5a5150eb5ab759480411f321d39a4942943b48037c2b02
@@ -1,5 +1,8 @@
1
+ ## 0.0.9
2
+ - Revert 0.0.8 validation rule
3
+
1
4
  ## 0.0.8
2
- - Add `outfile` parameter
5
+ - Fix name validation rule
3
6
 
4
7
  ## 0.0.7
5
8
  - Add `outfile` parameter
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
+ ```
@@ -1,3 +1,3 @@
1
1
  module CocoapodsWhitelist
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
@@ -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
- # 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
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.8
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-05 00:00:00.000000000 Z
11
+ date: 2019-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler