wizard_of_awes 0.0.1

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.
Files changed (39) hide show
  1. data/.gitignore +4 -0
  2. data/Gemfile +4 -0
  3. data/README +3 -0
  4. data/Rakefile +1 -0
  5. data/app/assets/javascripts/wizard_of_awes/application.js +5 -0
  6. data/app/assets/javascripts/wizard_of_awes/jquery.cleditor.min.js +31 -0
  7. data/app/assets/javascripts/wizard_of_awes/jquery.js +4 -0
  8. data/app/assets/javascripts/wizard_of_awes/jquery_ui.js +791 -0
  9. data/app/assets/stylesheets/wizard_of_awes/application.css +6 -0
  10. data/app/assets/stylesheets/wizard_of_awes/base.css.scss +60 -0
  11. data/app/assets/stylesheets/wizard_of_awes/images/buttons.gif +0 -0
  12. data/app/assets/stylesheets/wizard_of_awes/images/toolbar.gif +0 -0
  13. data/app/assets/stylesheets/wizard_of_awes/jquery.cleditor.css +24 -0
  14. data/app/controllers/woa/snippets_controller.rb +58 -0
  15. data/app/models/helper_snippet.rb +4 -0
  16. data/app/views/woa/layouts/wizard_of_awes.html.erb +14 -0
  17. data/app/views/woa/snippets/_form.html.erb +21 -0
  18. data/app/views/woa/snippets/edit.html.erb +2 -0
  19. data/app/views/woa/snippets/index.html.erb +19 -0
  20. data/app/views/woa/snippets/new.html.erb +2 -0
  21. data/config/routes.rb +5 -0
  22. data/lib/generators/wizard_of_awes/install/install_generator.rb +26 -0
  23. data/lib/generators/wizard_of_awes/install/templates/create_helper_snippets.rb +13 -0
  24. data/lib/generators/wizard_of_awes/install/templates/wizard_of_awes.rb.erb +25 -0
  25. data/lib/wizard_of_awes/configuration.rb +26 -0
  26. data/lib/wizard_of_awes/engine.rb +4 -0
  27. data/lib/wizard_of_awes/helper_auth.rb +12 -0
  28. data/lib/wizard_of_awes/railtie.rb +7 -0
  29. data/lib/wizard_of_awes/version.rb +3 -0
  30. data/lib/wizard_of_awes/view_helpers.rb +19 -0
  31. data/lib/wizard_of_awes.rb +56 -0
  32. data/wizard_of_awes/.gitignore +4 -0
  33. data/wizard_of_awes/Gemfile +4 -0
  34. data/wizard_of_awes/Rakefile +1 -0
  35. data/wizard_of_awes/lib/wizard_of_awes/version.rb +3 -0
  36. data/wizard_of_awes/lib/wizard_of_awes.rb +5 -0
  37. data/wizard_of_awes/wizard_of_awes.gemspec +24 -0
  38. data/wizard_of_awes.gemspec +27 -0
  39. metadata +150 -0
@@ -0,0 +1,6 @@
1
+ /*
2
+ * = require formtastic
3
+ * = require formtastic_changes
4
+ * = require wizard_of_awes/base.css
5
+ * = require wizard_of_awes/jquery.cleditor.css
6
+ */
@@ -0,0 +1,60 @@
1
+ @mixin woa-radius($rad) {
2
+ -moz-border-radius: $rad;
3
+ border-radius: $rad;
4
+ -webkit-border-radius: $rad;
5
+ }
6
+ @mixin woa-shadow($hor,$ver,$blur,$color) {
7
+ -moz-box-shadow: $hor $ver $blur $color;
8
+ -webkit-box-shadow: $hor $ver $blur $color;
9
+ box-shadow: $hor $ver $blur $color;
10
+ }
11
+
12
+ body#woa-body {
13
+ background-color : #ccc;
14
+ margin : 0 auto;
15
+ width : 800px;
16
+ font-family: "Lucida Grande", "Bitstream Vera Sans", "Verdana";
17
+
18
+ div#woa-container {
19
+ width : 100%;
20
+ margin-top : 20px;
21
+ padding : 10px;
22
+ background-color : #fff;
23
+ font-size : 11px;
24
+ @include woa-radius(10px);
25
+ @include woa-shadow(3px,3px,6px,#333);
26
+ a, a:visited {
27
+ color : #0000ff;
28
+ }
29
+ }
30
+ table.woa-data {
31
+ width : 100%;
32
+ tr:first-child {
33
+ background-color : #999;
34
+ font-weight : bold;
35
+ }
36
+ tr.woa-even {
37
+ background-color : #ccc;
38
+ }
39
+ tr.woa-odd {
40
+ background-color : #eee;
41
+ }
42
+ td {
43
+ padding : 5px;
44
+ }
45
+ td.centered {
46
+ text-align : center;
47
+ }
48
+ td.action {
49
+ text-align : center;
50
+ width : 150px;
51
+ }
52
+ }
53
+ form.formtastic fieldset.buttons {
54
+ padding-left : 0px;
55
+ li {
56
+ width : 100%;
57
+ text-align : center;
58
+ }
59
+ }
60
+ }
@@ -0,0 +1,24 @@
1
+ .cleditorMain {border:1px solid #999; padding:0 1px 1px; background-color:white}
2
+ .cleditorMain iframe {border:none; margin:0; padding:0}
3
+ .cleditorMain textarea {border:none; margin:0; padding:0; overflow-y:scroll; font:10pt Arial,Verdana; resize:none; outline:none /* webkit grip focus */}
4
+ .cleditorToolbar {background: url('images/toolbar.gif') repeat}
5
+ .cleditorGroup {float:left; height:26px}
6
+ .cleditorButton {float:left; width:24px; height:24px; margin:1px 0 1px 0; background: url('images/buttons.gif')}
7
+ .cleditorDisabled {opacity:0.3; filter:alpha(opacity=30)}
8
+ .cleditorDivider {float:left; width:1px; height:23px; margin:1px 0 1px 0; background:#CCC}
9
+ .cleditorPopup {border:solid 1px #999; background-color:white; position:absolute; font:10pt Arial,Verdana; cursor:default; z-index:10000}
10
+ .cleditorList div {padding:2px 4px 2px 4px}
11
+ .cleditorList p,
12
+ .cleditorList h1,
13
+ .cleditorList h2,
14
+ .cleditorList h3,
15
+ .cleditorList h4,
16
+ .cleditorList h5,
17
+ .cleditorList h6,
18
+ .cleditorList font {padding:0; margin:0; background-color:Transparent}
19
+ .cleditorColor {width:150px; padding:1px 0 0 1px}
20
+ .cleditorColor div {float:left; width:14px; height:14px; margin:0 1px 1px 0}
21
+ .cleditorPrompt {background-color:#F6F7F9; padding:4px; font-size:8.5pt}
22
+ .cleditorPrompt input,
23
+ .cleditorPrompt textarea {font:8.5pt Arial,Verdana;}
24
+ .cleditorMsg {background-color:#FDFCEE; width:150px; padding:4px; font-size:8.5pt}
@@ -0,0 +1,58 @@
1
+ class Woa::SnippetsController < ApplicationController
2
+ protect_from_forgery
3
+ layout 'woa/layouts/wizard_of_awes'
4
+ include WizardOfAwes.config.helper_auth.to_s.constantize
5
+ before_filter :woa_authorize
6
+
7
+ def index
8
+ @snippets = HelperSnippet.all
9
+ end
10
+
11
+ def new
12
+ @snippet = HelperSnippet.new
13
+ end
14
+
15
+ def create
16
+ @snippet = HelperSnippet.new(params[:helper_snippet])
17
+
18
+ respond_to do |format|
19
+ if @snippet.save
20
+ format.html { redirect_to(woa_snippets_url, :notice => 'Snippet was successfully created.') }
21
+ format.xml { render :xml => @snippet, :status => :created }
22
+ else
23
+ format.html { render :action => "new" }
24
+ format.xml { render :xml => @snippet.errors, :status => :unprocessable_entity }
25
+ end
26
+ end
27
+ end
28
+
29
+ def edit
30
+ @snippet = HelperSnippet.find(params[:id])
31
+ end
32
+
33
+ def update
34
+ @snippet = HelperSnippet.find(params[:id])
35
+
36
+ respond_to do |format|
37
+ if @snippet.update_attributes(params[:helper_snippet])
38
+ format.html { redirect_to(woa_snippets_url, :notice => 'Snippet was successfully updated.') }
39
+ format.xml { head :ok }
40
+ else
41
+ format.html { render :action => "edit" }
42
+ format.xml { render :xml => @snippet.errors, :status => :unprocessable_entity }
43
+ end
44
+ end
45
+ end
46
+
47
+ def destroy
48
+ @snippet = Division.find(params[:id])
49
+ @snippet.destroy
50
+
51
+ respond_to do |format|
52
+ format.html { redirect_to(woa_snippets_url) }
53
+ format.xml { head :ok }
54
+ end
55
+ end
56
+ end
57
+
58
+
@@ -0,0 +1,4 @@
1
+ class HelperSnippet < ActiveRecord::Base
2
+ validates_presence_of :slug, :message => "Please specify the slug (key) for this snippet"
3
+ validates_presence_of :body, :message => "Please specify the content for this snippet"
4
+ end
@@ -0,0 +1,14 @@
1
+ <html>
2
+ <head>
3
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
4
+ <title>Wizard of Awes Snippets</title>
5
+ <%= csrf_meta_tag %>
6
+ <%= stylesheet_link_tag 'wizard_of_awes/application' %>
7
+ <%= javascript_include_tag 'wizard_of_awes/application' %>
8
+ </head>
9
+ <body id="woa-body">
10
+ <div id="woa-container">
11
+ <%= yield %>
12
+ </div>
13
+ </body>
14
+ </html>
@@ -0,0 +1,21 @@
1
+ <%= semantic_form_for @snippet, :url => "#{woa_snippets_url}/#{(@snippet.id ? @snippet.id : '')}", :validate => true do |f| %>
2
+ <%= f.inputs do %>
3
+ <%= f.input :slug %>
4
+ Snippet Content*:
5
+ <div style="padding-top:4px;">
6
+ <%= f.input :body, :label => false, :as => :text %>
7
+ </div>
8
+ <% end %>
9
+ <div style="clear:both;display:block;margin-top:10px;margin-bottom:10px;">
10
+ <%= f.buttons do %>
11
+ <%= f.commit_button %>
12
+ <% end %>
13
+ </div>
14
+ <% end %>
15
+ <script>
16
+ $(document).ready(function() {
17
+ $("textarea").cleditor({
18
+ width: "98%"
19
+ });
20
+ });
21
+ </script>
@@ -0,0 +1,2 @@
1
+ <h1><%= link_to "Snippets", woa_snippets_path %> | Edit Snippet</h1>
2
+ <%= render 'form' %>
@@ -0,0 +1,19 @@
1
+ <h1>Wizard of Awes Snippets</h1>
2
+ <h3><%= link_to "New Snippet", new_woa_snippet_path %></h3>
3
+ <table class="woa-data">
4
+ <tr>
5
+ <td>Slug</td>
6
+ <td>Body</td>
7
+ <td class="action">Actions</td>
8
+ </tr>
9
+ <% @snippets.each do |s| %>
10
+ <tr class="<%= cycle("woa-even", "woa-odd") %>">
11
+ <td style="width:100px;"><%= link_to s.slug, edit_woa_snippet_path(s.id) %></td>
12
+ <td><%= s.body %></td>
13
+ <td class="action">
14
+ <%= link_to "Edit", edit_woa_snippet_path(s.id) %> |
15
+ <%= link_to "Delete", :confirm => "Are you sure?", :method => :delete %>
16
+ </td>
17
+ </tr>
18
+ <% end %>
19
+ </table>
@@ -0,0 +1,2 @@
1
+ <h1><%= link_to "Snippets", woa_snippets_path %> | Create a New Snippet</h1>
2
+ <%= render 'form' %>
data/config/routes.rb ADDED
@@ -0,0 +1,5 @@
1
+ Rails.application.routes.draw do
2
+ namespace :woa, :path => WizardOfAwes.config.snippet_route_prefix do
3
+ resources :snippets, :except => :show
4
+ end unless WizardOfAwes.config.snippet_route_prefix.blank?
5
+ end
@@ -0,0 +1,26 @@
1
+ require 'rails/generators'
2
+ require 'rails/generators/migration'
3
+ require 'rails/generators/active_record/migration'
4
+
5
+ module WizardOfAwes
6
+ class InstallGenerator < Rails::Generators::Base
7
+ desc "Installs Wizard Of Awes and generates the migration"
8
+
9
+ include Rails::Generators::Migration
10
+ extend ActiveRecord::Generators::Migration
11
+
12
+ source_root File.expand_path('../templates', __FILE__)
13
+
14
+ def self.next_migration_number(dirname)
15
+ Time.now.strftime("%Y%m%d%H%M%S")
16
+ end
17
+
18
+ def copy_initializer
19
+ template 'wizard_of_awes.rb.erb', 'config/initializers/wizard_of_awes.rb'
20
+ end
21
+
22
+ def create_migration_file
23
+ migration_template 'create_helper_snippets.rb', 'db/migrate/create_helper_snippets.rb'
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,13 @@
1
+ class CreateHelperSnippets < ActiveRecord::Migration
2
+ def self.up
3
+ create_table :helper_snippets do |t|
4
+ t.string :slug
5
+ t.text :body
6
+ t.timestamps
7
+ end
8
+ end
9
+
10
+ def self.down
11
+ drop_table :helper_snippets
12
+ end
13
+ end
@@ -0,0 +1,25 @@
1
+ WizardOfAwes.configure do |config|
2
+ # == User Authorization
3
+ #
4
+ # Wizard Of Awes will automatically call this method
5
+ # in a before filter of the content editor controller actions to
6
+ # ensure that there is a currently logged in helper user.
7
+ #
8
+ # Also, if the user is a helper user, any helper snippets will have quick edit links
9
+ #
10
+ # This setting changes the method which Wizard Of Awes calls
11
+ # within the controller.
12
+ #
13
+ # If this is not specified, nobody will be able to add snippets
14
+ #
15
+ # It needs to have one method:
16
+ #
17
+ # 'woa_authorize' ## This should return true if the user is ok or redirect if they aren't
18
+ #
19
+ # config.helper_auth = 'WizardOfAwes::HelperAuth'
20
+
21
+ # Default url to access admin area is http://yourhost/woa-snippets/
22
+ # You can change 'woa-snippets' to anything you want. To disable this area
23
+ # entirely set this to '' or nil
24
+ # config.snippet_route_prefix = 'woa-snippets'
25
+ end
@@ -0,0 +1,26 @@
1
+ require 'active_support/configurable'
2
+
3
+ module WizardOfAwes
4
+ def self.configure(&block)
5
+ yield @config ||= WizardOfAwes::Configuration.new
6
+ end
7
+
8
+ def self.config
9
+ @config
10
+ end
11
+
12
+ class Configuration #:nodoc:
13
+ include ActiveSupport::Configurable
14
+ config_accessor :snippet_route_prefix
15
+ config_accessor :helper_auth
16
+
17
+ def param_name
18
+ config.param_name.respond_to?(:call) ? config.param_name.call : config.param_name
19
+ end
20
+ end
21
+
22
+ configure do |config|
23
+ config.snippet_route_prefix = 'woa-snippets'
24
+ config.helper_auth = 'WizardOfAwes::HelperAuth'
25
+ end
26
+ end
@@ -0,0 +1,4 @@
1
+ module WizardOfAwes
2
+ class Engine < ::Rails::Engine
3
+ end
4
+ end
@@ -0,0 +1,12 @@
1
+ module WizardOfAwes::HelperAuth
2
+ # Simple auth. When implementing some other form of authorization
3
+ # this method should return +true+ if everything is great, or redirect user
4
+ # to some other page, thus denying access to cms admin section.
5
+ def woa_authorize
6
+ # If things are good...
7
+ # true
8
+
9
+ # If things are not good
10
+ redirect_to(root_path)
11
+ end
12
+ end
@@ -0,0 +1,7 @@
1
+ module WizardOfAwes
2
+ class Railtie < Rails::Railtie
3
+ initializer "wizard_of_awes.view_helpers" do
4
+ ActionView::Base.send :include, ViewHelpers
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,3 @@
1
+ module WizardOfAwes
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,19 @@
1
+ module WizardOfAwes
2
+ module ViewHelpers
3
+ # ==== Options
4
+ # * <tt>:slug</tt> - Which snippet to look up. Defaults to the current_page slug
5
+ def woa_snippet(*slug)
6
+ s = slug.present? ? slug : request.fullpath
7
+ snippet = HelperSnippet.find_by_slug(s)
8
+ if snippet
9
+ woa_markdown(snippet)
10
+ else
11
+ "No Snippet Found"
12
+ end
13
+ end
14
+
15
+ def woa_markdown(snippet)
16
+ snippet.body
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,56 @@
1
+ module WizardOfAwes
2
+ def self.frameworks
3
+ frameworks = ['rails']
4
+ frameworks
5
+ end
6
+
7
+ def self.load_framework!
8
+ show_warning if frameworks.empty?
9
+ frameworks.each do |framework|
10
+ begin
11
+ require framework
12
+ rescue NameError => e
13
+ raise "Failed to load framework #{framework.inspect}. Have you added it to Gemfile?"
14
+ end
15
+ end
16
+ end
17
+
18
+ def self.show_warning
19
+ $stderr.puts <<-EOC
20
+ warning: no framework detected.
21
+ would you check out if your Gemfile appropriately configured?
22
+ ---- e.g. ----
23
+ when Rails:
24
+ gem 'rails'
25
+ gem 'wizard_of_awes'
26
+
27
+ EOC
28
+ end
29
+
30
+ def self.load_wizard_of_awes!
31
+ require "wizard_of_awes/version"
32
+ require 'wizard_of_awes/configuration'
33
+ require 'wizard_of_awes/helper_auth'
34
+ require 'wizard_of_awes/view_helpers'
35
+ end
36
+
37
+ def self.hook!
38
+ load_framework!
39
+ load_wizard_of_awes!
40
+ if rails?
41
+ require 'wizard_of_awes/railtie'
42
+ require 'wizard_of_awes/engine'
43
+ end
44
+ end
45
+
46
+ def self.load!
47
+ hook!
48
+ end
49
+
50
+ private
51
+ def self.rails?
52
+ defined?(::Rails)
53
+ end
54
+ end
55
+
56
+ WizardOfAwes.load!
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in wizard_of_awes.gemspec
4
+ gemspec
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,3 @@
1
+ module WizardOfAwes
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,5 @@
1
+ require "wizard_of_awes/version"
2
+
3
+ module WizardOfAwes
4
+ # Your code goes here...
5
+ end
@@ -0,0 +1,24 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "wizard_of_awes/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "wizard_of_awes"
7
+ s.version = WizardOfAwes::VERSION
8
+ s.authors = ["Matt Brand"]
9
+ s.email = ["agmattbrand@yahoo.com"]
10
+ s.homepage = ""
11
+ s.summary = %q{TODO: Write a gem summary}
12
+ s.description = %q{TODO: Write a gem description}
13
+
14
+ s.rubyforge_project = "wizard_of_awes"
15
+
16
+ s.files = `git ls-files`.split("\n")
17
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
+ s.require_paths = ["lib"]
20
+
21
+ # specify any dependencies here; for example:
22
+ # s.add_development_dependency "rspec"
23
+ # s.add_runtime_dependency "rest-client"
24
+ end
@@ -0,0 +1,27 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "wizard_of_awes/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "wizard_of_awes"
7
+ s.version = WizardOfAwes::VERSION
8
+ s.authors = ["Matt Brand"]
9
+ s.email = ["agmattbrand@yahoo.com"]
10
+ s.homepage = "https://github.com/agmattbrand/wizard_of_awes"
11
+ s.summary = %q{Inline Help Text based on the page slug}
12
+ s.description = %q{Include help text on a page based on its slug. Includes 1 simple tag and a basic content editor}
13
+
14
+ s.rubyforge_project = "wizard_of_awes"
15
+
16
+ s.files = `git ls-files`.split("\n")
17
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
+ s.require_paths = ["lib"]
20
+
21
+ s.add_dependency("rails", ">= 3.1.0")
22
+ s.add_dependency("jquery-rails", ">= 1.0.0")
23
+ s.add_dependency("devise", ">= 1.1.2")
24
+ s.add_dependency("sass-rails", "~> 3.1.0")
25
+ s.add_dependency("formtastic")
26
+ s.add_dependency("client_side_validations")
27
+ end
metadata ADDED
@@ -0,0 +1,150 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: wizard_of_awes
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Matt Brand
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-12-21 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: &70193897310800 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 3.1.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70193897310800
25
+ - !ruby/object:Gem::Dependency
26
+ name: jquery-rails
27
+ requirement: &70193897309200 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: 1.0.0
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *70193897309200
36
+ - !ruby/object:Gem::Dependency
37
+ name: devise
38
+ requirement: &70193897307900 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: 1.1.2
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: *70193897307900
47
+ - !ruby/object:Gem::Dependency
48
+ name: sass-rails
49
+ requirement: &70193897302560 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 3.1.0
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: *70193897302560
58
+ - !ruby/object:Gem::Dependency
59
+ name: formtastic
60
+ requirement: &70193897298920 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ type: :runtime
67
+ prerelease: false
68
+ version_requirements: *70193897298920
69
+ - !ruby/object:Gem::Dependency
70
+ name: client_side_validations
71
+ requirement: &70193897296760 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: *70193897296760
80
+ description: Include help text on a page based on its slug. Includes 1 simple tag
81
+ and a basic content editor
82
+ email:
83
+ - agmattbrand@yahoo.com
84
+ executables: []
85
+ extensions: []
86
+ extra_rdoc_files: []
87
+ files:
88
+ - .gitignore
89
+ - Gemfile
90
+ - README
91
+ - Rakefile
92
+ - app/assets/javascripts/wizard_of_awes/application.js
93
+ - app/assets/javascripts/wizard_of_awes/jquery.cleditor.min.js
94
+ - app/assets/javascripts/wizard_of_awes/jquery.js
95
+ - app/assets/javascripts/wizard_of_awes/jquery_ui.js
96
+ - app/assets/stylesheets/wizard_of_awes/application.css
97
+ - app/assets/stylesheets/wizard_of_awes/base.css.scss
98
+ - app/assets/stylesheets/wizard_of_awes/images/buttons.gif
99
+ - app/assets/stylesheets/wizard_of_awes/images/toolbar.gif
100
+ - app/assets/stylesheets/wizard_of_awes/jquery.cleditor.css
101
+ - app/controllers/woa/snippets_controller.rb
102
+ - app/models/helper_snippet.rb
103
+ - app/views/woa/layouts/wizard_of_awes.html.erb
104
+ - app/views/woa/snippets/_form.html.erb
105
+ - app/views/woa/snippets/edit.html.erb
106
+ - app/views/woa/snippets/index.html.erb
107
+ - app/views/woa/snippets/new.html.erb
108
+ - config/routes.rb
109
+ - lib/generators/wizard_of_awes/install/install_generator.rb
110
+ - lib/generators/wizard_of_awes/install/templates/create_helper_snippets.rb
111
+ - lib/generators/wizard_of_awes/install/templates/wizard_of_awes.rb.erb
112
+ - lib/wizard_of_awes.rb
113
+ - lib/wizard_of_awes/configuration.rb
114
+ - lib/wizard_of_awes/engine.rb
115
+ - lib/wizard_of_awes/helper_auth.rb
116
+ - lib/wizard_of_awes/railtie.rb
117
+ - lib/wizard_of_awes/version.rb
118
+ - lib/wizard_of_awes/view_helpers.rb
119
+ - wizard_of_awes.gemspec
120
+ - wizard_of_awes/.gitignore
121
+ - wizard_of_awes/Gemfile
122
+ - wizard_of_awes/Rakefile
123
+ - wizard_of_awes/lib/wizard_of_awes.rb
124
+ - wizard_of_awes/lib/wizard_of_awes/version.rb
125
+ - wizard_of_awes/wizard_of_awes.gemspec
126
+ homepage: https://github.com/agmattbrand/wizard_of_awes
127
+ licenses: []
128
+ post_install_message:
129
+ rdoc_options: []
130
+ require_paths:
131
+ - lib
132
+ required_ruby_version: !ruby/object:Gem::Requirement
133
+ none: false
134
+ requirements:
135
+ - - ! '>='
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ required_rubygems_version: !ruby/object:Gem::Requirement
139
+ none: false
140
+ requirements:
141
+ - - ! '>='
142
+ - !ruby/object:Gem::Version
143
+ version: '0'
144
+ requirements: []
145
+ rubyforge_project: wizard_of_awes
146
+ rubygems_version: 1.8.10
147
+ signing_key:
148
+ specification_version: 3
149
+ summary: Inline Help Text based on the page slug
150
+ test_files: []