tb_events 1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/README.md +58 -0
- data/Rakefile +28 -0
- data/app/assets/images/spud/admin/events_thumb.png +0 -0
- data/app/assets/javascripts/calendar_events.js +2 -0
- data/app/assets/javascripts/calendars.js +2 -0
- data/app/assets/javascripts/spud/admin/calendar_events.js +2 -0
- data/app/assets/javascripts/spud/admin/calendars.js +0 -0
- data/app/assets/javascripts/spud/admin/events.js +51 -0
- data/app/assets/javascripts/spud/events.js +0 -0
- data/app/assets/lib/colorpicker/colorpicker.css +164 -0
- data/app/assets/lib/colorpicker/colorpicker.js +484 -0
- data/app/assets/lib/colorpicker/images/blank.gif +0 -0
- data/app/assets/lib/colorpicker/images/colorpicker_background.png +0 -0
- data/app/assets/lib/colorpicker/images/colorpicker_hex.png +0 -0
- data/app/assets/lib/colorpicker/images/colorpicker_hsb_b.png +0 -0
- data/app/assets/lib/colorpicker/images/colorpicker_hsb_h.png +0 -0
- data/app/assets/lib/colorpicker/images/colorpicker_hsb_s.png +0 -0
- data/app/assets/lib/colorpicker/images/colorpicker_indic.gif +0 -0
- data/app/assets/lib/colorpicker/images/colorpicker_overlay.png +0 -0
- data/app/assets/lib/colorpicker/images/colorpicker_rgb_b.png +0 -0
- data/app/assets/lib/colorpicker/images/colorpicker_rgb_g.png +0 -0
- data/app/assets/lib/colorpicker/images/colorpicker_rgb_r.png +0 -0
- data/app/assets/lib/colorpicker/images/colorpicker_select.gif +0 -0
- data/app/assets/lib/colorpicker/images/colorpicker_submit.png +0 -0
- data/app/assets/lib/colorpicker/images/custom_background.png +0 -0
- data/app/assets/lib/colorpicker/images/custom_hex.png +0 -0
- data/app/assets/lib/colorpicker/images/custom_hsb_b.png +0 -0
- data/app/assets/lib/colorpicker/images/custom_hsb_h.png +0 -0
- data/app/assets/lib/colorpicker/images/custom_hsb_s.png +0 -0
- data/app/assets/lib/colorpicker/images/custom_indic.gif +0 -0
- data/app/assets/lib/colorpicker/images/custom_rgb_b.png +0 -0
- data/app/assets/lib/colorpicker/images/custom_rgb_g.png +0 -0
- data/app/assets/lib/colorpicker/images/custom_rgb_r.png +0 -0
- data/app/assets/lib/colorpicker/images/custom_submit.png +0 -0
- data/app/assets/lib/colorpicker/images/select.png +0 -0
- data/app/assets/lib/colorpicker/images/select2.png +0 -0
- data/app/assets/lib/colorpicker/images/slider.png +0 -0
- data/app/assets/stylesheets/spud/admin/events.css +16 -0
- data/app/assets/stylesheets/spud/calendar_events.css +18 -0
- data/app/assets/stylesheets/spud/calendars.css +136 -0
- data/app/assets/stylesheets/spud/events.css +4 -0
- data/app/controllers/calendar_events_controller.rb +8 -0
- data/app/controllers/calendars_controller.rb +30 -0
- data/app/controllers/spud/admin/calendar_events_controller.rb +64 -0
- data/app/controllers/spud/admin/calendars_controller.rb +52 -0
- data/app/helpers/calendars_helper.rb +50 -0
- data/app/helpers/spud/admin/calendar_events_helper.rb +2 -0
- data/app/helpers/spud/admin/calendars_helper.rb +15 -0
- data/app/models/spud_calendar.rb +7 -0
- data/app/models/spud_calendar_event.rb +11 -0
- data/app/views/calendar_events/show.html.erb +5 -0
- data/app/views/calendars/_calendar.html.erb +26 -0
- data/app/views/calendars/_calendar_options.html.erb +4 -0
- data/app/views/calendars/show.html.erb +4 -0
- data/app/views/spud/admin/calendar_events/_calendar.html.erb +14 -0
- data/app/views/spud/admin/calendar_events/_form.html.erb +98 -0
- data/app/views/spud/admin/calendar_events/edit.html.erb +1 -0
- data/app/views/spud/admin/calendar_events/index.html.erb +20 -0
- data/app/views/spud/admin/calendar_events/new.html.erb +1 -0
- data/app/views/spud/admin/calendars/_calendar_legend.html.erb +7 -0
- data/app/views/spud/admin/calendars/_form.html.erb +20 -0
- data/app/views/spud/admin/calendars/edit.html.erb +1 -0
- data/app/views/spud/admin/calendars/new.html.erb +1 -0
- data/config/application.rb +50 -0
- data/config/boot.rb +6 -0
- data/config/routes.rb +17 -0
- data/db/migrate/20120216191833_create_spud_calendars.rb +12 -0
- data/db/migrate/20120216192531_create_spud_calendar_events.rb +15 -0
- data/db/migrate/20130214131628_add_location_to_spud_calendar_event.rb +10 -0
- data/lib/spud_events/calendar_builder.rb +133 -0
- data/lib/spud_events/configuration.rb +10 -0
- data/lib/spud_events/engine.rb +31 -0
- data/lib/spud_events/table_builder.rb +88 -0
- data/lib/spud_events/version.rb +5 -0
- data/lib/tb_events.rb +8 -0
- metadata +258 -0
data/config/boot.rb
ADDED
data/config/routes.rb
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
Rails.application.routes.draw do
|
2
|
+
|
3
|
+
# Calendar
|
4
|
+
match 'calendar(/:month(/:year(/:calendar)))' => "calendars#show", :as => "calendar"
|
5
|
+
match 'calendar_event/:id' => "calendar_events#show", :as => "event"
|
6
|
+
namespace :spud do
|
7
|
+
namespace :admin do
|
8
|
+
# Events
|
9
|
+
resources :calendar_events, :except => [:index]
|
10
|
+
resources :calendars, :except => [:index]
|
11
|
+
match 'events(/:month(/:year(/:calendar)))' => "calendar_events#index", :as => "list_spud_calendar_events"
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
|
16
|
+
end
|
17
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
class CreateSpudCalendarEvents < ActiveRecord::Migration
|
2
|
+
def change
|
3
|
+
create_table :spud_calendar_events do |t|
|
4
|
+
t.references :spud_calendar
|
5
|
+
t.string :title
|
6
|
+
t.text :description
|
7
|
+
t.datetime :start_at
|
8
|
+
t.datetime :end_at
|
9
|
+
t.boolean :all_day
|
10
|
+
|
11
|
+
t.timestamps
|
12
|
+
end
|
13
|
+
add_index :spud_calendar_events, :spud_calendar_id
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
class AddLocationToSpudCalendarEvent < ActiveRecord::Migration
|
2
|
+
def change
|
3
|
+
add_column :spud_calendar_events, :location, :string
|
4
|
+
add_column :spud_calendar_events, :address, :string
|
5
|
+
add_column :spud_calendar_events, :address_2, :string
|
6
|
+
add_column :spud_calendar_events, :city, :string
|
7
|
+
add_column :spud_calendar_events, :state, :string
|
8
|
+
add_column :spud_calendar_events, :zip, :string
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1,133 @@
|
|
1
|
+
module Spud
|
2
|
+
module Events
|
3
|
+
class CalendarBuilder < Spud::Events::TableBuilder
|
4
|
+
def initialize(objects, template, calendar, options)
|
5
|
+
super(objects, template, options)
|
6
|
+
@calendar = calendar.new(options)
|
7
|
+
@today = options[:today] || Time.now
|
8
|
+
end
|
9
|
+
|
10
|
+
def day(*args,&block)
|
11
|
+
raise ArgumentError, "Missing block" unless block_given?
|
12
|
+
options = options_from_hash(args)
|
13
|
+
day_method = options.delete(:day_method) || :start_at
|
14
|
+
id_pattern = options.delete(:id)
|
15
|
+
activity_class = options.delete(:activity)
|
16
|
+
output = ""
|
17
|
+
@calendar.objects_for_days(@objects, day_method).to_a.sort{|a1, a2| a1.first <=> a2.first }.each do |o|
|
18
|
+
key, array = o
|
19
|
+
day, objects = array
|
20
|
+
|
21
|
+
output << @template.tag(:tr,options,true) if (day.wday == @calendar.first_weekday)
|
22
|
+
output << @template.tag(:td,td_options(day, id_pattern, (objects.empty? ? nil: activity_class)), true)
|
23
|
+
output << @template.with_output_buffer{block.call(day, objects)}
|
24
|
+
output << '</td>'
|
25
|
+
output << '</tr>' if (day.wday == @calendar.last_weekday)
|
26
|
+
end
|
27
|
+
@template.content_tag(:tbody, output.html_safe, {}, false)
|
28
|
+
end
|
29
|
+
|
30
|
+
private
|
31
|
+
|
32
|
+
def objects_for_days
|
33
|
+
@calendar.objects_for_days(@objects)
|
34
|
+
end
|
35
|
+
|
36
|
+
def td_options(day, id_pattern, activity_class)
|
37
|
+
options = {}
|
38
|
+
if(day.strftime("%Y-%m-%d") == @today.strftime("%Y-%m-%d"))
|
39
|
+
options[:class] = 'today'
|
40
|
+
elsif(day.month != @calendar.month)
|
41
|
+
options[:class] = 'notmonth'
|
42
|
+
elsif(day.wday == 0 or day.wday == 6)
|
43
|
+
options[:class] = 'weekend'
|
44
|
+
elsif activity_class
|
45
|
+
options[:class] = activity_class
|
46
|
+
end
|
47
|
+
if id_pattern
|
48
|
+
options[:id] = day.strftime(id_pattern)
|
49
|
+
end
|
50
|
+
|
51
|
+
options
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
55
|
+
|
56
|
+
class Calendar
|
57
|
+
attr_accessor :first_weekday, :last_weekday, :month
|
58
|
+
def initialize(options={})
|
59
|
+
@year = options[:year] || Time.now.year
|
60
|
+
@month = options[:month] || Time.now.month
|
61
|
+
@first_day_of_week = options[:first_day_of_week] || 0
|
62
|
+
@first_weekday = first_day_of_week(@first_day_of_week)
|
63
|
+
@last_weekday = last_day_of_week(@first_day_of_week)
|
64
|
+
@first = Date.civil(@year, @month, 1)
|
65
|
+
@last = Date.civil(@year, @month, -1)
|
66
|
+
end
|
67
|
+
|
68
|
+
def each_day
|
69
|
+
first_day.upto(last_day) do |day|
|
70
|
+
yield(day)
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
def last_day
|
75
|
+
last = @last
|
76
|
+
while(last.wday % 7 != @last_weekday % 7)
|
77
|
+
last = last.next
|
78
|
+
end
|
79
|
+
last
|
80
|
+
end
|
81
|
+
|
82
|
+
def first_day
|
83
|
+
first = @first - 6
|
84
|
+
while(first.wday % 7 != (@first_weekday) % 7)
|
85
|
+
first = first.next
|
86
|
+
end
|
87
|
+
first
|
88
|
+
end
|
89
|
+
|
90
|
+
def objects_for_days(objects, day_method)
|
91
|
+
unless @objects_for_days
|
92
|
+
@objects_for_days = {}
|
93
|
+
days.each{|day| @objects_for_days[day.strftime("%Y-%m-%d")] = [day, []]}
|
94
|
+
objects.each do |o|
|
95
|
+
date = o.send(day_method.to_sym).strftime("%Y-%m-%d")
|
96
|
+
if @objects_for_days[date]
|
97
|
+
@objects_for_days[date][1] << o
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
@objects_for_days
|
102
|
+
end
|
103
|
+
|
104
|
+
def days
|
105
|
+
unless @days
|
106
|
+
@days = []
|
107
|
+
each_day{|day| @days << day}
|
108
|
+
end
|
109
|
+
@days
|
110
|
+
end
|
111
|
+
|
112
|
+
def mjdays
|
113
|
+
unless @mjdays
|
114
|
+
@mdays = []
|
115
|
+
each_day{|day| @days << day}
|
116
|
+
end
|
117
|
+
@days
|
118
|
+
end
|
119
|
+
|
120
|
+
def first_day_of_week(day)
|
121
|
+
day
|
122
|
+
end
|
123
|
+
|
124
|
+
def last_day_of_week(day)
|
125
|
+
if day > 0
|
126
|
+
day - 1
|
127
|
+
else
|
128
|
+
6
|
129
|
+
end
|
130
|
+
end
|
131
|
+
end
|
132
|
+
end
|
133
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
require 'tb_core'
|
2
|
+
|
3
|
+
module Spud
|
4
|
+
module Events
|
5
|
+
class Engine < Rails::Engine
|
6
|
+
engine_name :spud_events
|
7
|
+
|
8
|
+
def self.require_model(model_name)
|
9
|
+
require "#{root}/app/models/#{model_name}"
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.require_controller(controller_name)
|
13
|
+
require "#{root}/app/controllers/#{controller_name}"
|
14
|
+
end
|
15
|
+
initializer :admin do
|
16
|
+
Spud::Core.configure do |config|
|
17
|
+
config.admin_applications += [{:name => "Events", :thumbnail => "spud/admin/events_thumb.png", :url => "/spud/admin/events",:order => 10}]
|
18
|
+
end
|
19
|
+
end
|
20
|
+
initializer :assets do |config|
|
21
|
+
Spud::Core.append_admin_javascripts('spud/admin/events')
|
22
|
+
Spud::Core.append_admin_stylesheets('spud/admin/events')
|
23
|
+
|
24
|
+
Rails.application.config.assets.precompile += [
|
25
|
+
"spud/events.*",
|
26
|
+
"spud/admin/events.*"
|
27
|
+
]
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,88 @@
|
|
1
|
+
module Spud
|
2
|
+
module Events
|
3
|
+
class TableBuilder
|
4
|
+
include ::ActionView::Helpers::TagHelper
|
5
|
+
|
6
|
+
def initialize(objects, template, options)
|
7
|
+
raise ArgumentError, "TableBuilder expects an Array but found a #{objects.inspect}" unless objects.is_a? Array
|
8
|
+
@objects, @template, @options = objects, template, options
|
9
|
+
end
|
10
|
+
|
11
|
+
def head(*args, &block)
|
12
|
+
if block_given?
|
13
|
+
@template.content_tag(:thead, nil, options_from_hash(args), true, &block)
|
14
|
+
else
|
15
|
+
@num_of_columns = args.size
|
16
|
+
content = args.collect do |c|
|
17
|
+
@template.content_tag(:th,c)
|
18
|
+
end.join("\n").html_safe
|
19
|
+
@template.content_tag(:thead, @template.content_tag(:tr,content,{},false))
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
def head_r(*args, &block)
|
24
|
+
raise ArgumentError, "Missing block" unless block_given?
|
25
|
+
options = options_from_hash(args)
|
26
|
+
head do
|
27
|
+
@template.content_tag(:tr, nil, options, true, &block)
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
def body(*args, &block)
|
32
|
+
raise ArgumentError, "Missing block" unless block_given?
|
33
|
+
options = options_from_hash(args)
|
34
|
+
content = @objects.collect do |c|
|
35
|
+
@template.with_output_buffer{block.call(c)}
|
36
|
+
end.join("\n").html_safe
|
37
|
+
@template.content_tag(:tbody, content, options, false)
|
38
|
+
end
|
39
|
+
|
40
|
+
def body_r(*args, &block)
|
41
|
+
raise ArgumentError, "Missing block" unless block_given?
|
42
|
+
options = options_from_hash(args)
|
43
|
+
tds = @objects.collect do |thing|
|
44
|
+
@template.with_output_buffer{block.call(thing)}
|
45
|
+
end
|
46
|
+
content = tds.collect do |td|
|
47
|
+
@template.content_tag(:tr,td, {}, false)
|
48
|
+
end.join("\n").html_safe
|
49
|
+
"\n#{@template.content_tag(:tbody, content, options, false)}".html_safe
|
50
|
+
end
|
51
|
+
|
52
|
+
def r(*args, &block)
|
53
|
+
raise ArgumentError, "Missing block" unless block_given?
|
54
|
+
options = options_from_hash(args)
|
55
|
+
@template.content_tag(:tr, nil, options, true, &block)
|
56
|
+
end
|
57
|
+
|
58
|
+
def h(*args, &block)
|
59
|
+
if block_given?
|
60
|
+
@template.content_tag(:th, nil, options_from_hash(args), true, &block)
|
61
|
+
else
|
62
|
+
content = args.shift
|
63
|
+
@template.content_tag(:th, content, options_from_hash(args))
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
def d(*args, &block)
|
68
|
+
if block_given?
|
69
|
+
@template.content_tag(:td, nil, options_from_hash(args), true, &block)
|
70
|
+
else
|
71
|
+
content = args.shift
|
72
|
+
@template.content_tag(:td, content, options_from_hash(args))
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
private
|
77
|
+
|
78
|
+
def options_from_hash(args)
|
79
|
+
args.last.is_a?(Hash) ? args.pop : {}
|
80
|
+
end
|
81
|
+
|
82
|
+
# def content_tag(tag, content, *args, &block)
|
83
|
+
# options = options_from_hash(args)
|
84
|
+
# @template.content_tag(tag, content, options, &block)
|
85
|
+
# end
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
data/lib/tb_events.rb
ADDED
metadata
ADDED
@@ -0,0 +1,258 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tb_events
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: '1.0'
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Greg Woods
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-06-19 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ! '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 3.2.2
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ! '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.2.2
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: tb_core
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: mysql2
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.3.11
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.3.11
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 2.8.0
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 2.8.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec-rails
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 2.8.1
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 2.8.1
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: shoulda
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ~>
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 3.0.1
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ~>
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 3.0.1
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: factory_girl
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 2.5.0
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 2.5.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: mocha
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 0.10.3
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 0.10.3
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: database_cleaner
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 0.7.1
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 0.7.1
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: simplecov
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ~>
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 0.6.4
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ~>
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 0.6.4
|
153
|
+
description:
|
154
|
+
email:
|
155
|
+
- greg@westlakedesign.com
|
156
|
+
executables: []
|
157
|
+
extensions: []
|
158
|
+
extra_rdoc_files: []
|
159
|
+
files:
|
160
|
+
- app/assets/images/spud/admin/events_thumb.png
|
161
|
+
- app/assets/javascripts/calendar_events.js
|
162
|
+
- app/assets/javascripts/calendars.js
|
163
|
+
- app/assets/javascripts/spud/admin/calendar_events.js
|
164
|
+
- app/assets/javascripts/spud/admin/calendars.js
|
165
|
+
- app/assets/javascripts/spud/admin/events.js
|
166
|
+
- app/assets/javascripts/spud/events.js
|
167
|
+
- app/assets/lib/colorpicker/colorpicker.css
|
168
|
+
- app/assets/lib/colorpicker/colorpicker.js
|
169
|
+
- app/assets/lib/colorpicker/images/blank.gif
|
170
|
+
- app/assets/lib/colorpicker/images/colorpicker_background.png
|
171
|
+
- app/assets/lib/colorpicker/images/colorpicker_hex.png
|
172
|
+
- app/assets/lib/colorpicker/images/colorpicker_hsb_b.png
|
173
|
+
- app/assets/lib/colorpicker/images/colorpicker_hsb_h.png
|
174
|
+
- app/assets/lib/colorpicker/images/colorpicker_hsb_s.png
|
175
|
+
- app/assets/lib/colorpicker/images/colorpicker_indic.gif
|
176
|
+
- app/assets/lib/colorpicker/images/colorpicker_overlay.png
|
177
|
+
- app/assets/lib/colorpicker/images/colorpicker_rgb_b.png
|
178
|
+
- app/assets/lib/colorpicker/images/colorpicker_rgb_g.png
|
179
|
+
- app/assets/lib/colorpicker/images/colorpicker_rgb_r.png
|
180
|
+
- app/assets/lib/colorpicker/images/colorpicker_select.gif
|
181
|
+
- app/assets/lib/colorpicker/images/colorpicker_submit.png
|
182
|
+
- app/assets/lib/colorpicker/images/custom_background.png
|
183
|
+
- app/assets/lib/colorpicker/images/custom_hex.png
|
184
|
+
- app/assets/lib/colorpicker/images/custom_hsb_b.png
|
185
|
+
- app/assets/lib/colorpicker/images/custom_hsb_h.png
|
186
|
+
- app/assets/lib/colorpicker/images/custom_hsb_s.png
|
187
|
+
- app/assets/lib/colorpicker/images/custom_indic.gif
|
188
|
+
- app/assets/lib/colorpicker/images/custom_rgb_b.png
|
189
|
+
- app/assets/lib/colorpicker/images/custom_rgb_g.png
|
190
|
+
- app/assets/lib/colorpicker/images/custom_rgb_r.png
|
191
|
+
- app/assets/lib/colorpicker/images/custom_submit.png
|
192
|
+
- app/assets/lib/colorpicker/images/select.png
|
193
|
+
- app/assets/lib/colorpicker/images/select2.png
|
194
|
+
- app/assets/lib/colorpicker/images/slider.png
|
195
|
+
- app/assets/stylesheets/spud/admin/events.css
|
196
|
+
- app/assets/stylesheets/spud/calendar_events.css
|
197
|
+
- app/assets/stylesheets/spud/calendars.css
|
198
|
+
- app/assets/stylesheets/spud/events.css
|
199
|
+
- app/controllers/calendar_events_controller.rb
|
200
|
+
- app/controllers/calendars_controller.rb
|
201
|
+
- app/controllers/spud/admin/calendar_events_controller.rb
|
202
|
+
- app/controllers/spud/admin/calendars_controller.rb
|
203
|
+
- app/helpers/calendars_helper.rb
|
204
|
+
- app/helpers/spud/admin/calendar_events_helper.rb
|
205
|
+
- app/helpers/spud/admin/calendars_helper.rb
|
206
|
+
- app/models/spud_calendar.rb
|
207
|
+
- app/models/spud_calendar_event.rb
|
208
|
+
- app/views/calendar_events/show.html.erb
|
209
|
+
- app/views/calendars/_calendar.html.erb
|
210
|
+
- app/views/calendars/_calendar_options.html.erb
|
211
|
+
- app/views/calendars/show.html.erb
|
212
|
+
- app/views/spud/admin/calendar_events/_calendar.html.erb
|
213
|
+
- app/views/spud/admin/calendar_events/_form.html.erb
|
214
|
+
- app/views/spud/admin/calendar_events/edit.html.erb
|
215
|
+
- app/views/spud/admin/calendar_events/index.html.erb
|
216
|
+
- app/views/spud/admin/calendar_events/new.html.erb
|
217
|
+
- app/views/spud/admin/calendars/_calendar_legend.html.erb
|
218
|
+
- app/views/spud/admin/calendars/_form.html.erb
|
219
|
+
- app/views/spud/admin/calendars/edit.html.erb
|
220
|
+
- app/views/spud/admin/calendars/new.html.erb
|
221
|
+
- config/application.rb
|
222
|
+
- config/boot.rb
|
223
|
+
- config/routes.rb
|
224
|
+
- db/migrate/20120216191833_create_spud_calendars.rb
|
225
|
+
- db/migrate/20120216192531_create_spud_calendar_events.rb
|
226
|
+
- db/migrate/20130214131628_add_location_to_spud_calendar_event.rb
|
227
|
+
- lib/spud_events/calendar_builder.rb
|
228
|
+
- lib/spud_events/configuration.rb
|
229
|
+
- lib/spud_events/engine.rb
|
230
|
+
- lib/spud_events/table_builder.rb
|
231
|
+
- lib/spud_events/version.rb
|
232
|
+
- lib/tb_events.rb
|
233
|
+
- Rakefile
|
234
|
+
- README.md
|
235
|
+
homepage:
|
236
|
+
licenses: []
|
237
|
+
metadata: {}
|
238
|
+
post_install_message:
|
239
|
+
rdoc_options: []
|
240
|
+
require_paths:
|
241
|
+
- lib
|
242
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
243
|
+
requirements:
|
244
|
+
- - ! '>='
|
245
|
+
- !ruby/object:Gem::Version
|
246
|
+
version: '0'
|
247
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
248
|
+
requirements:
|
249
|
+
- - ! '>='
|
250
|
+
- !ruby/object:Gem::Version
|
251
|
+
version: '0'
|
252
|
+
requirements: []
|
253
|
+
rubyforge_project:
|
254
|
+
rubygems_version: 2.0.3
|
255
|
+
signing_key:
|
256
|
+
specification_version: 4
|
257
|
+
summary: Twice Baked Events engine
|
258
|
+
test_files: []
|