-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Drew Dara-Abrams
committed
Oct 15, 2014
0 parents
commit a2f338c
Showing
54 changed files
with
1,219 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,13 @@ | ||
# Ignore bundler config. | ||
/.bundle | ||
|
||
# Ignore all logfiles and tempfiles. | ||
/log/*.log | ||
/tmp | ||
|
||
# Ignore configuration | ||
/config/database.yml | ||
/config/application.yml | ||
|
||
# Ignore coverage reports | ||
/coverage |
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 @@ | ||
--color | ||
--format d | ||
--require spec_helper |
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,62 @@ | ||
source 'https://rubygems.org' | ||
|
||
ruby '2.1.3' | ||
|
||
gem 'rails', '4.1.6' | ||
|
||
# configuration | ||
gem 'figaro' | ||
|
||
# data stores | ||
gem 'pg' | ||
gem 'activerecord-postgis-adapter' | ||
gem 'redis-rails' | ||
|
||
# background processing | ||
gem 'sidekiq' | ||
|
||
# data model | ||
gem 'enumerize' | ||
|
||
# authentication and authorization | ||
gem 'omniauth' | ||
gem 'omniauth-osm' | ||
|
||
# API | ||
gem 'active_model_serializers' | ||
|
||
# views | ||
gem 'slim' | ||
gem 'simple_form' | ||
|
||
# CSS | ||
gem 'bootstrap-sass' | ||
gem 'sass-rails-source-maps' | ||
|
||
# JavaScript | ||
gem 'coffee-rails' | ||
gem 'coffee-rails-source-maps' | ||
gem 'uglifier' | ||
gem 'therubyracer', platforms: :ruby | ||
|
||
# development tools | ||
gem 'better_errors', group: :development | ||
gem 'binding_of_caller', group: :development | ||
gem 'byebug', group: [:development, :test] | ||
|
||
# code coverage and documentation | ||
gem 'rails-erd', group: :development | ||
gem 'annotate', group: :development | ||
gem 'simplecov', :require => false, group: [:development, :test] | ||
|
||
# testing | ||
gem 'database_cleaner', group: :test | ||
gem 'factory_girl_rails', group: [:development, :test] | ||
gem 'ffaker', group: [:development, :test] | ||
gem 'rspec-rails', group: [:development, :test] | ||
gem 'airborne', group: :test | ||
gem 'capybara', group: :test | ||
gem 'selenium-webdriver', group: :test | ||
|
||
# misc. | ||
gem 'progress_bar' |
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,289 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
actionmailer (4.1.6) | ||
actionpack (= 4.1.6) | ||
actionview (= 4.1.6) | ||
mail (~> 2.5, >= 2.5.4) | ||
actionpack (4.1.6) | ||
actionview (= 4.1.6) | ||
activesupport (= 4.1.6) | ||
rack (~> 1.5.2) | ||
rack-test (~> 0.6.2) | ||
actionview (4.1.6) | ||
activesupport (= 4.1.6) | ||
builder (~> 3.1) | ||
erubis (~> 2.7.0) | ||
active_model_serializers (0.9.0) | ||
activemodel (>= 3.2) | ||
activemodel (4.1.6) | ||
activesupport (= 4.1.6) | ||
builder (~> 3.1) | ||
activerecord (4.1.6) | ||
activemodel (= 4.1.6) | ||
activesupport (= 4.1.6) | ||
arel (~> 5.0.0) | ||
activerecord-postgis-adapter (2.2.1) | ||
activerecord (>= 4.0.0, < 4.2.0) | ||
rgeo-activerecord (~> 1.2) | ||
activesupport (4.1.6) | ||
i18n (~> 0.6, >= 0.6.9) | ||
json (~> 1.7, >= 1.7.7) | ||
minitest (~> 5.1) | ||
thread_safe (~> 0.1) | ||
tzinfo (~> 1.1) | ||
airborne (0.0.23) | ||
activesupport (>= 4.0.1) | ||
rack-test (~> 0.6, >= 0.6.2) | ||
rest-client (~> 1.7, >= 1.7.2) | ||
rspec (~> 3.1, >= 3.1.0) | ||
annotate (2.6.5) | ||
activerecord (>= 2.3.0) | ||
rake (>= 0.8.7) | ||
arel (5.0.1.20140414130214) | ||
better_errors (2.0.0) | ||
coderay (>= 1.0.0) | ||
erubis (>= 2.6.6) | ||
rack (>= 0.9.0) | ||
binding_of_caller (0.7.3.pre1) | ||
debug_inspector (>= 0.0.1) | ||
bootstrap-sass (3.2.0.2) | ||
sass (~> 3.2) | ||
builder (3.2.2) | ||
byebug (3.5.1) | ||
columnize (~> 0.8) | ||
debugger-linecache (~> 1.2) | ||
slop (~> 3.6) | ||
capybara (2.4.4) | ||
mime-types (>= 1.16) | ||
nokogiri (>= 1.3.3) | ||
rack (>= 1.0.0) | ||
rack-test (>= 0.5.4) | ||
xpath (~> 2.0) | ||
celluloid (0.15.2) | ||
timers (~> 1.1.0) | ||
childprocess (0.5.5) | ||
ffi (~> 1.0, >= 1.0.11) | ||
choice (0.1.6) | ||
coderay (1.1.0) | ||
coffee-rails (4.1.0) | ||
coffee-script (>= 2.2.0) | ||
railties (>= 4.0.0, < 5.0) | ||
coffee-rails-source-maps (1.4.0) | ||
coffee-script-source (>= 1.6.1) | ||
coffee-script (2.3.0) | ||
coffee-script-source | ||
execjs | ||
coffee-script-source (1.8.0) | ||
columnize (0.8.9) | ||
connection_pool (2.0.0) | ||
database_cleaner (1.3.0) | ||
debug_inspector (0.0.2) | ||
debugger-linecache (1.2.0) | ||
diff-lcs (1.2.5) | ||
docile (1.1.5) | ||
enumerize (0.8.0) | ||
activesupport (>= 3.2) | ||
erubis (2.7.0) | ||
execjs (2.2.2) | ||
factory_girl (4.4.0) | ||
activesupport (>= 3.0.0) | ||
factory_girl_rails (4.4.1) | ||
factory_girl (~> 4.4.0) | ||
railties (>= 3.0.0) | ||
ffaker (1.25.0) | ||
ffi (1.9.6) | ||
figaro (1.0.0) | ||
thor (~> 0.14) | ||
hashie (3.3.1) | ||
highline (1.6.21) | ||
hike (1.2.3) | ||
i18n (0.6.11) | ||
json (1.8.1) | ||
libv8 (3.16.14.7) | ||
mail (2.6.1) | ||
mime-types (>= 1.16, < 3) | ||
mime-types (2.4.2) | ||
mini_portile (0.6.0) | ||
minitest (5.4.2) | ||
multi_json (1.10.1) | ||
netrc (0.7.8) | ||
nokogiri (1.6.3.1) | ||
mini_portile (= 0.6.0) | ||
oauth (0.4.7) | ||
omniauth (1.2.2) | ||
hashie (>= 1.2, < 4) | ||
rack (~> 1.0) | ||
omniauth-oauth (1.0.1) | ||
oauth | ||
omniauth (~> 1.0) | ||
omniauth-osm (0.3.2) | ||
omniauth-oauth (~> 1.0) | ||
options (2.3.2) | ||
pg (0.17.1) | ||
progress_bar (1.0.3) | ||
highline (~> 1.6.1) | ||
options (~> 2.3.0) | ||
rack (1.5.2) | ||
rack-test (0.6.2) | ||
rack (>= 1.0) | ||
rails (4.1.6) | ||
actionmailer (= 4.1.6) | ||
actionpack (= 4.1.6) | ||
actionview (= 4.1.6) | ||
activemodel (= 4.1.6) | ||
activerecord (= 4.1.6) | ||
activesupport (= 4.1.6) | ||
bundler (>= 1.3.0, < 2.0) | ||
railties (= 4.1.6) | ||
sprockets-rails (~> 2.0) | ||
rails-erd (1.1.0) | ||
activerecord (>= 3.0) | ||
activesupport (>= 3.0) | ||
choice (~> 0.1.6) | ||
ruby-graphviz (~> 1.0.4) | ||
railties (4.1.6) | ||
actionpack (= 4.1.6) | ||
activesupport (= 4.1.6) | ||
rake (>= 0.8.7) | ||
thor (>= 0.18.1, < 2.0) | ||
rake (10.3.2) | ||
redis (3.1.0) | ||
redis-actionpack (4.0.0) | ||
actionpack (~> 4) | ||
redis-rack (~> 1.5.0) | ||
redis-store (~> 1.1.0) | ||
redis-activesupport (4.0.0) | ||
activesupport (~> 4) | ||
redis-store (~> 1.1.0) | ||
redis-namespace (1.5.1) | ||
redis (~> 3.0, >= 3.0.4) | ||
redis-rack (1.5.0) | ||
rack (~> 1.5) | ||
redis-store (~> 1.1.0) | ||
redis-rails (4.0.0) | ||
redis-actionpack (~> 4) | ||
redis-activesupport (~> 4) | ||
redis-store (~> 1.1.0) | ||
redis-store (1.1.4) | ||
redis (>= 2.2) | ||
ref (1.0.5) | ||
rest-client (1.7.2) | ||
mime-types (>= 1.16, < 3.0) | ||
netrc (~> 0.7) | ||
rgeo (0.3.20) | ||
rgeo-activerecord (1.2.0) | ||
activerecord (~> 4.0) | ||
rgeo (~> 0.3) | ||
rspec (3.1.0) | ||
rspec-core (~> 3.1.0) | ||
rspec-expectations (~> 3.1.0) | ||
rspec-mocks (~> 3.1.0) | ||
rspec-core (3.1.7) | ||
rspec-support (~> 3.1.0) | ||
rspec-expectations (3.1.2) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.1.0) | ||
rspec-mocks (3.1.3) | ||
rspec-support (~> 3.1.0) | ||
rspec-rails (3.1.0) | ||
actionpack (>= 3.0) | ||
activesupport (>= 3.0) | ||
railties (>= 3.0) | ||
rspec-core (~> 3.1.0) | ||
rspec-expectations (~> 3.1.0) | ||
rspec-mocks (~> 3.1.0) | ||
rspec-support (~> 3.1.0) | ||
rspec-support (3.1.2) | ||
ruby-graphviz (1.0.9) | ||
rubyzip (1.1.6) | ||
sass (3.4.5) | ||
sass-rails-source-maps (0.0.4) | ||
rails | ||
sass (>= 3.3.0.rc.3) | ||
sprockets (>= 2.3.0) | ||
selenium-webdriver (2.43.0) | ||
childprocess (~> 0.5) | ||
multi_json (~> 1.0) | ||
rubyzip (~> 1.0) | ||
websocket (~> 1.0) | ||
sidekiq (3.2.5) | ||
celluloid (= 0.15.2) | ||
connection_pool (>= 2.0.0) | ||
json | ||
redis (>= 3.0.6) | ||
redis-namespace (>= 1.3.1) | ||
simple_form (3.0.2) | ||
actionpack (~> 4.0) | ||
activemodel (~> 4.0) | ||
simplecov (0.9.1) | ||
docile (~> 1.1.0) | ||
multi_json (~> 1.0) | ||
simplecov-html (~> 0.8.0) | ||
simplecov-html (0.8.0) | ||
slim (2.1.0) | ||
temple (~> 0.6.9) | ||
tilt (>= 1.3.3, < 2.1) | ||
slop (3.6.0) | ||
sprockets (2.12.2) | ||
hike (~> 1.2) | ||
multi_json (~> 1.0) | ||
rack (~> 1.0) | ||
tilt (~> 1.1, != 1.3.0) | ||
sprockets-rails (2.2.0) | ||
actionpack (>= 3.0) | ||
activesupport (>= 3.0) | ||
sprockets (>= 2.8, < 4.0) | ||
temple (0.6.9) | ||
therubyracer (0.12.1) | ||
libv8 (~> 3.16.14.0) | ||
ref | ||
thor (0.19.1) | ||
thread_safe (0.3.4) | ||
tilt (1.4.1) | ||
timers (1.1.0) | ||
tzinfo (1.2.2) | ||
thread_safe (~> 0.1) | ||
uglifier (2.5.3) | ||
execjs (>= 0.3.0) | ||
json (>= 1.8.0) | ||
websocket (1.2.1) | ||
xpath (2.0.0) | ||
nokogiri (~> 1.3) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
active_model_serializers | ||
activerecord-postgis-adapter | ||
airborne | ||
annotate | ||
better_errors | ||
binding_of_caller | ||
bootstrap-sass | ||
byebug | ||
capybara | ||
coffee-rails | ||
coffee-rails-source-maps | ||
database_cleaner | ||
enumerize | ||
factory_girl_rails | ||
ffaker | ||
figaro | ||
omniauth | ||
omniauth-osm | ||
pg | ||
progress_bar | ||
rails (= 4.1.6) | ||
rails-erd | ||
redis-rails | ||
rspec-rails | ||
sass-rails-source-maps | ||
selenium-webdriver | ||
sidekiq | ||
simple_form | ||
simplecov | ||
slim | ||
therubyracer | ||
uglifier |
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,25 @@ | ||
# Transit.land Onestop | ||
|
||
A community-run directory of transit stops and their various identifiers. | ||
|
||
Behind the scenes: a Ruby on Rails web service, backed by Postgres/PostGIS. | ||
|
||
## To Develop Locally | ||
|
||
1. Install dependencies: | ||
|
||
```` | ||
brew install postgis | ||
brew install redis | ||
bundle install | ||
```` | ||
2. Configure your local copy by renaming the example files to `config/application.yml` and config/database.yml`. Edit as appropriate. | ||
3. Start the server: `bundle exec rails server` | ||
## To Run Tests Locally | ||
1. Install dependencies: `brew install chromedriver` (as well as a copy of the latest Chrome) | ||
2. Run the full test suite: `bundle exec rake` | ||
3. To view coverage report: `open coverage/index.html` |
Oops, something went wrong.