Skip to content

Commit

Permalink
Bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinelliott committed Sep 16, 2019
0 parents commit 4354146
Show file tree
Hide file tree
Showing 40 changed files with 759 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Define ENV variables for development environment
DATABASE_URL="sqlite://db/flightbox_web_development.sqlite"
SERVE_STATIC_ASSETS="true"
WEB_SESSIONS_SECRET="971ef31b5b607246eee282bf52861f5669b3522acd23ad91c98f659aaebf8d80"
4 changes: 4 additions & 0 deletions .env.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Define ENV variables for test environment
DATABASE_URL="sqlite://db/flightbox_web_test.sqlite"
SERVE_STATIC_ASSETS="true"
WEB_SESSIONS_SECRET="2703083a6b68c17aa36ed445104588b92c2570fb96ce9e4a2a34224fb542a5cc"
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/db/*.sqlite
/public/assets*
/tmp
3 changes: 3 additions & 0 deletions .hanamirc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
project=flightbox_web
test=rspec
template=erb
2 changes: 2 additions & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--color
--require spec_helper
24 changes: 24 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
source 'https://rubygems.org'

ruby '2.6.3'

gem 'rake'
gem 'hanami', '~> 1.3'

group :development do
gem 'shotgun', platforms: :ruby
gem 'hanami-webconsole'
end

group :test, :development do
gem 'dotenv', '~> 2.4'
end

group :test do
gem 'rspec'
gem 'capybara'
end

group :production do
# gem 'puma'
end
153 changes: 153 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
better_errors (2.5.1)
coderay (>= 1.0.0)
erubi (>= 1.0.0)
rack (>= 0.9.0)
binding_of_caller (0.8.0)
debug_inspector (>= 0.0.1)
capybara (3.29.0)
addressable
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
rack (>= 1.6.0)
rack-test (>= 0.6.3)
regexp_parser (~> 1.5)
xpath (~> 3.2)
coderay (1.1.2)
concurrent-ruby (1.1.5)
debug_inspector (0.0.3)
diff-lcs (1.3)
dotenv (2.7.5)
dry-configurable (0.8.3)
concurrent-ruby (~> 1.0)
dry-core (~> 0.4, >= 0.4.7)
dry-container (0.7.2)
concurrent-ruby (~> 1.0)
dry-configurable (~> 0.1, >= 0.1.3)
dry-core (0.4.9)
concurrent-ruby (~> 1.0)
dry-equalizer (0.2.2)
dry-logic (0.4.2)
dry-container (~> 0.2, >= 0.2.6)
dry-core (~> 0.2)
dry-equalizer (~> 0.2)
dry-types (0.12.3)
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.2)
inflecto (~> 0.0.0, >= 0.0.2)
dry-validation (0.11.2)
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.2)
dry-types (~> 0.12.0)
erubi (1.8.0)
hanami (1.3.2)
bundler (>= 1.6, < 3)
concurrent-ruby (~> 1.0)
hanami-assets (~> 1.3)
hanami-cli (~> 0.3)
hanami-controller (~> 1.3)
hanami-helpers (~> 1.3)
hanami-mailer (~> 1.3)
hanami-router (~> 1.3)
hanami-utils (~> 1.3)
hanami-validations (>= 1.3, < 3)
hanami-view (~> 1.3)
hanami-assets (1.3.3)
hanami-helpers (~> 1.3)
hanami-utils (~> 1.3)
tilt (~> 2.0, >= 2.0.2)
hanami-cli (0.3.1)
concurrent-ruby (~> 1.0)
hanami-utils (~> 1.3)
hanami-controller (1.3.2)
hanami-utils (~> 1.3)
rack (~> 2.0)
hanami-helpers (1.3.1)
hanami-utils (~> 1.3)
hanami-mailer (1.3.1)
hanami-utils (~> 1.3)
mail (~> 2.6)
tilt (~> 2.0, >= 2.0.1)
hanami-router (1.3.1)
hanami-utils (~> 1.3)
http_router (= 0.11.2)
rack (~> 2.0)
hanami-utils (1.3.3)
concurrent-ruby (~> 1.0)
transproc (~> 1.0)
hanami-validations (1.3.5)
dry-logic (~> 0.4.2, < 0.5)
dry-validation (~> 0.11, < 0.12)
hanami-utils (~> 1.3)
hanami-view (1.3.1)
hanami-utils (~> 1.3)
tilt (~> 2.0, >= 2.0.1)
hanami-webconsole (0.1.0)
better_errors (~> 2.4)
binding_of_caller (~> 0.8)
http_router (0.11.2)
rack (>= 1.0.0)
url_mount (~> 0.2.1)
inflecto (0.0.2)
mail (2.7.1)
mini_mime (>= 0.1.1)
mini_mime (1.0.2)
mini_portile2 (2.4.0)
nokogiri (1.10.4)
mini_portile2 (~> 2.4.0)
public_suffix (4.0.1)
rack (2.0.7)
rack-test (1.1.0)
rack (>= 1.0, < 3)
rake (12.3.3)
regexp_parser (1.6.0)
rspec (3.8.0)
rspec-core (~> 3.8.0)
rspec-expectations (~> 3.8.0)
rspec-mocks (~> 3.8.0)
rspec-core (3.8.2)
rspec-support (~> 3.8.0)
rspec-expectations (3.8.4)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-mocks (3.8.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-support (3.8.2)
shotgun (0.9.2)
rack (>= 1.0)
tilt (2.0.9)
transproc (1.1.0)
url_mount (0.2.1)
rack
xpath (3.2.0)
nokogiri (~> 1.8)

PLATFORMS
ruby

DEPENDENCIES
capybara
dotenv (~> 2.4)
hanami (~> 1.3)
hanami-webconsole
rake
rspec
shotgun

RUBY VERSION
ruby 2.6.3p62

BUNDLED WITH
1.17.3
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Flightbox Web

Welcome to your new Hanami project!

## Setup

How to run tests:

```
% bundle exec rake
```

How to run the development console:

```
% bundle exec hanami console
```

How to run the development server:

```
% bundle exec hanami server
```

How to prepare (create and migrate) DB for `development` and `test` environments:

```
% bundle exec hanami db prepare
% HANAMI_ENV=test bundle exec hanami db prepare
```

Explore Hanami [guides](https://guides.hanamirb.org/), [API docs](http://docs.hanamirb.org/1.3.2/), or jump in [chat](http://chat.hanamirb.org) for help. Enjoy! 🌸
9 changes: 9 additions & 0 deletions Rakefile
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
Loading

0 comments on commit 4354146

Please sign in to comment.