albacore 2.5.10 → 2.5.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/albacore/tools.rb +2 -1
- data/lib/albacore/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55c2b21b7c14ba0a4f008b7fb85917a185f67383
|
4
|
+
data.tar.gz: bc81d7b567e096cb8274f31fecade00d24cecfb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab46025d823c183cfc93371b081d064e87409929b3996302aa7ec21c46b7690824095f9b30ae846e0825f21f009c300d6868f46aa1400b33d149fbe1eb3b94d8
|
7
|
+
data.tar.gz: a6b4b2d657f3f0067695c336a2093dbe830abdeb741bf33fb7a59b3ee381b68aaf1701445eaa2f940a56171ad32b79cc5f525325dd32fa59356e17a9f66875d4
|
data/lib/albacore/tools.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# Encoding: utf-8
|
1
2
|
require 'albacore'
|
2
3
|
require 'xsemver'
|
3
4
|
|
@@ -11,7 +12,7 @@ module Albacore::Tools
|
|
11
12
|
last_tag = tags[-1]
|
12
13
|
# second_last_tag = tags[-2] || `git rev-list --max-parents=0 HEAD`
|
13
14
|
# logs = `git log --pretty=format:%s #{second_last_tag}..`.split(/\n/)
|
14
|
-
logs = `git log --pretty=format:%s #{last_tag}..`.split(/\n/)
|
15
|
+
logs = `git log --pretty=format:%s #{last_tag}..`.encode!('UTF-8').split(/\n/)
|
15
16
|
"Release Notes:
|
16
17
|
#{logs.inject('') { |state, line| state + "\n * #{line}" }}"
|
17
18
|
end
|
data/lib/albacore/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: albacore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.5.
|
4
|
+
version: 2.5.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henrik Feldt
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-05-
|
12
|
+
date: 2016-05-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|