orientepodspecpush 0.1.2 → 0.1.3
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/lib/orientepodspecpush/version.rb +1 -1
- data/lib/orientepodspecpush.rb +13 -11
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a7dcb2eecfb4c1bd36db33a8e30abf2aa95532414bf0179c80863bfb7004f52
|
4
|
+
data.tar.gz: dbec7deed1d204bc9b3576c48ecbfd38a0bd7edeb5153ca935bf935114027694
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bcc4460fac5598f8a1c89fee9535c83862eb56b39a69d9c493be645f82eac075b2b5aa4a5dc6c619d66881922d47ef0141dcfade37e208b42abab50df680ce5
|
7
|
+
data.tar.gz: 582d3beac2dbb6843a0c96395eb4c53315ceaf24fa16a2ff6847d20988cb8c40646fcb15edfcb5f190ac176791fa2b4b49a4aaf86a80f49b0888b3e640eaecb0
|
data/lib/orientepodspecpush.rb
CHANGED
@@ -54,23 +54,25 @@ module Orientepodspecpush
|
|
54
54
|
def makeLintCmd(opts)
|
55
55
|
lintCmd = []
|
56
56
|
lintCmd << ['bundle exec'] if shouldUseBundleExec
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
57
|
+
lintCmd << "pod spec lint"
|
58
|
+
|
59
|
+
# Build sources
|
60
|
+
# sources = ["https://github.com/CocoaPods/Specs.git"]
|
61
|
+
# sources << opts[:sources] unless opts[:sources] == nil
|
62
|
+
# unless opts[:lint] == nil
|
63
|
+
# sources << opts[:lint]
|
64
|
+
# end
|
63
65
|
|
64
66
|
|
67
|
+
# sourcesArg = "--sources=" + sources.join(",")
|
65
68
|
|
66
|
-
|
67
|
-
|
68
|
-
sources << opts[:sources] unless opts[:sources] == nil
|
69
|
-
sourcesArg = "--sources=" + sources.join(",")
|
69
|
+
|
70
|
+
|
70
71
|
|
71
72
|
# Build lintCmd
|
72
73
|
lintCmd << specfile
|
73
|
-
lintCmd << sourcesArg
|
74
|
+
# lintCmd << sourcesArg
|
75
|
+
lintCmd << opts[:sources] unless opts[:sources] == nil
|
74
76
|
lintCmd << ["--private"] unless opts[:private] == false
|
75
77
|
|
76
78
|
# finalize
|