backgroundmodule 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG ADDED
File without changes
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2010 [name of plugin creator]
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Manifest ADDED
@@ -0,0 +1,24 @@
1
+ CHANGELOG
2
+ MIT-LICENSE
3
+ Manifest
4
+ README
5
+ Rakefile
6
+ app/controllers/fundos_controller.rb
7
+ app/helpers/fundo_helper.rb
8
+ app/models/fundo.rb
9
+ app/views/fundos/_css.erb
10
+ app/views/fundos/_fundo.erb
11
+ app/views/fundos/_menu.erb
12
+ app/views/fundos/edit.html.erb
13
+ app/views/fundos/index.html.erb
14
+ app/views/fundos/new.html.erb
15
+ background_module.gemspec
16
+ backgroundmodule.gemspec
17
+ config/routes.rb
18
+ generators/backgroundmodule/backgroundmodule_generator.rb
19
+ generators/backgroundmodule/templates/background_colorpicker.css
20
+ generators/backgroundmodule/templates/create_fundos.rb
21
+ init.rb
22
+ install.rb
23
+ lib/backgroundmodule.rb
24
+ uninstall.rb
data/README ADDED
@@ -0,0 +1,54 @@
1
+ Background
2
+ ==========
3
+
4
+ Create a helpers/controller/views to control e show ramdom backgrounds.
5
+
6
+ Dependencies:
7
+ =============
8
+ paperclip
9
+ acl9
10
+ jquery
11
+ jquery colorpicker
12
+
13
+
14
+ Install
15
+ =======
16
+ Run:
17
+
18
+ gem sources -a http://gemcutter.org
19
+ gem install background
20
+
21
+ put in your environment.rb :
22
+ config.gem "background"
23
+ config.reload_plugins = true
24
+
25
+
26
+ Run:
27
+
28
+ //create the migration of background tables and copy /stylesheets/background_module.css
29
+
30
+ script/generate background config
31
+ rake db:migrate
32
+
33
+ Use the gem
34
+ ===========
35
+
36
+ Insert in your layout inside <head> tag
37
+ <%= random_background %>
38
+ <%= css_background %>
39
+
40
+ Insert in your adm menu
41
+ <%= menu_background %>
42
+
43
+ IMPORTANT
44
+ =========
45
+ This gem is to be use with acl9
46
+ The menu is able just for user with :moderator role
47
+
48
+ The menu will use the layout "adm"
49
+
50
+
51
+ =========
52
+
53
+
54
+ Copyright (c) 2010 Eduardo Cauli, released under the MIT license
data/Rakefile ADDED
@@ -0,0 +1,14 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+ require 'echoe'
4
+
5
+ Echoe.new('backgroundmodule', '0.1.2') do |p|
6
+ p.description = "Ramdom background"
7
+ p.url = "http://github.com/ecauli/background_module"
8
+ p.author = "Eduardo Cauli"
9
+ p.email = "ecauli@gmail.com"
10
+ p.ignore_pattern = ["tmp/*", "script/*"]
11
+ p.development_dependencies = []
12
+ end
13
+
14
+ Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }
@@ -0,0 +1,61 @@
1
+ class FundosController < ApplicationController
2
+
3
+ layout "adm"
4
+
5
+ access_control do
6
+ allow :moderator, :to => [:index, :show,:create, :new, :destroy, :update, :edit, :crop]
7
+ end
8
+
9
+ def index
10
+ @fundos = Fundo.all
11
+ end
12
+
13
+
14
+ def new
15
+ @fundo = Fundo.new
16
+
17
+ end
18
+
19
+ # GET /banners/1/edit
20
+ def edit
21
+ @fundo = Fundo.find(params[:id])
22
+ end
23
+
24
+ # POST /banners
25
+ # POST /banners.xml
26
+ def create
27
+ @fundo = Fundo.new(params[:fundo])
28
+
29
+ respond_to do |format|
30
+ if @fundo.save
31
+ flash[:notice] = 'Fundo adicionado com sucesso.'
32
+ format.html { redirect_to(fundos_url)}
33
+ else
34
+ format.html { render :action => "new" }
35
+ end
36
+ end
37
+ end
38
+
39
+ def update
40
+ @fundo = Fundo.find(params[:id])
41
+
42
+ respond_to do |format|
43
+ if @fundo.update_attributes(params[:fundo])
44
+ flash[:notice] = 'Fundo adicionado com sucesso.'
45
+ format.html { redirect_to(fundos_url)}
46
+ else
47
+ format.html { render :action => "edit" }
48
+ end
49
+ end
50
+ end
51
+
52
+ def destroy
53
+ @fundo = Fundo.find(params[:id])
54
+ @fundo.destroy
55
+
56
+ respond_to do |format|
57
+ format.html { redirect_to(fundos_url) }
58
+ end
59
+ end
60
+
61
+ end
@@ -0,0 +1,15 @@
1
+ module FundoHelper
2
+ def random_background
3
+ render :partial => "fundos/css"
4
+ end
5
+
6
+ def menu_background
7
+ render :partial => "fundos/menu"
8
+ end
9
+
10
+ def css_background
11
+ stylesheet_link_tag 'backgroundmodule'
12
+ end
13
+
14
+
15
+ end
@@ -0,0 +1,6 @@
1
+ class Fundo < ActiveRecord::Base
2
+ has_attached_file :arquivo
3
+ validates_attachment_presence :arquivo
4
+ validates_attachment_size :arquivo, :less_than => 5.megabytes
5
+ validates_attachment_content_type :arquivo, :content_type =>['image/jpeg', 'image/png','image/pjpeg', 'image/x-png']
6
+ end
@@ -0,0 +1,43 @@
1
+ <% fundo = Fundo.find(:first,:order => "rand()", :conditions=>{:home=>true} ) %>
2
+
3
+ <% unless fundo.nil? %>
4
+ <style type="text/css">
5
+ body{
6
+ background:url("<%= fundo.arquivo.url %>") no-repeat fixed center top black;
7
+ margin:0 auto;
8
+ min-width:1000px;
9
+ width:100%;
10
+ }
11
+ .cor{
12
+ background-color:<%= fundo.cor %> !important;
13
+ }
14
+ .txt_cor{
15
+ color:<%= fundo.cor %> !important;
16
+ }
17
+ h2{
18
+ background-color:<%= fundo.cor %> !important;
19
+ padding: 5px;
20
+ color: white;
21
+ }
22
+ </style>
23
+ <% else %>
24
+ <style type="text/css">
25
+ body{
26
+ background-color: black;
27
+ margin:0 auto;
28
+ min-width:1000px;
29
+ width:100%;
30
+ }
31
+ .cor{
32
+ background-color: black !important;
33
+ }
34
+ .txt_cor{
35
+ color: black !important;
36
+ }
37
+ h2{
38
+ background-color:black !important;
39
+ padding: 5px;
40
+ color: white;
41
+ }
42
+ </style>
43
+ <% end %>
@@ -0,0 +1,22 @@
1
+ <% form_for fundo, :html => { :multipart => true } do |f| %>
2
+ <%= f.error_messages %>
3
+
4
+ <p>
5
+ <%= f.label :titulo %><br />
6
+ <%= f.text_field :titulo %>
7
+ </p>
8
+ <p>
9
+ <%= f.label :arquivo, "Arquivo" %>
10
+ <%= f.file_field :arquivo %>
11
+ </p>
12
+ <%= f.label "Cor" %><br />
13
+ <div id="color"></div>
14
+ <%= f.hidden_field :cor %>
15
+ <p>
16
+ <p>
17
+ <%= f.label "HOME" %><br />
18
+ <%= f.check_box :home %>
19
+ </p>
20
+ <%= f.submit 'Enviar' %>
21
+ </p>
22
+ <% end %>
@@ -0,0 +1,5 @@
1
+ <strong> »Fundos</strong>
2
+ <ul>
3
+ <li><%= link_to "Gerenciar Fundos", fundos_path %></li>
4
+ <li><%= link_to "Novo Fundo", new_fundo_path %></li>
5
+ </ul>
@@ -0,0 +1,23 @@
1
+ <% title "Novo Fundo" %>
2
+ <% content_for (:head) do %>
3
+ <%= javascript_include_tag 'jquery' %>
4
+ <%= stylesheet_link_tag "colorpicker" %>
5
+ <%= javascript_include_tag "colorpicker" %>
6
+ <script type="text/javascript">
7
+ jQuery.noConflict();
8
+ jQuery(document).ready(function() {
9
+ jQuery('#color').ColorPicker({
10
+ flat: true,
11
+ color: '<%=@fundo.cor%>',
12
+ onChange: function (hsb, hex, rgb) {
13
+ jQuery("#fundo_cor").val("#"+hex);
14
+ }
15
+ });
16
+ });
17
+ </script>
18
+ <% end %>
19
+ <h1>Editar Fundo</h1>
20
+
21
+ <%= render :partial => @fundo %>
22
+
23
+ <%= link_to 'Voltar', fundos_path %>
@@ -0,0 +1,22 @@
1
+ <h1>Lista de fundos</h1>
2
+
3
+ <table>
4
+ <tr>
5
+ <th>Titulo</th>
6
+ <th>Cor</th>
7
+ <th>HOME</th>
8
+ </tr>
9
+
10
+ <% @fundos.each do |fundo| %>
11
+ <tr>
12
+ <td><%=h fundo.titulo %></td>
13
+ <td style="background-color:<%= fundo.cor%>"><%= fundo.cor %></td>
14
+ <td><%=h simnao(fundo.home) %></td>
15
+ <td><%= link_to 'Editar', edit_fundo_path(fundo) %></td>
16
+ <td><%= link_to 'Deletar', fundo, :confirm => 'tem certeza?', :method => :delete %></td>
17
+ </tr>
18
+ <% end %>
19
+ </table>
20
+ <br />
21
+
22
+ <%= link_to 'Novo Fundo', new_fundo_path %>
@@ -0,0 +1,23 @@
1
+ <% title "Novo Fundo" %>
2
+ <% content_for (:head) do %>
3
+ <%= javascript_include_tag 'jquery' %>
4
+ <%= stylesheet_link_tag "colorpicker" %>
5
+ <%= javascript_include_tag "colorpicker" %>
6
+ <script type="text/javascript">
7
+ jQuery.noConflict();
8
+ jQuery(document).ready(function() {
9
+ jQuery('#color').ColorPicker({
10
+ flat: true,
11
+ color: '#990000',
12
+ onChange: function (hsb, hex, rgb) {
13
+ jQuery("#fundo_cor").val("#"+hex);
14
+ }
15
+ });
16
+ });
17
+ </script>
18
+ <% end %>
19
+ <h1>Novo Fundo</h1>
20
+
21
+ <%= render :partial => @fundo %>
22
+
23
+ <%= link_to 'Voltar', fundos_path %>
@@ -0,0 +1,30 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{background_module}
5
+ s.version = "0.1.1"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Eduardo Cauli"]
9
+ s.date = %q{2010-04-28}
10
+ s.description = %q{Ramdom background}
11
+ s.email = %q{ecauli@gmail.com}
12
+ s.extra_rdoc_files = ["CHANGELOG", "README", "lib/backgroundmodule.rb"]
13
+ s.files = ["CHANGELOG", "MIT-LICENSE", "Manifest", "README", "Rakefile", "app/controllers/fundos_controller.rb", "app/helpers/fundo_helper.rb", "app/models/fundo.rb", "app/views/fundos/_css.erb", "app/views/fundos/_fundo.erb", "app/views/fundos/_menu.erb", "app/views/fundos/edit.html.erb", "app/views/fundos/index.html.erb", "app/views/fundos/new.html.erb", "config/routes.rb", "generators/backgroundmodule/backgroundmodule_generator.rb", "generators/backgroundmodule/templates/backgroundmodule.css", "generators/backgroundmodule/templates/create_fundos.rb", "init.rb", "install.rb", "lib/backgroundmodule.rb", "uninstall.rb", "background_module.gemspec"]
14
+ s.homepage = %q{http://github.com/ecauli/background_module}
15
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Background_module", "--main", "README"]
16
+ s.require_paths = ["lib"]
17
+ s.rubyforge_project = %q{background_module}
18
+ s.rubygems_version = %q{1.3.6}
19
+ s.summary = %q{Ramdom background}
20
+
21
+ if s.respond_to? :specification_version then
22
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
23
+ s.specification_version = 3
24
+
25
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
26
+ else
27
+ end
28
+ else
29
+ end
30
+ end
@@ -0,0 +1,30 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{backgroundmodule}
5
+ s.version = "0.1.2"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Eduardo Cauli"]
9
+ s.date = %q{2010-04-28}
10
+ s.description = %q{Ramdom background}
11
+ s.email = %q{ecauli@gmail.com}
12
+ s.extra_rdoc_files = ["CHANGELOG", "README", "lib/backgroundmodule.rb"]
13
+ s.files = ["CHANGELOG", "MIT-LICENSE", "Manifest", "README", "Rakefile", "app/controllers/fundos_controller.rb", "app/helpers/fundo_helper.rb", "app/models/fundo.rb", "app/views/fundos/_css.erb", "app/views/fundos/_fundo.erb", "app/views/fundos/_menu.erb", "app/views/fundos/edit.html.erb", "app/views/fundos/index.html.erb", "app/views/fundos/new.html.erb", "background_module.gemspec", "backgroundmodule.gemspec", "config/routes.rb", "generators/backgroundmodule/backgroundmodule_generator.rb", "generators/backgroundmodule/templates/background_colorpicker.css", "generators/backgroundmodule/templates/create_fundos.rb", "init.rb", "install.rb", "lib/backgroundmodule.rb", "uninstall.rb"]
14
+ s.homepage = %q{http://github.com/ecauli/background_module}
15
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Backgroundmodule", "--main", "README"]
16
+ s.require_paths = ["lib"]
17
+ s.rubyforge_project = %q{backgroundmodule}
18
+ s.rubygems_version = %q{1.3.6}
19
+ s.summary = %q{Ramdom background}
20
+
21
+ if s.respond_to? :specification_version then
22
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
23
+ s.specification_version = 3
24
+
25
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
26
+ else
27
+ end
28
+ else
29
+ end
30
+ end
data/config/routes.rb ADDED
@@ -0,0 +1,3 @@
1
+ ActionController::Routing::Routes.draw do |map|
2
+ map.resources :fundos
3
+ end
@@ -0,0 +1,19 @@
1
+ class BackgroundmoduleGenerator < Rails::Generator::NamedBase
2
+ def manifest
3
+ record do |m|
4
+ unless options[:skip_migration]
5
+ m.migration_template('create_fundos.rb', 'db/migrate', :migration_file_name => 'create_background')
6
+ end
7
+ end
8
+ end
9
+
10
+ protected
11
+
12
+ def add_options!(opt)
13
+ opt.separator ''
14
+ opt.separator 'Options:'
15
+ opt.on("--skip-migration", "Don't generate a migration for the background table") do |value|
16
+ options[:skip_migration] = value
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,161 @@
1
+ .colorpicker {
2
+ width: 356px;
3
+ height: 176px;
4
+ overflow: hidden;
5
+ position: absolute;
6
+ background: url(../images/colorpicker_background.png);
7
+ font-family: Arial, Helvetica, sans-serif;
8
+ display: none;
9
+ }
10
+ .colorpicker_color {
11
+ width: 150px;
12
+ height: 150px;
13
+ left: 14px;
14
+ top: 13px;
15
+ position: absolute;
16
+ background: #f00;
17
+ overflow: hidden;
18
+ cursor: crosshair;
19
+ }
20
+ .colorpicker_color div {
21
+ position: absolute;
22
+ top: 0;
23
+ left: 0;
24
+ width: 150px;
25
+ height: 150px;
26
+ background: url(../images/colorpicker_overlay.png);
27
+ }
28
+ .colorpicker_color div div {
29
+ position: absolute;
30
+ top: 0;
31
+ left: 0;
32
+ width: 11px;
33
+ height: 11px;
34
+ overflow: hidden;
35
+ background: url(../images/colorpicker_select.gif);
36
+ margin: -5px 0 0 -5px;
37
+ }
38
+ .colorpicker_hue {
39
+ position: absolute;
40
+ top: 13px;
41
+ left: 171px;
42
+ width: 35px;
43
+ height: 150px;
44
+ cursor: n-resize;
45
+ }
46
+ .colorpicker_hue div {
47
+ position: absolute;
48
+ width: 35px;
49
+ height: 9px;
50
+ overflow: hidden;
51
+ background: url(../images/colorpicker_indic.gif) left top;
52
+ margin: -4px 0 0 0;
53
+ left: 0px;
54
+ }
55
+ .colorpicker_new_color {
56
+ position: absolute;
57
+ width: 60px;
58
+ height: 30px;
59
+ left: 213px;
60
+ top: 13px;
61
+ background: #f00;
62
+ }
63
+ .colorpicker_current_color {
64
+ position: absolute;
65
+ width: 60px;
66
+ height: 30px;
67
+ left: 283px;
68
+ top: 13px;
69
+ background: #f00;
70
+ }
71
+ .colorpicker input {
72
+ background-color: transparent;
73
+ border: 1px solid transparent;
74
+ position: absolute;
75
+ font-size: 10px;
76
+ font-family: Arial, Helvetica, sans-serif;
77
+ color: #898989;
78
+ top: 4px;
79
+ right: 11px;
80
+ text-align: right;
81
+ margin: 0;
82
+ padding: 0;
83
+ height: 11px;
84
+ }
85
+ .colorpicker_hex {
86
+ position: absolute;
87
+ width: 72px;
88
+ height: 22px;
89
+ background: url(../images/colorpicker_hex.png) top;
90
+ left: 212px;
91
+ top: 142px;
92
+ }
93
+ .colorpicker_hex input {
94
+ right: 6px;
95
+ }
96
+ .colorpicker_field {
97
+ height: 22px;
98
+ width: 62px;
99
+ background-position: top;
100
+ position: absolute;
101
+ }
102
+ .colorpicker_field span {
103
+ position: absolute;
104
+ width: 12px;
105
+ height: 22px;
106
+ overflow: hidden;
107
+ top: 0;
108
+ right: 0;
109
+ cursor: n-resize;
110
+ }
111
+ .colorpicker_rgb_r {
112
+ background-image: url(../images/colorpicker_rgb_r.png);
113
+ top: 52px;
114
+ left: 212px;
115
+ }
116
+ .colorpicker_rgb_g {
117
+ background-image: url(../images/colorpicker_rgb_g.png);
118
+ top: 82px;
119
+ left: 212px;
120
+ }
121
+ .colorpicker_rgb_b {
122
+ background-image: url(../images/colorpicker_rgb_b.png);
123
+ top: 112px;
124
+ left: 212px;
125
+ }
126
+ .colorpicker_hsb_h {
127
+ background-image: url(../images/colorpicker_hsb_h.png);
128
+ top: 52px;
129
+ left: 282px;
130
+ }
131
+ .colorpicker_hsb_s {
132
+ background-image: url(../images/colorpicker_hsb_s.png);
133
+ top: 82px;
134
+ left: 282px;
135
+ }
136
+ .colorpicker_hsb_b {
137
+ background-image: url(../images/colorpicker_hsb_b.png);
138
+ top: 112px;
139
+ left: 282px;
140
+ }
141
+ .colorpicker_submit {
142
+ position: absolute;
143
+ width: 22px;
144
+ height: 22px;
145
+ background: url(../images/colorpicker_submit.png) top;
146
+ left: 322px;
147
+ top: 142px;
148
+ overflow: hidden;
149
+ }
150
+ .colorpicker_focus {
151
+ background-position: center;
152
+ }
153
+ .colorpicker_hex.colorpicker_focus {
154
+ background-position: bottom;
155
+ }
156
+ .colorpicker_submit.colorpicker_focus {
157
+ background-position: bottom;
158
+ }
159
+ .colorpicker_slider {
160
+ background-position: bottom;
161
+ }
@@ -0,0 +1,19 @@
1
+ class CreateFundos < ActiveRecord::Migration
2
+ def self.up
3
+ create_table :fundos do |t|
4
+ t.string :cor
5
+ t.string :titulo
6
+ t.string :arquivo_file_name
7
+ t.string :arquivo_content_type, :string
8
+ t.integer :arquivo_file_size, :integer
9
+ t.datetime :banners, :arquivo_updated_at, :datetime
10
+ t.boolean :home , :default=> false
11
+
12
+ t.timestamps
13
+ end
14
+ end
15
+
16
+ def self.down
17
+ drop_table :fundos
18
+ end
19
+ end
data/init.rb ADDED
@@ -0,0 +1 @@
1
+ require File.join(File.dirname(__FILE__), "lib", "backgroundmodule")
data/install.rb ADDED
@@ -0,0 +1 @@
1
+ # Install hook code here
@@ -0,0 +1,7 @@
1
+ # Background
2
+ module Backgroundmodule
3
+
4
+
5
+ end
6
+
7
+ ActionView::Base.send :include, FundoHelper
data/uninstall.rb ADDED
@@ -0,0 +1 @@
1
+ # Uninstall hook code here
metadata ADDED
@@ -0,0 +1,93 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: backgroundmodule
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 2
9
+ version: 0.1.2
10
+ platform: ruby
11
+ authors:
12
+ - Eduardo Cauli
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2010-04-28 00:00:00 -03:00
18
+ default_executable:
19
+ dependencies: []
20
+
21
+ description: Ramdom background
22
+ email: ecauli@gmail.com
23
+ executables: []
24
+
25
+ extensions: []
26
+
27
+ extra_rdoc_files:
28
+ - CHANGELOG
29
+ - README
30
+ - lib/backgroundmodule.rb
31
+ files:
32
+ - CHANGELOG
33
+ - MIT-LICENSE
34
+ - Manifest
35
+ - README
36
+ - Rakefile
37
+ - app/controllers/fundos_controller.rb
38
+ - app/helpers/fundo_helper.rb
39
+ - app/models/fundo.rb
40
+ - app/views/fundos/_css.erb
41
+ - app/views/fundos/_fundo.erb
42
+ - app/views/fundos/_menu.erb
43
+ - app/views/fundos/edit.html.erb
44
+ - app/views/fundos/index.html.erb
45
+ - app/views/fundos/new.html.erb
46
+ - background_module.gemspec
47
+ - backgroundmodule.gemspec
48
+ - config/routes.rb
49
+ - generators/backgroundmodule/backgroundmodule_generator.rb
50
+ - generators/backgroundmodule/templates/background_colorpicker.css
51
+ - generators/backgroundmodule/templates/create_fundos.rb
52
+ - init.rb
53
+ - install.rb
54
+ - lib/backgroundmodule.rb
55
+ - uninstall.rb
56
+ has_rdoc: true
57
+ homepage: http://github.com/ecauli/background_module
58
+ licenses: []
59
+
60
+ post_install_message:
61
+ rdoc_options:
62
+ - --line-numbers
63
+ - --inline-source
64
+ - --title
65
+ - Backgroundmodule
66
+ - --main
67
+ - README
68
+ require_paths:
69
+ - lib
70
+ required_ruby_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ segments:
75
+ - 0
76
+ version: "0"
77
+ required_rubygems_version: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ segments:
82
+ - 1
83
+ - 2
84
+ version: "1.2"
85
+ requirements: []
86
+
87
+ rubyforge_project: backgroundmodule
88
+ rubygems_version: 1.3.6
89
+ signing_key:
90
+ specification_version: 3
91
+ summary: Ramdom background
92
+ test_files: []
93
+