dev_orbit 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/Gemfile.lock +1 -1
- data/lib/dev_orbit/interactions/comment.rb +4 -2
- data/lib/dev_orbit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b860c219ea7f2254b2be6367db602eba255acd792877e3083abe136072d2df4f
|
4
|
+
data.tar.gz: 29777165790b88854d564867e84197603797d9886a28227bed8549f5f30f0fdb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68059f0f5c8893b58f9af6bd55b9b95a95f389038ba1221632e3578001bc85a44e802f7921d8c4d35632fde82d67357f412a154051a4137b97449ff9ba7344d9
|
7
|
+
data.tar.gz: 3fd8e7dc6605a8eddf53662f5168aa2c76ecec892638f2112fd2134d714fe830ed9c43366e298977fde8070bb5946ddf417d36fb8781526cb24be62dec32334e
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -36,7 +36,7 @@ module DevOrbit
|
|
36
36
|
|
37
37
|
response = http.request(req)
|
38
38
|
|
39
|
-
JSON.parse(response.body)
|
39
|
+
puts JSON.parse(response.body)
|
40
40
|
end
|
41
41
|
|
42
42
|
def construct_body
|
@@ -86,7 +86,9 @@ module DevOrbit
|
|
86
86
|
end
|
87
87
|
|
88
88
|
def sanitize_comment(comment)
|
89
|
-
ActionView::Base.full_sanitizer.sanitize(comment)
|
89
|
+
comment = ActionView::Base.full_sanitizer.sanitize(comment)
|
90
|
+
|
91
|
+
comment.gsub("\n", " ")
|
90
92
|
end
|
91
93
|
end
|
92
94
|
end
|
data/lib/dev_orbit/version.rb
CHANGED