sbdevcore 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/images/28DaysLater.ttf +0 -0
- data/app/assets/images/ajax-loader.gif +0 -0
- data/app/assets/javascripts/jquery.tools.min.js +16 -108
- data/app/assets/javascripts/rails.validations.custom.js +5 -0
- data/app/assets/javascripts/sbdev-ajax.js +14 -0
- data/app/assets/javascripts/sbdevcore-tools.js +24 -37
- data/app/assets/javascripts/sbdevcore.js +8 -3
- data/app/assets/javascripts/tiny_mce_config.js +2 -0
- data/app/assets/stylesheets/_bar_nav.scss +6 -4
- data/app/assets/stylesheets/_buttons.scss +16 -10
- data/app/assets/stylesheets/_forms.scss +51 -0
- data/app/assets/stylesheets/_mixins.scss +40 -15
- data/app/assets/stylesheets/_overlay.scss +4 -7
- data/app/assets/stylesheets/_sbdev_core.scss +55 -19
- data/app/assets/stylesheets/_yui_base.scss +142 -0
- data/app/controllers/contacts_controller.rb +2 -36
- data/app/controllers/downloadables_controller.rb +6 -46
- data/app/controllers/galleries_controller.rb +4 -49
- data/app/controllers/indices_controller.rb +2 -45
- data/app/controllers/photos_controller.rb +4 -48
- data/app/controllers/sbdev_core_controller.rb +40 -0
- data/app/controllers/texts_controller.rb +3 -46
- data/app/controllers/videos_controller.rb +4 -45
- data/app/models/contact.rb +5 -1
- data/app/models/downloadable.rb +3 -1
- data/app/models/index.rb +4 -1
- data/app/models/photo.rb +3 -1
- data/app/models/video.rb +2 -0
- data/app/views/admins/mailer/confirmation_instructions.html.haml +4 -0
- data/app/views/admins/mailer/reset_password_instructions.html.haml +6 -0
- data/app/views/admins/mailer/unlock_instructions.html.haml +5 -0
- data/app/views/admins/passwords/edit.html.haml +8 -0
- data/app/views/admins/passwords/new.html.haml +6 -0
- data/app/views/admins/sessions/new.html.haml +8 -0
- data/app/views/admins/shared/_links.haml +19 -0
- data/app/views/application/_header.html.haml +1 -0
- data/app/views/application/_secondary_nav.html.haml +3 -0
- data/app/views/contacts/_form.html.haml +5 -0
- data/app/views/contacts/edit.html.haml +6 -0
- data/app/views/contacts/index.html.haml +21 -0
- data/app/views/contacts/new.html.haml +2 -0
- data/app/views/contacts/show.html.haml +24 -0
- data/app/views/downloadables/_form.html.haml +6 -0
- data/app/views/downloadables/_show.html.haml +7 -0
- data/app/views/downloadables/edit.html.haml +3 -0
- data/app/views/downloadables/new.html.haml +4 -0
- data/app/views/galleries/_form.html.haml +22 -0
- data/app/views/galleries/edit.html.haml +10 -0
- data/app/views/galleries/index.html.haml +9 -0
- data/app/views/galleries/new.html.haml +3 -0
- data/app/views/galleries/show.html.haml +9 -0
- data/app/views/indices/_form.html.haml +43 -0
- data/app/views/indices/_show.html.haml +17 -0
- data/app/views/indices/edit.html.haml +3 -0
- data/app/views/indices/index.html.haml +17 -0
- data/app/views/layouts/application.html.haml +16 -1
- data/app/views/layouts/bar_nav.html.haml +7 -14
- data/app/views/layouts/sbdev_core.html.haml +39 -0
- data/app/views/layouts/tab_nav.html.haml +9 -14
- data/app/views/mailer/message.haml +4 -0
- data/app/views/photos/_form.html.haml +10 -0
- data/app/views/photos/_show.html.haml +7 -0
- data/app/views/photos/edit.html.haml +3 -0
- data/app/views/photos/index.html.haml +21 -0
- data/app/views/photos/new.html.haml +4 -0
- data/app/views/photos/show.html.haml +4 -0
- data/app/views/sbdev_core/index.html.haml +1 -0
- data/app/views/sbdev_core/show.html.haml +4 -0
- data/app/views/sbdev_core/show.js.haml +1 -0
- data/app/views/shared/_asset_show.html.haml +1 -0
- data/app/views/shared/_devise_links.haml +15 -0
- data/app/views/shared/_gallery.html.haml +14 -0
- data/app/views/shared/_prioritizable_fields.html.haml +5 -0
- data/app/views/texts/_form.html.haml +3 -0
- data/app/views/texts/_show.html.haml +6 -0
- data/app/views/texts/edit.html.haml +3 -0
- data/app/views/texts/new.html.haml +4 -0
- data/app/views/texts/show.html.haml +8 -0
- data/app/views/videos/_form.html.haml +7 -0
- data/app/views/videos/_show.html.haml +12 -0
- data/app/views/videos/edit.html.haml +3 -0
- data/app/views/videos/index.html.haml +11 -0
- data/app/views/videos/new.html.haml +4 -0
- data/app/views/videos/show.html.haml +9 -0
- data/app/views/videos/show.js.haml +4 -0
- data/config/initializers/client_side_validations.rb +14 -0
- data/config/initializers/custom_validators.rb +15 -0
- data/config/initializers/load_app_config.rb +2 -0
- data/config/initializers/simple_form.rb +93 -0
- data/config/locales/en.yml +4 -1
- data/db/migrate/20110811000613_create_indices.rb +3 -0
- data/db/seeds.rb +23 -57
- data/lib/generators/sbdevcore/install_generator.rb +0 -2
- data/lib/generators/sbdevcore/templates/application.scss +1 -0
- data/lib/generators/sbdevcore/templates/application/_404.html.haml +2 -0
- data/lib/generators/sbdevcore/templates/application/_footer.html.haml +2 -1
- data/lib/generators/sbdevcore/templates/application/_inline_nav.html.haml +3 -0
- data/lib/generators/sbdevcore/templates/application/_nav.html.haml +1 -1
- data/lib/generators/sbdevcore/templates/config/initializers/mailer_setup.rb +2 -2
- data/lib/generators/sbdevcore/templates/config/initializers/simple_form.rb +93 -0
- data/lib/generators/sbdevcore/templates/new_contact.html.haml +4 -0
- data/lib/sbdevcore.rb +25 -2
- data/lib/sbdevcore/engine.rb +13 -34
- data/lib/sbdevcore/version.rb +1 -1
- data/lib/tasks/sbdevcore.rake +1 -1
- data/public/404.html +2 -2
- data/sbdevcore.gemspec +7 -2
- metadata +296 -156
- data/app/assets/stylesheets/_js_errors.scss +0 -26
- data/app/controllers/core_controller.rb +0 -5
- data/app/controllers/sbdevcore/application_controller_extensions.rb +0 -13
- data/app/controllers/statics_controller.rb +0 -6
- data/app/models/asset.rb +0 -27
- data/app/views/admins/confirmations/new.html.erb +0 -12
- data/app/views/admins/mailer/confirmation_instructions.html.erb +0 -5
- data/app/views/admins/mailer/reset_password_instructions.html.erb +0 -8
- data/app/views/admins/mailer/unlock_instructions.html.erb +0 -7
- data/app/views/admins/passwords/edit.html.erb +0 -16
- data/app/views/admins/passwords/new.html.erb +0 -12
- data/app/views/admins/registrations/edit.html.erb +0 -25
- data/app/views/admins/registrations/new.html.erb +0 -18
- data/app/views/admins/sessions/new.html.erb +0 -17
- data/app/views/admins/unlocks/new.html.erb +0 -12
- data/app/views/contacts/_form.html.erb +0 -18
- data/app/views/contacts/edit.html.erb +0 -8
- data/app/views/contacts/index.html.erb +0 -27
- data/app/views/contacts/new.html.erb +0 -4
- data/app/views/contacts/show.html.erb +0 -32
- data/app/views/downloadables/_form.html.erb +0 -17
- data/app/views/downloadables/_show.html.erb +0 -8
- data/app/views/downloadables/edit.html.erb +0 -4
- data/app/views/downloadables/new.html.erb +0 -6
- data/app/views/galleries/_form.html.erb +0 -33
- data/app/views/galleries/edit.html.erb +0 -13
- data/app/views/galleries/index.html.erb +0 -16
- data/app/views/galleries/new.html.erb +0 -8
- data/app/views/galleries/show.html.erb +0 -17
- data/app/views/indices/_form.html.erb +0 -60
- data/app/views/indices/_show.html.erb +0 -22
- data/app/views/indices/edit.html.erb +0 -12
- data/app/views/indices/index.html.erb +0 -23
- data/app/views/indices/new.html.erb +0 -8
- data/app/views/indices/show.html.erb +0 -4
- data/app/views/indices/show.js.erb +0 -1
- data/app/views/photos/_form.html.erb +0 -27
- data/app/views/photos/_show.html.erb +0 -14
- data/app/views/photos/edit.html.erb +0 -4
- data/app/views/photos/index.html.erb +0 -27
- data/app/views/photos/new.html.erb +0 -6
- data/app/views/photos/overlay.html.erb +0 -1
- data/app/views/photos/show.html.erb +0 -5
- data/app/views/shared/_asset_show.html.erb +0 -1
- data/app/views/shared/_gallery.html.erb +0 -21
- data/app/views/shared/_prioritizable_fields.html.erb +0 -10
- data/app/views/shared/course_type_index.html.erb +0 -16
- data/app/views/texts/_form.html.erb +0 -9
- data/app/views/texts/_new.html.erb +0 -6
- data/app/views/texts/_show.html.erb +0 -9
- data/app/views/texts/edit.html.erb +0 -4
- data/app/views/texts/new.html.erb +0 -6
- data/app/views/texts/show.html.erb +0 -9
- data/app/views/videos/_form.html.erb +0 -17
- data/app/views/videos/_show.html.erb +0 -16
- data/app/views/videos/edit.html.erb +0 -4
- data/app/views/videos/index.html.erb +0 -17
- data/app/views/videos/new.html.erb +0 -6
- data/app/views/videos/show.html.erb +0 -12
- data/lib/generators/sbdevcore/templates/application/_404.html.erb +0 -2
- data/lib/generators/sbdevcore/templates/application/_inline_nav.html.erb +0 -7
- data/lib/generators/sbdevcore/templates/config/tiny_mce.yml +0 -46
- data/lib/generators/sbdevcore/templates/new_contact.html.erb +0 -4
- data/vendor/assets/stylesheets/.gitkeep +0 -0
- data/vendor/plugins/.gitkeep +0 -0
data/lib/sbdevcore.rb
CHANGED
@@ -2,5 +2,28 @@ require "sbdevcore/version"
|
|
2
2
|
require "sbdevcore/engine"
|
3
3
|
|
4
4
|
module Sbdevcore
|
5
|
-
|
6
|
-
|
5
|
+
|
6
|
+
module Routes
|
7
|
+
def self.draw(map)
|
8
|
+
map.instance_exec do
|
9
|
+
devise_for :admins
|
10
|
+
|
11
|
+
resources :contacts
|
12
|
+
|
13
|
+
resources :photos
|
14
|
+
resources :videos
|
15
|
+
resources :downloadables
|
16
|
+
resources :texts
|
17
|
+
resources :galleries
|
18
|
+
|
19
|
+
resources :indices do
|
20
|
+
resources :photos
|
21
|
+
resources :videos
|
22
|
+
resources :downloadables
|
23
|
+
resources :texts
|
24
|
+
resource :gallery
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
data/lib/sbdevcore/engine.rb
CHANGED
@@ -1,12 +1,21 @@
|
|
1
1
|
require 'rails'
|
2
2
|
require 'rubygems'
|
3
|
-
require '
|
4
|
-
require '
|
3
|
+
require 'tinymce-rails'
|
4
|
+
require 'prioritizable'
|
5
5
|
require 'devise'
|
6
|
-
require '
|
6
|
+
require 'paperclip'
|
7
7
|
require 'haml'
|
8
|
-
require '
|
8
|
+
require 'sitemap_generator'
|
9
|
+
require "hpricot"
|
10
|
+
require "simple_form"
|
11
|
+
require "client_side_validations"
|
9
12
|
require 'pg'
|
13
|
+
require 'formalize-rails'
|
14
|
+
require 'will_paginate'
|
15
|
+
require 'aws/s3'
|
16
|
+
require 'aasm'
|
17
|
+
require 'inherited_resources'
|
18
|
+
require 'friendly_id'
|
10
19
|
require 'sbdevcore'
|
11
20
|
|
12
21
|
module Sbdevcore
|
@@ -19,35 +28,5 @@ module Sbdevcore
|
|
19
28
|
|
20
29
|
config.action_mailer.perform_deliveries = !Rails.env.production?
|
21
30
|
config.action_mailer.raise_delivery_errors = Rails.env.production?
|
22
|
-
|
23
|
-
initializer 'sbdevcore.app_controller' do |app|
|
24
|
-
ActiveSupport.on_load(:action_controller) do
|
25
|
-
include Sbdevcore::ApplicationControllerExtensions
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
module Routes
|
31
|
-
def self.draw(map)
|
32
|
-
map.instance_exec do
|
33
|
-
devise_for :admins
|
34
|
-
|
35
|
-
resources :contacts
|
36
|
-
|
37
|
-
resources :photos
|
38
|
-
resources :videos
|
39
|
-
resources :downloadables
|
40
|
-
resources :texts
|
41
|
-
resources :galleries
|
42
|
-
|
43
|
-
resources :indices do
|
44
|
-
resources :photos
|
45
|
-
resources :videos
|
46
|
-
resources :downloadables
|
47
|
-
resources :texts
|
48
|
-
resource :gallery
|
49
|
-
end
|
50
|
-
end
|
51
|
-
end
|
52
31
|
end
|
53
32
|
end
|
data/lib/sbdevcore/version.rb
CHANGED
data/lib/tasks/sbdevcore.rake
CHANGED
data/public/404.html
CHANGED
@@ -19,8 +19,8 @@
|
|
19
19
|
<body>
|
20
20
|
<!-- This file lives in public/404.html -->
|
21
21
|
<div class="dialog">
|
22
|
-
|
23
|
-
|
22
|
+
%p To Err is Human, To Arr is Pirate.
|
23
|
+
%p We're sorry the page you were looking for cannot be found.
|
24
24
|
</div>
|
25
25
|
</body>
|
26
26
|
</html>
|
data/sbdevcore.gemspec
CHANGED
@@ -26,6 +26,11 @@ Gem::Specification.new do |s|
|
|
26
26
|
s.add_dependency('sitemap_generator')
|
27
27
|
s.add_dependency("hpricot")
|
28
28
|
s.add_dependency("simple_form")
|
29
|
-
s.add_dependency("
|
30
|
-
|
29
|
+
s.add_dependency("client_side_validations")
|
30
|
+
s.add_dependency("formalize-rails")
|
31
|
+
s.add_dependency('will_paginate', "~> 3.0.pre4")
|
32
|
+
s.add_dependency('aws-s3')
|
33
|
+
s.add_dependency('rubyist-aasm')
|
34
|
+
s.add_dependency('inherited_resources')
|
35
|
+
s.add_dependency("friendly_id", "~> 4.0.0.beta8")
|
31
36
|
end
|
metadata
CHANGED
@@ -1,122 +1,249 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: sbdevcore
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 2
|
9
|
+
- 0
|
10
|
+
version: 0.2.0
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Adam Olsen
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2011-08-30 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: tinymce-rails
|
16
|
-
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
24
|
none: false
|
18
|
-
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
version: "0"
|
22
32
|
type: :runtime
|
23
|
-
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
26
35
|
name: prioritizable
|
27
|
-
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
38
|
none: false
|
29
|
-
requirements:
|
30
|
-
- -
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
hash: 3
|
43
|
+
segments:
|
44
|
+
- 0
|
45
|
+
version: "0"
|
33
46
|
type: :runtime
|
34
|
-
|
35
|
-
|
36
|
-
- !ruby/object:Gem::Dependency
|
47
|
+
version_requirements: *id002
|
48
|
+
- !ruby/object:Gem::Dependency
|
37
49
|
name: devise
|
38
|
-
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
39
52
|
none: false
|
40
|
-
requirements:
|
41
|
-
- -
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
hash: 3
|
57
|
+
segments:
|
58
|
+
- 0
|
59
|
+
version: "0"
|
44
60
|
type: :runtime
|
45
|
-
|
46
|
-
|
47
|
-
- !ruby/object:Gem::Dependency
|
61
|
+
version_requirements: *id003
|
62
|
+
- !ruby/object:Gem::Dependency
|
48
63
|
name: paperclip
|
49
|
-
|
64
|
+
prerelease: false
|
65
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
50
66
|
none: false
|
51
|
-
requirements:
|
52
|
-
- -
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
hash: 3
|
71
|
+
segments:
|
72
|
+
- 0
|
73
|
+
version: "0"
|
55
74
|
type: :runtime
|
56
|
-
|
57
|
-
|
58
|
-
- !ruby/object:Gem::Dependency
|
75
|
+
version_requirements: *id004
|
76
|
+
- !ruby/object:Gem::Dependency
|
59
77
|
name: haml-edge
|
60
|
-
|
78
|
+
prerelease: false
|
79
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
61
80
|
none: false
|
62
|
-
requirements:
|
63
|
-
- -
|
64
|
-
- !ruby/object:Gem::Version
|
65
|
-
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
hash: 3
|
85
|
+
segments:
|
86
|
+
- 0
|
87
|
+
version: "0"
|
66
88
|
type: :runtime
|
67
|
-
|
68
|
-
|
69
|
-
- !ruby/object:Gem::Dependency
|
89
|
+
version_requirements: *id005
|
90
|
+
- !ruby/object:Gem::Dependency
|
70
91
|
name: sitemap_generator
|
71
|
-
|
92
|
+
prerelease: false
|
93
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
72
94
|
none: false
|
73
|
-
requirements:
|
74
|
-
- -
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
|
95
|
+
requirements:
|
96
|
+
- - ">="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
hash: 3
|
99
|
+
segments:
|
100
|
+
- 0
|
101
|
+
version: "0"
|
77
102
|
type: :runtime
|
78
|
-
|
79
|
-
|
80
|
-
- !ruby/object:Gem::Dependency
|
103
|
+
version_requirements: *id006
|
104
|
+
- !ruby/object:Gem::Dependency
|
81
105
|
name: hpricot
|
82
|
-
|
106
|
+
prerelease: false
|
107
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
83
108
|
none: false
|
84
|
-
requirements:
|
85
|
-
- -
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
hash: 3
|
113
|
+
segments:
|
114
|
+
- 0
|
115
|
+
version: "0"
|
88
116
|
type: :runtime
|
89
|
-
|
90
|
-
|
91
|
-
- !ruby/object:Gem::Dependency
|
117
|
+
version_requirements: *id007
|
118
|
+
- !ruby/object:Gem::Dependency
|
92
119
|
name: simple_form
|
93
|
-
|
120
|
+
prerelease: false
|
121
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
122
|
+
none: false
|
123
|
+
requirements:
|
124
|
+
- - ">="
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
hash: 3
|
127
|
+
segments:
|
128
|
+
- 0
|
129
|
+
version: "0"
|
130
|
+
type: :runtime
|
131
|
+
version_requirements: *id008
|
132
|
+
- !ruby/object:Gem::Dependency
|
133
|
+
name: client_side_validations
|
134
|
+
prerelease: false
|
135
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
136
|
+
none: false
|
137
|
+
requirements:
|
138
|
+
- - ">="
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
hash: 3
|
141
|
+
segments:
|
142
|
+
- 0
|
143
|
+
version: "0"
|
144
|
+
type: :runtime
|
145
|
+
version_requirements: *id009
|
146
|
+
- !ruby/object:Gem::Dependency
|
147
|
+
name: formalize-rails
|
148
|
+
prerelease: false
|
149
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
150
|
+
none: false
|
151
|
+
requirements:
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
hash: 3
|
155
|
+
segments:
|
156
|
+
- 0
|
157
|
+
version: "0"
|
158
|
+
type: :runtime
|
159
|
+
version_requirements: *id010
|
160
|
+
- !ruby/object:Gem::Dependency
|
161
|
+
name: will_paginate
|
162
|
+
prerelease: false
|
163
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
94
164
|
none: false
|
95
|
-
requirements:
|
96
|
-
- -
|
97
|
-
- !ruby/object:Gem::Version
|
98
|
-
|
165
|
+
requirements:
|
166
|
+
- - ~>
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
hash: 1923831905
|
169
|
+
segments:
|
170
|
+
- 3
|
171
|
+
- 0
|
172
|
+
- pre
|
173
|
+
- 4
|
174
|
+
version: 3.0.pre4
|
99
175
|
type: :runtime
|
176
|
+
version_requirements: *id011
|
177
|
+
- !ruby/object:Gem::Dependency
|
178
|
+
name: aws-s3
|
100
179
|
prerelease: false
|
101
|
-
|
102
|
-
|
180
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
181
|
+
none: false
|
182
|
+
requirements:
|
183
|
+
- - ">="
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
hash: 3
|
186
|
+
segments:
|
187
|
+
- 0
|
188
|
+
version: "0"
|
189
|
+
type: :runtime
|
190
|
+
version_requirements: *id012
|
191
|
+
- !ruby/object:Gem::Dependency
|
192
|
+
name: rubyist-aasm
|
193
|
+
prerelease: false
|
194
|
+
requirement: &id013 !ruby/object:Gem::Requirement
|
195
|
+
none: false
|
196
|
+
requirements:
|
197
|
+
- - ">="
|
198
|
+
- !ruby/object:Gem::Version
|
199
|
+
hash: 3
|
200
|
+
segments:
|
201
|
+
- 0
|
202
|
+
version: "0"
|
203
|
+
type: :runtime
|
204
|
+
version_requirements: *id013
|
205
|
+
- !ruby/object:Gem::Dependency
|
103
206
|
name: inherited_resources
|
104
|
-
|
207
|
+
prerelease: false
|
208
|
+
requirement: &id014 !ruby/object:Gem::Requirement
|
105
209
|
none: false
|
106
|
-
requirements:
|
107
|
-
- -
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
|
210
|
+
requirements:
|
211
|
+
- - ">="
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
hash: 3
|
214
|
+
segments:
|
215
|
+
- 0
|
216
|
+
version: "0"
|
110
217
|
type: :runtime
|
218
|
+
version_requirements: *id014
|
219
|
+
- !ruby/object:Gem::Dependency
|
220
|
+
name: friendly_id
|
111
221
|
prerelease: false
|
112
|
-
|
222
|
+
requirement: &id015 !ruby/object:Gem::Requirement
|
223
|
+
none: false
|
224
|
+
requirements:
|
225
|
+
- - ~>
|
226
|
+
- !ruby/object:Gem::Version
|
227
|
+
hash: 62196275
|
228
|
+
segments:
|
229
|
+
- 4
|
230
|
+
- 0
|
231
|
+
- 0
|
232
|
+
- beta
|
233
|
+
- 8
|
234
|
+
version: 4.0.0.beta8
|
235
|
+
type: :runtime
|
236
|
+
version_requirements: *id015
|
113
237
|
description: Core
|
114
|
-
email:
|
238
|
+
email:
|
115
239
|
- aosalias@gmail.com
|
116
240
|
executables: []
|
241
|
+
|
117
242
|
extensions: []
|
243
|
+
|
118
244
|
extra_rdoc_files: []
|
119
|
-
|
245
|
+
|
246
|
+
files:
|
120
247
|
- .gitignore
|
121
248
|
- .idea/.rakeTasks
|
122
249
|
- .idea/core.iml
|
@@ -129,6 +256,8 @@ files:
|
|
129
256
|
- Gemfile
|
130
257
|
- README
|
131
258
|
- Rakefile
|
259
|
+
- app/assets/images/28DaysLater.ttf
|
260
|
+
- app/assets/images/ajax-loader.gif
|
132
261
|
- app/assets/images/background.jpg
|
133
262
|
- app/assets/images/blank.gif
|
134
263
|
- app/assets/images/cdcsmall.jpg
|
@@ -143,13 +272,15 @@ files:
|
|
143
272
|
- app/assets/images/prev.gif
|
144
273
|
- app/assets/images/rails.png
|
145
274
|
- app/assets/javascripts/jquery.tools.min.js
|
275
|
+
- app/assets/javascripts/rails.validations.custom.js
|
276
|
+
- app/assets/javascripts/sbdev-ajax.js
|
146
277
|
- app/assets/javascripts/sbdevcore-tools.js
|
147
278
|
- app/assets/javascripts/sbdevcore.js
|
148
279
|
- app/assets/javascripts/tiny_mce_config.js
|
149
280
|
- app/assets/stylesheets/_bar_nav.scss
|
150
281
|
- app/assets/stylesheets/_buttons.scss
|
282
|
+
- app/assets/stylesheets/_forms.scss
|
151
283
|
- app/assets/stylesheets/_gallery.scss
|
152
|
-
- app/assets/stylesheets/_js_errors.scss
|
153
284
|
- app/assets/stylesheets/_mixins.scss
|
154
285
|
- app/assets/stylesheets/_overlay.scss
|
155
286
|
- app/assets/stylesheets/_sbdev_core.scss
|
@@ -158,14 +289,13 @@ files:
|
|
158
289
|
- app/assets/stylesheets/_testimonials.scss
|
159
290
|
- app/assets/stylesheets/_tooltips.scss
|
160
291
|
- app/assets/stylesheets/_trip_advisor.scss
|
292
|
+
- app/assets/stylesheets/_yui_base.scss
|
161
293
|
- app/controllers/contacts_controller.rb
|
162
|
-
- app/controllers/core_controller.rb
|
163
294
|
- app/controllers/downloadables_controller.rb
|
164
295
|
- app/controllers/galleries_controller.rb
|
165
296
|
- app/controllers/indices_controller.rb
|
166
297
|
- app/controllers/photos_controller.rb
|
167
|
-
- app/controllers/
|
168
|
-
- app/controllers/statics_controller.rb
|
298
|
+
- app/controllers/sbdev_core_controller.rb
|
169
299
|
- app/controllers/texts_controller.rb
|
170
300
|
- app/controllers/videos_controller.rb
|
171
301
|
- app/helpers/layout_helper.rb
|
@@ -173,7 +303,6 @@ files:
|
|
173
303
|
- app/mailers/mailer.rb
|
174
304
|
- app/models/.gitkeep
|
175
305
|
- app/models/admin.rb
|
176
|
-
- app/models/asset.rb
|
177
306
|
- app/models/contact.rb
|
178
307
|
- app/models/downloadable.rb
|
179
308
|
- app/models/gallery.rb
|
@@ -181,68 +310,72 @@ files:
|
|
181
310
|
- app/models/photo.rb
|
182
311
|
- app/models/text.rb
|
183
312
|
- app/models/video.rb
|
184
|
-
- app/views/admins/
|
185
|
-
- app/views/admins/mailer/
|
186
|
-
- app/views/admins/mailer/
|
187
|
-
- app/views/admins/
|
188
|
-
- app/views/admins/passwords/
|
189
|
-
- app/views/admins/
|
190
|
-
- app/views/admins/registrations/edit.html.erb
|
191
|
-
- app/views/admins/registrations/new.html.erb
|
192
|
-
- app/views/admins/sessions/new.html.erb
|
313
|
+
- app/views/admins/mailer/confirmation_instructions.html.haml
|
314
|
+
- app/views/admins/mailer/reset_password_instructions.html.haml
|
315
|
+
- app/views/admins/mailer/unlock_instructions.html.haml
|
316
|
+
- app/views/admins/passwords/edit.html.haml
|
317
|
+
- app/views/admins/passwords/new.html.haml
|
318
|
+
- app/views/admins/sessions/new.html.haml
|
193
319
|
- app/views/admins/shared/_links.erb
|
194
|
-
- app/views/admins/
|
195
|
-
- app/views/
|
196
|
-
- app/views/
|
197
|
-
- app/views/contacts/
|
198
|
-
- app/views/contacts/
|
199
|
-
- app/views/contacts/
|
200
|
-
- app/views/
|
201
|
-
- app/views/
|
202
|
-
- app/views/downloadables/
|
203
|
-
- app/views/downloadables/
|
204
|
-
- app/views/
|
205
|
-
- app/views/
|
206
|
-
- app/views/galleries/
|
207
|
-
- app/views/galleries/
|
208
|
-
- app/views/galleries/
|
209
|
-
- app/views/
|
210
|
-
- app/views/
|
211
|
-
- app/views/indices/
|
212
|
-
- app/views/indices/
|
213
|
-
- app/views/indices/
|
214
|
-
- app/views/indices/
|
215
|
-
- app/views/indices/show.js.erb
|
320
|
+
- app/views/admins/shared/_links.haml
|
321
|
+
- app/views/application/_header.html.haml
|
322
|
+
- app/views/application/_secondary_nav.html.haml
|
323
|
+
- app/views/contacts/_form.html.haml
|
324
|
+
- app/views/contacts/edit.html.haml
|
325
|
+
- app/views/contacts/index.html.haml
|
326
|
+
- app/views/contacts/new.html.haml
|
327
|
+
- app/views/contacts/show.html.haml
|
328
|
+
- app/views/downloadables/_form.html.haml
|
329
|
+
- app/views/downloadables/_show.html.haml
|
330
|
+
- app/views/downloadables/edit.html.haml
|
331
|
+
- app/views/downloadables/new.html.haml
|
332
|
+
- app/views/galleries/_form.html.haml
|
333
|
+
- app/views/galleries/edit.html.haml
|
334
|
+
- app/views/galleries/index.html.haml
|
335
|
+
- app/views/galleries/new.html.haml
|
336
|
+
- app/views/galleries/show.html.haml
|
337
|
+
- app/views/indices/_form.html.haml
|
338
|
+
- app/views/indices/_show.html.haml
|
339
|
+
- app/views/indices/edit.html.haml
|
340
|
+
- app/views/indices/index.html.haml
|
216
341
|
- app/views/layouts/application.html.haml
|
217
342
|
- app/views/layouts/bar_nav.html.haml
|
343
|
+
- app/views/layouts/sbdev_core.html.haml
|
218
344
|
- app/views/layouts/tab_nav.html.haml
|
219
345
|
- app/views/mailer/message.erb
|
220
|
-
- app/views/
|
221
|
-
- app/views/photos/
|
222
|
-
- app/views/photos/
|
223
|
-
- app/views/photos/
|
224
|
-
- app/views/photos/
|
225
|
-
- app/views/photos/
|
226
|
-
- app/views/photos/show.html.
|
227
|
-
- app/views/
|
346
|
+
- app/views/mailer/message.haml
|
347
|
+
- app/views/photos/_form.html.haml
|
348
|
+
- app/views/photos/_show.html.haml
|
349
|
+
- app/views/photos/edit.html.haml
|
350
|
+
- app/views/photos/index.html.haml
|
351
|
+
- app/views/photos/new.html.haml
|
352
|
+
- app/views/photos/show.html.haml
|
353
|
+
- app/views/sbdev_core/index.html.haml
|
354
|
+
- app/views/sbdev_core/show.html.haml
|
355
|
+
- app/views/sbdev_core/show.js.haml
|
356
|
+
- app/views/shared/_asset_show.html.haml
|
228
357
|
- app/views/shared/_devise_links.erb
|
229
|
-
- app/views/shared/
|
230
|
-
- app/views/shared/
|
231
|
-
- app/views/shared/
|
232
|
-
- app/views/texts/_form.html.
|
233
|
-
- app/views/texts/
|
234
|
-
- app/views/texts/
|
235
|
-
- app/views/texts/
|
236
|
-
- app/views/texts/
|
237
|
-
- app/views/
|
238
|
-
- app/views/videos/
|
239
|
-
- app/views/videos/
|
240
|
-
- app/views/videos/
|
241
|
-
- app/views/videos/
|
242
|
-
- app/views/videos/
|
243
|
-
- app/views/videos/show.html.erb
|
358
|
+
- app/views/shared/_devise_links.haml
|
359
|
+
- app/views/shared/_gallery.html.haml
|
360
|
+
- app/views/shared/_prioritizable_fields.html.haml
|
361
|
+
- app/views/texts/_form.html.haml
|
362
|
+
- app/views/texts/_show.html.haml
|
363
|
+
- app/views/texts/edit.html.haml
|
364
|
+
- app/views/texts/new.html.haml
|
365
|
+
- app/views/texts/show.html.haml
|
366
|
+
- app/views/videos/_form.html.haml
|
367
|
+
- app/views/videos/_show.html.haml
|
368
|
+
- app/views/videos/edit.html.haml
|
369
|
+
- app/views/videos/index.html.haml
|
370
|
+
- app/views/videos/new.html.haml
|
371
|
+
- app/views/videos/show.html.haml
|
244
372
|
- app/views/videos/show.js.erb
|
373
|
+
- app/views/videos/show.js.haml
|
245
374
|
- config.ru
|
375
|
+
- config/initializers/client_side_validations.rb
|
376
|
+
- config/initializers/custom_validators.rb
|
377
|
+
- config/initializers/load_app_config.rb
|
378
|
+
- config/initializers/simple_form.rb
|
246
379
|
- config/locales/en.yml
|
247
380
|
- db/migrate/20110125174343_create_contacts.rb
|
248
381
|
- db/migrate/20110811000613_create_indices.rb
|
@@ -259,19 +392,19 @@ files:
|
|
259
392
|
- lib/generators/sbdevcore/install_generator.rb
|
260
393
|
- lib/generators/sbdevcore/templates/.gitignore
|
261
394
|
- lib/generators/sbdevcore/templates/application.scss
|
262
|
-
- lib/generators/sbdevcore/templates/application/_404.html.
|
395
|
+
- lib/generators/sbdevcore/templates/application/_404.html.haml
|
263
396
|
- lib/generators/sbdevcore/templates/application/_footer.html.haml
|
264
|
-
- lib/generators/sbdevcore/templates/application/_inline_nav.html.
|
397
|
+
- lib/generators/sbdevcore/templates/application/_inline_nav.html.haml
|
265
398
|
- lib/generators/sbdevcore/templates/application/_nav.html.haml
|
266
399
|
- lib/generators/sbdevcore/templates/application/_trip_advisor.html
|
267
400
|
- lib/generators/sbdevcore/templates/config/app_config.yml
|
268
401
|
- lib/generators/sbdevcore/templates/config/initializers/devise.rb
|
269
402
|
- lib/generators/sbdevcore/templates/config/initializers/load_app_config.rb
|
270
403
|
- lib/generators/sbdevcore/templates/config/initializers/mailer_setup.rb
|
404
|
+
- lib/generators/sbdevcore/templates/config/initializers/simple_form.rb
|
271
405
|
- lib/generators/sbdevcore/templates/config/s3.yml
|
272
|
-
- lib/generators/sbdevcore/templates/config/tiny_mce.yml
|
273
406
|
- lib/generators/sbdevcore/templates/database.yml
|
274
|
-
- lib/generators/sbdevcore/templates/new_contact.html.
|
407
|
+
- lib/generators/sbdevcore/templates/new_contact.html.haml
|
275
408
|
- lib/generators/sbdevcore/templates/sass.scss
|
276
409
|
- lib/sbdevcore.rb
|
277
410
|
- lib/sbdevcore/engine.rb
|
@@ -292,33 +425,40 @@ files:
|
|
292
425
|
- test/performance/browsing_test.rb
|
293
426
|
- test/test_helper.rb
|
294
427
|
- test/unit/.gitkeep
|
295
|
-
|
296
|
-
- vendor/plugins/.gitkeep
|
297
|
-
homepage: ''
|
428
|
+
homepage: ""
|
298
429
|
licenses: []
|
430
|
+
|
299
431
|
post_install_message:
|
300
432
|
rdoc_options: []
|
301
|
-
|
433
|
+
|
434
|
+
require_paths:
|
302
435
|
- lib
|
303
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
436
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
304
437
|
none: false
|
305
|
-
requirements:
|
306
|
-
- -
|
307
|
-
- !ruby/object:Gem::Version
|
308
|
-
|
309
|
-
|
438
|
+
requirements:
|
439
|
+
- - ">="
|
440
|
+
- !ruby/object:Gem::Version
|
441
|
+
hash: 3
|
442
|
+
segments:
|
443
|
+
- 0
|
444
|
+
version: "0"
|
445
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
310
446
|
none: false
|
311
|
-
requirements:
|
312
|
-
- -
|
313
|
-
- !ruby/object:Gem::Version
|
314
|
-
|
447
|
+
requirements:
|
448
|
+
- - ">="
|
449
|
+
- !ruby/object:Gem::Version
|
450
|
+
hash: 3
|
451
|
+
segments:
|
452
|
+
- 0
|
453
|
+
version: "0"
|
315
454
|
requirements: []
|
455
|
+
|
316
456
|
rubyforge_project: sbdev
|
317
457
|
rubygems_version: 1.8.6
|
318
458
|
signing_key:
|
319
459
|
specification_version: 3
|
320
460
|
summary: Core
|
321
|
-
test_files:
|
461
|
+
test_files:
|
322
462
|
- test/fixtures/.gitkeep
|
323
463
|
- test/functional/.gitkeep
|
324
464
|
- test/integration/.gitkeep
|