dug 1.0.0 → 1.0.1
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 +4 -4
- data/CHANGELOG.md +9 -1
- data/lib/dug/notification_decorator.rb +5 -3
- data/lib/dug/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: dd5630b7b7d4ec5a034f3f2247dbcb507ac47848
|
|
4
|
+
data.tar.gz: 97b5490b55fd7a68714b35499896f0474f328e4e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1a30a7734647f55dd293f138044c0852604e07682cdbb88204efaef3ee10a7b60a7094ab1a78da572750692f3e3b1e0f6c25e864208b24a39640a4e134945ed4
|
|
7
|
+
data.tar.gz: c7e42008a1abb0d07a937803b5049652180e21b298d6dc96c7644f2cd8140d09ea6e2fb277836f643cef64b645ac800c78924ff506b7df490dafa7e747b9f8df
|
data/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
### Unreleased
|
|
2
|
-
[Full Changelog](http://github.com/chrisarcand/dug/compare/v1.0.
|
|
2
|
+
[Full Changelog](http://github.com/chrisarcand/dug/compare/v1.0.1...master)
|
|
3
3
|
|
|
4
4
|
Nothing yet!
|
|
5
5
|
|
|
6
|
+
### 1.0.0 / 2016-03-11
|
|
7
|
+
[Full Changelog](http://github.com/chrisarcand/dug/compare/v1.0.0...v1.0.1)
|
|
8
|
+
|
|
9
|
+
* Fixed "The Julian Bug", where mentions in commits on other people's forks of a project
|
|
10
|
+
were causing exceptions due to GitHub only sending a plaintext message instead of HTML+plaintext combo
|
|
11
|
+
Issue: https://github.com/chrisarcand/dug/issues/16
|
|
12
|
+
PR: https://github.com/chrisarcand/dug/pull/17
|
|
13
|
+
|
|
6
14
|
### 1.0.0 / 2016-02-11
|
|
7
15
|
[Full Changelog](http://github.com/chrisarcand/dug/compare/65eec3580879c3d4dc27bb6d6ed7716f965ec6ff...v1.0.0)
|
|
8
16
|
|
|
@@ -45,9 +45,11 @@ module Dug
|
|
|
45
45
|
end
|
|
46
46
|
|
|
47
47
|
def plaintext_body
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
@plaintext_body ||= \
|
|
49
|
+
begin
|
|
50
|
+
parts = payload.parts || Array(payload)
|
|
51
|
+
parts.detect { |part| part.mime_type == 'text/plain' }.body.data
|
|
52
|
+
end
|
|
51
53
|
end
|
|
52
54
|
end
|
|
53
55
|
end
|
data/lib/dug/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dug
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Arcand
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-03-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-api-client
|