github_changelog_generator 1.3.1 → 1.3.2

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: 9e7f9fb6b17f3277a75ddf790fe2e28caee51a14
4
- data.tar.gz: 2e4deed99fa44750e88d68992c4ed7f1fd0da0dd
3
+ metadata.gz: b8878c1de8b7782968052f870c3b6d354785ae88
4
+ data.tar.gz: e6a5678237433f16619b5ec7ea6ea7656b2a4807
5
5
  SHA512:
6
- metadata.gz: 326b0958564d2d23479c922ee3196e188ca44b35301929fc03b56c344e40b21e96057101b4f3c0449e92ff3362346e38e3ef91994135cd729e64168063175395
7
- data.tar.gz: 0c01ebd4857229a818048b4116790dfef461d9709a8ebd0adcad01bcc8d95d7a9bd23c3753fe00748b67de54cb6bb0e15985a4af461620517891025374433b6b
6
+ metadata.gz: 775913ead9940733d6f9fec6025ae0272ff511c1085da0bb16354128fe8d74c02fb6679eb64601838d40c354630252ea3fb0846f5026f7e6bc45a58bf07b3fdb
7
+ data.tar.gz: a5fbe0962fd7a72f26b829d71cc25b30bbf73a100c7afab2c3b464bd260034d80febf7d2f1905452f8deb96522af0622a52475b271587461240b2140715946dd
data/CHANGELOG.md CHANGED
@@ -1,10 +1,14 @@
1
1
  # Change Log
2
2
 
3
+ ## [1.3.1](https://github.com/skywinder/Github-Changelog-Generator/tree/1.3.1) (2015-02-27)
4
+
5
+ [Full Changelog](https://github.com/skywinder/Github-Changelog-Generator/compare/1.3.0...1.3.1)
6
+
3
7
  ## [1.3.0](https://github.com/skywinder/Github-Changelog-Generator/tree/1.3.0) (2015-02-26)
4
8
 
5
9
  [Full Changelog](https://github.com/skywinder/Github-Changelog-Generator/compare/1.2.8...1.3.0)
6
10
 
7
- #### Implemented enhancements:
11
+ **Implemented enhancements:**
8
12
 
9
13
  - Do not show `Unreleased` section, when it's empty. [\#55](https://github.com/skywinder/Github-Changelog-Generator/issues/55)
10
14
 
@@ -14,144 +18,125 @@
14
18
 
15
19
  - Separate by lists: Enhancements, Bugs, Pull requests. [\#31](https://github.com/skywinder/Github-Changelog-Generator/issues/31)
16
20
 
17
-
18
- #### Fixed bugs:
21
+ **Fixed bugs:**
19
22
 
20
23
  - Test pull request with invalid label \(#26\) in changelog appeared. [\#44](https://github.com/skywinder/Github-Changelog-Generator/issues/44)
21
24
 
22
-
23
- #### Merged pull requests:
25
+ **Merged pull requests:**
24
26
 
25
27
  - Implement filtering of Pull Requests by milestones [\#50](https://github.com/skywinder/Github-Changelog-Generator/pull/50) ([skywinder](https://github.com/skywinder))
26
28
 
27
-
28
29
  ## [1.2.8](https://github.com/skywinder/Github-Changelog-Generator/tree/1.2.8) (2015-02-17)
29
30
 
30
31
  [Full Changelog](https://github.com/skywinder/Github-Changelog-Generator/compare/1.2.7...1.2.8)
31
32
 
32
- #### Closed issues:
33
+ **Closed issues:**
33
34
 
34
35
  - Bugs, that closed simultaneously with push not appeared in correct version. [\#37](https://github.com/skywinder/Github-Changelog-Generator/issues/37)
35
36
 
36
-
37
- #### Merged pull requests:
37
+ **Merged pull requests:**
38
38
 
39
39
  - Feature/fix 37 [\#49](https://github.com/skywinder/Github-Changelog-Generator/pull/49) ([skywinder](https://github.com/skywinder))
40
40
 
41
41
  - Prettify output [\#48](https://github.com/skywinder/Github-Changelog-Generator/pull/48) ([skywinder](https://github.com/skywinder))
42
42
 
43
-
44
43
  ## [1.2.7](https://github.com/skywinder/Github-Changelog-Generator/tree/1.2.7) (2015-01-26)
45
44
 
46
45
  [Full Changelog](https://github.com/skywinder/Github-Changelog-Generator/compare/1.2.6...1.2.7)
47
46
 
48
- #### Merged pull requests:
47
+ **Merged pull requests:**
49
48
 
50
49
  - Add compare link between older version and newer version [\#46](https://github.com/skywinder/Github-Changelog-Generator/pull/46) ([sue445](https://github.com/sue445))
51
50
 
52
-
53
51
  ## [1.2.6](https://github.com/skywinder/Github-Changelog-Generator/tree/1.2.6) (2015-01-21)
54
52
 
55
53
  [Full Changelog](https://github.com/skywinder/Github-Changelog-Generator/compare/1.2.5...1.2.6)
56
54
 
57
- #### Merged pull requests:
55
+ **Merged pull requests:**
58
56
 
59
57
  - fix link tag format [\#45](https://github.com/skywinder/Github-Changelog-Generator/pull/45) ([sugamasao](https://github.com/sugamasao))
60
58
 
61
-
62
59
  ## [1.2.5](https://github.com/skywinder/Github-Changelog-Generator/tree/1.2.5) (2015-01-15)
63
60
 
64
61
  [Full Changelog](https://github.com/skywinder/Github-Changelog-Generator/compare/1.2.4...1.2.5)
65
62
 
66
- #### Implemented enhancements:
63
+ **Implemented enhancements:**
67
64
 
68
65
  - Use milestone to specify in which version bug was fixed [\#22](https://github.com/skywinder/Github-Changelog-Generator/issues/22)
69
66
 
70
-
71
- #### Fixed bugs:
67
+ **Fixed bugs:**
72
68
 
73
69
  - Error when trying to generate log for repo without tags [\#32](https://github.com/skywinder/Github-Changelog-Generator/issues/32)
74
70
 
75
-
76
- #### Merged pull requests:
71
+ **Merged pull requests:**
77
72
 
78
73
  - PrettyPrint class is included using lowercase 'pp' [\#43](https://github.com/skywinder/Github-Changelog-Generator/pull/43) ([schwing](https://github.com/schwing))
79
74
 
80
75
  - support enterprise github via command line options [\#42](https://github.com/skywinder/Github-Changelog-Generator/pull/42) ([glenlovett](https://github.com/glenlovett))
81
76
 
82
-
83
77
  ## [1.2.4](https://github.com/skywinder/Github-Changelog-Generator/tree/1.2.4) (2014-12-16)
84
78
 
85
79
  [Full Changelog](https://github.com/skywinder/Github-Changelog-Generator/compare/1.2.3...1.2.4)
86
80
 
87
- #### Fixed bugs:
81
+ **Fixed bugs:**
88
82
 
89
83
  - Sometimes user is NULL during merges [\#41](https://github.com/skywinder/Github-Changelog-Generator/issues/41)
90
84
 
91
85
  - Crash when try generate log for rails [\#35](https://github.com/skywinder/Github-Changelog-Generator/issues/35)
92
86
 
93
-
94
- #### Merged pull requests:
87
+ **Merged pull requests:**
95
88
 
96
89
  - Implement async fetching [\#39](https://github.com/skywinder/Github-Changelog-Generator/pull/39) ([skywinder](https://github.com/skywinder))
97
90
 
98
-
99
91
  ## [1.2.3](https://github.com/skywinder/Github-Changelog-Generator/tree/1.2.3) (2014-12-16)
100
92
 
101
93
  [Full Changelog](https://github.com/skywinder/Github-Changelog-Generator/compare/1.2.2...1.2.3)
102
94
 
103
- #### Implemented enhancements:
95
+ **Implemented enhancements:**
104
96
 
105
97
  - Add ability to run with one parameter instead -u -p [\#38](https://github.com/skywinder/Github-Changelog-Generator/issues/38)
106
98
 
107
99
  - Detailed output [\#33](https://github.com/skywinder/Github-Changelog-Generator/issues/33)
108
100
 
109
-
110
- #### Fixed bugs:
101
+ **Fixed bugs:**
111
102
 
112
103
  - Docs lacking or basic behavior not as advertised [\#30](https://github.com/skywinder/Github-Changelog-Generator/issues/30)
113
104
 
114
-
115
- #### Merged pull requests:
105
+ **Merged pull requests:**
116
106
 
117
107
  - Fix crash when user is NULL [\#40](https://github.com/skywinder/Github-Changelog-Generator/pull/40) ([skywinder](https://github.com/skywinder))
118
108
 
119
-
120
109
  ## [1.2.2](https://github.com/skywinder/Github-Changelog-Generator/tree/1.2.2) (2014-12-10)
121
110
 
122
111
  [Full Changelog](https://github.com/skywinder/Github-Changelog-Generator/compare/1.2.1...1.2.2)
123
112
 
124
- #### Fixed bugs:
113
+ **Fixed bugs:**
125
114
 
126
115
  - Encapsulate \[ \> \* \_ \ \] signs in issues names [\#34](https://github.com/skywinder/Github-Changelog-Generator/issues/34)
127
116
 
128
-
129
- #### Merged pull requests:
117
+ **Merged pull requests:**
130
118
 
131
119
  - Add a Bitdeli Badge to README [\#36](https://github.com/skywinder/Github-Changelog-Generator/pull/36) ([bitdeli-chef](https://github.com/bitdeli-chef))
132
120
 
133
-
134
121
  ## [1.2.1](https://github.com/skywinder/Github-Changelog-Generator/tree/1.2.1) (2014-11-22)
135
122
 
136
123
  [Full Changelog](https://github.com/skywinder/Github-Changelog-Generator/compare/1.2.0...1.2.1)
137
124
 
138
- #### Fixed bugs:
125
+ **Fixed bugs:**
139
126
 
140
127
  - Script fills changelog only for first 30 tags. [\#20](https://github.com/skywinder/Github-Changelog-Generator/issues/20)
141
128
 
142
-
143
- #### Merged pull requests:
129
+ **Merged pull requests:**
144
130
 
145
131
  - Issues for last tag not in list [\#29](https://github.com/skywinder/Github-Changelog-Generator/pull/29) ([skywinder](https://github.com/skywinder))
146
132
 
147
133
  - Disable default --filter-pull-requests option. [\#28](https://github.com/skywinder/Github-Changelog-Generator/pull/28) ([skywinder](https://github.com/skywinder))
148
134
 
149
-
150
135
  ## [1.2.0](https://github.com/skywinder/Github-Changelog-Generator/tree/1.2.0) (2014-11-19)
151
136
 
152
137
  [Full Changelog](https://github.com/skywinder/Github-Changelog-Generator/compare/1.1.4...1.2.0)
153
138
 
154
- #### Merged pull requests:
139
+ **Merged pull requests:**
155
140
 
156
141
  - Add filter for pull-requests labels. \(option --filter-pull-requests\) [\#27](https://github.com/skywinder/Github-Changelog-Generator/pull/27) ([skywinder](https://github.com/skywinder))
157
142
 
@@ -159,37 +144,33 @@
159
144
 
160
145
  - Don't receive issues in case of --no-isses flag specied [\#24](https://github.com/skywinder/Github-Changelog-Generator/pull/24) ([skywinder](https://github.com/skywinder))
161
146
 
162
-
163
147
  ## [1.1.4](https://github.com/skywinder/Github-Changelog-Generator/tree/1.1.4) (2014-11-18)
164
148
 
165
149
  [Full Changelog](https://github.com/skywinder/Github-Changelog-Generator/compare/1.1.2...1.1.4)
166
150
 
167
- #### Implemented enhancements:
151
+ **Implemented enhancements:**
168
152
 
169
153
  - Implement ability to retrieve GitHub token from ENV variable \(to not put it to script directly\) [\#19](https://github.com/skywinder/Github-Changelog-Generator/issues/19)
170
154
 
171
-
172
- #### Merged pull requests:
155
+ **Merged pull requests:**
173
156
 
174
157
  - Sort tags by date [\#23](https://github.com/skywinder/Github-Changelog-Generator/pull/23) ([skywinder](https://github.com/skywinder))
175
158
 
176
-
177
159
  ## [1.1.2](https://github.com/skywinder/Github-Changelog-Generator/tree/1.1.2) (2014-11-12)
178
160
 
179
161
  [Full Changelog](https://github.com/skywinder/Github-Changelog-Generator/compare/1.1.1...1.1.2)
180
162
 
181
- #### Merged pull requests:
163
+ **Merged pull requests:**
182
164
 
183
165
  - Fix bug with dot signs in project name [\#18](https://github.com/skywinder/Github-Changelog-Generator/pull/18) ([skywinder](https://github.com/skywinder))
184
166
 
185
167
  - Fix bug with dot signs in user name [\#17](https://github.com/skywinder/Github-Changelog-Generator/pull/17) ([skywinder](https://github.com/skywinder))
186
168
 
187
-
188
169
  ## [1.1.1](https://github.com/skywinder/Github-Changelog-Generator/tree/1.1.1) (2014-11-10)
189
170
 
190
171
  [Full Changelog](https://github.com/skywinder/Github-Changelog-Generator/compare/1.1.0...1.1.1)
191
172
 
192
- #### Merged pull requests:
173
+ **Merged pull requests:**
193
174
 
194
175
  - Remove duplicates of issues and pull-requests with same number [\#15](https://github.com/skywinder/Github-Changelog-Generator/pull/15) ([skywinder](https://github.com/skywinder))
195
176
 
@@ -197,66 +178,58 @@
197
178
 
198
179
  - Add ability to add or exclude issues without any labels [\#13](https://github.com/skywinder/Github-Changelog-Generator/pull/13) ([skywinder](https://github.com/skywinder))
199
180
 
200
-
201
181
  ## [1.1.0](https://github.com/skywinder/Github-Changelog-Generator/tree/1.1.0) (2014-11-10)
202
182
 
203
183
  [Full Changelog](https://github.com/skywinder/Github-Changelog-Generator/compare/1.0.1...1.1.0)
204
184
 
205
- #### Implemented enhancements:
185
+ **Implemented enhancements:**
206
186
 
207
187
  - Detect username and project form origin [\#11](https://github.com/skywinder/Github-Changelog-Generator/issues/11)
208
188
 
209
-
210
- #### Fixed bugs:
189
+ **Fixed bugs:**
211
190
 
212
191
  - Bug with wrong credentials in 1.0.1 [\#12](https://github.com/skywinder/Github-Changelog-Generator/issues/12)
213
192
 
214
193
  - Markdown formating in the last line wrong [\#9](https://github.com/skywinder/Github-Changelog-Generator/issues/9)
215
194
 
216
-
217
195
  ## [1.0.1](https://github.com/skywinder/Github-Changelog-Generator/tree/1.0.1) (2014-11-10)
218
196
 
219
197
  [Full Changelog](https://github.com/skywinder/Github-Changelog-Generator/compare/1.0.0...1.0.1)
220
198
 
221
- #### Merged pull requests:
199
+ **Merged pull requests:**
222
200
 
223
201
  - Implement support of different tags. [\#8](https://github.com/skywinder/Github-Changelog-Generator/pull/8) ([skywinder](https://github.com/skywinder))
224
202
 
225
-
226
203
  ## [1.0.0](https://github.com/skywinder/Github-Changelog-Generator/tree/1.0.0) (2014-11-07)
227
204
 
228
205
  [Full Changelog](https://github.com/skywinder/Github-Changelog-Generator/compare/0.1.0...1.0.0)
229
206
 
230
- #### Implemented enhancements:
207
+ **Implemented enhancements:**
231
208
 
232
209
  - Add support for fixed issues and implemented enchanments. [\#6](https://github.com/skywinder/Github-Changelog-Generator/issues/6)
233
210
 
234
211
  - Implement option to specify output filename [\#4](https://github.com/skywinder/Github-Changelog-Generator/issues/4)
235
212
 
236
-
237
- #### Fixed bugs:
213
+ **Fixed bugs:**
238
214
 
239
215
  - Last tag not appeared in changelog [\#5](https://github.com/skywinder/Github-Changelog-Generator/issues/5)
240
216
 
241
-
242
- #### Merged pull requests:
217
+ **Merged pull requests:**
243
218
 
244
219
  - Add support for issues in CHANGELOG [\#7](https://github.com/skywinder/Github-Changelog-Generator/pull/7) ([skywinder](https://github.com/skywinder))
245
220
 
246
221
  - Fix parsing date of pull request [\#3](https://github.com/skywinder/Github-Changelog-Generator/pull/3) ([skywinder](https://github.com/skywinder))
247
222
 
248
-
249
223
  ## [0.1.0](https://github.com/skywinder/Github-Changelog-Generator/tree/0.1.0) (2014-11-07)
250
224
 
251
225
  [Full Changelog](https://github.com/skywinder/Github-Changelog-Generator/compare/0.0.2...0.1.0)
252
226
 
253
- #### Merged pull requests:
227
+ **Merged pull requests:**
254
228
 
255
229
  - Add changelog generation for last tag [\#2](https://github.com/skywinder/Github-Changelog-Generator/pull/2) ([skywinder](https://github.com/skywinder))
256
230
 
257
231
  - Add option \(-o --output\) to specify name of the output file. [\#1](https://github.com/skywinder/Github-Changelog-Generator/pull/1) ([skywinder](https://github.com/skywinder))
258
232
 
259
-
260
233
  ## [0.0.2](https://github.com/skywinder/Github-Changelog-Generator/tree/0.0.2) (2014-11-06)
261
234
 
262
235
  [Full Changelog](https://github.com/skywinder/Github-Changelog-Generator/compare/0.0.1...0.0.2)
data/README.md CHANGED
@@ -39,15 +39,15 @@ Changelog generation has never been so easy.
39
39
  >
40
40
  > [Full Changelog](https://github.com/skywinder/Github-Changelog-Generator/compare/1.2.4...1.2.5)
41
41
  >
42
- > #### Implemented enhancements:
42
+ > **Implemented enhancements:**
43
43
  >
44
44
  > - Use milestone to specify in which version bug was fixed [\#22](https://github.com/skywinder/Github-Changelog-Generator/issues/22)
45
45
  >
46
- > #### Fixed bugs:
46
+ > **Fixed bugs:**
47
47
  >
48
48
  > - Error when trying to generate log for repo without tags [\#32](https://github.com/skywinder/Github-Changelog-Generator/issues/32)
49
49
  >
50
- > #### Merged pull requests:
50
+ > **Merged pull requests:**
51
51
  >
52
52
  > - PrettyPrint class is included using lowercase 'pp' [\#43](https://github.com/skywinder/Github-Changelog-Generator/pull/43) ([schwing](https://github.com/schwing))
53
53
  >
@@ -85,8 +85,13 @@ module GitHubChangelogGenerator
85
85
  if event[:commit_id].nil?
86
86
  issue[:actual_date] = issue[:closed_at]
87
87
  else
88
- commit = @github.git_data.commits.get @options[:user], @options[:project], event[:commit_id]
89
- issue[:actual_date] = commit[:author][:date]
88
+ begin
89
+ commit = @github.git_data.commits.get @options[:user], @options[:project], event[:commit_id]
90
+ issue[:actual_date] = commit[:author][:date]
91
+ rescue
92
+ puts "Warning: can't fetch commit #{event[:commit_id]} probably it referenced from another repo."
93
+ issue[:actual_date] = issue[:closed_at]
94
+ end
90
95
  end
91
96
  break
92
97
  end
@@ -1,3 +1,3 @@
1
1
  module GitHubChangelogGenerator
2
- VERSION = '1.3.1'
2
+ VERSION = '1.3.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github_changelog_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Petr Korolev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-27 00:00:00.000000000 Z
11
+ date: 2015-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler