contentment 0.1.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,5 @@
1
+ module ContentsHelper
2
+ def content_tipe_options
3
+ Content.tipes
4
+ end
5
+ end
@@ -9,6 +9,7 @@ class ContentmentViewsGenerator < Rails::Generators::Base
9
9
 
10
10
  def install
11
11
  puts "Installing Views"
12
+ template 'contents_helper.rb', 'app/helpers/contents_helper.rb'
12
13
  directory 'contents', 'app/views/contents'
13
14
  end
14
15
 
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 1
7
+ - 3
8
8
  - 0
9
- version: 0.1.0
9
+ version: 0.3.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Bob Larrick
@@ -36,6 +36,7 @@ files:
36
36
  - lib/generators/contentment/contentment_views_templates/contents/index.html.erb
37
37
  - lib/generators/contentment/contentment_views_templates/contents/new.html.erb
38
38
  - lib/generators/contentment/contentment_views_templates/contents/show.html.erb
39
+ - lib/generators/contentment/contentment_views_templates/contents_helper.rb
39
40
  - lib/generators/contentment/templates/content.rb
40
41
  - lib/generators/contentment/templates/contents_controller.rb
41
42
  - lib/generators/contentment/templates/migration.rb
@@ -287,7 +288,7 @@ files:
287
288
  - public/javascripts/tiny_mce/utils/validate.js
288
289
  - README.rdoc
289
290
  has_rdoc: true
290
- homepage:
291
+ homepage: https://github.com/deathbob/Contentment
291
292
  licenses: []
292
293
 
293
294
  post_install_message: