Browse files

Hello World

  • Loading branch information...
1 parent 2d1a528 commit 48c7c5c657f925139f8249b9317d13bf65963fde @honkfestival committed Oct 24, 2012
Showing with 79 additions and 0 deletions.
  1. BIN .DS_Store
  2. +9 −0 Gemfile
  3. +46 −0 Gemfile.lock
  4. +7 −0 config.ru
  5. +5 −0 lib/datomic_example.rb
  6. +12 −0 lib/datomic_example/app.rb
View
BIN .DS_Store
Binary file not shown.
View
9 Gemfile
@@ -0,0 +1,9 @@
+source :rubygems
+
+gem 'datomic-client', :git => 'https://github.com/crnixon/datomic-client.git'
+gem 'edn'
+
+gem 'pry'
+gem 'pry-nav'
+
+gem 'sinatra'
View
46 Gemfile.lock
@@ -0,0 +1,46 @@
+GIT
+ remote: https://github.com/crnixon/datomic-client.git
+ revision: 291bdf8f9ee90ad273de0fae892151284ff411a9
+ specs:
+ datomic-client (0.4.0)
+ edn (~> 1.0.0)
+ rest-client (~> 1.6.7)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ blankslate (2.1.2.4)
+ coderay (1.0.8)
+ edn (1.0.0)
+ parslet (~> 1.4.0)
+ method_source (0.8.1)
+ mime-types (1.19)
+ parslet (1.4.0)
+ blankslate (~> 2.0)
+ pry (0.9.10)
+ coderay (~> 1.0.5)
+ method_source (~> 0.8)
+ slop (~> 3.3.1)
+ pry-nav (0.2.2)
+ pry (~> 0.9.10)
+ rack (1.4.1)
+ rack-protection (1.2.0)
+ rack
+ rest-client (1.6.7)
+ mime-types (>= 1.16)
+ sinatra (1.3.3)
+ rack (~> 1.3, >= 1.3.6)
+ rack-protection (~> 1.2)
+ tilt (~> 1.3, >= 1.3.3)
+ slop (3.3.3)
+ tilt (1.3.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ datomic-client!
+ edn
+ pry
+ pry-nav
+ sinatra
View
7 config.ru
@@ -0,0 +1,7 @@
+require 'rubygems'
+require 'bundler/setup'
+
+$:.unshift File.expand_path('./lib', File.dirname(__FILE__))
+
+require 'datomic_example'
+run DatomicExample::App.new
View
5 lib/datomic_example.rb
@@ -0,0 +1,5 @@
+module DatomicExample
+ #extend self etc
+end
+
+require 'datomic_example/app'
View
12 lib/datomic_example/app.rb
@@ -0,0 +1,12 @@
+require 'bundler/setup'
+require 'sinatra/base'
+
+module DatomicExample
+ class App < Sinatra::Base
+
+ get '/' do
+ "Hello World!"
+ end
+
+ end
+end

0 comments on commit 48c7c5c

Please sign in to comment.