-
Notifications
You must be signed in to change notification settings - Fork 2
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
1 parent
e71c4b3
commit c2edfee
Showing
107 changed files
with
1,733 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 development environment | ||
DATABASE_URL="file:///db/hanami_test_development" | ||
SERVE_STATIC_ASSETS="true" | ||
WEB_SESSIONS_SECRET="6616cb4d25910356e2718fcbf31a9d85135b26d21086a56d0b647cfae2c93b42" |
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="file:///db/hanami_test_test" | ||
SERVE_STATIC_ASSETS="true" | ||
WEB_SESSIONS_SECRET="3dd1b4295f8f4eeafe1040ed50041897bc5d1b53ba60a6f86a73e195abb7cea9" |
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 @@ | ||
/db/hanami_test_development | ||
/db/hanami_test_test | ||
/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,3 @@ | ||
architecture=container | ||
test=minitest | ||
template=erb |
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,23 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'bundler' | ||
gem 'rake' | ||
gem 'hanami', '~> 0.7' | ||
gem 'hanami-model', '~> 0.5' | ||
|
||
group :development do | ||
# Code reloading | ||
# See: [LINK TO HANAMI GUIDES] | ||
gem 'shotgun' | ||
end | ||
|
||
group :test, :development do | ||
gem 'dotenv', '~> 2.0' | ||
end | ||
|
||
group :test do | ||
gem 'minitest' | ||
gem 'capybara' | ||
end | ||
|
||
gem 'puma' |
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,93 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
addressable (2.4.0) | ||
capybara (2.7.0) | ||
addressable | ||
mime-types (>= 1.16) | ||
nokogiri (>= 1.3.3) | ||
rack (>= 1.0.0) | ||
rack-test (>= 0.5.4) | ||
xpath (~> 2.0) | ||
dotenv (2.1.1) | ||
hanami (0.7.2) | ||
bundler (~> 1.6) | ||
dotenv (~> 2.0) | ||
hanami-assets (~> 0.2) | ||
hanami-controller (~> 0.6) | ||
hanami-helpers (~> 0.3) | ||
hanami-mailer (~> 0.2) | ||
hanami-router (~> 0.6) | ||
hanami-utils (~> 0.7) | ||
hanami-view (~> 0.6) | ||
shotgun (~> 0.9) | ||
thor (~> 0.19) | ||
hanami-assets (0.2.1) | ||
hanami-helpers (~> 0.3) | ||
hanami-utils (~> 0.7) | ||
tilt (~> 2.0, >= 2.0.2) | ||
hanami-controller (0.6.1) | ||
hanami-utils (~> 0.7) | ||
hanami-validations (~> 0.5) | ||
rack (~> 1.6, >= 1.6.2) | ||
hanami-helpers (0.3.0) | ||
hanami-utils (~> 0.7) | ||
hanami-mailer (0.2.0) | ||
hanami-utils (~> 0.7) | ||
mail (~> 2.5) | ||
tilt (~> 2.0, >= 2.0.1) | ||
hanami-model (0.6.1) | ||
hanami-utils (~> 0.7) | ||
sequel (~> 4.9) | ||
hanami-router (0.6.2) | ||
hanami-utils (~> 0.7) | ||
http_router (~> 0.11) | ||
hanami-utils (0.7.1) | ||
hanami-validations (0.5.0) | ||
hanami-utils (~> 0.7) | ||
hanami-view (0.6.1) | ||
hanami-utils (~> 0.7) | ||
tilt (~> 2.0, >= 2.0.1) | ||
http_router (0.11.2) | ||
rack (>= 1.0.0) | ||
url_mount (~> 0.2.1) | ||
mail (2.6.4) | ||
mime-types (>= 1.16, < 4) | ||
mime-types (3.0) | ||
mime-types-data (~> 3.2015) | ||
mime-types-data (3.2016.0221) | ||
mini_portile2 (2.0.0) | ||
minitest (5.8.4) | ||
nokogiri (1.6.7.2) | ||
mini_portile2 (~> 2.0.0.rc2) | ||
puma (3.4.0) | ||
rack (1.6.4) | ||
rack-test (0.6.3) | ||
rack (>= 1.0) | ||
rake (11.1.2) | ||
sequel (4.33.0) | ||
shotgun (0.9.1) | ||
rack (>= 1.0) | ||
thor (0.19.1) | ||
tilt (2.0.2) | ||
url_mount (0.2.1) | ||
rack | ||
xpath (2.0.0) | ||
nokogiri (~> 1.3) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
bundler | ||
capybara | ||
dotenv (~> 2.0) | ||
hanami (~> 0.7) | ||
hanami-model (~> 0.5) | ||
minitest | ||
puma | ||
rake | ||
shotgun | ||
|
||
BUNDLED WITH | ||
1.11.2 |
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,11 @@ | ||
require 'rake' | ||
require 'hanami/rake_tasks' | ||
require 'rake/testtask' | ||
|
||
Rake::TestTask.new do |t| | ||
t.pattern = 'spec/**/*_spec.rb' | ||
t.libs << 'spec' | ||
end | ||
|
||
task default: :test | ||
task spec: :test |
Oops, something went wrong.