fastlane-plugin-changelog 0.7.0 → 0.8.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
2
  SHA1:
3
- metadata.gz: bcf3d31f700f597163a76c226762b026a09f079f
4
- data.tar.gz: 8ab8cdca0df9c74d348e216a66daf49a2373ac8b
3
+ metadata.gz: 9156865d370699bcd9e4ee56e6c2c919c7ab61f1
4
+ data.tar.gz: 3d25f7e9595777e7808b855ed142b1d5a3914874
5
5
  SHA512:
6
- metadata.gz: b2981cb1bbd7c291babbc5d7537360f74dbca6171b2e2572a199d638a67d2102939a77821901bd05ef25aaae88ad4893c025c6ef7a08109f9f357584912ea10f
7
- data.tar.gz: 7ccc9c0708eac69ab5415a1cff6f564d94f6a3fab272cf1edf614f27c8641937784fcc798457123d743e5df06a01ff7e2cac33f72d1ae0836f9eea80210af123
6
+ metadata.gz: 26c8b5983a3354e62a3afad98c03b20bd6f8e1f1a08d1f1fa8a7f1bad4b7e487e24760932f9fdf60a3b01a565703a1bfb51d5e02036e6297a42f96ba423c5b00
7
+ data.tar.gz: 55442dc03b622176772e3d6aba159cf1bc5154405132635d8d100501e11661d98e4d6688c65056f1884710c2c93e8d3944930d17019f73fa17257990e1a7de3c
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # changelog plugin
2
2
 
3
- [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-changelog)[![Build Status](https://travis-ci.org/pajapro/fastlane-plugin-changelog.svg?branch=master)](https://travis-ci.org/pajapro/fastlane-plugin-changelog) [![Twitter: @hello_paja](https://img.shields.io/badge/contact-@Hello_Paja-blue.svg?style=flat)](https://twitter.com/hello_paja)
3
+ [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-changelog) [![Build Status](https://travis-ci.org/pajapro/fastlane-plugin-changelog.svg?branch=master)](https://travis-ci.org/pajapro/fastlane-plugin-changelog) [![Twitter: @hello_paja](https://img.shields.io/badge/contact-@Hello_Paja-blue.svg?style=flat)](https://twitter.com/hello_paja)
4
4
 
5
5
  ## Getting Started
6
6
 
@@ -31,7 +31,7 @@ read_changelog # Reads the Unreleased section from CHANGELOG.md in your project'
31
31
  read_changelog(
32
32
  changelog_path: './custom_folder/CHANGELOG.md', # Specify path to CHANGELOG.md
33
33
  section_identifier: '[Unreleased]', # Specify what section to read
34
- excluded_markdown_elements: '["###"]' # Specify which markdown elements should be excluded
34
+ excluded_markdown_elements: ['-', '###'] # Specify which markdown elements should be excluded
35
35
  )
36
36
  ```
37
37
 
@@ -42,7 +42,7 @@ module Fastlane
42
42
  UI.success("Finished reading #{section_identifier} section from '#{changelog_path}'") unless section_content.empty?
43
43
 
44
44
  Actions.lane_context[SharedValues::READ_CHANGELOG_CHANGELOG_PATH] = changelog_path
45
- Actions.lane_context[SharedValues::READ_CHANGELOG_SECTION_CONTENT] = section_content
45
+ Actions.lane_context[SharedValues::READ_CHANGELOG_SECTION_CONTENT] = section_content.strip
46
46
  end
47
47
 
48
48
  def self.remove_markdown(line, excluded_markdown_elements)
@@ -10,7 +10,7 @@ module Fastlane
10
10
 
11
11
  # 2. Ensure there are changes in [Unreleased] section
12
12
  unreleased_section_content = Actions::ReadChangelogAction.run(changelog_path: changelog_path, section_identifier: UNRELEASED_IDENTIFIER, excluded_markdown_elements: ["###"])
13
- if unreleased_section_content.eql?("\n")
13
+ if unreleased_section_content.eql?("")
14
14
  UI.important("WARNING: No changes in [Unreleased] section to stamp!")
15
15
  else
16
16
  section_identifier = params[:section_identifier] unless params[:section_identifier].to_s.empty?
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Changelog
3
- VERSION = "0.7.0"
3
+ VERSION = "0.8.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,114 +1,114 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-changelog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.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: 2017-03-19 00:00:00.000000000 Z
11
+ date: 2017-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: pry
14
+ name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: bundler
28
+ name: fastlane
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: 1.96.0
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: 1.96.0
41
41
  - !ruby/object:Gem::Dependency
42
- name: rspec
42
+ name: pry
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: rubocop
70
+ name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: fastlane
84
+ name: rubocop
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: 1.96.0
89
+ version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: 1.96.0
96
+ version: '0'
97
97
  description:
98
98
  email: pprochazka72@gmail.com
99
99
  executables: []
100
100
  extensions: []
101
101
  extra_rdoc_files: []
102
102
  files:
103
+ - LICENSE
104
+ - README.md
105
+ - lib/fastlane/plugin/changelog.rb
103
106
  - lib/fastlane/plugin/changelog/actions/emojify_changelog.rb
104
107
  - lib/fastlane/plugin/changelog/actions/read_changelog.rb
105
108
  - lib/fastlane/plugin/changelog/actions/stamp_changelog.rb
106
109
  - lib/fastlane/plugin/changelog/actions/update_changelog.rb
107
110
  - lib/fastlane/plugin/changelog/helper/changelog_helper.rb
108
111
  - lib/fastlane/plugin/changelog/version.rb
109
- - lib/fastlane/plugin/changelog.rb
110
- - README.md
111
- - LICENSE
112
112
  homepage: https://github.com/pajapro/fastlane-plugin-changelog
113
113
  licenses:
114
114
  - MIT
@@ -119,17 +119,17 @@ require_paths:
119
119
  - lib
120
120
  required_ruby_version: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  requirements:
127
- - - '>='
127
+ - - ">="
128
128
  - !ruby/object:Gem::Version
129
129
  version: '0'
130
130
  requirements: []
131
131
  rubyforge_project:
132
- rubygems_version: 2.0.14.1
132
+ rubygems_version: 2.5.1
133
133
  signing_key:
134
134
  specification_version: 4
135
135
  summary: Automate changes to your project CHANGELOG.md