I hereby claim:
- I am HP on github.
- I am hanspetter (https://keybase.io/hanspetter) on keybase.
- I have a public key whose fingerprint is 4598 C479 3E0D BF18 3A6A 3E33 EEA9 8A46 F223 F5A6
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| file 'Gemfile', <<-GEMS | |
| source 'http://gemcutter.org' | |
| gem "rails", "3.0.0.beta3" | |
| gem "bson_ext" | |
| gem "mongoid", "2.0.0.beta4" | |
| gem "haml", "3.0.0.rc.2" | |
| gem "compass", "0.10.0.rc4" | |
| gem "inherited_resources" | |
| group :test do |
| require "rack/openid" | |
| require "warden" | |
| use Rack::OpenID | |
| use Warden::Manager do |manager| | |
| Warden::Strategies.add(:openid) do | |
| def authenticate! | |
| if resp = env["rack.openid.response"] | |
| case resp.status | |
| when :success |
| development: &global_settings | |
| database: textual_development | |
| host: 127.0.0.1 | |
| port: 27017 | |
| test: | |
| database: textual_test | |
| <<: *global_settings | |
| production: |
| module HTML | |
| class StathamSanitizer < WhiteListSanitizer | |
| protected | |
| def tokenize(text, options) | |
| super.map do |token| | |
| if token.is_a?(HTML::Tag) && options[:parent].include?(token.name) | |
| token.to_s.gsub(/</, "<") | |
| else |
| # you'd obviously have more settings somewhere | |
| set :scm, :git | |
| set :repository, "[email protected]:defunkt/github.git" | |
| set :branch, "origin/master" | |
| set :migrate_target, :current | |
| set(:latest_release) { fetch(:current_path) } | |
| set(:release_path) { fetch(:current_path) } | |
| set(:current_release) { fetch(:current_path) } |
| <!--[if lte IE 6]> | |
| <style type="text/css"> | |
| #ie6msg{border:3px solid #090;margin:8px 0;background:#cfc;color:#000;}#ie6msg h4{margin:8px;padding:0;}#ie6msg p{margin:8px;padding:0;}#ie6msg p a.getie7{font-weight:bold;color:#006;}#ie6msg p a.ie6expl{font-weight:normal;color:#006;} | |
| </style> | |
| <script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/cookie/cookie-min.js"></script> | |
| <script type="text/javascript"> | |
| function hideIe6Msg(){YAHOO.util.Dom.setStyle("ie6msg","display","none");time=new Date;hours=time.getHours();if(hours>=14){time.setHours(hours+12)}else{time.setHours(hours+24)}YAHOO.util.Cookie.set("ie6isold","iknow",{expires:time})}; | |
| </script> | |
| <div id="ie6msg"> | |
| <h4>Tips fra oss: Du har en eldre versjon av nettleseren Internet Explorer.</h4> |