shioruby 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/shioruby.rb +1 -1
- data/shioruby.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abb58aada7aa7a7f2bc7006279c8a3cd5d8afcca
|
4
|
+
data.tar.gz: ca26b9c632b77ae31e7e5a7344f35f1ff0cd7c34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65a4ddabd5043a242d959a30fb44b9fcc16e1eda88cf7183f73bbb193e5162854938dc78f945898e146992aff60c9de4f04f5e65ffd65f3ba1de37b3d74be411
|
7
|
+
data.tar.gz: d24a9eec9c0a9ef989c71046312d74a1d26308703d65e2ff4bfbf5ce3218371b858465e4c3244b017e6975b16558cf3eb3e11672c217f111d61d2e0616bdec18
|
data/lib/shioruby.rb
CHANGED
@@ -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
|
data/shioruby.gemspec
CHANGED