green_day 0.1.7 → 0.1.8

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: 847d8c7165f8f49cde2bfa74baa93dbfe5c768f3d79b5e75f62f3c06c178c029
4
- data.tar.gz: 765aa083bcf03e74c5f3d4ce43713209bcc76bdcb857872c1d05d729ebfaa793
3
+ metadata.gz: 6d4fcd6e04fa4ae3036ade6e56c9557f328807ee685bcb413c22ee4b7a94c78f
4
+ data.tar.gz: 521c0dc62981992d95a77dc56805443843be93177cddba94e7ec8f9b364318d7
5
5
  SHA512:
6
- metadata.gz: 5e048781f120481b08b1c51a62744f5214cee0a0bd20902d528a2f0753330894682d24e29ff1ef63672ed5b3936011a611a30a6243d26b88b1c12cbf80ce588a
7
- data.tar.gz: e80f114af4d24f10ce607ba652097e2ed0f42dee1ba49c2baf90f3c789557397ac7ca4595058a5d7238580aeb0f5bc050eddd3457a2afd81ef4a765866db21e0
6
+ metadata.gz: dd1c482a33eaf080e76742d90451bd65c61434023f08fac5eeb402561acb5688693918601af56e6e9c3683f8e98a531200fe2d6ab7beb5dd417e879980941108
7
+ data.tar.gz: 03430005b4f75548739cfc44bed7597a4410ab01d23997ecd39a0d1e190b517f6886e7c2be9f95d50fa67ed339cad9607b48e6be9e9acf72b94b42dbdbe51fbe
@@ -26,7 +26,9 @@ module GreenDay
26
26
  end
27
27
 
28
28
  def unify_cr_lf(string)
29
- string.gsub(/\R/, "\n").dump
29
+ return unless string # たまに画像で例を出してくるとsampleの文字がなくなる
30
+
31
+ string&.gsub(/\R/, "\n")&.dump
30
32
  end
31
33
 
32
34
  def tab
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GreenDay
4
- VERSION = '0.1.7'
4
+ VERSION = '0.1.8'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: green_day
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - qwyng
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-01 00:00:00.000000000 Z
11
+ date: 2020-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday