comfy_blog 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: beb0f6be4a487c3fb6f088c89205e007ceeebc5f
4
- data.tar.gz: 4297e36e4134fa38c49027dfe00fd71612455f84
3
+ metadata.gz: 61326ff45ee457862bc9f4f00de3c9c825fd8e71
4
+ data.tar.gz: 5cf76269962ea8a37ad65a06a1ba903735f437d3
5
5
  SHA512:
6
- metadata.gz: 2cd0bccff29a6d2352149e5c33b149dbafd91b404d037b234abdbe2647a01b591386ea04bf851c15bebe8f4b3d79bd5860ab98e6fac6c7f9afba58ca473e9002
7
- data.tar.gz: a579e9f83d27e048ef9a4fff230b73f9219352323dc6840abfde1abde8b938d58c0dc0596dc2bc1d665e3ab75c9372088ed032c5e56c1481f12ac37cc73f162b
6
+ metadata.gz: 7524fe62eb167f1a074bf50f2f0620c56a74ce45fdf7a3d3f08e30c848eec0fa1e1ab6aeb9b73f9a33599436bf575fc37a0b9b75708902da1592fdd1816372af
7
+ data.tar.gz: 980e2668fa3323a5382710b2821a608d75a556b72e5867f09757e5de8513c699c65a9ccefb80fd3d6416f08dfdce4df85abbef885da7c4a1baadd4a7d63eae96
@@ -1,5 +1,5 @@
1
1
  .page-header
2
- %h2= t('.page_title')
2
+ %h2= t('.title')
3
3
 
4
- = comfy_form_for @post, :as => :post, :url => {:action => :update} do |form|
4
+ = comfy_form_for @post, as: :post, url: {action: :update}, html: {multipart: true} do |form|
5
5
  = render form
@@ -1,5 +1,5 @@
1
1
  .page-header
2
2
  %h2= t('.title')
3
3
 
4
- = comfy_form_for @post, as: :post, url: {action: :create} do |form|
4
+ = comfy_form_for @post, as: :post, url: {action: :create}, html: {multipart: true} do |form|
5
5
  = render form
@@ -1,3 +1,3 @@
1
1
  module ComfyBlog
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
@@ -48,9 +48,9 @@ class BlogPostsTest < ActiveSupport::TestCase
48
48
  title: 'Test Post',
49
49
  layout: @layout
50
50
  )
51
- assert_equal 'test-post', post.slug
52
- assert_equal Time.now.year, post.year
53
- assert_equal Time.now.month, post.month
51
+ assert_equal 'test-post', post.slug
52
+ assert_equal Time.zone.now.year, post.year
53
+ assert_equal Time.zone.now.month, post.month
54
54
  end
55
55
  end
56
56
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comfy_blog
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oleg Khabarov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-30 00:00:00.000000000 Z
11
+ date: 2017-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: comfortable_mexican_sofa