aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.rspec4
-rw-r--r--lib/refinery/blog/engine.rb6
-rw-r--r--lib/refinery/blog/version.rb2
-rw-r--r--refinerycms-blog.gemspec4
4 files changed, 6 insertions, 10 deletions
diff --git a/.rspec b/.rspec
index a9bf51f..53607ea 100644
--- a/.rspec
+++ b/.rspec
@@ -1,3 +1 @@
---color spec
---drb
---format Fuubar
+--colour
diff --git a/lib/refinery/blog/engine.rb b/lib/refinery/blog/engine.rb
index f444f2d..f81e110 100644
--- a/lib/refinery/blog/engine.rb
+++ b/lib/refinery/blog/engine.rb
@@ -9,11 +9,9 @@ module Refinery
Refinery::Plugin.register do |plugin|
plugin.pathname = root
plugin.name = "refinerycms_blog"
- plugin.url = {:controller => 'refinery/blog/admin/posts'}
+ plugin.url = proc { Refinery::Core::Engine.routes.url_helpers.blog_admin_posts_path }
plugin.menu_match = /refinery\/blog\/?(posts|comments|categories)?/
- plugin.activity = {
- :class_name => :'refinery/blog/post'
- }
+ plugin.activity = { :class_name => :'refinery/blog/post' }
end
end
diff --git a/lib/refinery/blog/version.rb b/lib/refinery/blog/version.rb
index 4023000..ff7cb39 100644
--- a/lib/refinery/blog/version.rb
+++ b/lib/refinery/blog/version.rb
@@ -3,7 +3,7 @@ module Refinery
class Version
@major = 2
@minor = 0
- @tiny = 0
+ @tiny = 1
class << self
attr_reader :major, :minor, :tiny
diff --git a/refinerycms-blog.gemspec b/refinerycms-blog.gemspec
index ff80c80..8335c56 100644
--- a/refinerycms-blog.gemspec
+++ b/refinerycms-blog.gemspec
@@ -18,8 +18,8 @@ Gem::Specification.new do |s|
s.test_files = `git ls-files -- spec/*`.split("\n")
# Runtime dependencies
- s.add_dependency 'refinerycms-core', '~> 2.0.0'
- s.add_dependency 'refinerycms-settings', '~> 2.0.0'
+ s.add_dependency 'refinerycms-core', '~> 2.0.1'
+ s.add_dependency 'refinerycms-settings', '~> 2.0.1'
s.add_dependency 'filters_spam', '~> 0.2'
s.add_dependency 'acts-as-taggable-on'
s.add_dependency 'seo_meta', '~> 1.2.0'