carraway 1.0.0 → 1.0.1

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: 9d55ca828b081c8af517e0428c2e6b4f24fa424415ad58da906ed1cb033dff9f
4
- data.tar.gz: 28018ed8298581837bdb3e8084592d6ed1568d6d226d3e2898382440a1fd7022
3
+ metadata.gz: 6d070b3385edf1645cfd0f61992827e9820be5aae720740e1dbef45b5ae7c704
4
+ data.tar.gz: 75c919ad9551338d8b878f68f08f8aee6b868fef83d052db8f3f5504eea97021
5
5
  SHA512:
6
- metadata.gz: 10031f4a10f37eeccf44a5aae91417e5919649a8bb50bb7651b9ecd40389ec8e0d80fe54971c561277b0e6460d573080da0ca306427497b4d20c87984a11cfd7
7
- data.tar.gz: ace24608943448fc411f2cd7e7a29d1e3e6f86f63607b290ec7d2a95b67c5208b13e1b5e06147053e525014225e4eea4cac498ffbac315bf12a7c35e2c69b898
6
+ metadata.gz: a1a463c963cc16dd244f98677d10425ec3b87271f16e88fda596436660c518280f2cb6e86bb7fd2231b07a5c7b47270fb22efdb49195bdf28d5e8adf354fed53
7
+ data.tar.gz: 59e53c5a6d06c0e67f7e179f1f4e4e257c56bd4fdafa10e787084c2a9be5d19f5eb6ff45243be1a0016c6ff8bf262c63fc1513bf2ad2220b076faed5cfc23742
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Change Log
2
2
 
3
+ ## [v1.0.0](https://github.com/adorechic/carraway/tree/v1.0.0) (2019-02-18)
4
+ [Full Changelog](https://github.com/adorechic/carraway/compare/v0.12.0...v1.0.0)
5
+
6
+ **Implemented enhancements:**
7
+
8
+ - Support file categorize [\#11](https://github.com/adorechic/carraway/pull/11) ([adorechic](https://github.com/adorechic))
9
+ - Return files on API as a kind of posts [\#10](https://github.com/adorechic/carraway/pull/10) ([adorechic](https://github.com/adorechic))
10
+
3
11
  ## [v0.12.0](https://github.com/adorechic/carraway/tree/v0.12.0) (2019-02-15)
4
12
  [Full Changelog](https://github.com/adorechic/carraway/compare/v0.11.0...v0.12.0)
5
13
 
@@ -30,7 +30,10 @@ module Carraway
30
30
  transformed = params[:view] == 'html'
31
31
  if transformed
32
32
  markdown = Redcarpet::Markdown.new(Redcarpet::Render::HTML)
33
- posts = posts.map { |post| post[:body] = markdown.render(post[:body]); post }
33
+ posts = posts.map do |post|
34
+ post[:body] = markdown.render(post[:body]) if post[:body]
35
+ post
36
+ end
34
37
  end
35
38
 
36
39
  { data: { posts: posts } }.to_json
@@ -1,3 +1,3 @@
1
1
  module Carraway
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carraway
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - adorechic
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-18 00:00:00.000000000 Z
11
+ date: 2019-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor