Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

* Install generator should add the helper to application helper.

* Update documentation for installing in 3.3
* Add release notes.
* Ensure correct files are included in the gem.
  • Loading branch information...
commit ce098f103c9fddbbd6c59e8d73f69fca10545f17 1 parent 42ec0d9
@peakpg peakpg authored
View
6 README.markdown
@@ -27,12 +27,6 @@ The blog module installs like most other BrowserCMS modules (http://guides.brows
rake db:migrate
-### 3. Modify the ApplicationHelper
-
- module ApplicationHelper
- include Cms::BlogHelper
- end
-
## Creating a Blog
* To get started, go to the Content Library and choose the Blog module in the left hand menu.
View
1  bcms_blog.gemspec
@@ -17,6 +17,7 @@ Gem::Specification.new do |s|
s.files += Dir["doc/**/*"]
s.files += Dir["db/migrate/[0-9]*.rb"].reject {|f| f =~ /_browsercms|_load_seed/ }
s.files += Dir["lib/**/*"]
+ s.files -= Dir["app/controllers/application_controller.rb", "app/helpers/application_helper.rb"]
s.add_dependency('browsercms', '~> 3.3.0')
end
View
7 doc/release_notes.txt
@@ -1,3 +1,6 @@
+v1.2.0
+- Upgrade to be compatible with BrowserCMS 3.3 (aka Rails 3)
+
v1.1.1
- Blog partials and templates no longer include any css style declarations
@@ -5,7 +8,6 @@ v1.1.1
- Fixed bug on page route conditions and requirements when creating a blog
- Tests refactoring. Tests now depend on bcms_support gem
-
v1.1.0
This version introduces significant changes and improvements over version 1.0.0
@@ -42,4 +44,5 @@ https://browsermedia.lighthouseapp.com/projects/28481/tickets/163-review-and-int
Contributors:
=============
Tyler Rick
-Jon Leighton
+Jon Leighton
+Juan Alvarez
View
4 lib/generators/bcms_blog/install/install_generator.rb
@@ -11,6 +11,8 @@ class BcmsBlog::InstallGenerator < Cms::ModuleInstallation
end
def add_helpers
- append_to_file ''
+ append_to_file 'app/helpers/application_helper.rb', :after=>"module ApplicationHelper\n" do
+ " include Cms::BlogHelper\n"
+ end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.