pages_cms 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -3
- data/app/views/pages_cms/admin/articles/_form.html.haml +1 -1
- data/lib/pages_cms/version.rb +1 -1
- metadata +1 -3
- data/test/dummy/tmp/pids/server.pid +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 837ed2fb289a0ad006628c3f56a954f719266927
|
4
|
+
data.tar.gz: 21e83db167376d6acbbb93f144dfcca3aeb68015
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
-
|
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
|
-
|
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.
|
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
|
data/lib/pages_cms/version.rb
CHANGED
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.
|
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
|