Skip to content
This repository was archived by the owner on Apr 2, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@
*.sublime-workspace

**/*/.DS_Store
.DS_Store
.DS_Store

coverage/*
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
AllCops:
Exclude:
- spec/**/*
50 changes: 26 additions & 24 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,39 +1,41 @@
source 'https://rubygems.org'

group :development, :test do
gem 'sqlite3'
gem 'rspec'
gem 'rspec-rails'
gem 'factory_girl'
gem 'factory_girl_rails'
gem 'rspec_api_test'
gem 'pry-nav'
gem 'pry'
gem 'factory_girl'
gem 'factory_girl_rails'
gem 'pry'
gem 'pry-nav'
gem 'rspec'
gem 'rspec-rails'
gem 'rspec_api_test'
gem 'rubocop'
gem 'simplecov'
gem 'sqlite3'
end
group :production do
gem 'pg'
gem 'rails_12factor'
gem 'pg'
gem 'rails_12factor'
end

gem 'unicorn'
gem 'json'
gem 'active_model_serializers', '>= 0.9.0'
gem 'bcrypt', '~> 3.1.7'
gem 'bourbon'
gem 'rails', '4.0.8'
gem 'sass-rails', '~> 4.0.2'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.0.0'
gem 'jquery-rails'
gem 'turbolinks'
gem 'jbuilder', '~> 1.2'
gem 'bcrypt', '~> 3.1.7'
gem "active_model_serializers", '>= 0.9.0'
gem "ember-rails", "~>0.18"
gem 'ember-source', '~> 1.11.1'
gem 'ember-data-source', '~> 1.0.0.beta'
gem 'ember-handlebars-template', '~> 0.1.5'
gem 'ember-rails', '~>0.18'
gem 'ember-source', '~> 1.11.1'
gem 'jbuilder', '~> 1.2'
gem 'jquery-rails'
gem 'json'
gem 'rails', '4.0.8'
gem 'sass-rails', '~> 4.0.2'
gem 'turbolinks'
gem 'uglifier', '>= 1.3.0'
gem 'unicorn'

group :doc do
gem 'sdoc', require: false
gem 'sdoc', require: false
end

ruby "2.2.4"
ruby '2.2.4'
31 changes: 31 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ GEM
thread_safe (~> 0.1)
tzinfo (~> 0.3.37)
arel (4.0.2)
ast (2.4.0)
barber (0.9.2)
ember-source (>= 1.0, < 3)
execjs (>= 1.2, < 3)
Expand All @@ -45,6 +46,7 @@ GEM
execjs
coffee-script-source (1.9.1)
diff-lcs (1.2.5)
docile (1.3.1)
domain_name (0.5.23)
unf (>= 0.0.5, < 1.0.0)
ember-data-source (1.0.0.beta.16.1)
Expand All @@ -71,6 +73,7 @@ GEM
http-cookie (1.0.2)
domain_name (~> 0.5)
i18n (0.7.0)
jaro_winkler (1.5.1)
jbuilder (1.5.3)
activesupport (>= 3.0.0)
multi_json (>= 1.2.0)
Expand All @@ -87,8 +90,12 @@ GEM
minitest (4.7.5)
multi_json (1.11.2)
netrc (0.10.3)
parallel (1.12.1)
parser (2.5.3.0)
ast (~> 2.4.0)
pg (0.18.1)
polyglot (0.3.5)
powerpack (0.1.2)
pry (0.10.1)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
Expand Down Expand Up @@ -116,6 +123,7 @@ GEM
activesupport (= 4.0.8)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rainbow (3.0.0)
raindrops (0.13.0)
rake (10.4.2)
rdoc (4.2.0)
Expand Down Expand Up @@ -150,6 +158,15 @@ GEM
bundler
rest-client
rspec (>= 2.0.0)
rubocop (0.60.0)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
parser (>= 2.5, != 2.5.1.1)
powerpack (~> 0.1)
rainbow (>= 2.2.2, < 4.0)
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.4.0)
ruby-progressbar (1.10.0)
sass (3.2.19)
sass-rails (4.0.5)
railties (>= 4.0.0, < 5.0)
Expand All @@ -159,6 +176,11 @@ GEM
sdoc (0.4.1)
json (~> 1.7, >= 1.7.7)
rdoc (~> 4.0)
simplecov (0.16.1)
docile (~> 1.1)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
slop (3.6.0)
sprockets (2.12.4)
hike (~> 1.2)
Expand All @@ -185,6 +207,7 @@ GEM
unf (0.1.4)
unf_ext
unf_ext (0.0.6)
unicode-display_width (1.4.0)
unicorn (4.8.3)
kgio (~> 2.6)
rack
Expand Down Expand Up @@ -215,9 +238,17 @@ DEPENDENCIES
rspec
rspec-rails
rspec_api_test
rubocop
sass-rails (~> 4.0.2)
sdoc
simplecov
sqlite3
turbolinks
uglifier (>= 1.3.0)
unicorn

RUBY VERSION
ruby 2.2.4p230

BUNDLED WITH
1.16.2
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
# EventKit Rails
## EventKit Rails

EventKit Rails is a Ruby on Rails port of [EventKit](https://github.com/sendgrid/eventkit), an open source project to receive notifications for [SendGrid's Event Webhook](https://sendgrid.com/docs/API_Reference/Webhooks/event.html). This project can be deployed to a rails server, or quickly deployed to [Heroku](http://heroku.com) using the "Deploy Heroku Button" (see below).

# Tech Stack
## Tech Stack

EventKit Rails uses [Ruby on Rails](http://rubyonrails.org) for the backend, including ActiveRecord and Postgres for the production database. The backend is API driven, which is used by the [EmberJS](http://emberjs.com) frontend. The frontend also uses [Ember Data](http://emberjs.com/guides/models/) to handle the communication between the frontend and backend.

# Deploying To Heroku
## Deploying To Heroku

You can easily deploy EventKit Rails to your Heroku account with a few clicks using the button below. If you don't currently have a Heroku account, you can [set one up for free](https://www.heroku.com/pricing) on their website.

[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)

## Testing

To run the tests:

`rpsec`

A test coverage report will be generated at `coverage/index.html`.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require File.expand_path('../config/application', __FILE__)
require File.expand_path('config/application', __dir__)

EventKit::Application.load_tasks
Loading