ecm_news2 5.0.0 → 5.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: aef7181e632e46ab12e0dd12d677813ed969163d
4
- data.tar.gz: bedef113f6d00e10fad7d234ea50d52317791563
3
+ metadata.gz: 25699f35b73281b88213a9e2174751b24afcc27d
4
+ data.tar.gz: 31e2f9fffa164ba47513bfd87548d0ecf7799b5c
5
5
  SHA512:
6
- metadata.gz: 912ad70f1c420cbb9069f6297f9ffaea8b65f73a23eb888959ddfd114671a3116d67dae679f79517d6732ee0054972eecd46f78f6bbb02f6d453617216377735
7
- data.tar.gz: 7d1d0f27673d7dc95cf5debe7ab2634ae06043e8bcbf5372b36afd733ec54775f2869aa63d929ae1ac2560506c17461f2d4b7bf38c5b162ffc94f93b6e681438
6
+ metadata.gz: 77157a941fca025596c0e1973dd33f3672e4fc44aae92a3ee158a0217f597b4d3dacc098fed4b0664d9bb4c1762d58e39c9fdc5b34a44713413a788bffcde233
7
+ data.tar.gz: dde510ff8cc4f35e1ea9cc0cda797d5bef775fc6ed2d134825de181c1f394161463e7942de679317084a3238875bb06ef9d5772659229c71399c975fff30d71c
@@ -1,10 +1,10 @@
1
1
  class Ecm::News::Item < ActiveRecord::Base
2
2
  # associations
3
3
  has_many :attached_pictures, as: :pictureable,
4
- class_name: Ecm::Pictures::AttachedPicture,
4
+ class_name: 'Ecm::Pictures::AttachedPicture',
5
5
  dependent: :destroy
6
6
  has_many :pictures, through: :attached_pictures,
7
- class_name: Ecm::Pictures::Picture
7
+ class_name: 'Ecm::Pictures::Picture'
8
8
 
9
9
  accepts_nested_attributes_for :attached_pictures, allow_destroy: true
10
10
  accepts_nested_attributes_for :pictures, allow_destroy: true
@@ -21,7 +21,9 @@ de:
21
21
  back: Zurück
22
22
  more: Weiterlesen
23
23
  routes:
24
- ecm_news: news
24
+ ecm_news_engine: news
25
+ items: eintraege
26
+ page: seite
25
27
  views:
26
28
  pagination:
27
29
  first: "&laquo; Erste Seite"
@@ -21,7 +21,9 @@ en:
21
21
  back: Back
22
22
  more: Continue reading
23
23
  routes:
24
- ecm_news: news
24
+ ecm_news_engine: news
25
+ items: items
26
+ page: page
25
27
  views:
26
28
  pagination:
27
29
  first: "&laquo; First"
data/config/routes.rb CHANGED
@@ -1,10 +1,10 @@
1
1
  Ecm::News::Engine.routes.draw do
2
2
  localized do
3
- scope :ecm_news do
3
+ scope :ecm_news_engine do
4
4
  resources :items, only: [:index, :show] do
5
5
  get 'page/:page', action: :index, on: :collection
6
6
  end
7
7
  root to: 'items#index'
8
8
  end
9
9
  end
10
- end
10
+ end
@@ -1,4 +1,4 @@
1
- class CreateEcmNewsItems < ActiveRecord::Migration
1
+ class CreateEcmNewsItems < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :ecm_news_items do |t|
4
4
  t.string :title
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module News
3
- VERSION = '5.0.0'
3
+ VERSION = '5.0.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_news2
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.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: 2017-05-07 00:00:00.000000000 Z
11
+ date: 2017-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -362,9 +362,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
362
362
  version: '0'
363
363
  requirements: []
364
364
  rubyforge_project:
365
- rubygems_version: 2.4.8
365
+ rubygems_version: 2.6.11
366
366
  signing_key:
367
367
  specification_version: 4
368
368
  summary: ECM News module.
369
369
  test_files: []
370
- has_rdoc: