shioruby 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/shioruby.rb +1 -1
  3. data/shioruby.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2acdeb690cdb39be99e84dbb8973824333b2f21b
4
- data.tar.gz: 71339eff886e407b80a590447b47ca6f9ba54d3a
3
+ metadata.gz: abb58aada7aa7a7f2bc7006279c8a3cd5d8afcca
4
+ data.tar.gz: ca26b9c632b77ae31e7e5a7344f35f1ff0cd7c34
5
5
  SHA512:
6
- metadata.gz: ee74028ef60007498346df8eb9a1a0cdd84400434204ed6a57c862322d6bfad6e54fd328a17a4024ef70ed5448e192f4808d6e5f272394a4c9ca0d1405dc3101
7
- data.tar.gz: 058671656fbba8b077ee6274388f76372c2553643fe8c6ef143bb92830577b6258fa9590cf285ab19a0159055eda08be2ada72d107584b58eee4b6be17f431b6
6
+ metadata.gz: 65a4ddabd5043a242d959a30fb44b9fcc16e1eda88cf7183f73bbb193e5162854938dc78f945898e146992aff60c9de4f04f5e65ffd65f3ba1de37b3d74be411
7
+ data.tar.gz: d24a9eec9c0a9ef989c71046312d74a1d26308703d65e2ff4bfbf5ce3218371b858465e4c3244b017e6975b16558cf3eb3e11672c217f111d61d2e0616bdec18
@@ -47,7 +47,7 @@ module Shioruby
47
47
  response.version
48
48
  lines = ["SHIORI/#{response.version} #{response.code} #{message}"]
49
49
  response.each_pair.reject {|key, _| ['code', 'message', 'version', :code, :message, :version].include?(key)}.each do |key, value|
50
- lines << "#{key}: #{value}"
50
+ lines << "#{key}: #{value.gsub(/[\r\n]/, '')}"
51
51
  end
52
52
  lines.join("\n") + "\n\n"
53
53
  end
@@ -3,7 +3,7 @@ lib = File.expand_path('../lib', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = "shioruby"
6
- spec.version = "0.0.2"
6
+ spec.version = "0.0.3"
7
7
  spec.authors = ["Narazaka"]
8
8
  spec.email = ["info@narazaka.net"]
9
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shioruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Narazaka