fastlane-plugin-ci_changelog 0.3.2 → 0.3.3

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: 213dc6787859ed0ee1b964758742ad47473cd826
4
- data.tar.gz: 3367aaaa6493346225fe807e970c1149e49a8973
3
+ metadata.gz: 9a7a31d3c357ce845fa8a3605581126cceed5ca7
4
+ data.tar.gz: 4bf4eefe74ef027f4b68e074efc34f609eb60b2f
5
5
  SHA512:
6
- metadata.gz: 53cdc9ac9fe9f8bd2c27b76f7af6e83bbc6455a8f40a1a1cbbc5ea235ea907704fdcca92c5e74e73b9f4e4f87db1499cbae58e92bad3a4926a2a6d26b2de9f4b
7
- data.tar.gz: 5e49ea099b3b83cd5044f806b318a27c4491e60f984b783d7fc7d677a6700b06669547ed88e072791f5d828c41e165f110ff8869f42088d278aceeb719ec75e6
6
+ metadata.gz: 127fdad895be60fc64305a22da9381fe347b009130d3a184c08b616cba7953971196d5c915f083304ac82d959e960115160087ece44c6a4021c92dad3f576cc1
7
+ data.tar.gz: 6a8e1deba7f712026ef9f04457e66586719fcee7dc20f094c79ca60f806871a1fc4e42d82085ae8b3bd02822b404747bbbd1b4c336c823559533fb7e02c07c4e
@@ -42,13 +42,14 @@ module Fastlane
42
42
  end
43
43
 
44
44
  def self.print_table!
45
+ data = Actions.lane_context[SharedValues::CICL_CHANGELOG]
45
46
  changelog =
46
- if !Actions.lane_context[SharedValues::CICL_CHANGELOG].nil? or !Actions.lane_context[SharedValues::CICL_CHANGELOG].empty?
47
- JSON.parse(Actions.lane_context[SharedValues::CICL_CHANGELOG]).each_with_object([]) do |commit, obj|
47
+ if !data.nil? or !data.empty? or data.size != 0
48
+ JSON.parse(data).each_with_object([]) do |commit, obj|
48
49
  obj << commit.collect { |k, v| "#{k}: #{v}" }.join("\n")
49
50
  end.join("\n\n")
50
51
  else
51
- 'No found'
52
+ 'no change'
52
53
  end
53
54
 
54
55
  params = {
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module CiChangelog
3
- VERSION = '0.3.2'.freeze
3
+ VERSION = '0.3.3'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-ci_changelog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - icyleaf