fastlane-plugin-sunny_project 0.1.9 → 0.1.10
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: acd74a03c0eb44cd3ecfd916866c3de9ff2c9eca253171379c9cb7a2bb461ccb
|
4
|
+
data.tar.gz: e7caed0c23289ce3b09bd8ff085a0d13d6d820503eb03723cc6e9b4ecf1999d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 324c820378416a9a736ee367615b798b2c5da9b23886bdaf016d53aa6c5d3f369a0f819ed5a0e9ccb173c7148adc9ab1971643277b82a871415ee8b15c542046
|
7
|
+
data.tar.gz: 560a8b70f999957c37e6300d5c15875b4cec3b51348694cecb51723a84c202d4dd7a942af1a12543a77b4ff271e033783be37d5de4103dfb69e95bdca874c0d3
|
@@ -8,14 +8,14 @@ require 'yaml'
|
|
8
8
|
require_relative '../helper/plugin_options'
|
9
9
|
|
10
10
|
def resort_keys(input)
|
11
|
-
resort={}
|
12
|
-
keys=[]
|
11
|
+
resort = {}
|
12
|
+
keys = []
|
13
13
|
input.each_key do |key|
|
14
14
|
puts("Key #{key} #{key.class}")
|
15
15
|
keys.push("#{key}")
|
16
16
|
end
|
17
17
|
|
18
|
-
keys=keys.sort
|
18
|
+
keys = keys.sort
|
19
19
|
puts("Sorted keys: #{keys}")
|
20
20
|
keys.each do |k|
|
21
21
|
resort[k] = input[k]
|
@@ -49,7 +49,7 @@ module Fastlane
|
|
49
49
|
|
50
50
|
plugins.keys.each do |key|
|
51
51
|
info = plugins[key]
|
52
|
-
if info.
|
52
|
+
if info.nil? or info == ''
|
53
53
|
info = key
|
54
54
|
end
|
55
55
|
folder = key
|
@@ -91,10 +91,10 @@ module Fastlane
|
|
91
91
|
|
92
92
|
pyaml = Psych::Visitors::YAMLTree.create
|
93
93
|
pyaml << pubspec
|
94
|
-
n=StringIO.new
|
94
|
+
n = StringIO.new
|
95
95
|
emitter = CustomVisitor.new(n)
|
96
96
|
emitter.accept(pyaml.tree)
|
97
|
-
final_pubspec=n.string.gsub("---", "")
|
97
|
+
final_pubspec = n.string.gsub("---", "")
|
98
98
|
File.write('pubspec.yaml', final_pubspec)
|
99
99
|
print(final_pubspec)
|
100
100
|
end
|
@@ -136,7 +136,7 @@ module Fastlane
|
|
136
136
|
|
137
137
|
def visit_Psych_Nodes_Scalar(o)
|
138
138
|
if o.value.is_a? String
|
139
|
-
str="#{o.value}"
|
139
|
+
str = "#{o.value}"
|
140
140
|
if str.start_with?('^') || str.start_with?('..')
|
141
141
|
@handler.scalar o.value, o.anchor, o.tag, o.plain, o.quoted, 1
|
142
142
|
elsif str.start_with?('https://') || str.start_with?('git@')
|
@@ -150,7 +150,6 @@ module Fastlane
|
|
150
150
|
end
|
151
151
|
end
|
152
152
|
|
153
|
-
|
154
153
|
end
|
155
154
|
end
|
156
155
|
|