refinerycms-pods 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/refinery/pods/admin/pods_controller.rb +12 -12
- data/app/controllers/refinery/pods/pods_controller.rb +34 -34
- data/app/models/refinery/pods/pod.rb +25 -25
- data/app/views/refinery/pods/admin/pods/_actions.html.erb +25 -25
- data/app/views/refinery/pods/admin/pods/_form.html.erb +86 -86
- data/app/views/refinery/pods/admin/pods/_pod.html.erb +20 -20
- data/app/views/refinery/pods/admin/pods/_pods.html.erb +2 -2
- data/app/views/refinery/pods/admin/pods/_records.html.erb +18 -18
- data/app/views/refinery/pods/admin/pods/_sortable_list.html.erb +5 -5
- data/app/views/refinery/pods/admin/pods/edit.html.erb +1 -1
- data/app/views/refinery/pods/admin/pods/index.html.erb +7 -7
- data/app/views/refinery/pods/admin/pods/new.html.erb +1 -1
- data/config/locales/en.yml +32 -32
- data/config/locales/es.yml +33 -33
- data/config/locales/fr.yml +32 -32
- data/config/locales/nb.yml +32 -32
- data/config/locales/nl.yml +32 -32
- data/config/routes.rb +19 -19
- data/db/migrate/1_create_pods_pods.rb +37 -37
- data/db/seeds.rb +23 -23
- data/lib/generators/refinery/pods_generator.rb +18 -18
- data/lib/refinery/pods/engine.rb +32 -32
- data/lib/refinery/pods.rb +21 -21
- data/lib/refinerycms-pods.rb +1 -1
- data/lib/tasks/refinery/pods.rake +12 -12
- data/public/images/bx_next_gal.png +0 -0
- data/public/images/bx_prev_gal.png +0 -0
- data/public/images/colorbox/border.png +0 -0
- data/public/images/colorbox/controls.png +0 -0
- data/public/images/colorbox/ie6/borderBottomCenter.png +0 -0
- data/public/images/colorbox/ie6/borderBottomLeft.png +0 -0
- data/public/images/colorbox/ie6/borderBottomRight.png +0 -0
- data/public/images/colorbox/ie6/borderMiddleLeft.png +0 -0
- data/public/images/colorbox/ie6/borderMiddleRight.png +0 -0
- data/public/images/colorbox/ie6/borderTopCenter.png +0 -0
- data/public/images/colorbox/ie6/borderTopLeft.png +0 -0
- data/public/images/colorbox/ie6/borderTopRight.png +0 -0
- data/public/images/colorbox/loading.gif +0 -0
- data/public/images/colorbox/loading_background.png +0 -0
- data/public/images/colorbox/overlay.png +0 -0
- data/public/javascripts/jquery-1.5.2.min.js +16 -0
- data/public/javascripts/jquery.bxSlider.min.js +114 -0
- data/public/javascripts/jquery.colorbox-min.js +4 -0
- data/public/javascripts/refinerycms-pods.js +20 -0
- data/public/stylesheets/colorbox.css +82 -0
- data/public/stylesheets/refinerycms-pods.css +4 -0
- data/readme.md +45 -40
- metadata +35 -14
data/readme.md
CHANGED
@@ -1,40 +1,45 @@
|
|
1
|
-
# Refinery CMS Pods
|
2
|
-
|
3
|
-
Manageable little side-pods for your [Refinery CMS](http://refinerycms.com) website. Depends on the following engines:
|
4
|
-
|
5
|
-
+ Portfolios - https://github.com/resolve/refinerycms-portfolio (branch rails-3-1)
|
6
|
-
+ Videos - https://github.com/julesce/refinerycms-videos (2.0.0)
|
7
|
-
|
8
|
-
This version of `refinerycms-pods` supports Rails 3.0.x.
|
9
|
-
|
10
|
-
## Requirements
|
11
|
-
|
12
|
-
Refinery CMS version 2.0.x.
|
13
|
-
|
14
|
-
## Install
|
15
|
-
|
16
|
-
Open up your ``Gemfile`` and add the following:
|
17
|
-
|
18
|
-
gem 'refinerycms-pods', '~> 2.0.0'
|
19
|
-
|
20
|
-
Now, run:
|
21
|
-
|
22
|
-
bundle install
|
23
|
-
|
24
|
-
Next, run:
|
25
|
-
|
26
|
-
rails generate refinery:pods
|
27
|
-
|
28
|
-
Migrate your database:
|
29
|
-
|
30
|
-
rake db:migrate
|
31
|
-
|
32
|
-
And hook up the seed data:
|
33
|
-
|
34
|
-
rake db:seed
|
35
|
-
|
36
|
-
## Usage
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
1
|
+
# Refinery CMS Pods
|
2
|
+
|
3
|
+
Manageable little side-pods for your [Refinery CMS](http://refinerycms.com) website. Depends on the following engines:
|
4
|
+
|
5
|
+
+ Portfolios - https://github.com/resolve/refinerycms-portfolio (branch rails-3-1)
|
6
|
+
+ Videos - https://github.com/julesce/refinerycms-videos (2.0.0)
|
7
|
+
|
8
|
+
This version of `refinerycms-pods` supports Rails 3.0.x.
|
9
|
+
|
10
|
+
## Requirements
|
11
|
+
|
12
|
+
Refinery CMS version 2.0.x.
|
13
|
+
|
14
|
+
## Install
|
15
|
+
|
16
|
+
Open up your ``Gemfile`` and add the following:
|
17
|
+
|
18
|
+
gem 'refinerycms-pods', '~> 2.0.0'
|
19
|
+
|
20
|
+
Now, run:
|
21
|
+
|
22
|
+
bundle install
|
23
|
+
|
24
|
+
Next, run:
|
25
|
+
|
26
|
+
rails generate refinery:pods
|
27
|
+
|
28
|
+
Migrate your database:
|
29
|
+
|
30
|
+
rake db:migrate
|
31
|
+
|
32
|
+
And hook up the seed data:
|
33
|
+
|
34
|
+
rake db:seed
|
35
|
+
|
36
|
+
## Usage
|
37
|
+
|
38
|
+
Up to you to make use of the pods in your front end, but remember to include the relevant JS/CSS files in your layout:
|
39
|
+
|
40
|
+
<%= stylesheet_include_tag 'colorbox', 'refinerycms-pods' %>
|
41
|
+
<%= javascript_include_tag 'jquery-1.5.2.min', 'jquery.bxSlider.min', 'jquery.colorbox-min', 'refinerycms-pods' %>
|
42
|
+
|
43
|
+
The following will render any pods assigned to your current @page:
|
44
|
+
|
45
|
+
<%= render :partial => 'refinery/pods/shared/pods' %>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refinerycms-pods
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-04-18 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: refinerycms-core
|
@@ -49,6 +49,18 @@ executables: []
|
|
49
49
|
extensions: []
|
50
50
|
extra_rdoc_files: []
|
51
51
|
files:
|
52
|
+
- lib/generators/refinery/pods_generator.rb
|
53
|
+
- lib/refinery/pods/engine.rb
|
54
|
+
- lib/refinery/pods/extensions/page.rb
|
55
|
+
- lib/refinery/pods.rb
|
56
|
+
- lib/refinerycms-pods.rb
|
57
|
+
- lib/tasks/refinery/pods.rake
|
58
|
+
- config/locales/en.yml
|
59
|
+
- config/locales/es.yml
|
60
|
+
- config/locales/fr.yml
|
61
|
+
- config/locales/nb.yml
|
62
|
+
- config/locales/nl.yml
|
63
|
+
- config/routes.rb
|
52
64
|
- app/controllers/refinery/pods/admin/pods_controller.rb
|
53
65
|
- app/controllers/refinery/pods/pods_controller.rb
|
54
66
|
- app/models/refinery/pods/pod.rb
|
@@ -66,21 +78,30 @@ files:
|
|
66
78
|
- app/views/refinery/pods/shared/_gallery_pod.html.erb
|
67
79
|
- app/views/refinery/pods/shared/_pods.html.erb
|
68
80
|
- app/views/refinery/pods/shared/_video_pod.html.erb
|
69
|
-
- config/locales/en.yml
|
70
|
-
- config/locales/es.yml
|
71
|
-
- config/locales/fr.yml
|
72
|
-
- config/locales/nb.yml
|
73
|
-
- config/locales/nl.yml
|
74
|
-
- config/routes.rb
|
75
81
|
- db/migrate/1_create_pods_pods.rb
|
76
82
|
- db/migrate/2_create_pods_pages_pods.rb
|
77
83
|
- db/seeds.rb
|
78
|
-
-
|
79
|
-
-
|
80
|
-
-
|
81
|
-
-
|
82
|
-
-
|
83
|
-
-
|
84
|
+
- public/images/bx_next_gal.png
|
85
|
+
- public/images/bx_prev_gal.png
|
86
|
+
- public/images/colorbox/border.png
|
87
|
+
- public/images/colorbox/controls.png
|
88
|
+
- public/images/colorbox/ie6/borderBottomCenter.png
|
89
|
+
- public/images/colorbox/ie6/borderBottomLeft.png
|
90
|
+
- public/images/colorbox/ie6/borderBottomRight.png
|
91
|
+
- public/images/colorbox/ie6/borderMiddleLeft.png
|
92
|
+
- public/images/colorbox/ie6/borderMiddleRight.png
|
93
|
+
- public/images/colorbox/ie6/borderTopCenter.png
|
94
|
+
- public/images/colorbox/ie6/borderTopLeft.png
|
95
|
+
- public/images/colorbox/ie6/borderTopRight.png
|
96
|
+
- public/images/colorbox/loading.gif
|
97
|
+
- public/images/colorbox/loading_background.png
|
98
|
+
- public/images/colorbox/overlay.png
|
99
|
+
- public/javascripts/jquery-1.5.2.min.js
|
100
|
+
- public/javascripts/jquery.bxSlider.min.js
|
101
|
+
- public/javascripts/jquery.colorbox-min.js
|
102
|
+
- public/javascripts/refinerycms-pods.js
|
103
|
+
- public/stylesheets/colorbox.css
|
104
|
+
- public/stylesheets/refinerycms-pods.css
|
84
105
|
- readme.md
|
85
106
|
homepage: https://github.com/julesce/refinerycms-pods
|
86
107
|
licenses: []
|