ecm_comments 0.2.1 → 0.2.2

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
  SHA1:
3
- metadata.gz: 88231a00f6433aaf6225eda09bffcb8bef01d342
4
- data.tar.gz: 3ccb0e6435a3a4d4c1bb39789bc1d61e2ef3bc21
3
+ metadata.gz: 88326608746cecae206ff1befb744c4f14ec20a2
4
+ data.tar.gz: cc1d482b75d413c44835e3d78cd85f5c157fd1a5
5
5
  SHA512:
6
- metadata.gz: 047e3d4461479f29e6517065e0dfbf635fa3f88fca9a5eb3fc0f156a8c0c8d62b6bd8e0bc0119cb59b6573f845fbcf4059ad04be5293c6b05dc17cbfd1c82dde
7
- data.tar.gz: 0b317d7850b48b637d0346b0d249d820d19688c37e8776b993cf7822367f47f619938a0cb6829f2adf99fc621ad40ce01d9f8e741461219483e02127469fce92
6
+ metadata.gz: 6d52b389700a470203a3c068c438987983a49d650870bd6f5013cc36f4bcd72d935f3689644585319596e37569ad0634e35e069fab55a1fa7ca364a230674816
7
+ data.tar.gz: 3683ec10217f48d67ec92d8b6a19a8200e94c95e31ad548409f6c57ff6702ef0cd2d394810e34ce0b376e4486b46b6de9c2cd5e11ac32d7eecc2837864441464
@@ -4,6 +4,23 @@ de:
4
4
  ecm/comments/comment:
5
5
  one: Kommentar
6
6
  other: Kommentare
7
+ attributes:
8
+ ecm/comments/comment:
9
+ id: ID
10
+ commentable_type: Kommentiertes Objekt-Typ
11
+ commentable: Kommentieres Objekt
12
+ commentable_id: Kommentieres Objekt
13
+ name: Ersteller-Name
14
+ homepage: Ersteller-Homepage
15
+ email: E-Mail
16
+ body: Inhalt
17
+ created_by: Erstellt von
18
+ created_by_id: Erstellt von
19
+ created_by_ip_address: Ersteller IP Adresse
20
+ updated_by_id: Aktualisiert von
21
+ updated_by_ip_address: Aktualisierer IP Adresse
22
+ created_at: Erstellt am
23
+ updated_at: Aktualsiert am
7
24
  ecm:
8
25
  comments:
9
26
  commentable:
@@ -0,0 +1,28 @@
1
+ en:
2
+ activerecord:
3
+ models:
4
+ ecm/comments/comment:
5
+ one: Comment
6
+ other: Comments
7
+ attributes:
8
+ ecm/comments/comment:
9
+ id: ID
10
+ commentable_type: Commented object type
11
+ commentable: Commented object
12
+ commentable_id: Commented object
13
+ name: Author name
14
+ homepage: Author homepage
15
+ email: E-Mail
16
+ body: Body
17
+ created_by: Author
18
+ created_by_id: Author
19
+ created_by_ip_address: Author IP
20
+ updated_by_id: Updated by
21
+ updated_by_ip_address: Updated by IP
22
+ created_at: Created at
23
+ updated_at: Updated at
24
+ ecm:
25
+ comments:
26
+ commentable:
27
+ comments_information: "%{comments_count} comments"
28
+ new: "Add comment"
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Comments
3
- VERSION = "0.2.1".freeze
3
+ VERSION = "0.2.2".freeze
4
4
  end
5
5
  end
@@ -0,0 +1,10 @@
1
+ FactoryGirl.define do
2
+ factory :ecm_comments_comment, class: Ecm::Comments::Comment do
3
+ association :creator, factory: :ecm_user_area_user
4
+ association :commentable, factory: :ecm_blog_post
5
+ name 'John Doe'
6
+ email 'john.doe@example.com'
7
+ body 'This is a comment!'
8
+ created_by_ip_address '127.0.0.1'
9
+ end
10
+ 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.2.1
4
+ version: 0.2.2
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: 2018-02-16 00:00:00.000000000 Z
11
+ date: 2018-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -62,6 +62,7 @@ files:
62
62
  - app/views/ecm/comments/comments/new.haml
63
63
  - app/views/layouts/ecm/comments/application.html.erb
64
64
  - config/locales/de.yml
65
+ - config/locales/en.yml
65
66
  - config/routes.rb
66
67
  - db/migrate/20160214134347_create_ecm_comments_comments.rb
67
68
  - lib/ecm/comments.rb
@@ -73,6 +74,7 @@ files:
73
74
  - lib/generators/ecm/comments/install/templates/initializer.rb
74
75
  - lib/generators/ecm/comments/install/templates/routes.source
75
76
  - lib/tasks/ecm/comments_tasks.rake
77
+ - spec/factories/ecm_comments_comments.rb
76
78
  homepage: https://github.com/robotex82/ecm_comments
77
79
  licenses:
78
80
  - MIT