-
-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into rical_remodel
* master: (29 commits) Update INSTALL.md to explain bundler usage, along with other improvements. Create Gemfile and rewrite the environment.rb to use it. Rework SettingsReader to work within bundler without active_support. Rework SecretsReader to work within bundler withoutrubygems or active_support. Add bundler boostrap. Update config/boot.rb by running "rake rails:update" Improve INSTALL.md to describe some production server setup steps. THEME: Improve theming documentation, made it clearer and more detailed. THEME: Remove "tz" setting, only "timezone" is needed now. THEME: Added partial to describe appropriate content for your site. See `themes/README.txt` for details. Fix theme_support so that exception_notification works properly. Fix events#_item to emit valid HTML. Fix DuplicateChecking::find_duplicates_by to deal with blanks. Remove magic. Fix Event::find_duplicates_by_type to cope with empty strings. Wrote specs. Improve venues#destroy to prevent removal of venues with events. Send exception notification from same address its sent to, so it can be replied to. Allow passing of params to EventsController#new, so that links can be constructed to pre-populated new event forms. Fix issue when attempting to preview a new event with a new venue: don't try to generate a URL for the unsaved event object. Fix test of event previewing so that it actually tests that the preview is displayed. To do this, integrate views when testing EventsController#create Improve evil robot detector to use present? instead of !x.blank? ... Conflicts: config/environment.rb
- Loading branch information
Showing
30 changed files
with
593 additions
and
338 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
source :rubygems | ||
|
||
gem 'sqlite3' | ||
|
||
gem 'rails', '2.3.11' | ||
gem 'columnize', '0.3.2' | ||
gem 'geokit', '1.5.0' | ||
gem 'hpricot', '0.8.3' | ||
gem 'htmlentities', '4.2.3' | ||
gem 'linecache', '0.43' | ||
gem 'paper_trail', '1.6.4' | ||
gem 'ri_cal', '0.8.7' | ||
gem 'rubyzip', '0.9.4', :require => 'zip/zip' | ||
gem 'will_paginate', '2.3.15' | ||
|
||
# NOTE: mofo 0.2.9 and above are evil, defining their own defective Object#try method and are unable to extract "postal-code" address fields from hCalendar. Mofo is used in Calagator's SourceParser::Hcal and throughout for String#strip_html. The library has been abandoned and its author recommends switching to the incompatible "prism" gem. | ||
gem 'mofo', '0.2.8' | ||
|
||
# Some dependencies are only needed for test and development environments. On | ||
# production servers, you can skip their installation by running: | ||
# bundle install --without development test | ||
group :development, :test do | ||
gem 'rspec', '1.3.1', :require => false | ||
gem 'rspec-rails', '1.3.3', :require => false | ||
gem 'annotate-models', '1.0.4', :require => false | ||
end | ||
|
||
# Some dependencies are activated through server settings. | ||
require 'lib/secrets_reader' | ||
secrets = SecretsReader.read(:silent => true) | ||
case secrets.search_engine | ||
when 'sunspot' | ||
gem 'sunspot', '1.2.1', :require => 'sunspot' | ||
gem 'sunspot_rails', '1.2.1', :require => 'sunspot/rails' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
GEM | ||
remote: http://rubygems.org/ | ||
specs: | ||
actionmailer (2.3.11) | ||
actionpack (= 2.3.11) | ||
actionpack (2.3.11) | ||
activesupport (= 2.3.11) | ||
rack (~> 1.1.0) | ||
activerecord (2.3.11) | ||
activesupport (= 2.3.11) | ||
activeresource (2.3.11) | ||
activesupport (= 2.3.11) | ||
activesupport (2.3.11) | ||
annotate-models (1.0.4) | ||
columnize (0.3.2) | ||
geokit (1.5.0) | ||
hpricot (0.8.3) | ||
htmlentities (4.2.3) | ||
linecache (0.43) | ||
mofo (0.2.8) | ||
hpricot (>= 0.4.59) | ||
paper_trail (1.6.4) | ||
actionpack (>= 2.3) | ||
activerecord (>= 2.3) | ||
rack (1.1.2) | ||
rails (2.3.11) | ||
actionmailer (= 2.3.11) | ||
actionpack (= 2.3.11) | ||
activerecord (= 2.3.11) | ||
activeresource (= 2.3.11) | ||
activesupport (= 2.3.11) | ||
rake (>= 0.8.3) | ||
rake (0.9.0) | ||
ri_cal (0.8.7) | ||
rspec (1.3.1) | ||
rspec-rails (1.3.3) | ||
rack (>= 1.0.0) | ||
rspec (= 1.3.1) | ||
rubyzip (0.9.4) | ||
sqlite3 (1.3.3) | ||
will_paginate (2.3.15) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
annotate-models (= 1.0.4) | ||
columnize (= 0.3.2) | ||
geokit (= 1.5.0) | ||
hpricot (= 0.8.3) | ||
htmlentities (= 4.2.3) | ||
linecache (= 0.43) | ||
mofo (= 0.2.8) | ||
paper_trail (= 1.6.4) | ||
rails (= 2.3.11) | ||
ri_cal (= 0.8.7) | ||
rspec (= 1.3.1) | ||
rspec-rails (= 1.3.3) | ||
rubyzip (= 0.9.4) | ||
sqlite3 | ||
will_paginate (= 2.3.15) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.