ecm_cms2 2.1.1 → 2.1.2

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: 60a33733fb71f8094deff020f9ebf8e15f892211
4
- data.tar.gz: 7c48e72cbf520634ec393a54b9c6f21e61f1a264
3
+ metadata.gz: d18cd0fb2b0bd8902c94b0c5957d09f385bbce83
4
+ data.tar.gz: 88e55c1a20d52f55afa35760957426a30e461604
5
5
  SHA512:
6
- metadata.gz: 752afedcf054904e036492f910e4e2f0b4721d625562d33ea0253c5f7be3bd77eac148a25ff0ca92347f0f1dfdd9a7d63cf905b0598219c6957bc887ab94d249
7
- data.tar.gz: 119edc81b80899bbaa506e6fca3dab58e28f2d9e63a33e81ff0840a99915bb976baf0f9e8e896301acbef2fb26b84dc2a7529c9bd4a28a0003c2c6feef084581
6
+ metadata.gz: ef9c293cd8ca319d738c48ebfd5bea03fe41552940122c479667d72a46eed5bdfba0a6301a31e007e9a0d569af6418f7b5da601eef020939109335b7844e2089
7
+ data.tar.gz: e426fca99cac838e9d12a13eb9947512ef048edee7feca5c6f0b8782b057c40d29577447b6cfe6ff5e5b1d711a1768bf34b8f165798e7b509a51d8508e0067af
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Cms
3
- VERSION = '2.1.1'
3
+ VERSION = '2.1.2'
4
4
  end
5
5
  end
@@ -0,0 +1,7 @@
1
+ FactoryGirl.define do
2
+ factory :admin_user do
3
+ sequence(:email) { |n| "example#{n}@example.com" }
4
+ password 'password'
5
+ password_confirmation 'password'
6
+ end
7
+ end unless FactoryGirl.factories.registered?(:admin_user)
@@ -0,0 +1,5 @@
1
+ FactoryGirl.define do
2
+ factory :ecm_cms_content_box, class: Ecm::Cms::ContentBox do
3
+ sequence(:name) { |i| "Content Box ##{i}" }
4
+ end
5
+ end
@@ -0,0 +1,6 @@
1
+ FactoryGirl.define do
2
+ factory :ecm_cms_folder, class: Ecm::Cms::Folder do
3
+ pathname '/'
4
+ basename 'foo'
5
+ end
6
+ end
@@ -0,0 +1,16 @@
1
+ FactoryGirl.define do
2
+ factory :ecm_cms_navigation_item, class: Ecm::Cms::NavigationItem do
3
+ ecm_cms_navigation
4
+ sequence(:name) { |i| "Navigation Item ##{i}" }
5
+ key { name.dasherize }
6
+ url '/'
7
+
8
+ factory :ecm_cms_navigation_item_root do
9
+ parent nil
10
+ end
11
+
12
+ factory :ecm_cms_navigation_item_child do
13
+ association :parent, factory: :ecm_cms_navigation_item
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,5 @@
1
+ FactoryGirl.define do
2
+ factory :ecm_cms_navigation, class: Ecm::Cms::Navigation do
3
+ sequence(:name) { |i| "Navigation ##{i}" }
4
+ end
5
+ end
@@ -0,0 +1,7 @@
1
+ FactoryGirl.define do
2
+ factory :ecm_cms_page_content_block, class: Ecm::Cms::Page::ContentBlock do
3
+ body 'Content block body'
4
+ ecm_cms_content_box
5
+ ecm_cms_page
6
+ end
7
+ end
@@ -0,0 +1,8 @@
1
+ FactoryGirl.define do
2
+ factory :ecm_cms_page, class: Ecm::Cms::Page do
3
+ sequence(:basename) { |i| "page_#{i}" }
4
+ handler 'erb'
5
+ pathname '/'
6
+ title 'Home'
7
+ end
8
+ end
@@ -0,0 +1,7 @@
1
+ FactoryGirl.define do
2
+ factory :ecm_cms_partial, class: Ecm::Cms::Partial do
3
+ sequence(:basename) { |i| "_partial_#{i}" }
4
+ handler 'erb'
5
+ pathname '/'
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ FactoryGirl.define do
2
+ factory :ecm_cms_template, class: Ecm::Cms::Template do
3
+ sequence(:basename) { |i| "template_#{i}" }
4
+ handler 'erb'
5
+ pathname '/'
6
+ end
7
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_cms2
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.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: 2016-03-08 00:00:00.000000000 Z
11
+ date: 2016-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -486,6 +486,15 @@ files:
486
486
  - lib/generators/ecm/cms/install/templates/routes.source
487
487
  - lib/generators/ecm/cms/locales/locales_generator.rb
488
488
  - lib/tasks/ecm_cms_tasks.rake
489
+ - spec/factories/admin_users.rb
490
+ - spec/factories/ecm/cms/content_box.rb
491
+ - spec/factories/ecm/cms/folders.rb
492
+ - spec/factories/ecm/cms/navigation_items.rb
493
+ - spec/factories/ecm/cms/navigations.rb
494
+ - spec/factories/ecm/cms/page_content_block.rb
495
+ - spec/factories/ecm/cms/pages.rb
496
+ - spec/factories/ecm/cms/partials.rb
497
+ - spec/factories/ecm/cms/templates.rb
489
498
  homepage: https://github.com/robotex82/ecm_cms2
490
499
  licenses: []
491
500
  metadata: {}