WIP - use asset pipeline.
Before Width: | Height: | Size: 512 B After Width: | Height: | Size: 512 B |
Before Width: | Height: | Size: 413 B After Width: | Height: | Size: 413 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 557 B After Width: | Height: | Size: 557 B |
Before Width: | Height: | Size: 110 B After Width: | Height: | Size: 110 B |
Before Width: | Height: | Size: 537 B After Width: | Height: | Size: 537 B |
Before Width: | Height: | Size: 668 B After Width: | Height: | Size: 668 B |
Before Width: | Height: | Size: 733 B After Width: | Height: | Size: 733 B |
Before Width: | Height: | Size: 635 B After Width: | Height: | Size: 635 B |
Before Width: | Height: | Size: 739 B After Width: | Height: | Size: 739 B |
Before Width: | Height: | Size: 663 B After Width: | Height: | Size: 663 B |
Before Width: | Height: | Size: 111 B After Width: | Height: | Size: 111 B |
Before Width: | Height: | Size: 689 B After Width: | Height: | Size: 689 B |
|
@ -47,4 +47,69 @@ $(document).ready(function(){
|
||||||
}, $(this)));
|
}, $(this)));
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
$(function() {
|
||||||
|
$('#page-tabs').tabs();
|
||||||
|
$('#copy_body_link').click(function(event) {
|
||||||
|
// Find the WYMEditor that maps to the custom_teaser field
|
||||||
|
var teaserTextArea = $('#blog_post_custom_teaser')[0];
|
||||||
|
var teaserEditor = null;
|
||||||
|
$.each(WYMeditor.INSTANCES, function(index, editor) {
|
||||||
|
if (editor._element[0] == teaserTextArea) {
|
||||||
|
teaserEditor = editor;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
if (teaserEditor) {
|
||||||
|
teaserEditor.html($('#blog_post_body').attr('value'));
|
||||||
|
}
|
||||||
|
|
||||||
|
event.preventDefault();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
function split( val ) {
|
||||||
|
return val.split( /,\s*/ );
|
||||||
|
}
|
||||||
|
function extractLast( term ) {
|
||||||
|
return split( term ).pop();
|
||||||
|
}
|
||||||
|
|
||||||
|
page_options.init(false, '', '')
|
||||||
|
|
||||||
|
$('<%= dom_id %>').bind( "keydown", function( event ) {
|
||||||
|
if ( event.keyCode === $.ui.keyCode.TAB && $( this ).data( "autocomplete" ).menu.active ) {
|
||||||
|
event.preventDefault()
|
||||||
|
}
|
||||||
|
}).autocomplete({
|
||||||
|
source: function( request, response ) {
|
||||||
|
$.getJSON( "<%= url %>", {
|
||||||
|
term: extractLast( request.term )
|
||||||
|
}, response );
|
||||||
|
},
|
||||||
|
search: function() {
|
||||||
|
// custom minLength
|
||||||
|
var term = extractLast( this.value );
|
||||||
|
if ( term.length < 2 ) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
focus: function() {
|
||||||
|
// prevent value inserted on focus
|
||||||
|
return false;
|
||||||
|
},
|
||||||
|
select: function( event, ui ) {
|
||||||
|
var terms = split( this.value );
|
||||||
|
// remove the current input
|
||||||
|
terms.pop();
|
||||||
|
// add the selected item
|
||||||
|
terms.push( ui.item.value );
|
||||||
|
// add placeholder to get the comma-and-space at the end
|
||||||
|
terms.push( "" );
|
||||||
|
this.value = terms.join( ", " );
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
})
|
||||||
});
|
});
|
73
app/assets/stylesheets/refinery/blog/backend.css.scss
Normal file
|
@ -0,0 +1,73 @@
|
||||||
|
.comments_icon {
|
||||||
|
background-image: image_url('refinery/blog/icons/comments.png');
|
||||||
|
}
|
||||||
|
.comment_icon {
|
||||||
|
background-image: image_url('refinery/blog/icons/comment.png');
|
||||||
|
}
|
||||||
|
.comment_cross_icon {
|
||||||
|
background-image: image_url('refinery/blog/icons/comment_cross.png');
|
||||||
|
}
|
||||||
|
.comment_tick_icon {
|
||||||
|
background-image: image_url('refinery/blog/icons/comment_tick.png');
|
||||||
|
}
|
||||||
|
.folder_icon {
|
||||||
|
background-image: image_url('refinery/blog/icons/folder.png');
|
||||||
|
}
|
||||||
|
.folder_add_icon {
|
||||||
|
background-image: image_url('refinery/blog/icons/folder_add.png');
|
||||||
|
}
|
||||||
|
.folder_edit_icon {
|
||||||
|
background-image: image_url('refinery/blog/icons/folder_edit.png');
|
||||||
|
}
|
||||||
|
.settings_icon {
|
||||||
|
background-image: image_url('refinery/blog/icons/cog.png');
|
||||||
|
}
|
||||||
|
.page_icon {
|
||||||
|
background-image: image_url('refinery/blog/icons/page.png');
|
||||||
|
}
|
||||||
|
.page_copy_icon {
|
||||||
|
background-image: image_url('refinery/blog/icons/page_copy.png');
|
||||||
|
}
|
||||||
|
.page_add_icon {
|
||||||
|
background-image: image_url('refinery/blog/icons/page_add.png');
|
||||||
|
}
|
||||||
|
ul.collapsible_menu li {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
ul.collapsible_menu li span.arrow {
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
position: absolute;
|
||||||
|
right: 10px;
|
||||||
|
top: 13px;
|
||||||
|
width: 11px;
|
||||||
|
height: 7px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
ul.collapsible_menu li span.arrow {
|
||||||
|
background-image: image_url('refinery/blog/icons/up.gif');
|
||||||
|
}
|
||||||
|
ul.collapsible_menu li.closed span.arrow {
|
||||||
|
background-image: image_url('refinery/blog/icons/down.gif');
|
||||||
|
}
|
||||||
|
ul.collapsible_menu > div {
|
||||||
|
width: 93%;
|
||||||
|
margin: 0px auto;
|
||||||
|
}
|
||||||
|
ul.blog_categories{
|
||||||
|
height:200px;
|
||||||
|
overflow:auto;
|
||||||
|
border:1px solid #ccc;
|
||||||
|
padding:5px;
|
||||||
|
}
|
||||||
|
ul.blog_categories, ul.blog_categories li {
|
||||||
|
list-style: none;
|
||||||
|
margin:5px 0;
|
||||||
|
}
|
||||||
|
a#copy_body_link {
|
||||||
|
background: image_url('refinery/blog/icons/add.png') no-repeat scroll 0 6px transparent;
|
||||||
|
border-bottom: 0 none;
|
||||||
|
display: inline;
|
||||||
|
line-height: 29px;
|
||||||
|
margin-top: 0;
|
||||||
|
padding-left: 20px;
|
||||||
|
}
|
|
@ -22,7 +22,7 @@
|
||||||
#rss_feed_subscribe {
|
#rss_feed_subscribe {
|
||||||
display: block;
|
display: block;
|
||||||
padding-left: 25px;
|
padding-left: 25px;
|
||||||
background: url('/images/refinerycms-blog/rss-feed.png') no-repeat;
|
background: image_url('refinery/blog/rss-feed.png') no-repeat;
|
||||||
}
|
}
|
||||||
#next_prev_article{
|
#next_prev_article{
|
||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
.flash_notice, .flash_message {
|
.flash_notice, .flash_message {
|
||||||
border: 1px solid #00A017;
|
border: 1px solid #00A017;
|
||||||
color: #00A017;
|
color: #00A017;
|
||||||
background: 7px 7px no-repeat url('/images/refinery/icons/accept.png') #E0F5E0;
|
background: 7px 7px no-repeat image_url('refinery/blog/icons/accept.png') #E0F5E0;
|
||||||
}
|
}
|
||||||
.flash_notice, .flash_notice * {
|
.flash_notice, .flash_notice * {
|
||||||
color: #00A017;
|
color: #00A017;
|
||||||
|
@ -66,7 +66,7 @@
|
||||||
.flash_error {
|
.flash_error {
|
||||||
border: 1px solid #A00027;
|
border: 1px solid #A00027;
|
||||||
color: #A00027;
|
color: #A00027;
|
||||||
background: 7px 7px no-repeat url('/images/refinery/icons/cancel.png') #FFB1B1;
|
background: 7px 7px no-repeat image_url('refinery/blog/icons/cancel.png') #FFB1B1;
|
||||||
}
|
}
|
||||||
.flash.flash_notice #flash_close, .flash.flash_error #flash_close {
|
.flash.flash_notice #flash_close, .flash.flash_error #flash_close {
|
||||||
text-transform: lowercase;
|
text-transform: lowercase;
|
Before Width: | Height: | Size: 260 B After Width: | Height: | Size: 260 B |
Before Width: | Height: | Size: 251 B After Width: | Height: | Size: 251 B |
Before Width: | Height: | Size: 178 B After Width: | Height: | Size: 178 B |
Before Width: | Height: | Size: 104 B After Width: | Height: | Size: 104 B |
Before Width: | Height: | Size: 125 B After Width: | Height: | Size: 125 B |
Before Width: | Height: | Size: 105 B After Width: | Height: | Size: 105 B |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 90 B After Width: | Height: | Size: 90 B |
Before Width: | Height: | Size: 129 B After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
|
@ -93,4 +93,4 @@
|
||||||
|
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<% content_for :stylesheets, stylesheet_link_tag('refinery/refinerycms-blog')%>
|
<% content_for :stylesheets, stylesheet_link_tag('refinery/blog/backend') %>
|
||||||
|
|
|
@ -60,4 +60,4 @@
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% content_for :stylesheets, stylesheet_link_tag('refinery/refinerycms-blog') %>
|
<% content_for :stylesheets, stylesheet_link_tag('refinery/blog/backend') %>
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
<style type='text/css'>
|
|
||||||
ul.blog_categories{
|
|
||||||
height:200px;
|
|
||||||
overflow:auto;
|
|
||||||
border:1px solid #ccc;
|
|
||||||
padding:5px;
|
|
||||||
}
|
|
||||||
ul.blog_categories, ul.blog_categories li {
|
|
||||||
list-style: none;
|
|
||||||
margin:5px 0;
|
|
||||||
}
|
|
||||||
a#copy_body_link {
|
|
||||||
background: url("/images/refinery/icons/add.png") no-repeat scroll 0 6px transparent;
|
|
||||||
border-bottom: 0 none;
|
|
||||||
display: inline;
|
|
||||||
line-height: 29px;
|
|
||||||
margin-top: 0;
|
|
||||||
padding-left: 20px;
|
|
||||||
}
|
|
||||||
</style>
|
|
|
@ -103,6 +103,6 @@
|
||||||
} %>
|
} %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
<% content_for :stylesheets, render(:partial => 'form.css') -%>
|
<% content_for :stylesheets, stylesheet_link_tag('refinery/blog/backend') %>
|
||||||
<% content_for :javascripts, render(:partial => 'form.js') -%>
|
<% content_for :javascripts, javascript_include_tag('refinery/blog/backend') %>
|
||||||
<%= render 'refinery/shared/admin/autocomplete', :dom_id => '#blog_post_tag_list', :url => main_app.tags_refinery_admin_blog_posts_url %>
|
<%= render 'refinery/shared/admin/autocomplete', :dom_id => '#blog_post_tag_list', :url => main_app.tags_refinery_admin_blog_posts_url %>
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
<script>
|
|
||||||
(function($) {
|
|
||||||
$(function() {
|
|
||||||
$('#page-tabs').tabs();
|
|
||||||
$('#copy_body_link').click(function(event) {
|
|
||||||
// Find the WYMEditor that maps to the custom_teaser field
|
|
||||||
var teaserTextArea = $('#blog_post_custom_teaser')[0];
|
|
||||||
var teaserEditor = null;
|
|
||||||
$.each(WYMeditor.INSTANCES, function(index, editor) {
|
|
||||||
if (editor._element[0] == teaserTextArea) {
|
|
||||||
teaserEditor = editor;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
if (teaserEditor) {
|
|
||||||
teaserEditor.html($('#blog_post_body').attr('value'));
|
|
||||||
}
|
|
||||||
|
|
||||||
event.preventDefault();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
})(jQuery);
|
|
||||||
</script>
|
|
|
@ -18,4 +18,4 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= render :partial => "/refinery/content_page" %>
|
<%= render :partial => "/refinery/content_page" %>
|
||||||
<% content_for :stylesheets, stylesheet_link_tag('refinerycms-blog') %>
|
<% content_for :stylesheets, stylesheet_link_tag('refinery/blog/frontend') %>
|
||||||
|
|
|
@ -12,4 +12,4 @@
|
||||||
<%= render :partial => '/refinery/blog/shared/body_content_right' %>
|
<%= render :partial => '/refinery/blog/shared/body_content_right' %>
|
||||||
|
|
||||||
<%= render :partial => "/refinery/content_page" %>
|
<%= render :partial => "/refinery/content_page" %>
|
||||||
<% content_for :stylesheets, stylesheet_link_tag('refinerycms-blog') %>
|
<% content_for :stylesheets, stylesheet_link_tag('refinery/blog/frontend') %>
|
||||||
|
|
|
@ -17,4 +17,4 @@
|
||||||
<%= render :partial => '/refinery/blog/shared/body_content_right' %>
|
<%= render :partial => '/refinery/blog/shared/body_content_right' %>
|
||||||
|
|
||||||
<%= render :partial => "/refinery/content_page" %>
|
<%= render :partial => "/refinery/content_page" %>
|
||||||
<% content_for :stylesheets, stylesheet_link_tag('refinerycms-blog') %>
|
<% content_for :stylesheets, stylesheet_link_tag('refinery/blog/frontend') %>
|
||||||
|
|
|
@ -12,11 +12,11 @@
|
||||||
|
|
||||||
<%= render :partial => "/refinery/content_page", :locals => { :remove_automatic_sections => true } %>
|
<%= render :partial => "/refinery/content_page", :locals => { :remove_automatic_sections => true } %>
|
||||||
|
|
||||||
<% content_for :stylesheets, stylesheet_link_tag('refinerycms-blog') %>
|
<% content_for :stylesheets, stylesheet_link_tag('refinery/blog/frontend') %>
|
||||||
<% content_for :before_javascript_libraries, jquery_include_tags(:jquery_ui => false) %>
|
<% content_for :before_javascript_libraries, jquery_include_tags(:jquery_ui => false) %>
|
||||||
<% content_for :javascripts do %>
|
<% content_for :javascripts do %>
|
||||||
<%# enable AJAX'd post nav at your own risk until html5 history API implemented. %>
|
<%# enable AJAX'd post nav at your own risk until html5 history API implemented. %>
|
||||||
<%#= javascript_include_tag('refinerycms-blog') %>
|
<%#= javascript_include_tag('refinery/blog/frontend') %>
|
||||||
<script src="http://w.sharethis.com/button/buttons.js"></script>
|
<script src="http://w.sharethis.com/button/buttons.js"></script>
|
||||||
<script>stLight.options({publisher:'<%= BlogPost::ShareThis.key %>'});</script>
|
<script>stLight.options({publisher:'<%= BlogPost::ShareThis.key %>'});</script>
|
||||||
<% end if Refinery::BlogPost::ShareThis.enabled? %>
|
<% end if Refinery::BlogPost::ShareThis.enabled? %>
|
||||||
|
|
|
@ -14,4 +14,4 @@
|
||||||
<%= render :partial => '/refinery/blog/shared/body_content_right' %>
|
<%= render :partial => '/refinery/blog/shared/body_content_right' %>
|
||||||
|
|
||||||
<%= render :partial => "/refinery/content_page" %>
|
<%= render :partial => "/refinery/content_page" %>
|
||||||
<% content_for :stylesheets, stylesheet_link_tag('refinerycms-blog') %>
|
<% content_for :stylesheets, stylesheet_link_tag('refinery/blog/frontend') %>
|
||||||
|
|
|
@ -1,55 +1,5 @@
|
||||||
<% content_for :stylesheets, stylesheet_link_tag("ui-lightness/jquery-ui-1.8.13.custom.css") -%>
|
<% content_for :stylesheets, stylesheet_link_tag("refinery/blog/ui-lightness/jquery-ui-1.8.13.custom") %>
|
||||||
|
|
||||||
<% content_for :javascripts do %>
|
<% content_for :javascripts do %>
|
||||||
<%= javascript_include_tag "https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js" %>
|
<%= javascript_include_tag "https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js" %>
|
||||||
<script>
|
|
||||||
function split( val ) {
|
|
||||||
return val.split( /,\s*/ );
|
|
||||||
}
|
|
||||||
function extractLast( term ) {
|
|
||||||
return split( term ).pop();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
$(document).ready(function(){
|
|
||||||
page_options.init(false, '', '')
|
|
||||||
|
|
||||||
$('<%= dom_id %>')
|
|
||||||
.bind( "keydown", function( event ) {
|
|
||||||
if ( event.keyCode === $.ui.keyCode.TAB &&
|
|
||||||
$( this ).data( "autocomplete" ).menu.active ) {
|
|
||||||
event.preventDefault()
|
|
||||||
}
|
|
||||||
})
|
|
||||||
.autocomplete({
|
|
||||||
source: function( request, response ) {
|
|
||||||
$.getJSON( "<%= url %>", {
|
|
||||||
term: extractLast( request.term )
|
|
||||||
}, response );
|
|
||||||
},
|
|
||||||
search: function() {
|
|
||||||
// custom minLength
|
|
||||||
var term = extractLast( this.value );
|
|
||||||
if ( term.length < 2 ) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
focus: function() {
|
|
||||||
// prevent value inserted on focus
|
|
||||||
return false;
|
|
||||||
},
|
|
||||||
select: function( event, ui ) {
|
|
||||||
var terms = split( this.value );
|
|
||||||
// remove the current input
|
|
||||||
terms.pop();
|
|
||||||
// add the selected item
|
|
||||||
terms.push( ui.item.value );
|
|
||||||
// add placeholder to get the comma-and-space at the end
|
|
||||||
terms.push( "" );
|
|
||||||
this.value = terms.join( ", " );
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
})
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<% end %>
|
<% end %>
|
|
@ -18,10 +18,6 @@ module Refinery
|
||||||
end
|
end
|
||||||
|
|
||||||
class Engine < Rails::Engine
|
class Engine < Rails::Engine
|
||||||
initializer 'blog serves assets' do |app|
|
|
||||||
app.middleware.insert_after ::ActionDispatch::Static, ::ActionDispatch::Static, "#{root}/public"
|
|
||||||
end
|
|
||||||
|
|
||||||
config.to_prepare do
|
config.to_prepare do
|
||||||
require File.expand_path('../refinery/blog/tabs', __FILE__)
|
require File.expand_path('../refinery/blog/tabs', __FILE__)
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,55 +0,0 @@
|
||||||
.comments_icon {
|
|
||||||
background-image: url('/images/refinerycms-blog/icons/comments.png');
|
|
||||||
}
|
|
||||||
.comment_icon {
|
|
||||||
background-image: url('/images/refinerycms-blog/icons/comment.png');
|
|
||||||
}
|
|
||||||
.comment_cross_icon {
|
|
||||||
background-image: url('/images/refinerycms-blog/icons/comment_cross.png');
|
|
||||||
}
|
|
||||||
.comment_tick_icon {
|
|
||||||
background-image: url('/images/refinerycms-blog/icons/comment_tick.png');
|
|
||||||
}
|
|
||||||
.folder_icon {
|
|
||||||
background-image: url('/images/refinerycms-blog/icons/folder.png');
|
|
||||||
}
|
|
||||||
.folder_add_icon {
|
|
||||||
background-image: url('/images/refinerycms-blog/icons/folder_add.png');
|
|
||||||
}
|
|
||||||
.folder_edit_icon {
|
|
||||||
background-image: url('/images/refinerycms-blog/icons/folder_edit.png');
|
|
||||||
}
|
|
||||||
.settings_icon {
|
|
||||||
background-image: url('/images/refinerycms-blog/icons/cog.png');
|
|
||||||
}
|
|
||||||
.page_icon {
|
|
||||||
background-image: url('/images/refinerycms-blog/icons/page.png');
|
|
||||||
}
|
|
||||||
.page_copy_icon {
|
|
||||||
background-image: url('/images/refinerycms-blog/icons/page_copy.png');
|
|
||||||
}
|
|
||||||
.page_add_icon {
|
|
||||||
background-image: url('/images/refinerycms-blog/icons/page_add.png');
|
|
||||||
}
|
|
||||||
ul.collapsible_menu li {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
ul.collapsible_menu li span.arrow {
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
position: absolute;
|
|
||||||
right: 10px;
|
|
||||||
top: 13px;
|
|
||||||
width: 11px;
|
|
||||||
height: 7px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
ul.collapsible_menu li span.arrow {
|
|
||||||
background-image: url('/images/refinerycms-blog/icons/up.gif');
|
|
||||||
}
|
|
||||||
ul.collapsible_menu li.closed span.arrow {
|
|
||||||
background-image: url('/images/refinerycms-blog/icons/down.gif');
|
|
||||||
}
|
|
||||||
ul.collapsible_menu > div {
|
|
||||||
width: 93%;
|
|
||||||
margin: 0px auto;
|
|
||||||
}
|
|
|
@ -2,7 +2,7 @@ Gem::Specification.new do |s|
|
||||||
s.name = %q{refinerycms-blog}
|
s.name = %q{refinerycms-blog}
|
||||||
s.version = %q{2.0.0}
|
s.version = %q{2.0.0}
|
||||||
s.description = %q{A really straightforward open source Ruby on Rails blog engine designed for integration with RefineryCMS.}
|
s.description = %q{A really straightforward open source Ruby on Rails blog engine designed for integration with RefineryCMS.}
|
||||||
s.date = %q{2011-07-27}
|
s.date = %q{2011-08-03}
|
||||||
s.summary = %q{Ruby on Rails blogging engine for RefineryCMS.}
|
s.summary = %q{Ruby on Rails blogging engine for RefineryCMS.}
|
||||||
s.email = %q{info@refinerycms.com}
|
s.email = %q{info@refinerycms.com}
|
||||||
s.homepage = %q{http://refinerycms.com/blog}
|
s.homepage = %q{http://refinerycms.com/blog}
|
||||||
|
@ -20,6 +20,52 @@ Gem::Specification.new do |s|
|
||||||
|
|
||||||
s.files = %w(
|
s.files = %w(
|
||||||
app
|
app
|
||||||
|
app/assets
|
||||||
|
app/assets/images
|
||||||
|
app/assets/images/refinery
|
||||||
|
app/assets/images/refinery/blog
|
||||||
|
app/assets/images/refinery/blog/icons
|
||||||
|
app/assets/images/refinery/blog/icons/cog.png
|
||||||
|
app/assets/images/refinery/blog/icons/comment.png
|
||||||
|
app/assets/images/refinery/blog/icons/comment_cross.png
|
||||||
|
app/assets/images/refinery/blog/icons/comment_tick.png
|
||||||
|
app/assets/images/refinery/blog/icons/comments.png
|
||||||
|
app/assets/images/refinery/blog/icons/down.gif
|
||||||
|
app/assets/images/refinery/blog/icons/folder.png
|
||||||
|
app/assets/images/refinery/blog/icons/folder_add.png
|
||||||
|
app/assets/images/refinery/blog/icons/folder_edit.png
|
||||||
|
app/assets/images/refinery/blog/icons/page.png
|
||||||
|
app/assets/images/refinery/blog/icons/page_add.png
|
||||||
|
app/assets/images/refinery/blog/icons/page_copy.png
|
||||||
|
app/assets/images/refinery/blog/icons/up.gif
|
||||||
|
app/assets/images/refinery/blog/rss-feed.png
|
||||||
|
app/assets/javascripts
|
||||||
|
app/assets/javascripts/refinery
|
||||||
|
app/assets/javascripts/refinery/blog
|
||||||
|
app/assets/javascripts/refinery/blog/backend.js
|
||||||
|
app/assets/javascripts/refinery/blog/frontend.js
|
||||||
|
app/assets/stylesheets
|
||||||
|
app/assets/stylesheets/refinery
|
||||||
|
app/assets/stylesheets/refinery/blog
|
||||||
|
app/assets/stylesheets/refinery/blog/backend.css.scss
|
||||||
|
app/assets/stylesheets/refinery/blog/frontend.css.scss
|
||||||
|
app/assets/stylesheets/refinery/blog/ui-lightness
|
||||||
|
app/assets/stylesheets/refinery/blog/ui-lightness/images
|
||||||
|
app/assets/stylesheets/refinery/blog/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
|
||||||
|
app/assets/stylesheets/refinery/blog/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
|
||||||
|
app/assets/stylesheets/refinery/blog/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
|
||||||
|
app/assets/stylesheets/refinery/blog/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
|
||||||
|
app/assets/stylesheets/refinery/blog/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
|
||||||
|
app/assets/stylesheets/refinery/blog/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
|
||||||
|
app/assets/stylesheets/refinery/blog/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
|
||||||
|
app/assets/stylesheets/refinery/blog/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
|
||||||
|
app/assets/stylesheets/refinery/blog/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
|
||||||
|
app/assets/stylesheets/refinery/blog/ui-lightness/images/ui-icons_222222_256x240.png
|
||||||
|
app/assets/stylesheets/refinery/blog/ui-lightness/images/ui-icons_228ef1_256x240.png
|
||||||
|
app/assets/stylesheets/refinery/blog/ui-lightness/images/ui-icons_ef8c08_256x240.png
|
||||||
|
app/assets/stylesheets/refinery/blog/ui-lightness/images/ui-icons_ffd27a_256x240.png
|
||||||
|
app/assets/stylesheets/refinery/blog/ui-lightness/images/ui-icons_ffffff_256x240.png
|
||||||
|
app/assets/stylesheets/refinery/blog/ui-lightness/jquery-ui-1.8.13.custom.css.scss
|
||||||
app/controllers
|
app/controllers
|
||||||
app/controllers/refinery
|
app/controllers/refinery
|
||||||
app/controllers/refinery/admin
|
app/controllers/refinery/admin
|
||||||
|
@ -65,9 +111,7 @@ Gem::Specification.new do |s|
|
||||||
app/views/refinery/admin/blog/comments/index.html.erb
|
app/views/refinery/admin/blog/comments/index.html.erb
|
||||||
app/views/refinery/admin/blog/comments/show.html.erb
|
app/views/refinery/admin/blog/comments/show.html.erb
|
||||||
app/views/refinery/admin/blog/posts
|
app/views/refinery/admin/blog/posts
|
||||||
app/views/refinery/admin/blog/posts/_form.css.erb
|
|
||||||
app/views/refinery/admin/blog/posts/_form.html.erb
|
app/views/refinery/admin/blog/posts/_form.html.erb
|
||||||
app/views/refinery/admin/blog/posts/_form.js.erb
|
|
||||||
app/views/refinery/admin/blog/posts/_form_part.html.erb
|
app/views/refinery/admin/blog/posts/_form_part.html.erb
|
||||||
app/views/refinery/admin/blog/posts/_post.html.erb
|
app/views/refinery/admin/blog/posts/_post.html.erb
|
||||||
app/views/refinery/admin/blog/posts/_sortable_list.html.erb
|
app/views/refinery/admin/blog/posts/_sortable_list.html.erb
|
||||||
|
@ -100,6 +144,8 @@ Gem::Specification.new do |s|
|
||||||
app/views/refinery/blog/shared/_posts.html.erb
|
app/views/refinery/blog/shared/_posts.html.erb
|
||||||
app/views/refinery/blog/shared/_rss_feed.html.erb
|
app/views/refinery/blog/shared/_rss_feed.html.erb
|
||||||
app/views/refinery/blog/shared/_tags.html.erb
|
app/views/refinery/blog/shared/_tags.html.erb
|
||||||
|
app/views/refinery/blog/widgets
|
||||||
|
app/views/refinery/blog/widgets/_blog_archive.html.erb
|
||||||
app/views/refinery/shared
|
app/views/refinery/shared
|
||||||
app/views/refinery/shared/admin
|
app/views/refinery/shared/admin
|
||||||
app/views/refinery/shared/admin/_autocomplete.html.erb
|
app/views/refinery/shared/admin/_autocomplete.html.erb
|
||||||
|
@ -158,48 +204,6 @@ Gem::Specification.new do |s|
|
||||||
lib/refinery/blog/version.rb
|
lib/refinery/blog/version.rb
|
||||||
lib/refinerycms-blog.rb
|
lib/refinerycms-blog.rb
|
||||||
public
|
public
|
||||||
public/images
|
|
||||||
public/images/refinerycms-blog
|
|
||||||
public/images/refinerycms-blog/icons
|
|
||||||
public/images/refinerycms-blog/icons/cog.png
|
|
||||||
public/images/refinerycms-blog/icons/comment.png
|
|
||||||
public/images/refinerycms-blog/icons/comment_cross.png
|
|
||||||
public/images/refinerycms-blog/icons/comment_tick.png
|
|
||||||
public/images/refinerycms-blog/icons/comments.png
|
|
||||||
public/images/refinerycms-blog/icons/down.gif
|
|
||||||
public/images/refinerycms-blog/icons/folder.png
|
|
||||||
public/images/refinerycms-blog/icons/folder_add.png
|
|
||||||
public/images/refinerycms-blog/icons/folder_edit.png
|
|
||||||
public/images/refinerycms-blog/icons/page.png
|
|
||||||
public/images/refinerycms-blog/icons/page_add.png
|
|
||||||
public/images/refinerycms-blog/icons/page_copy.png
|
|
||||||
public/images/refinerycms-blog/icons/up.gif
|
|
||||||
public/images/refinerycms-blog/rss-feed.png
|
|
||||||
public/javascripts
|
|
||||||
public/javascripts/refinery
|
|
||||||
public/javascripts/refinery/refinerycms-blog.js
|
|
||||||
public/javascripts/refinerycms-blog.js
|
|
||||||
public/stylesheets
|
|
||||||
public/stylesheets/refinery
|
|
||||||
public/stylesheets/refinery/refinerycms-blog.css
|
|
||||||
public/stylesheets/refinerycms-blog.css
|
|
||||||
public/stylesheets/ui-lightness
|
|
||||||
public/stylesheets/ui-lightness/images
|
|
||||||
public/stylesheets/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
|
|
||||||
public/stylesheets/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
|
|
||||||
public/stylesheets/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
|
|
||||||
public/stylesheets/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
|
|
||||||
public/stylesheets/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
|
|
||||||
public/stylesheets/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
|
|
||||||
public/stylesheets/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
|
|
||||||
public/stylesheets/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
|
|
||||||
public/stylesheets/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
|
|
||||||
public/stylesheets/ui-lightness/images/ui-icons_222222_256x240.png
|
|
||||||
public/stylesheets/ui-lightness/images/ui-icons_228ef1_256x240.png
|
|
||||||
public/stylesheets/ui-lightness/images/ui-icons_ef8c08_256x240.png
|
|
||||||
public/stylesheets/ui-lightness/images/ui-icons_ffd27a_256x240.png
|
|
||||||
public/stylesheets/ui-lightness/images/ui-icons_ffffff_256x240.png
|
|
||||||
public/stylesheets/ui-lightness/jquery-ui-1.8.13.custom.css
|
|
||||||
readme.md
|
readme.md
|
||||||
refinerycms-blog.gemspec
|
refinerycms-blog.gemspec
|
||||||
spec
|
spec
|
||||||
|
@ -208,6 +212,10 @@ Gem::Specification.new do |s|
|
||||||
spec/models/refinery/blog_category_spec.rb
|
spec/models/refinery/blog_category_spec.rb
|
||||||
spec/models/refinery/blog_comment_spec.rb
|
spec/models/refinery/blog_comment_spec.rb
|
||||||
spec/models/refinery/blog_post_spec.rb
|
spec/models/refinery/blog_post_spec.rb
|
||||||
|
spec/requests
|
||||||
|
spec/requests/blog_categories_spec.rb
|
||||||
|
spec/requests/blog_posts_spec.rb
|
||||||
|
spec/requests/manage_blog_posts_spec.rb
|
||||||
todo.md
|
todo.md
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|