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: e5a4314d675651fcc54daa9ad1a652f848e351267b2118c2f4a4a8f2245db66b
4
- data.tar.gz: 22d4dc030288c6cca79205dc2afaad6136fce30e8b511fd2e4c8865875c8d510
3
+ metadata.gz: acd74a03c0eb44cd3ecfd916866c3de9ff2c9eca253171379c9cb7a2bb461ccb
4
+ data.tar.gz: e7caed0c23289ce3b09bd8ff085a0d13d6d820503eb03723cc6e9b4ecf1999d3
5
5
  SHA512:
6
- metadata.gz: fdcdee64745b5be1d9125fc734493decde7ce7727866268f4114c26a21e5560d7919c790a7932f1ca2cbcf425aec77050d6f43197ac4fb4d4ad93eb337c34824
7
- data.tar.gz: 436546fe121d118181d5c34768ff67797e22b08545d98d7e7d06382beeb21f7981263c86999741f8279fe7dc9cc80fe953611d1bb41f0a3fe1ed2ad9b0e6123b
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.empty?
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
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module SunnyProject
3
- VERSION = "0.1.9"
3
+ VERSION = "0.1.10"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-sunny_project
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - ericmartineau