Permalink
Browse files

added readme

  • Loading branch information...
1 parent 09f89f4 commit 8f28940a8044cc0d2805dde05341172f3621205e activefx committed Sep 5, 2008
Showing with 296 additions and 427 deletions.
  1. +0 −1 .gitignore
  2. +19 −0 MIT-LICENSE
  3. +110 −256 README
  4. +4 −4 config/boot.rb
  5. +1 −0 config/config.yml.sample
  6. +0 −12 config/initializers/SAMPLEMAIL
  7. +12 −0 config/initializers/mail.rb
  8. +150 −154 public/javascripts/prototype.js
View
@@ -6,5 +6,4 @@ doc/api
doc/app
doc/plugins
config/initializers/site_keys.rb
-config/initializers/mail.rb
*~
View
@@ -0,0 +1,19 @@
+Copyright (c) 2008 Matthew Solt
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
View
366 README
Oops, something went wrong.
View
@@ -82,14 +82,14 @@ def gem_version
def load_rubygems
require 'rubygems'
-
- unless rubygems_version >= '0.9.4'
- $stderr.puts %(Rails requires RubyGems >= 0.9.4 (you have #{rubygems_version}). Please `gem update --system` and try again.)
+ min_version = '1.1.1'
+ unless rubygems_version >= min_version
+ $stderr.puts %Q(Rails requires RubyGems >= #{min_version} (you have #{rubygems_version}). Please `gem update --system` and try again.)
exit 1
end
rescue LoadError
- $stderr.puts %(Rails requires RubyGems >= 0.9.4. Please install RubyGems and try again: http://rubygems.rubyforge.org)
+ $stderr.puts %Q(Rails requires RubyGems >= #{min_version}. Please install RubyGems and try again: http://rubygems.rubyforge.org)
exit 1
end
View
@@ -5,6 +5,7 @@ development:
session_key: _your_application_session
secret: 1138371c71fe2f4f6769090e9fa0d7314b4febcc1c1966f9c83e16a3c880e0ca396cbb37e9ce53bbefc2417cb7363d7127200d51f16b9aeda033dbc3600c63fc
forgery: b8029fa60066bb90d7fb4e68265a112b
+ admin_email: yourpersonalemail@example.com
rest_auth:
site_key: e587f9d09baa59c920b9ee97ac70f58b3c51356c
stretches: 10
@@ -1,12 +0,0 @@
-# Email settings
-ActionMailer::Base.delivery_method = :smtp
-ActionMailer::Base.smtp_settings = {
- :address => "mail.yourapplication.com",
- :port => 25,
- :domain => "yourapplication.com",
- :authentication => :login,
- :user_name => "mail@yourapplication.com",
- :password => "yourapplicationpassword"
-}
-
-
@@ -0,0 +1,12 @@
+# Email settings
+ActionMailer::Base.delivery_method = :smtp
+ActionMailer::Base.smtp_settings = {
+ :address => APP_CONFIG['mail']['address'],
+ :port => APP_CONFIG['mail']['port'],
+ :domain => APP_CONFIG['mail']['domain'],
+ :authentication => APP_CONFIG['mail']['authentication'],
+ :user_name => APP_CONFIG['mail']['user_name'],
+ :password => APP_CONFIG['mail']['password']
+}
+
+
Oops, something went wrong.

0 comments on commit 8f28940

Please sign in to comment.