comment_box 0.0.3 → 0.0.4

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: fbf391d7133c5f2df8b232033c445019d00e29ee
4
- data.tar.gz: 0269b3af218810ea1fdcdc443969fbe1d8dba899
3
+ metadata.gz: 07edf931c61c73fa14ac6c6c07a5b271d0e8597b
4
+ data.tar.gz: 2f806bc5803521fab8fe292a2f88f3462623a825
5
5
  SHA512:
6
- metadata.gz: ef709856b77be927bad97a7901d4ec70ef3d2e9fc811bf0054e5383854d08d4fe2e07ea31894a3ae3bb927d917893bf0bf54223a1a7bbd217e01096d4a84b70e
7
- data.tar.gz: 1847ad4fb51e2c9d786cc792a5c91b5821af6642bb37e4c140078a9d5977eb55a59c8440a53e2b417648ee3f4c790d75f87941e04f6d0731c317dd3c92513114
6
+ metadata.gz: 2e9f6e4008457fb4d818f924416c1fe5c0fc522f03b8a5b2ec9c575f4d454f6217c84e6ce16f09198e48663e6f51f5673818a783ddcb41f878c115cf4ede7beb
7
+ data.tar.gz: 923711dff3185de0fe1977379bee138afa8d71a30f75fb800321075d5b0fba89c4bd34bd0ad805e44e96f46e8617e437967d20a82803bc686bf689d4108ac2fc
@@ -1,3 +1,3 @@
1
1
  module CommentBox
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
@@ -2,6 +2,7 @@ class CommentBoxCreate<%= table_name.camelize %> < ActiveRecord::Migration
2
2
  def up
3
3
  create_table :<%= table_name %> do |t|
4
4
  t.string :author
5
+ t.string :email
5
6
  t.text :text
6
7
  t.string :likes
7
8
 
@@ -39,6 +39,6 @@ class <%= table_name.capitalize %>Controller < ApplicationController
39
39
  end
40
40
 
41
41
  def <%= singular_name %>_params
42
- params.require(:<%= singular_name %>).permit(:author, :text, :likes)
42
+ params.require(:<%= singular_name %>).permit(:author, :email, :text, :likes)
43
43
  end
44
44
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comment_box
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fiyin Adebayo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-13 00:00:00.000000000 Z
11
+ date: 2016-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails