This repository has been archived by the owner on Jul 25, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Initial Commit
- Loading branch information
Ryan Resella
committed
Nov 18, 2011
0 parents
commit 9191b16
Showing
68 changed files
with
1,286 additions
and
0 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,15 @@ | ||
# See http://help.github.com/ignore-files/ for more about ignoring files. | ||
# | ||
# If you find yourself ignoring temporary files generated by your text editor | ||
# or operating system, you probably want to add a global ignore instead: | ||
# git config --global core.excludesfile ~/.gitignore_global | ||
|
||
# Ignore bundler config | ||
/.bundle | ||
|
||
# Ignore the default SQLite database. | ||
/db/*.sqlite3 | ||
|
||
# Ignore all logfiles and tempfiles. | ||
/log/*.log | ||
/tmp |
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 @@ | ||
--colour |
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,43 @@ | ||
source 'http://rubygems.org' | ||
|
||
gem 'rails', '3.1.2' | ||
|
||
# Gems used only for assets and not required | ||
# in production environments by default. | ||
group :assets do | ||
gem 'sass-rails', '~> 3.1.5.rc.2' | ||
gem 'coffee-rails', '~> 3.1.1' | ||
gem 'uglifier', '>= 1.0.3' | ||
end | ||
|
||
gem 'devise' | ||
gem 'haml-rails' | ||
gem 'jquery-rails' | ||
|
||
group :development do | ||
gem 'ZenTest' | ||
end | ||
|
||
group :development, :test do | ||
gem 'faker' | ||
gem 'activerecord-spatialite-adapter' | ||
gem 'nifty-generators' | ||
gem 'rspec-rails' | ||
gem 'simplecov' | ||
gem 'sqlite3' | ||
gem 'spork', '0.9.0.rc9' | ||
end | ||
|
||
group :test do | ||
gem 'factory_girl_rails' | ||
gem 'mocha' | ||
gem 'webmock' | ||
gem 'webrat' | ||
end | ||
|
||
group :production do | ||
gem 'pg' | ||
gem 'thin' | ||
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,199 @@ | ||
GEM | ||
remote: http://rubygems.org/ | ||
specs: | ||
ZenTest (4.6.2) | ||
actionmailer (3.1.2) | ||
actionpack (= 3.1.2) | ||
mail (~> 2.3.0) | ||
actionpack (3.1.2) | ||
activemodel (= 3.1.2) | ||
activesupport (= 3.1.2) | ||
builder (~> 3.0.0) | ||
erubis (~> 2.7.0) | ||
i18n (~> 0.6) | ||
rack (~> 1.3.5) | ||
rack-cache (~> 1.1) | ||
rack-mount (~> 0.8.2) | ||
rack-test (~> 0.6.1) | ||
sprockets (~> 2.1.0) | ||
activemodel (3.1.2) | ||
activesupport (= 3.1.2) | ||
builder (~> 3.0.0) | ||
i18n (~> 0.6) | ||
activerecord (3.1.2) | ||
activemodel (= 3.1.2) | ||
activesupport (= 3.1.2) | ||
arel (~> 2.2.1) | ||
tzinfo (~> 0.3.29) | ||
activerecord-spatialite-adapter (0.4.0) | ||
rgeo-activerecord (~> 0.4.0) | ||
sqlite3 (>= 1.3.3) | ||
activeresource (3.1.2) | ||
activemodel (= 3.1.2) | ||
activesupport (= 3.1.2) | ||
activesupport (3.1.2) | ||
multi_json (~> 1.0) | ||
addressable (2.2.6) | ||
arel (2.2.1) | ||
bcrypt-ruby (3.0.1) | ||
builder (3.0.0) | ||
coffee-rails (3.1.1) | ||
coffee-script (>= 2.2.0) | ||
railties (~> 3.1.0) | ||
coffee-script (2.2.0) | ||
coffee-script-source | ||
execjs | ||
coffee-script-source (1.1.3) | ||
crack (0.3.1) | ||
daemons (1.1.4) | ||
devise (1.5.0) | ||
bcrypt-ruby (~> 3.0) | ||
orm_adapter (~> 0.0.3) | ||
warden (~> 1.1) | ||
diff-lcs (1.1.3) | ||
erubis (2.7.0) | ||
eventmachine (0.12.10) | ||
execjs (1.2.9) | ||
multi_json (~> 1.0) | ||
factory_girl (2.3.0) | ||
activesupport | ||
factory_girl_rails (1.4.0) | ||
factory_girl (~> 2.3.0) | ||
railties (>= 3.0.0) | ||
faker (1.0.1) | ||
i18n (~> 0.4) | ||
haml (3.1.3) | ||
haml-rails (0.3.4) | ||
actionpack (~> 3.0) | ||
activesupport (~> 3.0) | ||
haml (~> 3.0) | ||
railties (~> 3.0) | ||
hike (1.2.1) | ||
i18n (0.6.0) | ||
jquery-rails (1.0.18) | ||
railties (~> 3.0) | ||
thor (~> 0.14) | ||
json (1.6.1) | ||
mail (2.3.0) | ||
i18n (>= 0.4.0) | ||
mime-types (~> 1.16) | ||
treetop (~> 1.4.8) | ||
metaclass (0.0.1) | ||
mime-types (1.17.2) | ||
mocha (0.10.0) | ||
metaclass (~> 0.0.1) | ||
multi_json (1.0.3) | ||
nifty-generators (0.4.6) | ||
nokogiri (1.5.0) | ||
orm_adapter (0.0.5) | ||
pg (0.11.0) | ||
polyglot (0.3.3) | ||
rack (1.3.5) | ||
rack-cache (1.1) | ||
rack (>= 0.4) | ||
rack-mount (0.8.3) | ||
rack (>= 1.0.0) | ||
rack-ssl (1.3.2) | ||
rack | ||
rack-test (0.6.1) | ||
rack (>= 1.0) | ||
rails (3.1.2) | ||
actionmailer (= 3.1.2) | ||
actionpack (= 3.1.2) | ||
activerecord (= 3.1.2) | ||
activeresource (= 3.1.2) | ||
activesupport (= 3.1.2) | ||
bundler (~> 1.0) | ||
railties (= 3.1.2) | ||
railties (3.1.2) | ||
actionpack (= 3.1.2) | ||
activesupport (= 3.1.2) | ||
rack-ssl (~> 1.3.2) | ||
rake (>= 0.8.7) | ||
rdoc (~> 3.4) | ||
thor (~> 0.14.6) | ||
rake (0.9.2.2) | ||
rdoc (3.11) | ||
json (~> 1.4) | ||
rgeo (0.3.2) | ||
rgeo-activerecord (0.4.1) | ||
activerecord (>= 3.0.3) | ||
arel (>= 2.0.6) | ||
rgeo (>= 0.3.2) | ||
rspec (2.7.0) | ||
rspec-core (~> 2.7.0) | ||
rspec-expectations (~> 2.7.0) | ||
rspec-mocks (~> 2.7.0) | ||
rspec-core (2.7.1) | ||
rspec-expectations (2.7.0) | ||
diff-lcs (~> 1.1.2) | ||
rspec-mocks (2.7.0) | ||
rspec-rails (2.7.0) | ||
actionpack (~> 3.0) | ||
activesupport (~> 3.0) | ||
railties (~> 3.0) | ||
rspec (~> 2.7.0) | ||
sass (3.1.10) | ||
sass-rails (3.1.5) | ||
actionpack (~> 3.1.0) | ||
railties (~> 3.1.0) | ||
sass (~> 3.1.10) | ||
tilt (~> 1.3.2) | ||
simplecov (0.5.4) | ||
multi_json (~> 1.0.3) | ||
simplecov-html (~> 0.5.3) | ||
simplecov-html (0.5.3) | ||
spork (0.9.0.rc9) | ||
sprockets (2.1.1) | ||
hike (~> 1.2) | ||
rack (~> 1.0) | ||
tilt (~> 1.1, != 1.3.0) | ||
sqlite3 (1.3.4) | ||
thin (1.3.1) | ||
daemons (>= 1.0.9) | ||
eventmachine (>= 0.12.6) | ||
rack (>= 1.0.0) | ||
thor (0.14.6) | ||
tilt (1.3.3) | ||
treetop (1.4.10) | ||
polyglot | ||
polyglot (>= 0.3.1) | ||
tzinfo (0.3.31) | ||
uglifier (1.1.0) | ||
execjs (>= 0.3.0) | ||
multi_json (>= 1.0.2) | ||
warden (1.1.0) | ||
rack (>= 1.0) | ||
webmock (1.7.7) | ||
addressable (~> 2.2, > 2.2.5) | ||
crack (>= 0.1.7) | ||
webrat (0.7.3) | ||
nokogiri (>= 1.2.0) | ||
rack (>= 1.0) | ||
rack-test (>= 0.5.3) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
ZenTest | ||
activerecord-spatialite-adapter | ||
coffee-rails (~> 3.1.1) | ||
devise | ||
factory_girl_rails | ||
faker | ||
haml-rails | ||
jquery-rails | ||
mocha | ||
nifty-generators | ||
pg | ||
rails (= 3.1.2) | ||
rspec-rails | ||
sass-rails (~> 3.1.5.rc.2) | ||
simplecov | ||
spork (= 0.9.0.rc9) | ||
sqlite3 | ||
thin | ||
uglifier (>= 1.0.3) | ||
webmock | ||
webrat |
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,78 @@ | ||
# Intersection | ||
Code for America Project Dashboard | ||
|
||
## <a name="screenshots">Screenshot</a> | ||
|
||
## <a name="ci">Continuous Integration</a> | ||
|
||
## <a name="demo">Demo</a> | ||
|
||
## <a name="installation">Installation</a> | ||
git clone git://github.com/codeforamerica/intersection.git | ||
cd intersection | ||
bundle install | ||
|
||
## <a name="usage">Usage</a> | ||
rails server | ||
|
||
## <a name="contributing">Contributing</a> | ||
In the spirit of [free software](http://www.fsf.org/licensing/essays/free-sw.html), **everyone** is encouraged to help improve this project. | ||
|
||
Here are some ways *you* can contribute: | ||
|
||
* by using alpha, beta, and prerelease versions | ||
* by reporting bugs | ||
* by suggesting new features | ||
* by writing or editing documentation | ||
* by writing specifications | ||
* by writing code (**no patch is too small**: fix typos, add comments, clean up inconsistent whitespace) | ||
* by refactoring code | ||
* by closing [issues](https://github.com/codeforamerica/intersection/issues) | ||
* by reviewing patches | ||
* [financially](https://secure.codeforamerica.org/page/contribute) | ||
|
||
## <a name="issues">Submitting an Issue</a> | ||
We use the [GitHub issue tracker](https://github.com/codeforamerica/intersection/issues) to track bugs and | ||
features. Before submitting a bug report or feature request, check to make sure it hasn't already | ||
been submitted. You can indicate support for an existing issuse by voting it up. When submitting a | ||
bug report, please include a [Gist](https://gist.github.com/) that includes a stack trace and any | ||
details that may be necessary to reproduce the bug, including your gem version, Ruby version, and | ||
operating system. Ideally, a bug report should include a pull request with failing specs. | ||
|
||
## <a name="pulls">Submitting a Pull Request</a> | ||
1. Fork the project. | ||
2. Create a topic branch. | ||
3. Implement your feature or bug fix. | ||
4. Add tests for your feature or bug fix. | ||
5. Run <tt>bundle exec rake test</tt>. If your changes are not 100% covered, go back to step 4. | ||
6. Commit and push your changes. | ||
7. Submit a pull request. Please do not include changes to the gemspec or version file. (If you want to create your own version for some reason, please do so in a separate commit.) | ||
|
||
## <a name="rubies">Supported Rubies</a> | ||
This library aims to support and is [tested | ||
against](http://travis-ci.org/codeforamerica/intersection) the following | ||
Ruby implementations: | ||
|
||
* Ruby 1.9.2 | ||
* Ruby 1.9.3 | ||
* [Ruby Enterprise Edition](http://www.rubyenterpriseedition.com/) | ||
|
||
If something doesn't work on one of these interpreters, it should be considered | ||
a bug. | ||
|
||
This library may inadvertently work (or seem to work) on other Ruby | ||
implementations, however support will only be provided for the versions listed | ||
above. | ||
|
||
If you would like this library to support another Ruby version, you may | ||
volunteer to be a maintainer. Being a maintainer entails making sure all tests | ||
run and pass on that implementation. When something breaks on your | ||
implementation, you will be personally responsible for providing patches in a | ||
timely fashion. If critical issues for a particular implementation exist at the | ||
time of a major release, support for that Ruby version may be dropped. | ||
|
||
## <a name="copyright">Copyright</a> | ||
Copyright (c) 2011 Code for America. | ||
See [LICENSE](https://github.com/codeforamerica/intersection/blob/master/LICENSE.md) for details. | ||
|
||
[![Code for America Tracker](http://stats.codeforamerica.org/codeforamerica/intersection.png)](http://stats.codeforamerica.org/projects/intersection) |
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,7 @@ | ||
#!/usr/bin/env rake | ||
# Add your own tasks in files placed in lib/tasks ending in .rake, | ||
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. | ||
|
||
require File.expand_path('../config/application', __FILE__) | ||
|
||
Intersection::Application.load_tasks |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,9 @@ | ||
// This is a manifest file that'll be compiled into including all the files listed below. | ||
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically | ||
// be included in the compiled file accessible from http://example.com/assets/application.js | ||
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the | ||
// the compiled file. | ||
// | ||
//= require jquery | ||
//= require jquery_ujs | ||
//= require_tree . |
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,3 @@ | ||
# Place all the behaviors and hooks related to the matching controller here. | ||
# All this logic will automatically be available in application.js. | ||
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ |
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,7 @@ | ||
/* | ||
* This is a manifest file that'll automatically include all the stylesheets available in this directory | ||
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at | ||
* the top of the compiled file, but it's generally better to create a new file per style scope. | ||
*= require_self | ||
*= require_tree . | ||
*/ |
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,3 @@ | ||
// Place all the styles related to the home controller here. | ||
// They will automatically be included in application.css. | ||
// You can use Sass (SCSS) here: http://sass-lang.com/ |
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,3 @@ | ||
class ApplicationController < ActionController::Base | ||
protect_from_forgery | ||
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,5 @@ | ||
class HomeController < ApplicationController | ||
def index | ||
end | ||
|
||
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,2 @@ | ||
module ApplicationHelper | ||
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,2 @@ | ||
module HomeHelper | ||
end |
Empty file.
Empty file.
Oops, something went wrong.