Skip to content

Commit

Permalink
Merge pull request #32 from ballPointPenguin/30
Browse files Browse the repository at this point in the history
30
  • Loading branch information
wbushey committed Nov 13, 2014
2 parents 268039a + b63f3eb commit 327d2bf
Show file tree
Hide file tree
Showing 41 changed files with 933 additions and 128 deletions.
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,17 @@
# Ignore all logfiles and tempfiles.
/log/*.log
/tmp

# Ignore dotenv
.env

# Ignore simplecov generated files.
coverage

# Ignore other things
*swp
*~
.project
.DS_Store
.idea
.secret
1 change: 1 addition & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
--color
--require spec_helper
--format=documentation
13 changes: 10 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ gem 'geokit'
gem 'haml'
gem 'jquery-rails'
gem 'pg'
gem 'rails_12factor'
gem 'puma'
gem 'rails_admin'
gem 'sass-rails'
gem 'validates_formatting_of'

group :development do
gem 'annotate'
gem 'guard-rspec'
gem 'libnotify'
gem 'spring'
gem 'spring-commands-rspec'
end
Expand All @@ -29,11 +32,15 @@ group :development, :test do
end

group :production do
gem 'puma'
gem 'rails_12factor'
end

group :test do
gem 'capybara'
gem 'database_cleaner'
gem 'faker'
gem 'webmock'
gem 'launchy'
gem 'poltergeist'
gem 'selenium-webdriver'
gem 'simplecov', require: false
end
83 changes: 75 additions & 8 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,27 @@ GEM
thread_safe (~> 0.1)
tzinfo (~> 1.1)
addressable (2.3.6)
annotate (2.6.5)
activerecord (>= 2.3.0)
rake (>= 0.8.7)
arel (5.0.1.20140414130214)
autoprefixer-rails (3.1.2.20141016)
execjs
bcrypt (3.1.9)
bootstrap-sass (3.3.0.1)
sass (~> 3.2)
builder (3.2.2)
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.16.0)
timers (~> 4.0.0)
childprocess (0.5.5)
ffi (~> 1.0, >= 1.0.11)
cliver (0.3.2)
coderay (1.1.0)
coffee-rails (4.1.0)
coffee-script (>= 2.2.0)
Expand All @@ -43,8 +57,6 @@ GEM
coffee-script-source
execjs
coffee-script-source (1.8.0)
crack (0.4.2)
safe_yaml (~> 1.0.0)
database_cleaner (1.3.0)
devise (3.4.1)
bcrypt (~> 3.0)
Expand All @@ -54,6 +66,7 @@ GEM
thread_safe (~> 0.1)
warden (~> 1.2.3)
diff-lcs (1.2.5)
docile (1.1.5)
dotenv (1.0.2)
dotenv-rails (1.0.2)
dotenv (= 1.0.2)
Expand All @@ -66,13 +79,25 @@ GEM
railties (>= 3.0.0)
faker (1.4.3)
i18n (~> 0.5)
ffi (1.9.6)
font-awesome-rails (4.2.0.0)
railties (>= 3.2, < 5.0)
formatador (0.2.5)
geokit (1.9.0)
multi_json (>= 1.3.2)
guard (2.8.2)
formatador (>= 0.2.4)
listen (~> 2.7)
lumberjack (~> 1.0)
pry (>= 0.9.12)
thor (>= 0.18.1)
guard-rspec (4.3.1)
guard (~> 2.1)
rspec (>= 2.14, < 4.0)
haml (4.0.5)
tilt
hike (1.2.3)
hitimes (1.2.2)
i18n (0.6.11)
jquery-rails (3.1.2)
railties (>= 3.0, < 5.0)
Expand All @@ -83,6 +108,15 @@ GEM
kaminari (0.16.1)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
launchy (2.4.3)
addressable (~> 2.3)
libnotify (0.8.4)
ffi (>= 1.0.11)
listen (2.7.11)
celluloid (>= 0.15.2)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
lumberjack (1.0.9)
mail (2.6.3)
mime-types (>= 1.16, < 3)
method_source (0.8.2)
Expand All @@ -91,10 +125,15 @@ GEM
minitest (5.4.2)
multi_json (1.10.1)
nested_form (0.3.2)
nokogiri (1.6.4)
nokogiri (1.6.4.1)
mini_portile (~> 0.6.0)
orm_adapter (0.5.0)
pg (0.17.1)
poltergeist (1.5.1)
capybara (~> 2.1)
cliver (~> 0.3.1)
multi_json (~> 1.0)
websocket-driver (>= 0.2.0)
pry (0.10.1)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
Expand Down Expand Up @@ -144,9 +183,16 @@ GEM
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (10.3.2)
rb-fsevent (0.9.4)
rb-inotify (0.9.5)
ffi (>= 0.5.0)
remotipart (1.2.1)
responders (1.1.1)
responders (1.1.2)
railties (>= 3.2, < 4.2)
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)
Expand All @@ -163,13 +209,24 @@ GEM
rspec-mocks (~> 3.1.0)
rspec-support (~> 3.1.0)
rspec-support (3.1.2)
rubyzip (1.1.6)
safe_yaml (1.0.4)
sass (3.2.19)
sass-rails (4.0.4)
railties (>= 4.0.0, < 5.0)
sass (~> 3.2.2)
sprockets (~> 2.8, < 2.12)
sprockets-rails (~> 2.0)
selenium-webdriver (2.44.0)
childprocess (~> 0.5)
multi_json (~> 1.0)
rubyzip (~> 1.0)
websocket (~> 1.0)
simplecov (0.9.1)
docile (~> 1.1.0)
multi_json (~> 1.0)
simplecov-html (~> 0.8.0)
simplecov-html (0.8.0)
slop (3.6.0)
spring (1.1.3)
spring-commands-rspec (1.0.2)
Expand All @@ -186,40 +243,50 @@ GEM
thor (0.19.1)
thread_safe (0.3.4)
tilt (1.4.1)
timers (4.0.1)
hitimes
tzinfo (1.2.2)
thread_safe (~> 0.1)
validates_formatting_of (0.8.1)
activemodel (~> 4.0)
warden (1.2.3)
rack (>= 1.0)
webmock (1.20.3)
addressable (>= 2.3.6)
crack (>= 0.3.2)
websocket (1.2.1)
websocket-driver (0.4.0)
xpath (2.0.0)
nokogiri (~> 1.3)

PLATFORMS
ruby

DEPENDENCIES
annotate
autoprefixer-rails
bcrypt
bootstrap-sass
capybara
database_cleaner
devise
dotenv-rails
factory_girl_rails
faker
geokit
guard-rspec
haml
jquery-rails
launchy
libnotify
pg
poltergeist
pry-rails
puma
rails (~> 4.1.7)
rails_12factor
rails_admin
rspec-rails
sass-rails
selenium-webdriver
simplecov
spring
spring-commands-rspec
validates_formatting_of
webmock
28 changes: 28 additions & 0 deletions Guardfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Linux only:
notification :libnotify, timeout: 3, transient: true, append: false
# tmux only:
notification :tmux, display_message: true, timeout: 5,
default_message_format: '%s >> %s', line_separator: ' > ',
color_location: 'status-left-bg'

guard :rspec, cmd: 'bin/rspec' do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }

# Rails example
watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
watch(%r{^app/(.*)(\.erb|\.haml|\.slim)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/routing/#{m[1]}_routing_spec.rb", "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/acceptance/#{m[1]}_spec.rb"] }
watch(%r{^spec/support/(.+)\.rb$}) { "spec" }
watch('config/routes.rb') { "spec/routing" }
watch('app/controllers/application_controller.rb') { "spec/controllers" }
watch('spec/rails_helper.rb') { "spec" }

# Capybara features specs
watch(%r{^app/views/(.+)/.*\.(erb|haml|slim)$}) { |m| "spec/features/#{m[1]}_spec.rb" }

# Turnip features and steps
watch(%r{^spec/acceptance/(.+)\.feature$})
watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'spec/acceptance' }
end
Loading

0 comments on commit 327d2bf

Please sign in to comment.