Skip to content

Commit

Permalink
* fully supporting pjax-style load of topics
Browse files Browse the repository at this point in the history
* removed some deprecated and unused dependencies
  • Loading branch information
larsburgess committed Mar 20, 2012
1 parent 6fceef5 commit b7a7131
Show file tree
Hide file tree
Showing 11 changed files with 219 additions and 190 deletions.
12 changes: 5 additions & 7 deletions Gemfile
@@ -1,19 +1,17 @@
source :gemcutter source :gemcutter


gem 'pdfkit' gem 'pdfkit'
gem 'rack', '1.2.1' gem 'rack', '~>1.3.0'
gem 'sinatra', '1.1.2' gem 'sinatra', '~>1.3.0'
gem 'rdiscount', '1.6.8' gem 'rdiscount', '1.6.8'
gem 'rest-client', '1.2.0' gem 'rest-client', '~>1.6.0'
gem 'json' gem 'json'
gem 'heroku-nav', '~>0' gem "rack-pjax"
#gem "rhomobile-nav", '0.0.35', :require => "rhomobile/nav", :git => "git://github.com/rhomobile/rhomobile-nav.git"
gem 'coderay', '~>0.9.8' gem 'coderay', '~>0.9.8'
gem 'rack-codehighlighter' gem 'rack-codehighlighter'
gem 'shotgun'
gem 'indextank' gem 'indextank'
gem 'heroku'


group :development do group :development do
gem 'shotgun'
gem "rake", '>= 0.9.2' gem "rake", '>= 0.9.2'
end end
58 changes: 26 additions & 32 deletions Gemfile.lock
@@ -1,47 +1,42 @@
GEM GEM
remote: http://rubygems.org/ remote: http://rubygems.org/
specs: specs:
addressable (2.2.6) addressable (2.2.7)
coderay (0.9.8) coderay (0.9.8)
configuration (1.3.1) faraday (0.7.6)
faraday (0.7.5) addressable (~> 2.2)
addressable (~> 2.2.6) multipart-post (~> 1.1)
multipart-post (~> 1.1.3) rack (~> 1.1)
rack (>= 1.1.0, < 2) faraday-stack (0.1.5)
faraday-stack (0.1.3) faraday (>= 0.6, < 0.8)
faraday (~> 0.6) hpricot (0.8.6)
heroku (1.7.1)
json_pure (~> 1.2.0)
launchy (~> 0.3.2)
rest-client (~> 1.2.0)
heroku-nav (0.1.24)
json
rest-client (>= 1.0)
indextank (1.0.12) indextank (1.0.12)
faraday-stack faraday-stack
yajl-ruby (>= 0.7.7) yajl-ruby (>= 0.7.7)
json (1.6.1) json (1.6.5)
json_pure (1.2.4)
launchy (0.3.7)
configuration (>= 0.0.5)
rake (>= 0.8.1)
mime-types (1.17.2) mime-types (1.17.2)
multipart-post (1.1.3) multipart-post (1.1.5)
nokogiri (1.5.0) nokogiri (1.5.2)
pdfkit (0.5.2) pdfkit (0.5.2)
rack (1.2.1) rack (1.3.6)
rack-codehighlighter (0.5.0) rack-codehighlighter (0.5.0)
nokogiri (>= 1.4.1) nokogiri (>= 1.4.1)
rack (>= 1.0.0) rack (>= 1.0.0)
rack-pjax (0.5.9)
hpricot (~> 0.8.6)
rack (~> 1.3)
rack-protection (1.2.0)
rack
rake (0.9.2.2) rake (0.9.2.2)
rdiscount (1.6.8) rdiscount (1.6.8)
rest-client (1.2.0) rest-client (1.6.7)
mime-types (>= 1.16) mime-types (>= 1.16)
shotgun (0.9) shotgun (0.9)
rack (>= 1.0) rack (>= 1.0)
sinatra (1.1.2) sinatra (1.3.2)
rack (~> 1.1) rack (~> 1.3, >= 1.3.6)
tilt (~> 1.2) rack-protection (~> 1.2)
tilt (~> 1.3, >= 1.3.3)
tilt (1.3.3) tilt (1.3.3)
yajl-ruby (1.1.0) yajl-ruby (1.1.0)


Expand All @@ -50,15 +45,14 @@ PLATFORMS


DEPENDENCIES DEPENDENCIES
coderay (~> 0.9.8) coderay (~> 0.9.8)
heroku
heroku-nav (~> 0)
indextank indextank
json json
pdfkit pdfkit
rack (= 1.2.1) rack (~> 1.3.0)
rack-codehighlighter rack-codehighlighter
rack-pjax
rake (>= 0.9.2) rake (>= 0.9.2)
rdiscount (= 1.6.8) rdiscount (= 1.6.8)
rest-client (= 1.2.0) rest-client (~> 1.6.0)
shotgun shotgun
sinatra (= 1.1.2) sinatra (~> 1.3.0)
2 changes: 1 addition & 1 deletion config.ru
Expand Up @@ -3,4 +3,4 @@ require 'bundler/setup'


require './environment' require './environment'


run Sinatra::Application run Docs.new
4 changes: 1 addition & 3 deletions config.yml
Expand Up @@ -34,7 +34,6 @@ edge:
rhoconnect: 'docs/rhoconnect/' rhoconnect: 'docs/rhoconnect/'
index: 'rhodocs_edge' index: 'rhodocs_edge'
pdfkithost: 'edgedocs.rhomobile.com' pdfkithost: 'edgedocs.rhomobile.com'
rhonav_host: http://app.staging.rhohub.com
production: production:
dirs: dirs:
rhosync: 'docs/rhosync/' rhosync: 'docs/rhosync/'
Expand All @@ -46,5 +45,4 @@ production:
rhoconnectjs: 'docs/rhoconnectjs/' rhoconnectjs: 'docs/rhoconnectjs/'
rhoconnect: 'docs/rhoconnect/' rhoconnect: 'docs/rhoconnect/'
index: 'rhodocs' index: 'rhodocs'
pdfkithost: 'docs.rhomobile.com' pdfkithost: 'docs.rhomobile.com'
rhonav_host: https://app.rhohub.com

0 comments on commit b7a7131

Please sign in to comment.