This repository has been archived by the owner on Mar 16, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* start adding tests * auth token authentiation; * more core calls * teardown method * more * create client * throw exception unless email set * register * check for email and api key * set domains and zones * more * dockerize * add vcr * dont commit secrets * refactor and pass tests * generate more * more * actually create * more * more nad more * bit more * two broken things * add logging module * write logs to redis * more * test travis * set travis version * add docker compose * more update * try again * ruby * always use live * all tests pass * update readme * add env file to build * add redis url * fix failing tesst
- Loading branch information
1 parent
9a2f6ce
commit 9330c4f
Showing
41 changed files
with
5,803 additions
and
138 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 @@ | ||
.git/* |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
CLOUDFLARE_API_KEY= | ||
CLOUDFLARE_EMAIL= | ||
HEROKU_OAUTH_KEY= | ||
REDIS_URL= | ||
REDIS_URL=redis://redis:6379 | ||
AUTH_TOKEN= | ||
CONTACT_EMAIL= |
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 |
---|---|---|
@@ -1,3 +1,10 @@ | ||
language: ruby | ||
sudo: required | ||
services: | ||
- docker | ||
|
||
rvm: | ||
- 2.3.1 | ||
- 2.3.3 | ||
|
||
script: | ||
- cp .env.sample .env | ||
- docker-compose run --rm web 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM ruby:2.3 | ||
|
||
ENV APP_HOME /opt/letsencrypt-heroku | ||
RUN mkdir /opt/letsencrypt-heroku | ||
WORKDIR $APP_HOME | ||
|
||
ADD Gemfile* $APP_HOME/ | ||
|
||
ENV BUNDLE_GEMFILE=$APP_HOME/Gemfile \ | ||
BUNDLE_JOBS=2 \ | ||
BUNDLE_PATH=/bundle | ||
|
||
RUN bundle install |
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
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 | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
task :default do | ||
puts 'No default rake task set :(' | ||
task :default => :test | ||
task :test do | ||
Dir.glob('./test/*_test.rb').each { |file| require file} | ||
end |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.