katip 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9ed0d88de0d21f2f08a55c677ecc7dd15450636f
4
- data.tar.gz: e5e6d1d82974d84cf11356882229841a9680993f
3
+ metadata.gz: 698fd6177c262b47cba332e77b19dfd768e14373
4
+ data.tar.gz: 387479b807c95c5d087b3561ea89e40bf6487598
5
5
  SHA512:
6
- metadata.gz: 1ead6f29197176717b0409a3d306920fc87a553dca959c97ada34e3cac0f723db959bbfddcae707871fc2a3fac26198837319f9f8ead6b8a65f09e7d72d5b4d9
7
- data.tar.gz: bf0b0019cee4194adbefcff7ec1bf37dbfa8e0602c6a0db5caef601931683c565eb48a5efefbb4170b6742e78e1e28ba419d3b3302967e67ddec38cd04e87c16
6
+ metadata.gz: 0b0a585166fd722db147c8a95349cfd43f9581bd209f71413bc00819d7d97536b2333412816726f98c7c1cfd3fa0d2580a350e06384c70fb3a064644c948bddb
7
+ data.tar.gz: 39fc711c522d101d9c26fb7b366b1abbfd79c90d30517e31283e74044753e22a504143fd5822c0cda4c5aa147debac01b717259f4a8ba0e96e6b43370c145d18
data/CHANGELOG.md CHANGED
@@ -1,43 +1,74 @@
1
1
 
2
2
  #### [Current]
3
- * [7b5c1e2](../../commit/7b5c1e2) [#1](../../issues/1) Add links to issues in comments __(Murat Kemal BAYGÜN)__
4
- * [3780df9](../../commit/3780df9) typo fixed. __(Onur Özgür ÖZKAN)__
5
- * [2dbf361](../../commit/2dbf361) [#14](../../issues/14) fix video links image __(Murat Kemal BAYGÜN)__
6
- * [0a11741](../../commit/0a11741) [#14](../../issues/14) add video link and translation __(Murat Kemal BAYGÜN)__
7
- * [0d128bd](../../commit/0d128bd) [#16](../../issues/16) Add git repository check __(Murat Kemal BAYGÜN)__
8
- * [8b22c6f](../../commit/8b22c6f) Add latest change log __(Murat Kemal BAYGÜN)__
9
- * [5fc6991](../../commit/5fc6991) [#14](../../issues/14) Update readme, add sample output __(Murat Kemal BAYGÜN)__
10
- * [3f7788c](../../commit/3f7788c) [#14](../../issues/14) update README.md __(Onur Ozgur OZKAN)__
3
+ * [c9b0d1d](../../commit/c9b0d1d) __(Murat Kemal BAYGÜN)__ Multiline commit note support added as referenced in common
4
+ standards, and writing good commit notes
5
+ * [72053a5](../../commit/72053a5) __(Murat Kemal BAYGÜN)__ [#19](../../issues/19) Check if commit includes issue number before replacing with links
6
+ * [002a534](../../commit/002a534) __(Murat Kemal BAYGÜN)__ [#17](../../issues/17) Apply encoding before setting issue links
7
+ * [d1cdb61](../../commit/d1cdb61) __(Murat Kemal BAYGÜN)__ [#17](../../issues/17) Revert breaking code
8
+ * [0291a3f](../../commit/0291a3f) __(Murat Kemal BAYGÜN)__ [#17](../../issues/17) improve gsub usage, fix double quotes
9
+ * [3b25646](../../commit/3b25646) __(Murat Kemal BAYGÜN)__ Merge pull request [#18](../../issues/18) from rderoldan1/develop
10
+ [#17](../../issues/17) Fix encoding bug
11
+ * [081a185](../../commit/081a185) __(Ruben Espinosa)__ Update katip binary
12
+ encoding bug fixed
13
+
14
+ #### 1.1.0
15
+
16
+ * [2a9b75b](../../commit/2a9b75b) __(Murat Kemal BAYGÜN)__ Release 1.1.0
17
+ * [7b5c1e2](../../commit/7b5c1e2) __(Murat Kemal BAYGÜN)__ [#1](../../issues/1) Add links to issues in comments
18
+ * [3780df9](../../commit/3780df9) __(Onur Özgür ÖZKAN)__ typo fixed.
19
+ * [2dbf361](../../commit/2dbf361) __(Murat Kemal BAYGÜN)__ [#14](../../issues/14) fix video links image
20
+ * [0a11741](../../commit/0a11741) __(Murat Kemal BAYGÜN)__ [#14](../../issues/14) add video link and translation
21
+ * [0d128bd](../../commit/0d128bd) __(Murat Kemal BAYGÜN)__ [#16](../../issues/16) Add git repository check
22
+ katip was generating multiple lines of error, while running under
23
+ a directory which is not a git initiliazed directory. Control added
24
+ to check if directory is initialized as a git repostiory
25
+ * [8b22c6f](../../commit/8b22c6f) __(Murat Kemal BAYGÜN)__ Add latest change log
26
+ * [5fc6991](../../commit/5fc6991) __(Murat Kemal BAYGÜN)__ [#14](../../issues/14) Update readme, add sample output
27
+ * [3f7788c](../../commit/3f7788c) __(Onur Ozgur OZKAN)__ [#14](../../issues/14) update README.md
11
28
 
12
29
  #### 1.0.2
13
- * [664e012](../../commit/664e012) [#15](../../issues/15) Set version 1.0.2 __(Murat Kemal BAYGÜN)__
30
+
31
+ * [664e012](../../commit/664e012) __(Murat Kemal BAYGÜN)__ [#15](../../issues/15) Set version 1.0.2
32
+ In hotfix vserion number is forgotten to set. Version number is
33
+ now set to 1.0.2
14
34
 
15
35
  #### 1.0.1
16
- * [35f0b39](../../commit/35f0b39) [#15](../../issues/15) Fixes broken commit URL In previous version commit URL was broken unexpectedly.Current commit fixes broken URL and replaces it with the correct one __(Murat Kemal BAYGÜN)__
36
+
37
+ * [35f0b39](../../commit/35f0b39) __(Murat Kemal BAYGÜN)__ [#15](../../issues/15) Fixes broken commit URL
38
+ In previous version commit URL was broken unexpectedly.Current
39
+ commit fixes broken URL and replaces it with the correct one
17
40
 
18
41
  #### 1.0.0
19
- * [cbec9c0](../../commit/cbec9c0) release version 1.0.0 __(Murat Kemal BAYGÜN)__
20
- * [6b8cfe7](../../commit/6b8cfe7) [#13](../../issues/13) Add custom file name support to rake __(Murat Kemal BAYGÜN)__
21
- * [7b5be3d](../../commit/7b5be3d) [#10](../../issues/10) add output file name as optional parameter __(Murat Kemal BAYGÜN)__
22
- * [695646c](../../commit/695646c) [#12](../../issues/12) Add and correct information on gemspec __(Murat Kemal BAYGÜN)__
23
- * [f30a3b2](../../commit/f30a3b2) [#9](../../issues/9) Update rake job to use installed executable __(Murat Kemal BAYGÜN)__
24
- * [a7200f0](../../commit/a7200f0) [#11](../../issues/11) Fix bug Current commits is not seen on log file __(Murat Kemal BAYGÜN)__
25
- * [6385fff](../../commit/6385fff) [#8](../../issues/8) Change executable file name to katip __(Murat Kemal BAYGÜN)__
42
+
43
+ * [cbec9c0](../../commit/cbec9c0) __(Murat Kemal BAYGÜN)__ release version 1.0.0
44
+ * [6b8cfe7](../../commit/6b8cfe7) __(Murat Kemal BAYGÜN)__ [#13](../../issues/13) Add custom file name support to rake
45
+ * [7b5be3d](../../commit/7b5be3d) __(Murat Kemal BAYGÜN)__ [#10](../../issues/10) add output file name as optional parameter
46
+ * [695646c](../../commit/695646c) __(Murat Kemal BAYGÜN)__ [#12](../../issues/12) Add and correct information on gemspec
47
+ * [f30a3b2](../../commit/f30a3b2) __(Murat Kemal BAYGÜN)__ [#9](../../issues/9) Update rake job to use installed executable
48
+ * [a7200f0](../../commit/a7200f0) __(Murat Kemal BAYGÜN)__ [#11](../../issues/11) Fix bug Current commits is not seen on log file
49
+ * [6385fff](../../commit/6385fff) __(Murat Kemal BAYGÜN)__ [#8](../../issues/8) Change executable file name to katip
26
50
 
27
51
  #### 0.2.0
28
- * [61b2f06](../../commit/61b2f06) Version 0.2.0 __(Murat Kemal BAYGÜN)__
29
- * [9bd7659](../../commit/9bd7659) [#7](../../issues/7) Fix documentation __(Murat Kemal BAYGÜN)__
30
- * [2abca18](../../commit/2abca18) [#7](../../issues/7) Organize readme, add usage for daktilo __(Murat Kemal BAYGÜN)__
31
- * [b939475](../../commit/b939475) [#7](../../issues/7) Add output message to inform user __(Murat Kemal BAYGÜN)__
32
- * [99d3b3f](../../commit/99d3b3f) [#7](../../issues/7) Add executable ruby file to gem to generate default output CHANGELOG.md __(Murat Kemal BAYGÜN)__
33
- * [7265622](../../commit/7265622) [#4](../../issues/4) Add simple usage documentation on readme __(Murat Kemal BAYGÜN)__
52
+
53
+ * [61b2f06](../../commit/61b2f06) __(Murat Kemal BAYGÜN)__ Version 0.2.0
54
+ * [9bd7659](../../commit/9bd7659) __(Murat Kemal BAYGÜN)__ [#7](../../issues/7) Fix documentation
55
+ * [2abca18](../../commit/2abca18) __(Murat Kemal BAYGÜN)__ [#7](../../issues/7) Organize readme, add usage for daktilo
56
+ * [b939475](../../commit/b939475) __(Murat Kemal BAYGÜN)__ [#7](../../issues/7) Add output message to inform user
57
+ * [99d3b3f](../../commit/99d3b3f) __(Murat Kemal BAYGÜN)__ [#7](../../issues/7) Add executable ruby file to gem to generate default output CHANGELOG.md
58
+ * [7265622](../../commit/7265622) __(Murat Kemal BAYGÜN)__ [#4](../../issues/4) Add simple usage documentation on readme
34
59
 
35
60
  #### 0.1.0
36
- * [de3acfb](../../commit/de3acfb) [#6](../../issues/6) Update gemspec __(Onur Ozgur OZKAN)__
37
- * [498c3d6](../../commit/498c3d6) [#6](../../issues/6) Set gem __(Onur Ozgur OZKAN)__
38
- * [416e6c8](../../commit/416e6c8) [#6](../../issues/6) Set gem __(Onur Ozgur OZKAN)__
39
- * [c820767](../../commit/c820767) [#4](../../issues/4) Add CHANGELOG.md file __(Murat Kemal BAYGÜN)__
40
- * [18fba8f](../../commit/18fba8f) [#3](../../issues/3) Add logger file __(Murat Kemal BAYGÜN)__
41
- * [105af37](../../commit/105af37) Update readme __(Murat Kemal BAYGÜN)__
42
- * [bc56515](../../commit/bc56515) Initial commit __(Murat Kemal BAYGÜN)__
43
- * [1b1d477](../../commit/1b1d477) Initial commit __(Murat Kemal BAYGÜN)__
61
+
62
+ * [de3acfb](../../commit/de3acfb) __(Onur Ozgur OZKAN)__ [#6](../../issues/6) Update gemspec
63
+ * [498c3d6](../../commit/498c3d6) __(Onur Ozgur OZKAN)__ [#6](../../issues/6) Set gem
64
+ * [416e6c8](../../commit/416e6c8) __(Onur Ozgur OZKAN)__ [#6](../../issues/6) Set gem
65
+ * [c820767](../../commit/c820767) __(Murat Kemal BAYGÜN)__ [#4](../../issues/4) Add CHANGELOG.md file
66
+ CHANGELOG.md file is generated by the logger daktilo
67
+ and added as current output
68
+ * [18fba8f](../../commit/18fba8f) __(Murat Kemal BAYGÜN)__ [#3](../../issues/3) Add logger file
69
+ Logger file is rewritten by adding a default output file setting
70
+ CHANGELOG.md. Who runs the logger file may override output file
71
+ by adding a parameter after the command
72
+ * [105af37](../../commit/105af37) __(Murat Kemal BAYGÜN)__ Update readme
73
+ * [bc56515](../../commit/bc56515) __(Murat Kemal BAYGÜN)__ Initial commit
74
+ * [1b1d477](../../commit/1b1d477) __(Murat Kemal BAYGÜN)__ Initial commit
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- katip (1.1.0)
4
+ katip (1.2.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/bin/katip CHANGED
@@ -53,18 +53,25 @@ def parse_change_log
53
53
  output << "\n#### #{previous_tag}"
54
54
  end
55
55
 
56
- output << `git log --pretty=format:" * [%h](#{COMMIT_URL}%h) %s __(%an)__" "#{current_tag}".."#{previous_tag}" | grep -v "Merge branch "`
56
+ output << `git log --pretty=format:" * [%h](#{COMMIT_URL}%h) __(%an)__ %B" "#{current_tag}".."#{previous_tag}" | grep -v "Merge branch "`
57
57
 
58
58
  previous_tag = current_tag
59
59
  end
60
60
 
61
61
  output << "\n#### #{previous_tag}"
62
- output << `git log --pretty=format:" * [%h](#{COMMIT_URL}%h) %s __(%an)__" #{previous_tag} | grep -v "Merge branch "`
62
+ output << `git log --pretty=format:" * [%h](#{COMMIT_URL}%h) __(%an)__ %B" #{previous_tag} | grep -v "Merge branch "`
63
63
 
64
64
  output.each do |line|
65
65
 
66
- line.gsub!(/#[1-9][0-9]*/) {|s| '[' + s + "](#{ISSUE_URL}" + s[-(s.length-1)..-1] + ')'}
66
+ line.encode!('utf-8', invalid: :replace, undef: :replace, replace: '')
67
67
 
68
+ while line.index(/\n\n/)
69
+ line.gsub!(/\n\n/, "\n")
70
+ end
71
+
72
+ if line.index(/#[1-9][0-9]*/)
73
+ line.gsub!(/#[1-9][0-9]*/) {|s| "[#{s}](#{ISSUE_URL}#{s[-(s.length-1)..-1]})"}
74
+ end
68
75
  end
69
76
 
70
77
  output
data/lib/katip/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Katip
2
- VERSION = '1.1.0'
2
+ VERSION = '1.2.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: katip
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - lab2023
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-22 00:00:00.000000000 Z
11
+ date: 2013-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler