dev_orbit 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44b1844cc0404a82182eb33f1a103b57d2b9be7577c1975e0c2e1755b44357f3
4
- data.tar.gz: b2c48ee968464e77bf86088969fa35075da57239917274940b1112f4c6cf196a
3
+ metadata.gz: b860c219ea7f2254b2be6367db602eba255acd792877e3083abe136072d2df4f
4
+ data.tar.gz: 29777165790b88854d564867e84197603797d9886a28227bed8549f5f30f0fdb
5
5
  SHA512:
6
- metadata.gz: f58e4425e99158a5e35b7aa0b2c3063c3bf12587339b4fd11b7e2ebee93b8d950e93abcb4285f61bd6e3dbddefba822bb0e41819890191c855cffde806cb7c69
7
- data.tar.gz: ac4ddd1cd9e03cb6cab47cac12973f17e48fb8c2245c05679fb14685419041d8e91841243a53255f28b42fc814a7b92928a7b27dbd12e3fa9e1cde254c7f5f3b
6
+ metadata.gz: 68059f0f5c8893b58f9af6bd55b9b95a95f389038ba1221632e3578001bc85a44e802f7921d8c4d35632fde82d67357f412a154051a4137b97449ff9ba7344d9
7
+ data.tar.gz: 3fd8e7dc6605a8eddf53662f5168aa2c76ecec892638f2112fd2134d714fe830ed9c43366e298977fde8070bb5946ddf417d36fb8781526cb24be62dec32334e
data/CHANGELOG.md CHANGED
@@ -12,4 +12,8 @@
12
12
 
13
13
  ## [0.0.4] - 2021-03-10
14
14
 
15
- - Bug fix for stripping the HTML from the DEV blog post comment body
15
+ - Bug fix for stripping the HTML from the DEV blog post comment body
16
+
17
+ ## [0.0.5] - 2021-03-10
18
+
19
+ - Print out Orbit API response
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dev_orbit (0.0.3)
4
+ dev_orbit (0.0.4)
5
5
  actionview (~> 6.1)
6
6
  activesupport (~> 6.1)
7
7
  http (~> 4.4)
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DevOrbit
4
- VERSION = "0.0.4"
4
+ VERSION = "0.0.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev_orbit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Greenberg