ecm_blog 0.1.1 → 0.2.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: '0368f6ac69e1091e9973f636ce90fa2f73b9bcb2'
4
- data.tar.gz: f6af4fe970680805abbab77b6db19ed7b6e2817e
3
+ metadata.gz: 1ad16cae6059ef857fe5d7f8fb010b66cde8d474
4
+ data.tar.gz: 2f73acae55a824b3d77f14639e20d697a78caa76
5
5
  SHA512:
6
- metadata.gz: 48cde31153845aa0503d801b22e802ce0c636b61c6184315e2418c6458cff322733a0ae5b4bdb4febe586db9088869d9d4da543f9ec6fe60dc78d0daa21349c8
7
- data.tar.gz: 18c640b24e82eeeb45f9df0570834759794a07f441018f90d7d6950c4f8aa07b4fdc528395d5783a6aeda45600badaab2005f126b7585bbf8d179f87646cf45f
6
+ metadata.gz: 59e56e7a0ea13f5c1806fb4708672d4becdbf6d7d502e94d738adff171642e65fc28f0261267880390d4ee4846daf134ef7f9d9b264bd64b495b0ab247857f73
7
+ data.tar.gz: 34004e582864cbf1b838e2ebbc4c2d79678c806d166051c5cf1d89c7cce7c0535f6eb7b5f3053f66689494e1508ad2d0a8741419c8b48f8289ee1b91f689ab36
@@ -1,7 +1,6 @@
1
1
  module Ecm::Blog
2
2
  class Post < ActiveRecord::Base
3
- has_many :comments, as: :commentable, class_name: 'Ecm::Comments::Comment'
4
-
3
+ include Model::Ecm::Comments::CommentableConcern
5
4
  include Model::Ecm::Tags::TaggableConcern
6
5
 
7
6
  # acts as published
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Blog
3
- VERSION = '0.1.1'.freeze
3
+ VERSION = '0.2.0'.freeze
4
4
  end
5
5
  end
data/lib/ecm_blog.rb CHANGED
@@ -1,3 +1,4 @@
1
+ require 'ecm_comments'
1
2
  require 'acts_as_published'
2
3
  require 'friendly_id'
3
4
  require 'kaminari'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_blog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.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
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: ecm_comments
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
83
97
  description: Ecm::Blog Module.
84
98
  email:
85
99
  - roberto@vasquez-angel.de