gh-events 0.8.1 → 0.8.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
  SHA256:
3
- metadata.gz: d72e0e3c68c3ae74cb92b5cdb3f88a62bdc580ae17c218dc7a95f826384919fa
4
- data.tar.gz: 7243fd7c7e131e0b92aca3007437cabe2cfa748ff97f64fca48d7571526a4fcf
3
+ metadata.gz: f42768b024e11b3e98a2352ca81f6105d3ff4b9e5767efaa3bfb56377e8c2c7a
4
+ data.tar.gz: 43c3fa8883db2ab811e5e358966b50b0bef3a93c73a6446f8b31ce63df7b0a7e
5
5
  SHA512:
6
- metadata.gz: 6d9ef168472148d3c411a7b2f94b03f671784afc5dacfde8cf92bb0384a0a619cd12dd5367e7552510ce2fa710300d626da23cbe6337a08e7fe2f5acd5ab17b2
7
- data.tar.gz: a1ab78c4b59b1cb67c78a9436a212f91043d98dc330f75742cc66c163cc844c9d942361e1217bb575c33779d674cb66a6b62326216a02acbafca432b2cbaebf4
6
+ metadata.gz: b9f1922da318421f76427589360f62459fe37f134e468e0cd45650c41b4bd4ab5ca6181c871618986a236c299cf37852037e8996a7cb7054edf0862c320d9898
7
+ data.tar.gz: 9a8c9102ec4107c01b22c542d1963351fff72f68580f0131901f5556fc8c488c6abca496c9c7f6aab7bee8b3af958086e38e770a0da753117228fe8617bbd3bf
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gh-events (0.8.1)
4
+ gh-events (0.8.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -47,7 +47,7 @@ module GH::Events::Text
47
47
  # if there is no template use a default
48
48
  template ||= templates['no_template']
49
49
 
50
- render(template, event).gsub("\n", "\\n")
50
+ render(template, event).gsub(/[\n\r]+/, '\n')
51
51
  end
52
52
 
53
53
  def templates_file(dict)
@@ -1,5 +1,5 @@
1
1
  module GH
2
2
  module Events
3
- VERSION = "0.8.1"
3
+ VERSION = "0.8.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gh-events
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phil Hofmann