-
Notifications
You must be signed in to change notification settings - Fork 9
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
0 parents
commit 0b8e094
Showing
38 changed files
with
758 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,4 @@ | ||
# Define ENV variables for test environment | ||
DATABASE_URL="postgresql://localhost/contributors_test" | ||
SERVE_STATIC_ASSETS="true" | ||
WEB_SESSIONS_SECRET="79bf4569447bc93d5cf6923dfe68561261ff289ffe2afdd2e24f062be5bda573" |
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 @@ | ||
/public/assets* | ||
/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,4 @@ | ||
project=contributors | ||
architecture=container | ||
test=rspec | ||
template=slim |
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 @@ | ||
--color | ||
--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,28 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'rake' | ||
gem 'hanami', '1.0.0.beta2' | ||
gem 'hanami-model', '~> 1.0.0.beta2' | ||
|
||
gem 'pg' | ||
|
||
gem 'slim' | ||
|
||
group :development do | ||
# Code reloading | ||
# See: http://hanamirb.org/guides/projects/code-reloading | ||
gem 'shotgun' | ||
end | ||
|
||
group :test, :development do | ||
gem 'dotenv', '~> 2.0' | ||
end | ||
|
||
group :test do | ||
gem 'rspec' | ||
gem 'capybara' | ||
end | ||
|
||
group :production do | ||
# gem 'puma' | ||
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,175 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
addressable (2.5.0) | ||
public_suffix (~> 2.0, >= 2.0.2) | ||
capybara (2.12.1) | ||
addressable | ||
mime-types (>= 1.16) | ||
nokogiri (>= 1.3.3) | ||
rack (>= 1.0.0) | ||
rack-test (>= 0.5.4) | ||
xpath (~> 2.0) | ||
concurrent-ruby (1.0.5) | ||
diff-lcs (1.3) | ||
dotenv (2.2.0) | ||
dry-configurable (0.6.2) | ||
concurrent-ruby (~> 1.0) | ||
dry-container (0.6.0) | ||
concurrent-ruby (~> 1.0) | ||
dry-configurable (~> 0.1, >= 0.1.3) | ||
dry-core (0.2.4) | ||
concurrent-ruby (~> 1.0) | ||
dry-equalizer (0.2.0) | ||
dry-initializer (0.11.0) | ||
dry-logic (0.4.1) | ||
dry-container (~> 0.2, >= 0.2.6) | ||
dry-core (~> 0.2) | ||
dry-equalizer (~> 0.2) | ||
dry-struct (0.2.1) | ||
dry-configurable (~> 0.1) | ||
dry-equalizer (~> 0.2) | ||
dry-types (~> 0.9, >= 0.9.0) | ||
ice_nine (~> 0.11) | ||
dry-types (0.9.4) | ||
concurrent-ruby (~> 1.0) | ||
dry-configurable (~> 0.1) | ||
dry-container (~> 0.3) | ||
dry-core (~> 0.2, >= 0.2.1) | ||
dry-equalizer (~> 0.2) | ||
dry-logic (~> 0.4, >= 0.4.0) | ||
inflecto (~> 0.0.0, >= 0.0.2) | ||
dry-validation (0.10.5) | ||
concurrent-ruby (~> 1.0) | ||
dry-configurable (~> 0.1, >= 0.1.3) | ||
dry-core (~> 0.2, >= 0.2.1) | ||
dry-equalizer (~> 0.2) | ||
dry-logic (~> 0.4, >= 0.4.0) | ||
dry-types (~> 0.9, >= 0.9.0) | ||
hanami (1.0.0.beta2) | ||
bundler (~> 1.13) | ||
concurrent-ruby (~> 1.0) | ||
hanami-assets (~> 1.0.0.beta1) | ||
hanami-controller (~> 1.0.0.beta2) | ||
hanami-helpers (~> 1.0.0.beta1) | ||
hanami-mailer (~> 1.0.0.beta1) | ||
hanami-router (~> 1.0.0.beta2) | ||
hanami-utils (~> 1.0.0.beta2) | ||
hanami-validations (~> 1.0.0.beta1) | ||
hanami-view (~> 1.0.0.beta1) | ||
thor (~> 0.19) | ||
hanami-assets (1.0.0.beta1) | ||
hanami-helpers (~> 1.0.0.beta1) | ||
hanami-utils (~> 1.0.0.beta1) | ||
tilt (~> 2.0, >= 2.0.2) | ||
hanami-controller (1.0.0.beta2) | ||
hanami-utils (~> 1.0.0.beta1) | ||
rack (~> 2.0) | ||
hanami-helpers (1.0.0.beta1) | ||
hanami-utils (~> 1.0.0.beta1) | ||
hanami-mailer (1.0.0.beta1) | ||
hanami-utils (~> 1.0.0.beta1) | ||
mail (~> 2.5) | ||
tilt (~> 2.0, >= 2.0.1) | ||
hanami-model (1.0.0.beta2) | ||
concurrent-ruby (~> 1.0) | ||
dry-types (~> 0.9) | ||
hanami-utils (~> 1.0.0.beta) | ||
rom-repository (~> 1.2) | ||
rom-sql (~> 1.1) | ||
hanami-router (1.0.0.beta2) | ||
hanami-utils (~> 1.0.0.beta1) | ||
http_router (= 0.11.2) | ||
rack (~> 2.0) | ||
hanami-utils (1.0.0.beta2) | ||
hanami-validations (1.0.0.beta1) | ||
dry-validation (~> 0.10) | ||
hanami-utils (~> 1.0.0.beta1) | ||
hanami-view (1.0.0.beta1) | ||
hanami-utils (~> 1.0.0.beta1) | ||
tilt (~> 2.0, >= 2.0.1) | ||
http_router (0.11.2) | ||
rack (>= 1.0.0) | ||
url_mount (~> 0.2.1) | ||
ice_nine (0.11.2) | ||
inflecto (0.0.2) | ||
mail (2.6.4) | ||
mime-types (>= 1.16, < 4) | ||
mime-types (3.1) | ||
mime-types-data (~> 3.2015) | ||
mime-types-data (3.2016.0521) | ||
mini_portile2 (2.1.0) | ||
nokogiri (1.7.0.1) | ||
mini_portile2 (~> 2.1.0) | ||
pg (0.20.0) | ||
public_suffix (2.0.5) | ||
rack (2.0.1) | ||
rack-test (0.6.3) | ||
rack (>= 1.0) | ||
rake (12.0.0) | ||
rom (3.1.0) | ||
concurrent-ruby (~> 1.0) | ||
dry-core (~> 0.2, >= 0.2.3) | ||
dry-equalizer (~> 0.2) | ||
dry-initializer (~> 0.10, >= 0.10.2) | ||
dry-types (~> 0.9, >= 0.9.4) | ||
rom-mapper (~> 0.5) | ||
rom-mapper (0.5.0) | ||
dry-core (~> 0.2.3) | ||
dry-equalizer (~> 0.2) | ||
transproc (~> 1.0) | ||
rom-repository (1.3.0) | ||
dry-core (~> 0.2, >= 0.2.1) | ||
dry-struct (~> 0.1) | ||
rom (~> 3.1) | ||
rom-mapper (~> 0.5) | ||
rom-sql (1.2.1) | ||
dry-core (~> 0.2, >= 0.2.3) | ||
dry-equalizer (~> 0.2) | ||
dry-types (~> 0.9, >= 0.9.4) | ||
rom (~> 3.1) | ||
sequel (~> 4.43) | ||
rspec (3.5.0) | ||
rspec-core (~> 3.5.0) | ||
rspec-expectations (~> 3.5.0) | ||
rspec-mocks (~> 3.5.0) | ||
rspec-core (3.5.4) | ||
rspec-support (~> 3.5.0) | ||
rspec-expectations (3.5.0) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.5.0) | ||
rspec-mocks (3.5.0) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.5.0) | ||
rspec-support (3.5.0) | ||
sequel (4.44.0) | ||
shotgun (0.9.2) | ||
rack (>= 1.0) | ||
slim (3.0.7) | ||
temple (~> 0.7.6) | ||
tilt (>= 1.3.3, < 2.1) | ||
temple (0.7.7) | ||
thor (0.19.4) | ||
tilt (2.0.6) | ||
transproc (1.0.2) | ||
url_mount (0.2.1) | ||
rack | ||
xpath (2.0.0) | ||
nokogiri (~> 1.3) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
capybara | ||
dotenv (~> 2.0) | ||
hanami (= 1.0.0.beta2) | ||
hanami-model (~> 1.0.0.beta2) | ||
pg | ||
rake | ||
rspec | ||
shotgun | ||
slim | ||
|
||
BUNDLED WITH | ||
1.13.7 |
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 @@ | ||
require 'rake' | ||
require 'hanami/rake_tasks' | ||
|
||
begin | ||
require 'rspec/core/rake_task' | ||
RSpec::Core::RakeTask.new(:spec) | ||
task default: :spec | ||
rescue LoadError | ||
end |
Oops, something went wrong.