pages_cms 1.0.1 → 1.0.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: d5c1792f87320bb5664c66902366726b02c423d5
4
- data.tar.gz: 0d6c902f2bac251ce66194ae598e0390e592ca2d
3
+ metadata.gz: 837ed2fb289a0ad006628c3f56a954f719266927
4
+ data.tar.gz: 21e83db167376d6acbbb93f144dfcca3aeb68015
5
5
  SHA512:
6
- metadata.gz: 84a87e262b29aeda1b876f0b91a8c8d4129a9c38ba6e28bb0434d35e8c565c65004f3a036ed5612567f410e4775c0474bc8544716ea34ce2b80034977e43cb91
7
- data.tar.gz: 5448682f95f967cb7036e220cde14a1d98432d147bf86bf214c509292ba0f85c78ff08cf30dd855a5435e98949781cae980caca66037c50836b243e6b96271bf
6
+ metadata.gz: 4b9801cc471570b5faaafa1016fa4662d2d2f89a46e25601f9b5190879187a4e28aed1fbbe61cad64045e32b249bf76358f8810a1193fed7b5a04ffcf86aeba9
7
+ data.tar.gz: aa3b2bb4d979ea5954d2d9c9956f023839751e7e735e52c67e78de423e90a86533cfd324a4ad8cf706dcb8e2fb913fac6e2ddded991525447c8c580025069433
data/README.md CHANGED
@@ -14,7 +14,7 @@ Pages CMS uses nested forms and draggable items to allow the user to build a sit
14
14
 
15
15
  ## Installation
16
16
 
17
- 1. Add: `gem 'pages_cms', '~> 1.0.0'` to your `Gemfile`
17
+ 1. Add: `gem 'pages_cms', '~> 1.0.1'` to your `Gemfile`
18
18
  2. Run: `$ rails generate pages_cms:install`
19
19
  3. Add: `//= require cocoon` to your `application.js` file
20
20
 
@@ -27,7 +27,9 @@ This has built everything that PagesCMS needs to work, but to get hacking with s
27
27
  5. Run: `$ bundle install`
28
28
 
29
29
 
30
- > You should now be able to go to `/admin/pages` and start building pages!
30
+ You should now be able to go to `/admin/pages` and start building pages!
31
+
32
+ Common mistake: A page with the title: 'Home' must exist before you will be able to see the home page. If you get a redirect loop on the browser because you deleted the database or something just fire up the console and put: `> PagesCms::Page.create(title: 'Home')`
31
33
 
32
34
  #### The generator has added three methods to your App:
33
35
 
@@ -68,4 +70,4 @@ Shoot me a message or an email, I'd love to talk to you about the project!
68
70
 
69
71
  ##Decorators and Customization
70
72
 
71
- Coming soon.
73
+ The app is being constructed will full customization in mind by using decorators. This part has yet to be fully implemented as of right now however.
@@ -1,7 +1,7 @@
1
1
  = form_for article, url: url, method: method do |f|
2
2
  = f.text_field :title, placeholder: 'article title', class: 'form-control big'
3
3
  = f.select(:image_id, PagesCms::Image.all.collect {|p| [p.name, p.id] }, {include_blank: 'Choose a picture'}, class: 'form-control inline-form')
4
- = f.select(:tags, PagesCms::Article.all.collect{|t| t.tags.each })
4
+ = f.text_field :tags, placeholder: 'tags, comma separated', class: 'form-control'
5
5
  = render 'pages_cms/admin/pages/editor', f: f
6
6
  = f.label :draft
7
7
  = f.check_box :draft, value: false
@@ -1,3 +1,3 @@
1
1
  module PagesCms
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pages_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Colin Walker
@@ -2062,7 +2062,6 @@ files:
2062
2062
  - test/dummy/tmp/cache/assets/test/sprockets/v3.0/zpbZyJGYRirQezbLSkfqwGXAsP6_X0AgBLqCRObdV5g.cache
2063
2063
  - test/dummy/tmp/cache/assets/test/sprockets/v3.0/zvuIk60FLYMxl3JSvcqIBvhiIZoeTGYhWdESo82-lYM.cache
2064
2064
  - test/dummy/tmp/cache/assets/test/sprockets/v3.0/zw_V0aFY2ssph1T5gT3I-vKtjFiS9XO9RNjtfmMfQZw.cache
2065
- - test/dummy/tmp/pids/server.pid
2066
2065
  - test/fixtures/pages_cms/articles.yml
2067
2066
  - test/fixtures/pages_cms/blog_feeds.yml
2068
2067
  - test/fixtures/pages_cms/default.png
@@ -3922,7 +3921,6 @@ test_files:
3922
3921
  - test/dummy/tmp/cache/assets/test/sprockets/v3.0/zvuIk60FLYMxl3JSvcqIBvhiIZoeTGYhWdESo82-lYM.cache
3923
3922
  - test/dummy/tmp/cache/assets/test/sprockets/v3.0/zw_V0aFY2ssph1T5gT3I-vKtjFiS9XO9RNjtfmMfQZw.cache
3924
3923
  - test/dummy/tmp/cache/assets/test/sprockets/v3.0/zY0sdocCDnCgtrDIkVQ42PdK5DnzOw8FKIh57ivx6ss.cache
3925
- - test/dummy/tmp/pids/server.pid
3926
3924
  - test/fixtures/pages_cms/articles.yml
3927
3925
  - test/fixtures/pages_cms/blog_feeds.yml
3928
3926
  - test/fixtures/pages_cms/default.png
@@ -1 +0,0 @@
1
- 44778