Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/init' into develop
- Loading branch information
Showing
22 changed files
with
603 additions
and
19 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
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
--color |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,22 @@ | |||
language: ruby | |||
rvm: | |||
- 2.1.0 | |||
- 1.9.3 | |||
- ruby-head | |||
matrix: | |||
fast_finish: true | |||
allow_failures: | |||
- rvm: ruby-head | |||
env: | |||
- DB=sqlite | |||
- DB=mysql | |||
- DB=postgresql | |||
before_script: | |||
- cp config/database.travis.yml config/database.yml | |||
- mysql -e 'create database event_line_test;' | |||
- psql -c 'create database event_line_test;' -U postgres | |||
script: | |||
- export RAILS_ENV=test | |||
- bundle exec rake db:migrate --trace | |||
- bundle exec rake db:test:prepare | |||
- bundle exec rake |
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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,253 @@ | |||
GEM | |||
remote: https://rubygems.org/ | |||
specs: | |||
actionmailer (4.0.1) | |||
actionpack (= 4.0.1) | |||
mail (~> 2.5.4) | |||
actionpack (4.0.1) | |||
activesupport (= 4.0.1) | |||
builder (~> 3.1.0) | |||
erubis (~> 2.7.0) | |||
rack (~> 1.5.2) | |||
rack-test (~> 0.6.2) | |||
activemodel (4.0.1) | |||
activesupport (= 4.0.1) | |||
builder (~> 3.1.0) | |||
activerecord (4.0.1) | |||
activemodel (= 4.0.1) | |||
activerecord-deprecated_finders (~> 1.0.2) | |||
activesupport (= 4.0.1) | |||
arel (~> 4.0.0) | |||
activerecord-deprecated_finders (1.0.3) | |||
activesupport (4.0.1) | |||
i18n (~> 0.6, >= 0.6.4) | |||
minitest (~> 4.2) | |||
multi_json (~> 1.3) | |||
thread_safe (~> 0.1) | |||
tzinfo (~> 0.3.37) | |||
addressable (2.3.5) | |||
arel (4.0.1) | |||
atomic (1.1.14) | |||
builder (3.1.4) | |||
capybara (2.2.0) | |||
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) | |||
cliver (0.3.2) | |||
coderay (1.1.0) | |||
coffee-rails (4.0.1) | |||
coffee-script (>= 2.2.0) | |||
railties (>= 4.0.0, < 5.0) | |||
coffee-script (2.2.0) | |||
coffee-script-source | |||
execjs | |||
coffee-script-source (1.6.3) | |||
coveralls (0.7.0) | |||
multi_json (~> 1.3) | |||
rest-client | |||
simplecov (>= 0.7) | |||
term-ansicolor | |||
thor | |||
cucumber (1.3.10) | |||
builder (>= 2.1.2) | |||
diff-lcs (>= 1.1.3) | |||
gherkin (~> 2.12) | |||
multi_json (>= 1.7.5, < 2.0) | |||
multi_test (>= 0.0.2) | |||
cucumber-rails (1.4.0) | |||
capybara (>= 1.1.2) | |||
cucumber (>= 1.2.0) | |||
nokogiri (>= 1.5.0) | |||
rails (>= 3.0.0) | |||
database_cleaner (1.2.0) | |||
diff-lcs (1.2.5) | |||
docile (1.1.2) | |||
erubis (2.7.0) | |||
execjs (2.0.2) | |||
factory_girl (4.3.0) | |||
activesupport (>= 3.0.0) | |||
factory_girl_rails (4.3.0) | |||
factory_girl (~> 4.3.0) | |||
railties (>= 3.0.0) | |||
ffi (1.9.3) | |||
formatador (0.2.4) | |||
gherkin (2.12.2) | |||
multi_json (~> 1.3) | |||
guard (2.2.5) | |||
formatador (>= 0.2.4) | |||
listen (~> 2.1) | |||
lumberjack (~> 1.0) | |||
pry (>= 0.9.12) | |||
thor (>= 0.18.1) | |||
guard-cucumber (1.4.0) | |||
cucumber (>= 1.2.0) | |||
guard (>= 1.1.0) | |||
guard-rspec (4.0.3) | |||
guard (>= 2.1.1) | |||
rspec (~> 2.14) | |||
hike (1.2.3) | |||
i18n (0.6.5) | |||
jbuilder (1.5.2) | |||
activesupport (>= 3.0.0) | |||
multi_json (>= 1.2.0) | |||
jquery-rails (3.0.4) | |||
railties (>= 3.0, < 5.0) | |||
thor (>= 0.14, < 2.0) | |||
json (1.8.1) | |||
launchy (2.4.2) | |||
addressable (~> 2.3) | |||
listen (2.4.0) | |||
celluloid (>= 0.15.2) | |||
rb-fsevent (>= 0.9.3) | |||
rb-inotify (>= 0.9) | |||
lumberjack (1.0.4) | |||
mail (2.5.4) | |||
mime-types (~> 1.16) | |||
treetop (~> 1.4.8) | |||
method_source (0.8.2) | |||
mime-types (1.25.1) | |||
mini_portile (0.5.2) | |||
minitest (4.7.5) | |||
multi_json (1.8.4) | |||
multi_test (0.0.3) | |||
mysql2 (0.3.14) | |||
nokogiri (1.6.0) | |||
mini_portile (~> 0.5.0) | |||
pg (0.17.0) | |||
poltergeist (1.5.0) | |||
capybara (~> 2.1) | |||
cliver (~> 0.3.1) | |||
multi_json (~> 1.0) | |||
websocket-driver (>= 0.2.0) | |||
polyglot (0.3.3) | |||
pry (0.9.12.4) | |||
coderay (~> 1.0) | |||
method_source (~> 0.8) | |||
slop (~> 3.4) | |||
pry-rails (0.3.2) | |||
pry (>= 0.9.10) | |||
rack (1.5.2) | |||
rack-test (0.6.2) | |||
rack (>= 1.0) | |||
rails (4.0.1) | |||
actionmailer (= 4.0.1) | |||
actionpack (= 4.0.1) | |||
activerecord (= 4.0.1) | |||
activesupport (= 4.0.1) | |||
bundler (>= 1.3.0, < 2.0) | |||
railties (= 4.0.1) | |||
sprockets-rails (~> 2.0.0) | |||
railties (4.0.1) | |||
actionpack (= 4.0.1) | |||
activesupport (= 4.0.1) | |||
rake (>= 0.8.7) | |||
thor (>= 0.18.1, < 2.0) | |||
rake (10.1.0) | |||
rb-fsevent (0.9.4) | |||
rb-inotify (0.9.3) | |||
ffi (>= 0.5.0) | |||
rdoc (3.12.2) | |||
json (~> 1.4) | |||
rest-client (1.6.7) | |||
mime-types (>= 1.16) | |||
rspec (2.14.1) | |||
rspec-core (~> 2.14.0) | |||
rspec-expectations (~> 2.14.0) | |||
rspec-mocks (~> 2.14.0) | |||
rspec-core (2.14.7) | |||
rspec-expectations (2.14.4) | |||
diff-lcs (>= 1.1.3, < 2.0) | |||
rspec-mocks (2.14.4) | |||
rspec-rails (2.14.0) | |||
actionpack (>= 3.0) | |||
activesupport (>= 3.0) | |||
railties (>= 3.0) | |||
rspec-core (~> 2.14.0) | |||
rspec-expectations (~> 2.14.0) | |||
rspec-mocks (~> 2.14.0) | |||
sass (3.2.12) | |||
sass-rails (4.0.1) | |||
railties (>= 4.0.0, < 5.0) | |||
sass (>= 3.1.10) | |||
sprockets-rails (~> 2.0.0) | |||
sdoc (0.3.20) | |||
json (>= 1.1.3) | |||
rdoc (~> 3.10) | |||
shotgun (0.9) | |||
rack (>= 1.0) | |||
shoulda-matchers (2.5.0) | |||
activesupport (>= 3.0.0) | |||
simplecov (0.8.2) | |||
docile (~> 1.1.0) | |||
multi_json | |||
simplecov-html (~> 0.8.0) | |||
simplecov-html (0.8.0) | |||
slop (3.4.7) | |||
sprockets (2.10.1) | |||
hike (~> 1.2) | |||
multi_json (~> 1.0) | |||
rack (~> 1.0) | |||
tilt (~> 1.1, != 1.3.0) | |||
sprockets-rails (2.0.1) | |||
actionpack (>= 3.0) | |||
activesupport (>= 3.0) | |||
sprockets (~> 2.8) | |||
sqlite3 (1.3.8) | |||
term-ansicolor (1.2.2) | |||
tins (~> 0.8) | |||
terminal-notifier-guard (1.5.3) | |||
thor (0.18.1) | |||
thread_safe (0.1.3) | |||
atomic | |||
tilt (1.4.1) | |||
timers (1.1.0) | |||
tins (0.13.1) | |||
treetop (1.4.15) | |||
polyglot | |||
polyglot (>= 0.3.1) | |||
turbolinks (1.3.1) | |||
coffee-rails | |||
tzinfo (0.3.38) | |||
uglifier (2.3.1) | |||
execjs (>= 0.3.0) | |||
json (>= 1.8.0) | |||
websocket-driver (0.3.1) | |||
xpath (2.0.0) | |||
nokogiri (~> 1.3) | |||
zeus (0.13.3) | |||
method_source (>= 0.6.7) | |||
|
|||
PLATFORMS | |||
ruby | |||
|
|||
DEPENDENCIES | |||
coffee-rails (~> 4.0.0) | |||
coveralls | |||
cucumber-rails | |||
database_cleaner | |||
factory_girl_rails | |||
guard-cucumber | |||
guard-rspec | |||
jbuilder (~> 1.2) | |||
jquery-rails | |||
launchy | |||
mysql2 | |||
pg | |||
poltergeist | |||
pry-rails | |||
rails (= 4.0.1) | |||
rb-fsevent | |||
rspec-rails | |||
sass-rails (~> 4.0.0) | |||
sdoc | |||
shotgun | |||
shoulda-matchers | |||
sqlite3 | |||
terminal-notifier-guard | |||
turbolinks | |||
uglifier (>= 1.3.0) | |||
zeus |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,31 @@ | |||
# A sample Guardfile | |||
# More info at https://github.com/guard/guard#readme | |||
|
|||
notification :terminal_notifier | |||
|
|||
guard :rspec, cmd: "zeus rspec spec --color", all_on_start: true 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" } | |||
|
|||
# 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 | |||
|
|||
guard :cucumber, cmd: "zeus cucumber --color" do | |||
watch(%r{^features/.+\.feature$}) | |||
watch(%r{^features/support/.+$}) { 'features' } | |||
watch(%r{^features/step_definitions/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'features' } | |||
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,8 @@ | |||
<% | |||
rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : "" | |||
rerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}" | |||
std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} --strict --tags ~@wip" | |||
%> | |||
default: <%= std_opts %> features | |||
wip: --tags @wip:3 --wip features | |||
rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,32 @@ | |||
sqlite: &sqlite | |||
adapter: sqlite3 | |||
database: db/<%= Rails.env %>.sqlite3 | |||
|
|||
mysql: &mysql | |||
adapter: mysql2 | |||
username: root | |||
password: | |||
database: event_line_<%= Rails.env %> | |||
encoding: utf8 | |||
|
|||
postgresql: &postgresql | |||
adapter: postgresql | |||
username: postgres | |||
password: | |||
database: event_line_<%= Rails.env %> | |||
min_messages: ERROR | |||
|
|||
defaults: &defaults | |||
pool: 5 | |||
timeout: 5000 | |||
host: localhost | |||
<<: *<%= ENV['DB'] || "mysql" %> | |||
|
|||
development: | |||
<<: *defaults | |||
|
|||
test: | |||
<<: *defaults | |||
|
|||
production: | |||
<<: *defaults |
Oops, something went wrong.