sunrise-posts 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,7 +17,7 @@
17
17
 
18
18
  <div id="posts" class="stage">
19
19
  <%= render :partial=>"manage/posts/post", :collection=>@posts %>
20
- <%= paginate @posts %>
20
+ <%= paginate @posts, :theme => 'manage' %>
21
21
  </div>
22
22
 
23
23
  <script type='text/javascript'>
@@ -4,7 +4,7 @@ require 'sunrise-posts'
4
4
  module Sunrise
5
5
  module Posts
6
6
  class Engine < ::Rails::Engine
7
- config.after_initialize do
7
+ config.before_initialize do
8
8
  Sunrise::Plugin.register :posts do |plugin|
9
9
  plugin.model = 'sunrise/models/post'
10
10
  plugin.menu = false
@@ -1,5 +1,5 @@
1
1
  module Sunrise
2
2
  module Posts
3
- VERSION = "0.1.0".freeze
3
+ VERSION = "0.1.1".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sunrise-posts
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Igor Galeta
@@ -16,7 +16,8 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-05-18 00:00:00 Z
19
+ date: 2011-07-13 00:00:00 +03:00
20
+ default_executable:
20
21
  dependencies:
21
22
  - !ruby/object:Gem::Dependency
22
23
  name: sunrise
@@ -61,6 +62,7 @@ files:
61
62
  - lib/sunrise/posts.rb
62
63
  - lib/sunrise/posts/engine.rb
63
64
  - lib/sunrise/posts/version.rb
65
+ has_rdoc: true
64
66
  homepage: https://github.com/galetahub/sunrise-posts
65
67
  licenses: []
66
68
 
@@ -90,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
92
  requirements: []
91
93
 
92
94
  rubyforge_project:
93
- rubygems_version: 1.8.2
95
+ rubygems_version: 1.6.2
94
96
  signing_key:
95
97
  specification_version: 3
96
98
  summary: Rails CMS