fastlane-plugin-changelog 0.14.0 → 0.15.0

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
- SHA1:
3
- metadata.gz: 3b75c418b0bdc7d033a04fc8e2b5cd35b8e1784d
4
- data.tar.gz: 47031da7b4f132a38a12f35f667a21421af06d78
2
+ SHA256:
3
+ metadata.gz: d04b08c8560041a91f3d0519d4bfc23911b0a42288557cf8aef9c97079f8fb1d
4
+ data.tar.gz: d63b349d8edb891f5aae14ad36f9a9b60a8d77b81cf7c9b8d333c6d273b2391b
5
5
  SHA512:
6
- metadata.gz: bb362ab6745365a8565f46c1f12c4b11490e0607d93a25dcda5c644f536a865f0adfaa5c698555887a5e06a8a9c9066ab2aa48cd19bbb61a6a4d1c10149abd5e
7
- data.tar.gz: 371fb011fea1cd5f63c48deb874c34ad3cac7101459e76c208da9e67d882ed8abc3b7412830fb7ac973b05de33e388de4b2ec76b9e4a54ffdb6fb3446ae565a0
6
+ metadata.gz: 31e601796d7e22f23a49e4e8c2c2dbdb2fcde008d73f6876f217199cdc59e91c7a4c330f4a3617668de95ecad5920844b2edf035056a1ca7a77c7932b5c7a6cc
7
+ data.tar.gz: 327da23f6766f75963b8fa41bcf4e6d4c1ba5b3b7e1ae49d1127d26c1135fdd05b8216a2d7e5629b5f1bf73e1996ad4de73d0f2e26dc49a8f3aad860ed03d48e
data/README.md CHANGED
@@ -88,26 +88,26 @@ Deprecated:
88
88
  emojifies into:
89
89
 
90
90
  ```
91
- Added 🎁:
92
- - New awesome feature
91
+ *Added* 🎁:
92
+ New awesome feature
93
93
 
94
- Changed ↔️:
95
- - Onboarding flow UI
94
+ *Changed* ↔️:
95
+ Onboarding flow UI
96
96
 
97
- Fixed ✅:
98
- - Fix Markdown links
97
+ *Fixed* ✅:
98
+ Fix Markdown links
99
99
 
100
- Removed 🚫:
101
- - User tracking
100
+ *Removed* 🚫:
101
+ User tracking
102
102
 
103
- Work In Progress 🚧:
104
- - Sales screen
103
+ *Work In Progress* 🚧:
104
+ Sales screen
105
105
 
106
- Security 🔒:
107
- - Enable SSL pinning
106
+ *Security* 🔒:
107
+ Enable SSL pinning
108
108
 
109
- Deprecated 💨:
110
- - Obsolete contact screen
109
+ *Deprecated* 💨:
110
+ Obsolete contact screen
111
111
  ```
112
112
 
113
113
  Example of use:
@@ -28,14 +28,14 @@ module Fastlane
28
28
 
29
29
  if SUBSECTION_IDENTIFIERS.include?(stripped)
30
30
  emojified_string = case stripped
31
- when 'Added' then 'Added 🎁'
32
- when 'Changed' then 'Changed ↔️'
33
- when 'Fixed' then 'Fixed ✅'
34
- when 'Removed' then 'Removed 🚫'
35
- when 'Work In Progress' then 'Work In Progress 🚧'
36
- when 'Security' then 'Security 🔒'
37
- when 'Deprecated' then 'Deprecated 💨'
38
- end
31
+ when 'Added' then '*Added* 🎁'
32
+ when 'Changed' then '*Changed* ↔️'
33
+ when 'Fixed' then '*Fixed* ✅'
34
+ when 'Removed' then '*Removed* 🚫'
35
+ when 'Work In Progress' then '*Work In Progress* 🚧'
36
+ when 'Security' then '*Security* 🔒'
37
+ when 'Deprecated' then '*Deprecated* 💨'
38
+ end
39
39
 
40
40
  # Add back trailing colon, if previously removed
41
41
  if chopped_colon
@@ -49,6 +49,10 @@ module Fastlane
49
49
  emojified_content.concat(emojified_string)
50
50
  else
51
51
  # Output updated line
52
+ # Replace '-' with '*'
53
+ if line.start_with?('-')
54
+ line[0] = '•'
55
+ end
52
56
  emojified_content.concat(line)
53
57
  end
54
58
  end
@@ -74,6 +78,12 @@ module Fastlane
74
78
  []
75
79
  end
76
80
 
81
+ def self.output
82
+ [
83
+ ['EMOJIFY_CHANGELOG_CONTENT', 'Contains the emojified content of the last read_changelog action'],
84
+ ]
85
+ end
86
+
77
87
  def self.authors
78
88
  ["pajapro"]
79
89
  end
@@ -103,7 +103,8 @@ module Fastlane
103
103
 
104
104
  def self.output
105
105
  [
106
- ['READ_CHANGELOG_SECTION_CONTENT', 'Contains text from a section of your CHANGELOG.md file']
106
+ ['READ_CHANGELOG_SECTION_CONTENT', 'Contains text from a section of your CHANGELOG.md file'],
107
+ ['READ_CHANGELOG_CHANGELOG_PATH', 'Contains the path to the CHANGELOG.md file']
107
108
  ]
108
109
  end
109
110
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Changelog
3
- VERSION = "0.14.0"
3
+ VERSION = "0.15.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-changelog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Prochazka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-11 00:00:00.000000000 Z
11
+ date: 2019-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
129
  version: '0'
130
130
  requirements: []
131
131
  rubyforge_project:
132
- rubygems_version: 2.5.1
132
+ rubygems_version: 2.7.6
133
133
  signing_key:
134
134
  specification_version: 4
135
135
  summary: Automate changes to your project CHANGELOG.md