ecm_blog 1.0.0 → 1.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: a83b2849b7fee1e82e79056744eecbb21cc3c047
4
- data.tar.gz: e8ed2920068f5e47fb3d9d0c1c473987defebd9d
3
+ metadata.gz: a766c02109d92fc63877994fb77e1843c28daa51
4
+ data.tar.gz: ba51cbb0ad52fa9ccb2c744a058aca9a4eb3c02d
5
5
  SHA512:
6
- metadata.gz: 0ac4bf41724ee62f6a7f6a01c3e26519cedc87753baf02a907eaa65d8053e3633db4d310b9c61c745f08e39ab70ecbac75b3bf79dfd4798d859ee49d0b78dc81
7
- data.tar.gz: 71b1200de61c315dd7afc34f88553429445aab8ed04f18965aecc7ddf3f694b2acdf13e79896cba74cf35ba56837fb190c139590f574a886d770c42b4c8cb5a0
6
+ metadata.gz: b430025442540bd9864b4942346d7eae6ff1b0fe6081e34648940816164394a289d6b2b4c78a71e70ea4cec6d01a0965eb49e9556456c4fe6660e80bce348018
7
+ data.tar.gz: 93a7c539899ea01361eed1e6068a2fd691eadcfc988dc681eddabded5da3fc98ee13314e4fb4ba16aa761e3eae74ef91a1e6ff4be86d0be4ae7e193d025d9736
@@ -19,7 +19,7 @@ module Ecm
19
19
  super.published.friendly.order(updated_at: :desc)
20
20
  end
21
21
 
22
- def load_scope
22
+ def load_resource_scope
23
23
  super.published.friendly
24
24
  end
25
25
  end
@@ -6,5 +6,20 @@ de:
6
6
  ecm/blog/post:
7
7
  one: Post
8
8
  other: Posts
9
+ attributes:
10
+ ecm/blog/post:
11
+ id: ID
12
+ title: Titel
13
+ tags: Tags
14
+ body: Inhalt
15
+ published: Veröffentlicht
16
+ published_at: Veröffentlicht am
17
+ created_by_id: Erstellt von
18
+ creator: Erstellt von
19
+ slug: Freundliche ID
20
+ updated_by_id: Aktualisiert von
21
+ updater: Aktualisiert von
22
+ created_at: Erstellt am
23
+ updated_at: Aktualisiert am
9
24
  routes:
10
25
  ecm_blog_engine: blog
@@ -0,0 +1,25 @@
1
+ en:
2
+ classes:
3
+ ecm/blog/engine: Blog
4
+ activerecord:
5
+ models:
6
+ ecm/blog/post:
7
+ one: Post
8
+ other: Posts
9
+ attributes:
10
+ ecm/blog/post:
11
+ id: ID
12
+ title: Title
13
+ tags: Tags
14
+ body: Body
15
+ published: Published
16
+ published_at: Published at
17
+ created_by_id: Created by
18
+ creator: Created by
19
+ slug: Slug
20
+ updated_by_id: Updated by
21
+ updater: Updated by
22
+ created_at: Created at
23
+ updated_at: Updated at
24
+ routes:
25
+ ecm_blog_engine: blog
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Blog
3
- VERSION = '1.0.0'.freeze
3
+ VERSION = '1.0.1'.freeze
4
4
  end
5
5
  end
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: 1.0.0
4
+ version: 1.0.1
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-15 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
@@ -116,6 +116,7 @@ files:
116
116
  - app/views/ecm/blog/posts/show.haml
117
117
  - app/views/layouts/ecm/blog/application.html.erb
118
118
  - config/locales/de.yml
119
+ - config/locales/en.yml
119
120
  - config/routes.rb
120
121
  - db/migrate/20160214133500_create_ecm_blog_posts.rb
121
122
  - lib/ecm/blog.rb