ecm_comments 0.0.1 → 0.1.0

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: '05841a0b21b7afebeb8717cab055e7bd4b475365'
4
- data.tar.gz: bec7b24428a66751e65291cd5e1679dbe939d997
3
+ metadata.gz: e3fc1b6ba83a9d3985c7e4fff97c0d00ea6c53d0
4
+ data.tar.gz: 9c91301f6357431ad3e348f95849974997908d0e
5
5
  SHA512:
6
- metadata.gz: 84af730847fb0cbc4c478caa8c1be41ce9f498c2e5663b891b189e39d1ff2e1ccbc01fdb548f0e225aed4574d3a6cf9a72615be99c4b733617b7bc5673052600
7
- data.tar.gz: c2dfdba528e6658da8729679eba6e2e1890e1f10781fb47f51666ae12c05cd83ad61123306d1f5f0f8d094776fdae44e5ca82e6dc234d0e7ecc53190cddd906c
6
+ metadata.gz: 6314ab5f58b59019f2a43e5b10c8ecbfb53c293ea7b80afa3432c3acccea4a7e7c5f4a3132b95baa6bbe7def190dd093e447914e7d663cbd9d090b86580684eb
7
+ data.tar.gz: 24577aaebe774600d5e83c85cfb80af49a5fd85f749de6c81fd3f1ca0f371110615a2bde59cedff194dc75b7821a55f2d9a27e4b968cdfbae187d24dbba9dfb5
@@ -0,0 +1,13 @@
1
+ module Model
2
+ module Ecm
3
+ module Comments
4
+ module CommentableConcern
5
+ extend ActiveSupport::Concern
6
+
7
+ included do
8
+ has_many :comments, as: :commentable, class_name: 'Ecm::Comments::Comment'
9
+ end
10
+ end
11
+ end
12
+ end
13
+ end
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Comments
3
- VERSION = "0.0.1"
3
+ VERSION = "0.1.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_comments
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Vasquez Angel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-31 00:00:00.000000000 Z
11
+ date: 2017-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -50,6 +50,7 @@ files:
50
50
  - Rakefile
51
51
  - app/assets/javascripts/ecm/comments/application.js
52
52
  - app/assets/stylesheets/ecm/comments/application.css
53
+ - app/concerns/model/ecm/comments/commentable_concern.rb
53
54
  - app/controllers/ecm/comments/application_controller.rb
54
55
  - app/controllers/ecm/comments/comments_controller.rb
55
56
  - app/helpers/ecm/comments/application_helper.rb