Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
i-tier-bot authored and bauerjon committed Oct 7, 2015
0 parents commit 232542a
Show file tree
Hide file tree
Showing 127 changed files with 8,203 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
run:
ci:
<% if( DOTCI_BRANCH =~ /deploy.*/) { %>
plugins:
- publish: 'ci'
<% } %>
2 changes: 2 additions & 0 deletions .ghe-bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
mergebot:
hipchat_room_id: 353533
22 changes: 22 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
shared/log/unicorn.stderr.log
shared/log/unicorn.stdout.log
shared/pids/unicorn.pid
shared/sockets/unicorn.sock
coverage
public/resources.json
*.gem
*.rbc
.bundle
.config
InstalledFiles
lib/bundler/man
pkg
rdoc
spec/reports
spec/data
test/tmp
test/version_tmp
tmp
.DS_store
log/
docker/*.env
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
jruby-1.7.19
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM jruby:1.7

MAINTAINER [email protected]

RUN apt-get -q update
RUN apt-get -q -q -y install git

RUN mkdir /app
WORKDIR /app

ADD Gemfile /app/
ADD Gemfile.lock /app/
RUN bundle install --without development torquebox

ADD . /app
48 changes: 48 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
source ENV.fetch('GEM_SOURCE', 'https://rubygems.org/')

gem 'rake'

gem 'grape', '~> 0.11.0'
gem 'puma'
gem 'httparty'

group :torquebox do
platform :jruby do
gem 'jruby-openssl', :require => false
gem 'torquebox', '3.0.0'
gem 'torquebox-messaging', '3.0.0'
gem 'warbler'
gem 'torquebox-server'
end
end

gem 'activerecord', '~> 4.1.0', require: 'active_record'
platform :jruby do
gem 'activerecord-jdbcpostgresql-adapter'
gem 'jdbc-postgres'
end
platform :mri do
gem 'activerecord-postgresql-adapter'
end
gem 'foreigner'
gem 'enumerize'

gem 'awesome_print'
gem 'mail'
gem 'sidekiq', '~> 3.5.0'
gem 'sidekiq-failures', '~> 0.4.0'

group :development, :test do
gem 'pry'
end

group :test do
gem 'database_cleaner'
gem 'rack-test'
gem 'rspec', '~> 3.2.0'
gem 'rspec-sidekiq'
gem 'factory_girl'
gem 'timecop'
gem 'webmock'
gem 'zip'
end
246 changes: 246 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,246 @@
GEM
remote: https://rubygems.org/
specs:
activemodel (4.1.13)
activesupport (= 4.1.13)
builder (~> 3.1)
activerecord (4.1.13)
activemodel (= 4.1.13)
activesupport (= 4.1.13)
arel (~> 5.0.0)
activerecord-jdbc-adapter (1.3.17)
activerecord (>= 2.2)
activerecord-jdbcpostgresql-adapter (1.3.17)
activerecord-jdbc-adapter (~> 1.3.17)
jdbc-postgres (>= 9.1)
activerecord-postgresql-adapter (0.0.1)
pg
activesupport (4.1.13)
i18n (~> 0.6, >= 0.6.9)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.1)
tzinfo (~> 1.1)
addressable (2.3.8)
arel (5.0.1.20140414130214)
awesome_print (1.6.1)
axiom-types (0.1.1)
descendants_tracker (~> 0.0.4)
ice_nine (~> 0.11.0)
thread_safe (~> 0.3, >= 0.3.1)
blankslate (2.1.2.4)
builder (3.2.2)
celluloid (0.17.2)
celluloid-essentials
celluloid-extras
celluloid-fsm
celluloid-pool
celluloid-supervision
timers (>= 4.1.1)
celluloid-essentials (0.20.5)
timers (>= 4.1.1)
celluloid-extras (0.20.5)
timers (>= 4.1.1)
celluloid-fsm (0.20.5)
timers (>= 4.1.1)
celluloid-pool (0.20.5)
timers (>= 4.1.1)
celluloid-supervision (0.20.5)
timers (>= 4.1.1)
coderay (1.1.0)
coercible (1.0.0)
descendants_tracker (~> 0.0.1)
connection_pool (2.2.0)
crack (0.4.2)
safe_yaml (~> 1.0.0)
database_cleaner (1.4.1)
descendants_tracker (0.0.4)
thread_safe (~> 0.3, >= 0.3.1)
diff-lcs (1.2.5)
edn (1.0.0)
parslet (~> 1.4.0)
enumerize (1.0.0)
activesupport (>= 3.2)
equalizer (0.0.11)
factory_girl (4.5.0)
activesupport (>= 3.0.0)
ffi (1.9.10-java)
foreigner (1.7.4)
activerecord (>= 3.0.0)
grape (0.11.0)
activesupport
builder
hashie (>= 2.1.0)
multi_json (>= 1.3.2)
multi_xml (>= 0.5.2)
rack (>= 1.3.0)
rack-accept
rack-mount
virtus (>= 1.0.0)
hashie (3.4.2)
hitimes (1.2.3)
hitimes (1.2.3-java)
httparty (0.13.5)
json (~> 1.8)
multi_xml (>= 0.5.2)
i18n (0.7.0)
ice_nine (0.11.1)
jdbc-postgres (9.4.1200)
jruby-jars (1.7.22)
jruby-openssl (0.9.10-java)
jruby-rack (1.1.19)
json (1.8.3)
json (1.8.3-java)
mail (2.6.3)
mime-types (>= 1.16, < 3)
method_source (0.8.2)
mime-types (2.6.1)
minitest (5.8.0)
multi_json (1.11.2)
multi_xml (0.5.5)
parslet (1.4.0)
blankslate (~> 2.0)
pg (0.18.2)
pry (0.10.1)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry (0.10.1-java)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
spoon (~> 0.0)
puma (2.13.4)
puma (2.13.4-java)
rack (1.6.4)
rack-accept (0.4.5)
rack (>= 0.4)
rack-mount (0.8.3)
rack (>= 1.0.0)
rack-test (0.6.3)
rack (>= 1.0)
rake (10.4.2)
redis (3.2.1)
redis-namespace (1.5.2)
redis (~> 3.0, >= 3.0.4)
rspec (3.2.0)
rspec-core (~> 3.2.0)
rspec-expectations (~> 3.2.0)
rspec-mocks (~> 3.2.0)
rspec-core (3.2.3)
rspec-support (~> 3.2.0)
rspec-expectations (3.2.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.2.0)
rspec-mocks (3.2.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.2.0)
rspec-sidekiq (2.1.0)
rspec (~> 3.0, >= 3.0.0)
sidekiq (>= 2.4.0)
rspec-support (3.2.2)
rubyzip (1.1.7)
safe_yaml (1.0.4)
sidekiq (3.5.0)
celluloid (~> 0.17.0)
connection_pool (~> 2.2, >= 2.2.0)
json (~> 1.0)
redis (~> 3.2, >= 3.2.1)
redis-namespace (~> 1.5, >= 1.5.2)
sidekiq-failures (0.4.5)
sidekiq (>= 2.16.0)
slop (3.6.0)
spoon (0.0.4)
ffi
thor (0.19.1)
thread_safe (0.3.5)
thread_safe (0.3.5-java)
timecop (0.8.0)
timers (4.1.1)
hitimes
torquebox (3.0.0)
thor (>= 0.14.6)
torquebox-cache (= 3.0.0)
torquebox-configure (= 3.0.0)
torquebox-core (= 3.0.0)
torquebox-messaging (= 3.0.0)
torquebox-naming (= 3.0.0)
torquebox-rake-support (= 3.0.0)
torquebox-security (= 3.0.0)
torquebox-stomp (= 3.0.0)
torquebox-transactions (= 3.0.0)
torquebox-web (= 3.0.0)
torquebox-cache (3.0.0-java)
torquebox-core (= 3.0.0)
torquebox-transactions (= 3.0.0)
torquebox-configure (3.0.0-java)
blankslate (= 2.1.2.4)
torquebox-core (3.0.0-java)
edn (= 1.0.0)
torquebox-messaging (3.0.0-java)
torquebox-core (= 3.0.0)
torquebox-transactions (= 3.0.0)
torquebox-naming (3.0.0-java)
torquebox-core (= 3.0.0)
torquebox-rake-support (3.0.0)
rake (>= 0.8.7)
torquebox-security (3.0.0-java)
torquebox-core (= 3.0.0)
torquebox-server (3.0.0-java)
torquebox (= 3.0.0)
torquebox-stomp (3.0.0)
torquebox-core (= 3.0.0)
torquebox-messaging (= 3.0.0)
torquebox-transactions (3.0.0)
torquebox-core (= 3.0.0)
torquebox-web (3.0.0-java)
tzinfo (1.2.2)
thread_safe (~> 0.1)
virtus (1.0.5)
axiom-types (~> 0.1)
coercible (~> 1.0)
descendants_tracker (~> 0.0, >= 0.0.3)
equalizer (~> 0.0, >= 0.0.9)
warbler (1.4.9)
jruby-jars (>= 1.5.6, < 2.0)
jruby-rack (>= 1.1.1, < 1.3)
rake (>= 0.9.6)
rubyzip (>= 0.9, < 1.2)
webmock (1.21.0)
addressable (>= 2.3.6)
crack (>= 0.3.2)
zip (2.0.2)

PLATFORMS
java
ruby

DEPENDENCIES
activerecord (~> 4.1.0)
activerecord-jdbcpostgresql-adapter
activerecord-postgresql-adapter
awesome_print
database_cleaner
enumerize
factory_girl
foreigner
grape (~> 0.11.0)
httparty
jdbc-postgres
jruby-openssl
mail
pry
puma
rack-test
rake
rspec (~> 3.2.0)
rspec-sidekiq
sidekiq (~> 3.5.0)
sidekiq-failures (~> 0.4.0)
timecop
torquebox (= 3.0.0)
torquebox-messaging (= 3.0.0)
torquebox-server
warbler
webmock
zip
29 changes: 29 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
Copyright (c) 2015, Groupon, Inc.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.

Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

Neither the name of GROUPON nor the names of its contributors may be
used to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Loading

0 comments on commit 232542a

Please sign in to comment.