From c76718932382e6851e1ad9f004246bde3fc74de8 Mon Sep 17 00:00:00 2001 From: Azul Date: Tue, 2 Oct 2012 15:45:07 +0200 Subject: starting to write a srp test with python srp lib --- users/test/integration/api/python/flow_with_srp.py | 58 ++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100755 users/test/integration/api/python/flow_with_srp.py diff --git a/users/test/integration/api/python/flow_with_srp.py b/users/test/integration/api/python/flow_with_srp.py new file mode 100755 index 0000000..cb89f6e --- /dev/null +++ b/users/test/integration/api/python/flow_with_srp.py @@ -0,0 +1,58 @@ +#!/usr/bin/env python + +# under development + +import requests +import json +import string +import random +import srp +import binascii + +# let's have some random name +def id_generator(size=6, chars=string.ascii_uppercase + string.digits): + return ''.join(random.choice(chars) for x in range(size)) + +# using globals for a start +server = 'http://localhost:3000' +login = id_generator() +password = id_generator() + id_generator() + +# log the server communication +def print_and_parse(response): + print response.request.method + ': ' + response.url + print " " + json.dumps(response.request.data) + print " -> " + response.text + return json.loads(response.text) + +def signup(session): + salt, vkey = srp.create_salted_verification_key( login, password ) + user_params = { + 'user[login]': login, + 'user[password_verifier]': binascii.hexlify(vkey), + 'user[password_salt]': binascii.hexlify(salt) + } + return session.post(server + '/users.json', data = user_params) + +usr = srp.User( login, password ) + +def authenticate(session, login): + uname, A = usr.start_authentication() + params = { + 'login': uname, + 'A': A + } + init = print_and_parse(session.post(server + '/sessions', data = params)) + M = usr.process_challenge( init['salt'], init['B'] ) + return session.put(server + '/sessions/' + login, data = {'client_auth': M}) + +session = requests.session() +user = print_and_parse(signup(session)) + +# SRP signup would happen here and calculate M hex +auth = print_and_parse(authenticate(session, user['login'])) +usr.verify_session( auth ) + +# At this point the authentication process is complete. +assert usr.authenticated() + -- cgit v1.2.3 From c7d473882a01981ff6ff8f0e2b5c120a0026a531 Mon Sep 17 00:00:00 2001 From: Azul Date: Tue, 2 Oct 2012 15:45:43 +0200 Subject: send salt on initializing login --- users/app/controllers/sessions_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/users/app/controllers/sessions_controller.rb b/users/app/controllers/sessions_controller.rb index e68d798..f79b069 100644 --- a/users/app/controllers/sessions_controller.rb +++ b/users/app/controllers/sessions_controller.rb @@ -8,7 +8,8 @@ class SessionsController < ApplicationController def create @user = User.find_by_param(params[:login]) session[:handshake] = @user.initialize_auth(params['A'].hex) - render :json => { :B => session[:handshake].bb.to_s(16) } + render :json => { :B => session[:handshake].bb.to_s(16), + :salt => @user.password_salt } rescue RECORD_NOT_FOUND render :json => {:errors => {:login => ["unknown user"]}} end -- cgit v1.2.3 From 793f36bb8063017cd8b48f084597f4e64b72d0f4 Mon Sep 17 00:00:00 2001 From: Azul Date: Tue, 2 Oct 2012 15:52:48 +0200 Subject: use hexlify and unhexlify everywhere needed except the final auth as this is still broken anyway --- users/test/integration/api/python/flow_with_srp.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/users/test/integration/api/python/flow_with_srp.py b/users/test/integration/api/python/flow_with_srp.py index cb89f6e..1aad555 100755 --- a/users/test/integration/api/python/flow_with_srp.py +++ b/users/test/integration/api/python/flow_with_srp.py @@ -40,11 +40,12 @@ def authenticate(session, login): uname, A = usr.start_authentication() params = { 'login': uname, - 'A': A + 'A': binascii.hexlify(A) } init = print_and_parse(session.post(server + '/sessions', data = params)) - M = usr.process_challenge( init['salt'], init['B'] ) - return session.put(server + '/sessions/' + login, data = {'client_auth': M}) + M = usr.process_challenge( binascii.unhexlify(init['salt']), binascii.unhexlify(init['B']) ) + return session.put(server + '/sessions/' + login, + data = {'client_auth': binascii.hexlify(M)}) session = requests.session() user = print_and_parse(signup(session)) -- cgit v1.2.3 From 5fe296eb9f9b216e05921ac0c41f5defc1cc2054 Mon Sep 17 00:00:00 2001 From: Azul Date: Tue, 2 Oct 2012 16:12:50 +0200 Subject: trying to use the same Hash Alg and Prime as webapp - still failing --- users/test/integration/api/python/flow_with_srp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/users/test/integration/api/python/flow_with_srp.py b/users/test/integration/api/python/flow_with_srp.py index 1aad555..08ac94a 100755 --- a/users/test/integration/api/python/flow_with_srp.py +++ b/users/test/integration/api/python/flow_with_srp.py @@ -26,7 +26,7 @@ def print_and_parse(response): return json.loads(response.text) def signup(session): - salt, vkey = srp.create_salted_verification_key( login, password ) + salt, vkey = srp.create_salted_verification_key( login, password, srp.SHA256, srp.NG_1024 ) user_params = { 'user[login]': login, 'user[password_verifier]': binascii.hexlify(vkey), @@ -34,7 +34,7 @@ def signup(session): } return session.post(server + '/users.json', data = user_params) -usr = srp.User( login, password ) +usr = srp.User( login, password, srp.SHA256, srp.NG_1024 ) def authenticate(session, login): uname, A = usr.start_authentication() -- cgit v1.2.3 From 5bc3eae400754dda90a45d6953a02a069a1c0285 Mon Sep 17 00:00:00 2001 From: jessib Date: Tue, 2 Oct 2012 15:29:28 -0700 Subject: Some more tweaks to help ticket models. Still want to tweak current_user access from users engine. --- help/app/models/ticket.rb | 6 ++++-- help/app/models/ticket_comment.rb | 3 +-- help/test/unit/ticket_comment_test.rb | 7 +++++++ help/test/unit/ticket_test.rb | 3 ++- users/app/controllers/sessions_controller.rb | 6 ++++++ users/app/models/user.rb | 7 +++++++ 6 files changed, 27 insertions(+), 5 deletions(-) diff --git a/help/app/models/ticket.rb b/help/app/models/ticket.rb index 8a282b5..0f38bf4 100644 --- a/help/app/models/ticket.rb +++ b/help/app/models/ticket.rb @@ -28,7 +28,7 @@ class Ticket < CouchRest::Model::Base timestamps! - before_validation :set_code, :on => :create + before_validation :set_created_by, :set_code, :on => :create design do view :by_title @@ -37,7 +37,9 @@ class Ticket < CouchRest::Model::Base validates :email, :format => /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\Z/, :if => :email #email address is optional - #set created_by to be current_user + def set_created_by + self.created_by = User.current if User.current + end def is_creator_validated? !!created_by diff --git a/help/app/models/ticket_comment.rb b/help/app/models/ticket_comment.rb index 1e23136..6c2a792 100644 --- a/help/app/models/ticket_comment.rb +++ b/help/app/models/ticket_comment.rb @@ -26,8 +26,7 @@ class TicketComment < CouchRest::Model::Base #?? do we want this to be a base mo end def set_posted_by - #should be something like this, but current_user is not set yet - #self.posted_by = current_user if current_user + self.posted_by = User.current if User.current end end diff --git a/help/test/unit/ticket_comment_test.rb b/help/test/unit/ticket_comment_test.rb index 37e6e67..ba6120b 100644 --- a/help/test/unit/ticket_comment_test.rb +++ b/help/test/unit/ticket_comment_test.rb @@ -25,6 +25,13 @@ class TicketCommentTest < ActiveSupport::TestCase #tc.ticket = Ticket.find_by_title("test title") #tc.ticket.title end + + test "create authenticated comment" do + User.current = 4 + comment2 = TicketComment.new :body => "help my email is broken!" + comment2.save + assert_not_nil comment2.posted_by + end test "add comments" do testticket = Ticket.create :title => "testing" diff --git a/help/test/unit/ticket_test.rb b/help/test/unit/ticket_test.rb index fddd719..2dbd63c 100644 --- a/help/test/unit/ticket_test.rb +++ b/help/test/unit/ticket_test.rb @@ -41,7 +41,8 @@ class TicketTest < ActiveSupport::TestCase assert_not_nil t1.code assert_nil t1.created_by - t2 = Ticket.create :title => 'test title', :created_by => 4 + User.current = 4 + t2 = Ticket.create :title => 'test title' assert_nil t2.code assert_not_nil t2.created_by diff --git a/users/app/controllers/sessions_controller.rb b/users/app/controllers/sessions_controller.rb index e68d798..d398057 100644 --- a/users/app/controllers/sessions_controller.rb +++ b/users/app/controllers/sessions_controller.rb @@ -8,6 +8,7 @@ class SessionsController < ApplicationController def create @user = User.find_by_param(params[:login]) session[:handshake] = @user.initialize_auth(params['A'].hex) + User.current = @user #? render :json => { :B => session[:handshake].bb.to_s(16) } rescue RECORD_NOT_FOUND render :json => {:errors => {:login => ["unknown user"]}} @@ -17,6 +18,7 @@ class SessionsController < ApplicationController @user = User.find_by_param(params[:id]) @server_auth = @user.authenticate!(params[:client_auth].hex, session.delete(:handshake)) session[:user_id] = @user.id + User.current = @user #? render :json => {:M2 => @server_auth} rescue WRONG_PASSWORD session[:handshake] = nil @@ -25,6 +27,10 @@ class SessionsController < ApplicationController def destroy session[:user_id] = nil + User.current = nil #? redirect_to root_path end + + + end diff --git a/users/app/models/user.rb b/users/app/models/user.rb index fa64f42..95ee810 100644 --- a/users/app/models/user.rb +++ b/users/app/models/user.rb @@ -46,4 +46,11 @@ class User < CouchRest::Model::Base password_verifier.hex end + def self.current + Thread.current[:user] + end + def self.current=(user) + Thread.current[:user] = user + end + end -- cgit v1.2.3 From 237722ee553919b1e09c5e07b44750893780557c Mon Sep 17 00:00:00 2001 From: Azul Date: Wed, 3 Oct 2012 20:29:08 +0200 Subject: adding gitmodules i was missing please run git submodule init git submodule update to get the srp js --- .gitmodules | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .gitmodules diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..afce01f --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "users/app/assets/javascripts/srp"] + path = users/app/assets/javascripts/srp + url = git://leap.se/srp_js -- cgit v1.2.3 From c89610d1aad8500b4f7058c970bb07a60a55a5ce Mon Sep 17 00:00:00 2001 From: jessib Date: Wed, 3 Oct 2012 16:53:00 -0700 Subject: Some model/unit test tweaks --- help/app/models/ticket.rb | 10 ++++++++++ help/app/models/ticket_comment.rb | 8 ++++---- help/test/unit/ticket_comment_test.rb | 14 +++++++++----- help/test/unit/ticket_test.rb | 5 +++++ 4 files changed, 28 insertions(+), 9 deletions(-) diff --git a/help/app/models/ticket.rb b/help/app/models/ticket.rb index 0f38bf4..784d7ef 100644 --- a/help/app/models/ticket.rb +++ b/help/app/models/ticket.rb @@ -24,6 +24,7 @@ class Ticket < CouchRest::Model::Base #property :user_verified, TrueClass, :default => false #will be true exactly when user is set #admins property :code, String, :protected => true # only should be set if created_by is nil + property :is_open, TrueClass, :default => true property :comments, [TicketComment] timestamps! @@ -50,6 +51,15 @@ class Ticket < CouchRest::Model::Base self.code = SecureRandom.hex(8) if !is_creator_validated? end + def close + self.is_open = false + save + end + + def reopen + self.is_open = true + save + end =begin def validate diff --git a/help/app/models/ticket_comment.rb b/help/app/models/ticket_comment.rb index 6c2a792..652133a 100644 --- a/help/app/models/ticket_comment.rb +++ b/help/app/models/ticket_comment.rb @@ -1,8 +1,6 @@ -class TicketComment < CouchRest::Model::Base #?? do we want this to be a base model? +class TicketComment include CouchRest::Model::Embeddable - #use_database "ticket_comments" - #belongs_to :ticket #is this best way to do it? will want to access all of a tickets comments, so maybe this isn't the way? property :posted_by, Integer, :protected => true# maybe this should be current_user if that is set, meaning the user is logged in #String # user?? # if the current user is not set, then we could just say the comment comes from an 'unauthenticated user', which would be somebody with the secret URL @@ -10,7 +8,7 @@ class TicketComment < CouchRest::Model::Base #?? do we want this to be a base mo #property :posted_verified, TrueClass, :protected => true #should be true if current_user is set when the comment is created property :body, String - before_validation :set_time, :set_posted_by, :on => :create # hmm, this requires object to be validated for these methods to be called, but if this is only embeddedable (which might be best), then not clear how to do this without manually validating. + before_validation :set_time#, :set_posted_by #design do # view :by_posted_at @@ -25,8 +23,10 @@ class TicketComment < CouchRest::Model::Base #?? do we want this to be a base mo self.posted_at = Time.now end +=begin def set_posted_by self.posted_by = User.current if User.current end +=end end diff --git a/help/test/unit/ticket_comment_test.rb b/help/test/unit/ticket_comment_test.rb index ba6120b..883720f 100644 --- a/help/test/unit/ticket_comment_test.rb +++ b/help/test/unit/ticket_comment_test.rb @@ -26,27 +26,31 @@ class TicketCommentTest < ActiveSupport::TestCase #tc.ticket.title end +=begin test "create authenticated comment" do User.current = 4 comment2 = TicketComment.new :body => "help my email is broken!" - comment2.save + comment2.valid? #save # should not save comment assert_not_nil comment2.posted_by end +=end test "add comments" do testticket = Ticket.create :title => "testing" assert_equal testticket.comments.count, 0 comment = TicketComment.new :body => "my email broke" - assert comment.valid? #validating or saving necessary for setting posted_at - assert_not_nil comment.posted_at + #assert comment.valid? #validating or saving necessary for setting posted_at + #assert_not_nil comment.posted_at testticket.comments << comment assert_equal testticket.comments.count, 1 sleep(1) # so first comment has earlier posted_at time comment2 = TicketComment.new :body => "my email broke" - comment2.save #possible to save only if ticketcomment is a model now - testticket.comments << comment2 + testticket.comments << comment2 #this should validate comment2 + testticket.valid? assert_equal testticket.comments.count, 2 + assert_not_nil comment.posted_at + assert_not_nil testticket.comments.last.posted_at assert testticket.comments.first.posted_at < testticket.comments.last.posted_at end diff --git a/help/test/unit/ticket_test.rb b/help/test/unit/ticket_test.rb index 2dbd63c..c3a4759 100644 --- a/help/test/unit/ticket_test.rb +++ b/help/test/unit/ticket_test.rb @@ -14,6 +14,11 @@ class TicketTest < ActiveSupport::TestCase assert t.valid? assert_equal t.title, 'test title' + assert t.is_open + t.close + assert !t.is_open + t.reopen + assert t.is_open #user = LeapWebHelp::User.new(User.valid_attributes_hash) #user = LeapWebUsers::User.create -- cgit v1.2.3 From f7e832b111b38c1b2bdef45ab74001590b17c0dc Mon Sep 17 00:00:00 2001 From: Azul Date: Fri, 5 Oct 2012 13:52:23 +0200 Subject: adding mocha for tests --- Gemfile | 5 +++++ Gemfile.lock | 6 +++++- test/test_helper.rb | 2 ++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 015c5ad..0bdea00 100644 --- a/Gemfile +++ b/Gemfile @@ -36,6 +36,11 @@ gem 'leap_web_help', :path => 'help' gem 'couchrest_session_store' + +group :development, :test do + gem 'mocha' +end + # To use ActiveModel has_secure_password # gem 'bcrypt-ruby', '~> 3.0.0' diff --git a/Gemfile.lock b/Gemfile.lock index e9b4de8..4f2ee3b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -112,7 +112,10 @@ GEM i18n (>= 0.4.0) mime-types (~> 1.16) treetop (~> 1.4.8) + metaclass (0.0.1) mime-types (1.19) + mocha (0.12.4) + metaclass (~> 0.0.1) multi_json (1.3.6) polyglot (0.3.3) rack (1.4.1) @@ -148,7 +151,7 @@ GEM ruby-debug-base (~> 0.10.4.0) ruby-debug-base (0.10.4) linecache (>= 0.3) - ruby-srp (0.0.2) + ruby-srp (0.1.0) sass (3.2.1) sass-rails (3.2.5) railties (~> 3.2.0) @@ -186,6 +189,7 @@ DEPENDENCIES leap_web_core! leap_web_help! leap_web_users! + mocha rails (= 3.2.8) ruby-debug sass-rails (~> 3.2.5) diff --git a/test/test_helper.rb b/test/test_helper.rb index 8298517..f7d48ec 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -2,6 +2,8 @@ ENV["RAILS_ENV"] = "test" require File.expand_path('../../config/environment', __FILE__) require 'rails/test_help' +require 'mocha' + class ActiveSupport::TestCase # Add more helper methods to be used by all tests here... end -- cgit v1.2.3 From 118d9ab5c9f4d7a82b7cf24774ef12d3c221f8ef Mon Sep 17 00:00:00 2001 From: Azul Date: Fri, 5 Oct 2012 13:59:39 +0200 Subject: moving to ruby_srp 0.1.0, works with python srp --- Gemfile.lock | 2 +- users/app/controllers/sessions_controller.rb | 6 ++++-- users/app/models/user.rb | 10 ++++++++-- users/leap_web_users.gemspec | 2 +- users/test/integration/api/python/flow_with_srp.py | 2 +- users/test/integration/api/python/signup_and_login.py | 10 +++------- 6 files changed, 18 insertions(+), 14 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 4f2ee3b..3f30e62 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -34,7 +34,7 @@ PATH jquery-rails leap_web_core (~> 0.0.1) rails (~> 3.2.8) - ruby-srp + ruby-srp (~> 0.1.0) simple_form GEM diff --git a/users/app/controllers/sessions_controller.rb b/users/app/controllers/sessions_controller.rb index 7852e5c..b8043f5 100644 --- a/users/app/controllers/sessions_controller.rb +++ b/users/app/controllers/sessions_controller.rb @@ -15,11 +15,13 @@ class SessionsController < ApplicationController end def update + # TODO: validate the id belongs to the session @user = User.find_by_param(params[:id]) - @server_auth = @user.authenticate!(params[:client_auth].hex, session.delete(:handshake)) + @srp_session = session.delete(:handshake) + @server_auth = @srp_session.authenticate!(params[:client_auth].hex) session[:user_id] = @user.id User.current = @user #? - render :json => {:M2 => @server_auth} + render :json => {:M2 => "%064x" % @server_auth} rescue WRONG_PASSWORD session[:handshake] = nil render :json => {:errors => {"password" => ["wrong password"]}} diff --git a/users/app/models/user.rb b/users/app/models/user.rb index 95ee810..a6aab84 100644 --- a/users/app/models/user.rb +++ b/users/app/models/user.rb @@ -1,7 +1,5 @@ class User < CouchRest::Model::Base - include SRP::Authentication - property :login, String, :accessible => true property :email, String, :accessible => true property :password_verifier, String, :accessible => true @@ -38,6 +36,10 @@ class User < CouchRest::Model::Base super(options.merge(:only => ['login', 'password_salt'])) end + def initialize_auth(aa) + return SRP::Session.new(self, aa) + end + def salt password_salt.hex end @@ -46,6 +48,10 @@ class User < CouchRest::Model::Base password_verifier.hex end + def username + login + end + def self.current Thread.current[:user] end diff --git a/users/leap_web_users.gemspec b/users/leap_web_users.gemspec index cebb632..2bbb0b8 100644 --- a/users/leap_web_users.gemspec +++ b/users/leap_web_users.gemspec @@ -20,7 +20,7 @@ Gem::Specification.new do |s| s.add_dependency "rails", "~> 3.2.8" s.add_dependency "leap_web_core", "~> 0.0.1" s.add_dependency "couchrest_session_store", "~> 0.0.1" - s.add_dependency "ruby-srp" + s.add_dependency "ruby-srp", "~> 0.1.0" LeapWebCore::Dependencies.add_ui_gems_to_spec(s) diff --git a/users/test/integration/api/python/flow_with_srp.py b/users/test/integration/api/python/flow_with_srp.py index 08ac94a..ea630f2 100755 --- a/users/test/integration/api/python/flow_with_srp.py +++ b/users/test/integration/api/python/flow_with_srp.py @@ -52,7 +52,7 @@ user = print_and_parse(signup(session)) # SRP signup would happen here and calculate M hex auth = print_and_parse(authenticate(session, user['login'])) -usr.verify_session( auth ) +usr.verify_session( binascii.unhexlify(auth["M2"]) ) # At this point the authentication process is complete. assert usr.authenticated() diff --git a/users/test/integration/api/python/signup_and_login.py b/users/test/integration/api/python/signup_and_login.py index 2d79688..ac611d7 100755 --- a/users/test/integration/api/python/signup_and_login.py +++ b/users/test/integration/api/python/signup_and_login.py @@ -20,14 +20,13 @@ def print_and_parse(response): print response.request.method + ': ' + response.url print " " + json.dumps(response.request.data) print " -> " + response.text - print " () " + json.dumps(requests.utils.dict_from_cookiejar(response.cookies)) return json.loads(response.text) def signup(session): user_params = { 'user[login]': id_generator(), 'user[password_verifier]': '12345', - 'user[password_salt]': '54321' + 'user[password_salt]': 'AB54321' } return session.post(server + '/users.json', data = user_params) @@ -36,11 +35,8 @@ def authenticate(session, login): 'login': login, 'A': '12345', } - init = session.post(server + '/sessions', data = params) - cookies = requests.utils.dict_from_cookiejar(init.cookies) - init = session.post(server + '/sessions', data = params, cookies = cookies) - print "(%) " + json.dumps(cookies) - return session.put(server + '/sessions/' + login, data = {'client_auth': '123'}, cookies = cookies) + init = print_and_parse(session.post(server + '/sessions', data = params)) + return session.put(server + '/sessions/' + login, data = {'client_auth': '123'}) session = requests.session() user = print_and_parse(signup(session)) -- cgit v1.2.3 From 328f5a2983b54da9f4b3663cc2a129027110e922 Mon Sep 17 00:00:00 2001 From: Azul Date: Fri, 5 Oct 2012 14:12:55 +0200 Subject: adjusting git repo to leap_web from leap_web_demo --- config/deploy.rb.example | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/config/deploy.rb.example b/config/deploy.rb.example index 552c820..9e54c22 100644 --- a/config/deploy.rb.example +++ b/config/deploy.rb.example @@ -1,10 +1,10 @@ require "bundler/capistrano" set :application, "webapp" -set :repository, "git://leap.se/leap_web_demo" set :scm, :git -# Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none` +set :repository, "git://leap.se/leap_web" +set :branch, "master" set :deploy_via, :remote_cache set :deploy_to, '/home/webapp' @@ -14,8 +14,10 @@ set :normalize_asset_timestamps, false set :user, "webapp" -role :web, "YOUR SERVER GOES HERE" # Your HTTP server, Apache/etc -role :app, "YOUR SERVER GOES HERE" # This may be the same as your `Web` server +role :web, "YOUR SERVER" # Your HTTP server, Apache/etc +role :app, "YOUR SERVER" # This may be the same as your `Web` server + +# We're not using this for now... # role :db, "your primary db-server here", :primary => true # This is where Rails migrations will run # role :db, "your slave db-server here" -- cgit v1.2.3 From 9621b9013bbeb7ae7111cec081db6ea695755cde Mon Sep 17 00:00:00 2001 From: Azul Date: Fri, 5 Oct 2012 14:20:33 +0200 Subject: removing leap_web_help for version 0.1.0 --- Gemfile | 2 +- Gemfile.lock | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/Gemfile b/Gemfile index 0bdea00..f2803bc 100644 --- a/Gemfile +++ b/Gemfile @@ -32,7 +32,7 @@ gem 'simple_form' gem 'leap_web_core', :path => 'core' gem 'leap_web_users', :path => 'users' gem 'leap_web_certs', :path => 'certs' -gem 'leap_web_help', :path => 'help' +# gem 'leap_web_help', :path => 'help' gem 'couchrest_session_store' diff --git a/Gemfile.lock b/Gemfile.lock index 3f30e62..589b702 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -13,17 +13,6 @@ PATH couchrest_model (~> 2.0.0.beta2) rails (~> 3.2.8) -PATH - remote: help - specs: - leap_web_help (0.0.1) - bootstrap-sass (~> 2.0.4) - haml (~> 3.1.7) - jquery-rails - leap_web_core (~> 0.0.1) - rails (~> 3.2.8) - simple_form - PATH remote: users specs: @@ -187,7 +176,6 @@ DEPENDENCIES json leap_web_certs! leap_web_core! - leap_web_help! leap_web_users! mocha rails (= 3.2.8) -- cgit v1.2.3 From 76e4a13c3d2cc16c552d2205c8659be686f3718c Mon Sep 17 00:00:00 2001 From: Azul Date: Fri, 5 Oct 2012 14:24:40 +0200 Subject: enable therubyracer so we have a js runtime --- Gemfile | 2 +- Gemfile.lock | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index f2803bc..2aedae1 100644 --- a/Gemfile +++ b/Gemfile @@ -16,7 +16,7 @@ group :assets do gem 'coffee-rails', '~> 3.2.2' # See https://github.com/sstephenson/execjs#readme for more supported runtimes - # gem 'therubyracer', :platforms => :ruby + gem 'therubyracer', :platforms => :ruby gem 'uglifier', '>= 1.2.7' end diff --git a/Gemfile.lock b/Gemfile.lock index 589b702..636ce1b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -95,6 +95,7 @@ GEM railties (>= 3.1.0, < 5.0) thor (~> 0.14) json (1.7.5) + libv8 (3.3.10.4) linecache (0.46) rbx-require-relative (> 0.0.4) mail (2.4.4) @@ -153,6 +154,8 @@ GEM hike (~> 1.2) rack (~> 1.0) tilt (~> 1.1, != 1.3.0) + therubyracer (0.10.2) + libv8 (~> 3.3.10) thor (0.16.0) tilt (1.3.3) treetop (1.4.10) @@ -182,4 +185,5 @@ DEPENDENCIES ruby-debug sass-rails (~> 3.2.5) simple_form + therubyracer uglifier (>= 1.2.7) -- cgit v1.2.3 From c2d5a80b576ffc5f9ff0807c9a52fec8b4f34123 Mon Sep 17 00:00:00 2001 From: Azul Date: Fri, 5 Oct 2012 16:47:19 +0200 Subject: ruby-srp 0.1.1 has to_json method - simplifies controller --- Gemfile.lock | 4 ++-- users/app/controllers/sessions_controller.rb | 6 +++--- users/leap_web_users.gemspec | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 636ce1b..e9994f9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -23,7 +23,7 @@ PATH jquery-rails leap_web_core (~> 0.0.1) rails (~> 3.2.8) - ruby-srp (~> 0.1.0) + ruby-srp (~> 0.1.1) simple_form GEM @@ -141,7 +141,7 @@ GEM ruby-debug-base (~> 0.10.4.0) ruby-debug-base (0.10.4) linecache (>= 0.3) - ruby-srp (0.1.0) + ruby-srp (0.1.1) sass (3.2.1) sass-rails (3.2.5) railties (~> 3.2.0) diff --git a/users/app/controllers/sessions_controller.rb b/users/app/controllers/sessions_controller.rb index b8043f5..284c0e2 100644 --- a/users/app/controllers/sessions_controller.rb +++ b/users/app/controllers/sessions_controller.rb @@ -9,7 +9,7 @@ class SessionsController < ApplicationController @user = User.find_by_param(params[:login]) session[:handshake] = @user.initialize_auth(params['A'].hex) User.current = @user #? - render :json => { :B => session[:handshake].bb.to_s(16), :salt => @user.password_salt } + render :json => session[:handshake] rescue RECORD_NOT_FOUND render :json => {:errors => {:login => ["unknown user"]}} end @@ -18,10 +18,10 @@ class SessionsController < ApplicationController # TODO: validate the id belongs to the session @user = User.find_by_param(params[:id]) @srp_session = session.delete(:handshake) - @server_auth = @srp_session.authenticate!(params[:client_auth].hex) + @srp_session.authenticate!(params[:client_auth].hex) session[:user_id] = @user.id User.current = @user #? - render :json => {:M2 => "%064x" % @server_auth} + render :json => @srp_session rescue WRONG_PASSWORD session[:handshake] = nil render :json => {:errors => {"password" => ["wrong password"]}} diff --git a/users/leap_web_users.gemspec b/users/leap_web_users.gemspec index 2bbb0b8..90aa4df 100644 --- a/users/leap_web_users.gemspec +++ b/users/leap_web_users.gemspec @@ -20,7 +20,7 @@ Gem::Specification.new do |s| s.add_dependency "rails", "~> 3.2.8" s.add_dependency "leap_web_core", "~> 0.0.1" s.add_dependency "couchrest_session_store", "~> 0.0.1" - s.add_dependency "ruby-srp", "~> 0.1.0" + s.add_dependency "ruby-srp", "~> 0.1.1" LeapWebCore::Dependencies.add_ui_gems_to_spec(s) -- cgit v1.2.3 From e264e7354788c0b7eff7bb296eed9c59304cc8b8 Mon Sep 17 00:00:00 2001 From: Azul Date: Fri, 5 Oct 2012 16:48:27 +0200 Subject: using safe_unhexlify to workaround 0 padding also changed the debug output so it helps creating tests for ruby-srp --- users/test/integration/api/python/flow_with_srp.py | 29 ++++++++++++++++++---- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/users/test/integration/api/python/flow_with_srp.py b/users/test/integration/api/python/flow_with_srp.py index ea630f2..3bbbc71 100755 --- a/users/test/integration/api/python/flow_with_srp.py +++ b/users/test/integration/api/python/flow_with_srp.py @@ -6,9 +6,11 @@ import requests import json import string import random -import srp +import srp._pysrp as srp import binascii +safe_unhexlify = lambda x: binascii.unhexlify(x) if (len(x) % 2 == 0) else binascii.unhexlify('0'+x) + # let's have some random name def id_generator(size=6, chars=string.ascii_uppercase + string.digits): return ''.join(random.choice(chars) for x in range(size)) @@ -18,15 +20,20 @@ server = 'http://localhost:3000' login = id_generator() password = id_generator() + id_generator() +print ' username = "' + login + '"' +print ' password = "' + password + '"' + # log the server communication def print_and_parse(response): - print response.request.method + ': ' + response.url - print " " + json.dumps(response.request.data) + # print response.request.method + ': ' + response.url + # print " " + json.dumps(response.request.data) print " -> " + response.text return json.loads(response.text) def signup(session): salt, vkey = srp.create_salted_verification_key( login, password, srp.SHA256, srp.NG_1024 ) + print ' salt = "' + binascii.hexlify(salt) + '"' + print ' v = "' + binascii.hexlify(vkey) + '"' user_params = { 'user[login]': login, 'user[password_verifier]': binascii.hexlify(vkey), @@ -38,12 +45,16 @@ usr = srp.User( login, password, srp.SHA256, srp.NG_1024 ) def authenticate(session, login): uname, A = usr.start_authentication() + print ' aa = "' + binascii.hexlify(A) + '"' params = { 'login': uname, 'A': binascii.hexlify(A) } init = print_and_parse(session.post(server + '/sessions', data = params)) - M = usr.process_challenge( binascii.unhexlify(init['salt']), binascii.unhexlify(init['B']) ) + # print ' b = "' + init['b'] + '"' + print ' bb = "' + init['B'] + '"' + M = usr.process_challenge( safe_unhexlify(init['salt']), safe_unhexlify(init['B']) ) + print ' m = "' + binascii.hexlify(M) + '"' return session.put(server + '/sessions/' + login, data = {'client_auth': binascii.hexlify(M)}) @@ -52,7 +63,15 @@ user = print_and_parse(signup(session)) # SRP signup would happen here and calculate M hex auth = print_and_parse(authenticate(session, user['login'])) -usr.verify_session( binascii.unhexlify(auth["M2"]) ) +if ( 'errors' in auth ): + print ' u = "%x"' % usr.u + print ' x = "%x"' % usr.x + print ' v = "%x"' % usr.v + print ' S = "%x"' % usr.S + print ' K = "' + binascii.hexlify(usr.K) + '"' + print ' M = "%x"' % usr.M +else: + usr.verify_session( safe_unhexlify(auth["M2"]) ) # At this point the authentication process is complete. assert usr.authenticated() -- cgit v1.2.3 From 5267a127ee967b1d89df6033cc9869715e960886 Mon Sep 17 00:00:00 2001 From: Azul Date: Sat, 6 Oct 2012 19:39:48 +0200 Subject: comment out debugging lines --- users/test/integration/api/python/flow_with_srp.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/users/test/integration/api/python/flow_with_srp.py b/users/test/integration/api/python/flow_with_srp.py index 3bbbc71..0a11aec 100755 --- a/users/test/integration/api/python/flow_with_srp.py +++ b/users/test/integration/api/python/flow_with_srp.py @@ -16,24 +16,24 @@ def id_generator(size=6, chars=string.ascii_uppercase + string.digits): return ''.join(random.choice(chars) for x in range(size)) # using globals for a start -server = 'http://localhost:3000' +server = 'http://springbok/1/' login = id_generator() password = id_generator() + id_generator() -print ' username = "' + login + '"' -print ' password = "' + password + '"' +# print ' username = "' + login + '"' +# print ' password = "' + password + '"' # log the server communication def print_and_parse(response): # print response.request.method + ': ' + response.url # print " " + json.dumps(response.request.data) - print " -> " + response.text + # print " -> " + response.text return json.loads(response.text) def signup(session): salt, vkey = srp.create_salted_verification_key( login, password, srp.SHA256, srp.NG_1024 ) - print ' salt = "' + binascii.hexlify(salt) + '"' - print ' v = "' + binascii.hexlify(vkey) + '"' + # print ' salt = "' + binascii.hexlify(salt) + '"' + # print ' v = "' + binascii.hexlify(vkey) + '"' user_params = { 'user[login]': login, 'user[password_verifier]': binascii.hexlify(vkey), @@ -45,16 +45,16 @@ usr = srp.User( login, password, srp.SHA256, srp.NG_1024 ) def authenticate(session, login): uname, A = usr.start_authentication() - print ' aa = "' + binascii.hexlify(A) + '"' + # print ' aa = "' + binascii.hexlify(A) + '"' params = { 'login': uname, 'A': binascii.hexlify(A) } init = print_and_parse(session.post(server + '/sessions', data = params)) # print ' b = "' + init['b'] + '"' - print ' bb = "' + init['B'] + '"' + # print ' bb = "' + init['B'] + '"' M = usr.process_challenge( safe_unhexlify(init['salt']), safe_unhexlify(init['B']) ) - print ' m = "' + binascii.hexlify(M) + '"' + # print ' m = "' + binascii.hexlify(M) + '"' return session.put(server + '/sessions/' + login, data = {'client_auth': binascii.hexlify(M)}) -- cgit v1.2.3 From 439e27ef2792a03e5e50f8b9c607fca512cb1452 Mon Sep 17 00:00:00 2001 From: Azul Date: Sat, 6 Oct 2012 19:42:29 +0200 Subject: Created deploy branch with some springbok specifics --- config/cert | 56 ++++++++++++++++++++++++++++++++++++++++++ config/deploy.rb | 37 ++++++++++++++++++++++++++++ public/config/eip-service.json | 14 +++++++++++ 3 files changed, 107 insertions(+) create mode 100644 config/cert create mode 100644 config/deploy.rb create mode 100644 public/config/eip-service.json diff --git a/config/cert b/config/cert new file mode 100644 index 0000000..d8271d6 --- /dev/null +++ b/config/cert @@ -0,0 +1,56 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIFfQIBAAKCATEArnxTeU82frha6g4AchpzAA92ry0PD/FZVK5UiMsbwHfAl/XJ +udVH0+51DSC5X4p9esftRQNCaJY/4zESe15Sna7aR+FyUoE+LcPpzMpCYH61TUzj +YLQLzfay6cw1arndyryELgehWh2KiDl/SOHQ8c914DQC87f3tvmWI7F0zb9KWE9c +XepnHyr2QJDzMiLuL6UC7ChJYgqYAKDfElQHfCaQCteOUK8hc+uTReTXpAtD3S3X +rC3KeJR+jOynTkJ5tLb/VwS2rmhZOWktBhAJflgKLXSc6Cz2uJBeARNLvTBAj66q +zfvMIlBOBRCWSQfvzNlhZvqX2YKdal8egC9CAuBhUcIfExunVQnU+xbRx7W9Gg3i +8zqMwDMRf9x7a4GBGmm7n+YSCLy3f8fejw2ZAQIDAQABAoIBMAt3bSQ8Nz3AT20x +NV307K4fgLJbY4bYhVaCIa5fAU22hkgWOscFGUl3/WY69SOuXgz7ECsoXy1bWQsi +TETM5TX/6dADz0z/uaktRkiTLtCDkyuSIXaB7oKpszFCc8I167mT25s2HNLnZ8AI +XfEusdn/mGSpq7Co3CprStlr+IaVixpe622FPCNOt0x1RMjR2yrzYkvzC9DZperp +mWLj7XF3X8FS3gd0Whhl4bS5yZuC8cd7Gq4bx8mGPIwqQzwOXb1mJXt5RPv+zU6X +J4cSX0GIUBNb1yVsUDouqo1q+saPgBSjhS4xr6sb38XALvzvgVvY/M7YGpSr0Vyv +ErAwxaGpdk+RppAjcxWBXLuMcIgtU+gSoEogdYzJkoJdwOfcyIllyqlaamcv4T84 +gMWRFncCgZkAzUBt1t3GpuyGVPkD2evtQrBWwg09kx1PAyoNwLDOiarmzUr/euvC +m+FZ324xLCYXYBDXCwa3B1YsX9d54JuzXzClr+t0xoz5lZzDLgwEEdK9bttGBL0w +4W+BfbvmH3Q1dfyQMc/+Y2/LAhvwwkp1F66KsF1xcz6q3FCDN0BGurhIH3rsS1r8 +ReIl7KW/TwKDbkPxe+3yCI8CgZkA2aCJUmCtkvaCIX0Udr6g3iyu6lQYbq532/FW +MNh+KJA3NqXOvGZd9T1DfjlxOqsfGD4H92ekUdy/GdX9SAH4A0RW24gUazNY9N1d +4Zr+GyGz96AetksM5svDVqVed9qzxqPX7/i16F3HmIJKS8lVXLj3TDBJAQTJNhSN +tdkq8OAxwswquvXC0U5WXsZVp6z1CFawjUiZbW8CgZkAvP9V5SOkN7LWY0pFJJad +i+oKiXdduqijR/uiXEuyc4v+KQ2lQM/1DEqu0hGKj+enYJtBGPMe+E9+XuZwYMWe +nsmR1/LNPcM0U3LdOvpviOXv7zNUPyri5sMhjuDFnzMHw1REhsnKqk+XtKJ7yLx9 +I8hiBtKUlBUhietNWEQEnQzxxKMRELaAU+1RFJ7vEVb0JUXFCGPrmbsCgZkAyZrW +m+HD6mlClBNzaa2fCTMLtzjAiYhGsRIZbpagCKPRAmcH5bBPSmi+pahBJMBxxdtx +NdhleRCuWBjM0nBAeYZNkIG3qLegqPaJif4zeJ74QWWsDePox8Xr59C6ev23nUUb +PcuBeQmnZbkNarfQxFz1ezcf6jmszNStktDj3tFSR8srqpcRKyUPDi1eHD81n8vv +MnMW7zECgZkAwOOGuqJHyUlsVuErs5c/rLyY0NAqrGoiBp3o5fGnuINzrZSO3zvY +h1jew1zPRQaQvVZ88p0xacYJeRckbKxcIPGweVqpT9ZJAEGg4J6FFcH+fOIra/7R +TgLJs443xbTO2GM/25Anc/Pj4bnL2GWqDTurTxANAtmKenuWHTcz47Pm5WNhZP/l +WWxi9MBzz/80IediLG6qrlU= +-----END RSA PRIVATE KEY----- +-----BEGIN CERTIFICATE----- +MIIEAzCCAlWgAwIBAgIEUFDq+zANBgkqhkiG9w0BAQsFADAPMQ0wCwYDVQQDEwRU +RVNUMB4XDTEyMDkxMjIwMDUxNVoXDTEzMDkxMjIwMDUxNVowOjEPMA0GA1UEChMG +eHgub3JnMScwJQYDVQQDEx5xdXVnaGVjYWUxYmFpNW9oU2hhaDdwaGlkYWVxdXUw +ggFSMA0GCSqGSIb3DQEBAQUAA4IBPwAwggE6AoIBMQCufFN5TzZ+uFrqDgByGnMA +D3avLQ8P8VlUrlSIyxvAd8CX9cm51UfT7nUNILlfin16x+1FA0Jolj/jMRJ7XlKd +rtpH4XJSgT4tw+nMykJgfrVNTONgtAvN9rLpzDVqud3KvIQuB6FaHYqIOX9I4dDx +z3XgNALzt/e2+ZYjsXTNv0pYT1xd6mcfKvZAkPMyIu4vpQLsKEliCpgAoN8SVAd8 +JpAK145QryFz65NF5NekC0PdLdesLcp4lH6M7KdOQnm0tv9XBLauaFk5aS0GEAl+ +WAotdJzoLPa4kF4BE0u9MECPrqrN+8wiUE4FEJZJB+/M2WFm+pfZgp1qXx6AL0IC +4GFRwh8TG6dVCdT7FtHHtb0aDeLzOozAMxF/3HtrgYEaabuf5hIIvLd/x96PDZkB +AgMBAAGjdjB0MAwGA1UdEwEB/wQCMAAwEwYDVR0lBAwwCgYIKwYBBQUHAwIwDwYD +VR0PAQH/BAUDAwegADAdBgNVHQ4EFgQUU9Uc5ljBzINN4S6oj80rn+mJTLEwHwYD +VR0jBBgwFoAU/z1/F2dGNow5Kac+jx7NtyIM0BAwDQYJKoZIhvcNAQELBQADggGX +AMCxt8hxLtQlSgfY4MHxlNOE/hepArRQ1KoqW8TZ3DaDZacYuHK6TkarBuVshrAa +TkPLvTbMIeZ/DGC6snrnyspVPVun8X1NcdkqOiSWCt5Y1Li4sClXT+XUFaKES4NS +SN8LDKX0J+q2n4nRuotaOdq12qs8ZQkMsSI5ueR0soHY1XuSJCK75PFxLJKq3ydm +c/YgEkmZwOBR7ypXnT0Tcele120v+qhCRSeoZIEwtm27Dp8+My82fpx7xMKYAHn8 +FhMVy/bQZgl9QAt7HNK7QoISBmkQFYey0Qq7aotloMhlIyCSN569RcKHdPhZCsCE +M6lQJXeXaD8sR9wE2nhxKnTJToebjr9mnlgavSsotnzjnm9fMt5CPGOUtG/qGNfB +VhdODq6KZ9Tk8MnYenC7SfiJ/cR0N/Yw5R8Yaa1K5qO+dyIwfXTkTr/Kg97N72jE +GB/GF1HkbZW7VnGWjgNAozftTRCsFoCTwv/ICcW+vYEDVh+hzWjJ/KLl7PruKDPS +rBlWWdV02QtVKpKYKvynML9kyEX6HeM= +-----END CERTIFICATE----- diff --git a/config/deploy.rb b/config/deploy.rb new file mode 100644 index 0000000..9dc058a --- /dev/null +++ b/config/deploy.rb @@ -0,0 +1,37 @@ +require "bundler/capistrano" + +set :application, "webapp" + +set :scm, :git +set :repository, "git://leap.se/leap_web" +set :branch, "deploy" + +set :deploy_via, :remote_cache +set :deploy_to, '/home/webapp' +set :use_sudo, false + +set :normalize_asset_timestamps, false + +set :user, "webapp" + +set :git_enable_submodules, 1 # we're using an srp js submodule for now + +role :web, "94.103.43.3" # Your HTTP server, Apache/etc +role :app, "94.103.43.3" # This may be the same as your `Web` server +# role :db, "your primary db-server here", :primary => true # This is where Rails migrations will run +# role :db, "your slave db-server here" + +# if you want to clean up old releases on each deploy uncomment this: +# after "deploy:restart", "deploy:cleanup" + +# if you're still using the script/reaper helper you will need +# these http://github.com/rails/irs_process_scripts + +# If you are using Passenger mod_rails uncomment this: +# namespace :deploy do +# task :start do ; end +# task :stop do ; end +# task :restart, :roles => :app, :except => { :no_release => true } do +# run "#{try_sudo} touch #{File.join(current_path,'tmp','restart.txt')}" +# end +# end diff --git a/public/config/eip-service.json b/public/config/eip-service.json new file mode 100644 index 0000000..29959d7 --- /dev/null +++ b/public/config/eip-service.json @@ -0,0 +1,14 @@ +{ + "serial": 1, + "version": "0.1.0", + "capabilities": { + "transport": ["openvpn"], + "ports": ["80","53", "443", "1194"], + "protocols": ["udp"], + "static_ips": false, + "adblock": false + }, + "gateways": [ + {"country_code": "tr", "name": "turkey", "label": {"en":"Ankara, Turkey"}, "capabilities": {}, "hosts": ["94.103.43.4"]} + ] +} -- cgit v1.2.3 From 6ae43acde6cd43c6383cd47e00f978ed339ea991 Mon Sep 17 00:00:00 2001 From: Azul Date: Sun, 7 Oct 2012 15:06:16 +0200 Subject: added basic documentation --- CUSTOM.md | 11 +++++++ DEPLOY.md | 30 +++++++++++++++++++ DEVELOP.md | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Development.md | 90 -------------------------------------------------------- INSTALL.md | 34 +++++++++++---------- Readme.md | 22 +++++++++++++- 6 files changed, 174 insertions(+), 106 deletions(-) create mode 100644 CUSTOM.md create mode 100644 DEPLOY.md create mode 100644 DEVELOP.md delete mode 100644 Development.md diff --git a/CUSTOM.md b/CUSTOM.md new file mode 100644 index 0000000..c566c84 --- /dev/null +++ b/CUSTOM.md @@ -0,0 +1,11 @@ +# Customization # + +Leap Web is based on Engines. All things in '''app''' will overwrite the default behaviour. You can either create a new rails app and include the leap_web gem or clone the leap web repository and add your customizations to the '''app''' directory. + +## CSS Customization ## + +We use scss. It's a superset of css3. Add your customizations to '''app/assets/stylesheets'''. + +## Disabling an Engine ## + +If you have no use for one of the engines you can remove it from the Gemfile. Not however that your app might still need to provide some functionality for the other engines to work. For example the users engine provides '''current_user''' and other methods. diff --git a/DEPLOY.md b/DEPLOY.md new file mode 100644 index 0000000..49d9fed --- /dev/null +++ b/DEPLOY.md @@ -0,0 +1,30 @@ +# Deployment # + +These instructions are targeting a Debian GNU/Linux system. You might need to change the commands to match your own needs. + +## Server Preperation ## + +### Dependencies ## + +The following packages need to be installed: + +* git +* ruby1.8 +* rubygems1.8 +* couchdb (if you want to use a local couch) + +### Setup Capistrano ### + +We use capistrano to deploy. +We ship an example deploy.rb in config/deploy.rb.example. Edit it to match your needs. + +run '''cap deploy:setup''' to create the directory structure. + +run '''cap deploy''' to deploy to the server. + +## Customized Files ## + +Please make sure your deploy includes the following files: + +* config/cert +* public/config/provider.json diff --git a/DEVELOP.md b/DEVELOP.md new file mode 100644 index 0000000..6a65285 --- /dev/null +++ b/DEVELOP.md @@ -0,0 +1,93 @@ +# Development # + + +## Engines ## + +Leap Web consists of different Engines. They live in their own subdirectory and are included through bundler via their path. This way changes to the engines immediately affect the server as if they were in the main '''app''' directory. + +Currently Leap Web consists of 4 Engines: + +* [core](https://github.com/leapcode/leap_web/blob/master/core) - ships some dependencies that are used accross all engines. This might be removed at some point. +* [users](https://github.com/leapcode/leap_web/blob/master/users) - user registration and authorization +* [certs](https://github.com/leapcode/leap_web/blob/master/certs) - Cert distribution for the EIP client +* [help](https://github.com/leapcode/leap_web/blob/master/help)- Help ticket management + +## Creating a new engine ## + +### Rails plugin new ### + +Create the basic tree structure for an engine using + +rails plugin new ENGINE_NAME -O --full + + +'''-O''' will skip active record and not add a dev dependency on sqlite. +'''-full''' will create a directory structure with config/routes and app and a basic engine file. + +See http://guides.rubyonrails.org/engines.html for more general info about engines. + +### Require Leap Web Core ### + +You need to add leap_web_core to your .gemspec: + + Gem::Specification.new do |s| + ... + s.add_dependency "rails" ... + s.add_dependency "leap_web_core", "~> 0.0.1" + end + + +You also need to require it before you define your engine in lib/my_engine/engine.rb: + +require "leap_web_core" + +module MyEngine + class Engine < ::Rails::Engine + ... + end +end + + +### Require UI Gems ### + +Leap Web Core provides a basic set of UI gems that should be used accross the engines. These include haml, sass, coffeescript, uglifier, bootstrap-sass, jquery and simple_form. + +Do you want to add views, javascript and the like to your engine? Then you should use the common gems. In order to do so you need to add them to your gemspec: + + + require "my_engine/version" + require "leap_web_core/dependencies" + + ... + + Gem::Specification.new do |s| + ... + s.add_dependency "rails" ... + s.add_dependency "leap_web_core", "~> 0.0.1" + + LeapWebCore::Dependencies.add_ui_gems_to_spec(s) + end + + +You also need to require them before you define your engine in lib/my_engine/engine.rb: + +require "leap_web_core" +LeapWebCore::Dependencies.require_ui_gems + +module MyEngine + class Engine < ::Rails::Engine + ... + end +end + + + +## Creating Models ## + +You can use the normal rails generators to create models. Since you required the leap_web_core gem you will be using CouchRest::Model. So your models inherit from CouchRest::Model::Base. +http://www.couchrest.info/model/definition.html has some good first steps for setting up the model. +CouchRest Model behaved strangely when using a model without a design block. So make sure to define an initial view: http://www.couchrest.info/model/view_objects.html . + +From that point on you should be able to use the standart persistance and querying methods such as create, find, destroy and so on. + + diff --git a/Development.md b/Development.md deleted file mode 100644 index 53942bb..0000000 --- a/Development.md +++ /dev/null @@ -1,90 +0,0 @@ -Leap Web Core -============ - -This gem provides the generic helpers shared across the different engines that make up leap_web. - - -Creating a new engine -=================== - -Rails plugin new ----------------- - -Create the basic tree structure for an engine using - -rails plugin new ENGINE_NAME -O --full - - -'''-O''' will skip active record and not add a dev dependency on sqlite. -'''-full''' will create a directory structure with config/routes and app and a basic engine file. - -See http://guides.rubyonrails.org/engines.html for more general info about engines. - -Require Leap Web Core ---------------------- - -You need to add leap_web_core to your .gemspec: - - Gem::Specification.new do |s| - ... - s.add_dependency "rails" ... - s.add_dependency "leap_web_core", "~> 0.0.1" - end - - -You also need to require it before you define your engine in lib/my_engine/engine.rb: - -require "leap_web_core" - -module MyEngine - class Engine < ::Rails::Engine - ... - end -end - - -Require UI Gems ---------------- - -Leap Web Core provides a basic set of UI gems that should be used accross the engines. These include haml, sass, coffeescript, uglifier, bootstrap-sass, jquery and simple_form. - -Do you want to add views, javascript and the like to your engine? Then you should use the common gems. In order to do so you need to add them to your gemspec: - - - require "my_engine/version" - require "leap_web_core/dependencies" - - ... - - Gem::Specification.new do |s| - ... - s.add_dependency "rails" ... - s.add_dependency "leap_web_core", "~> 0.0.1" - - LeapWebCore::Dependencies.add_ui_gems_to_spec(s) - end - - -You also need to require them before you define your engine in lib/my_engine/engine.rb: - -require "leap_web_core" -LeapWebCore::Dependencies.require_ui_gems - -module MyEngine - class Engine < ::Rails::Engine - ... - end -end - - - -Creating Models -=============== - -You can use the normal rails generators to create models. Since you required the leap_web_core gem you will be using CouchRest::Model. So your models inherit from CouchRest::Model::Base. -http://www.couchrest.info/model/definition.html has some good first steps for setting up the model. -CouchRest Model behaved strangely when using a model without a design block. So make sure to define an initial view: http://www.couchrest.info/model/view_objects.html . - -From that point on you should be able to use the standart persistance and querying methods such as create, find, destroy and so on. - - diff --git a/INSTALL.md b/INSTALL.md index ff7374e..976a9a4 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,31 +1,35 @@ -Installation -------------- +# Installation # +## Requirements ## -### Requirements ### +The webapp only depends on very basic ruby packages and installs the other requirements as gems through bundler. -This file documents installing the webapp demo on a debian system. For other systems you might have to use other commands / packages. +### Packages ### -The webapp only depends on very basic ruby packages and installs the other requirements as gems for now. We use git for version controll and capistrano to deploy. - -#### Packages #### - -The following packages need to be installed: +For now we are using ruby 1.8.7. The following packages need to be installed: * git * ruby1.8 * rubygems1.8 * couchdb -#### Gems #### +### Gems ### + +We install most gems we depend upon through [bundler](http://gembundler.com). However the bundler gem needs to be installed and the '''bundle''' command needs to be available to the user used for deploy. + +### Bundler ### + +Run '''bundle install''' to install all the required gems. + +## Setup ## -We install most gems we depend upon through bundler. However the bundler gem needs to be installed and the '''bundle''' command needs to be available to the user used for deploy. +### Cert Distribution ### -### Setup Capistrano ### +The Webapp can hand out certs for the EIP client. These certs are either picked from a pool in CouchDB or from a file. For now you can either run [Leap CA](http://github.com/leapcode/leap_ca) to fill the pool or you can put your certs file in config/cert. -run capify in the source tree and edit config/deploy.rb to match your needs. We ship an example in config/deploy.rb.example. +We also ship provider information through the webapp. For now please add your eip-service.json to the public/config directory. -run '''cap deploy:setup''' to create the directory structure. +## Running ## -run '''cap deploy''' to deploy to the server. +Run '''rails server''' or whatever rack server you prefer. diff --git a/Readme.md b/Readme.md index 3d81d2e..8b51b4d 100644 --- a/Readme.md +++ b/Readme.md @@ -1,4 +1,24 @@ # Leap Web # -Web application for LEAP. +Web application for LEAP. Currently Leap Web allows Leap providers to manage users, hand out certs for the EIP. + +## Functions ## + +### Supported ### + +* *User Management* - User Registration and Authentication +* *Cert Distribution* - Certs for the Encrypted Internet Proxy + +### Under Development ### + +* *Help Desk* - Managing Help Requests + + +## Documentation ## + +* [INSTALL](https://github.com/leapcode/leap_web/blob/master/INSTALL.md) for installation instructions +* [DEPLOY](https://github.com/leapcode/leap_web/blob/master/DEPLOY.md) for deployment +* [DEVELOP](https://github.com/leapcode/leap_web/blob/master/DEVELOP.md) for developer notes. +* [CUSTOM](https://github.com/leapcode/leap_web/blob/master/CUSTOM.md) to customize. + -- cgit v1.2.3 From 4abbb521c0a23f90a7790db20b281df3f062f4f9 Mon Sep 17 00:00:00 2001 From: Azul Date: Sun, 7 Oct 2012 15:06:16 +0200 Subject: added basic documentation --- CUSTOM.md | 11 +++++++ DEPLOY.md | 30 +++++++++++++++++++ DEVELOP.md | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Development.md | 90 -------------------------------------------------------- INSTALL.md | 34 +++++++++++---------- Readme.md | 22 +++++++++++++- 6 files changed, 174 insertions(+), 106 deletions(-) create mode 100644 CUSTOM.md create mode 100644 DEPLOY.md create mode 100644 DEVELOP.md delete mode 100644 Development.md diff --git a/CUSTOM.md b/CUSTOM.md new file mode 100644 index 0000000..c566c84 --- /dev/null +++ b/CUSTOM.md @@ -0,0 +1,11 @@ +# Customization # + +Leap Web is based on Engines. All things in '''app''' will overwrite the default behaviour. You can either create a new rails app and include the leap_web gem or clone the leap web repository and add your customizations to the '''app''' directory. + +## CSS Customization ## + +We use scss. It's a superset of css3. Add your customizations to '''app/assets/stylesheets'''. + +## Disabling an Engine ## + +If you have no use for one of the engines you can remove it from the Gemfile. Not however that your app might still need to provide some functionality for the other engines to work. For example the users engine provides '''current_user''' and other methods. diff --git a/DEPLOY.md b/DEPLOY.md new file mode 100644 index 0000000..49d9fed --- /dev/null +++ b/DEPLOY.md @@ -0,0 +1,30 @@ +# Deployment # + +These instructions are targeting a Debian GNU/Linux system. You might need to change the commands to match your own needs. + +## Server Preperation ## + +### Dependencies ## + +The following packages need to be installed: + +* git +* ruby1.8 +* rubygems1.8 +* couchdb (if you want to use a local couch) + +### Setup Capistrano ### + +We use capistrano to deploy. +We ship an example deploy.rb in config/deploy.rb.example. Edit it to match your needs. + +run '''cap deploy:setup''' to create the directory structure. + +run '''cap deploy''' to deploy to the server. + +## Customized Files ## + +Please make sure your deploy includes the following files: + +* config/cert +* public/config/provider.json diff --git a/DEVELOP.md b/DEVELOP.md new file mode 100644 index 0000000..6a65285 --- /dev/null +++ b/DEVELOP.md @@ -0,0 +1,93 @@ +# Development # + + +## Engines ## + +Leap Web consists of different Engines. They live in their own subdirectory and are included through bundler via their path. This way changes to the engines immediately affect the server as if they were in the main '''app''' directory. + +Currently Leap Web consists of 4 Engines: + +* [core](https://github.com/leapcode/leap_web/blob/master/core) - ships some dependencies that are used accross all engines. This might be removed at some point. +* [users](https://github.com/leapcode/leap_web/blob/master/users) - user registration and authorization +* [certs](https://github.com/leapcode/leap_web/blob/master/certs) - Cert distribution for the EIP client +* [help](https://github.com/leapcode/leap_web/blob/master/help)- Help ticket management + +## Creating a new engine ## + +### Rails plugin new ### + +Create the basic tree structure for an engine using + +rails plugin new ENGINE_NAME -O --full + + +'''-O''' will skip active record and not add a dev dependency on sqlite. +'''-full''' will create a directory structure with config/routes and app and a basic engine file. + +See http://guides.rubyonrails.org/engines.html for more general info about engines. + +### Require Leap Web Core ### + +You need to add leap_web_core to your .gemspec: + + Gem::Specification.new do |s| + ... + s.add_dependency "rails" ... + s.add_dependency "leap_web_core", "~> 0.0.1" + end + + +You also need to require it before you define your engine in lib/my_engine/engine.rb: + +require "leap_web_core" + +module MyEngine + class Engine < ::Rails::Engine + ... + end +end + + +### Require UI Gems ### + +Leap Web Core provides a basic set of UI gems that should be used accross the engines. These include haml, sass, coffeescript, uglifier, bootstrap-sass, jquery and simple_form. + +Do you want to add views, javascript and the like to your engine? Then you should use the common gems. In order to do so you need to add them to your gemspec: + + + require "my_engine/version" + require "leap_web_core/dependencies" + + ... + + Gem::Specification.new do |s| + ... + s.add_dependency "rails" ... + s.add_dependency "leap_web_core", "~> 0.0.1" + + LeapWebCore::Dependencies.add_ui_gems_to_spec(s) + end + + +You also need to require them before you define your engine in lib/my_engine/engine.rb: + +require "leap_web_core" +LeapWebCore::Dependencies.require_ui_gems + +module MyEngine + class Engine < ::Rails::Engine + ... + end +end + + + +## Creating Models ## + +You can use the normal rails generators to create models. Since you required the leap_web_core gem you will be using CouchRest::Model. So your models inherit from CouchRest::Model::Base. +http://www.couchrest.info/model/definition.html has some good first steps for setting up the model. +CouchRest Model behaved strangely when using a model without a design block. So make sure to define an initial view: http://www.couchrest.info/model/view_objects.html . + +From that point on you should be able to use the standart persistance and querying methods such as create, find, destroy and so on. + + diff --git a/Development.md b/Development.md deleted file mode 100644 index 53942bb..0000000 --- a/Development.md +++ /dev/null @@ -1,90 +0,0 @@ -Leap Web Core -============ - -This gem provides the generic helpers shared across the different engines that make up leap_web. - - -Creating a new engine -=================== - -Rails plugin new ----------------- - -Create the basic tree structure for an engine using - -rails plugin new ENGINE_NAME -O --full - - -'''-O''' will skip active record and not add a dev dependency on sqlite. -'''-full''' will create a directory structure with config/routes and app and a basic engine file. - -See http://guides.rubyonrails.org/engines.html for more general info about engines. - -Require Leap Web Core ---------------------- - -You need to add leap_web_core to your .gemspec: - - Gem::Specification.new do |s| - ... - s.add_dependency "rails" ... - s.add_dependency "leap_web_core", "~> 0.0.1" - end - - -You also need to require it before you define your engine in lib/my_engine/engine.rb: - -require "leap_web_core" - -module MyEngine - class Engine < ::Rails::Engine - ... - end -end - - -Require UI Gems ---------------- - -Leap Web Core provides a basic set of UI gems that should be used accross the engines. These include haml, sass, coffeescript, uglifier, bootstrap-sass, jquery and simple_form. - -Do you want to add views, javascript and the like to your engine? Then you should use the common gems. In order to do so you need to add them to your gemspec: - - - require "my_engine/version" - require "leap_web_core/dependencies" - - ... - - Gem::Specification.new do |s| - ... - s.add_dependency "rails" ... - s.add_dependency "leap_web_core", "~> 0.0.1" - - LeapWebCore::Dependencies.add_ui_gems_to_spec(s) - end - - -You also need to require them before you define your engine in lib/my_engine/engine.rb: - -require "leap_web_core" -LeapWebCore::Dependencies.require_ui_gems - -module MyEngine - class Engine < ::Rails::Engine - ... - end -end - - - -Creating Models -=============== - -You can use the normal rails generators to create models. Since you required the leap_web_core gem you will be using CouchRest::Model. So your models inherit from CouchRest::Model::Base. -http://www.couchrest.info/model/definition.html has some good first steps for setting up the model. -CouchRest Model behaved strangely when using a model without a design block. So make sure to define an initial view: http://www.couchrest.info/model/view_objects.html . - -From that point on you should be able to use the standart persistance and querying methods such as create, find, destroy and so on. - - diff --git a/INSTALL.md b/INSTALL.md index ff7374e..976a9a4 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,31 +1,35 @@ -Installation -------------- +# Installation # +## Requirements ## -### Requirements ### +The webapp only depends on very basic ruby packages and installs the other requirements as gems through bundler. -This file documents installing the webapp demo on a debian system. For other systems you might have to use other commands / packages. +### Packages ### -The webapp only depends on very basic ruby packages and installs the other requirements as gems for now. We use git for version controll and capistrano to deploy. - -#### Packages #### - -The following packages need to be installed: +For now we are using ruby 1.8.7. The following packages need to be installed: * git * ruby1.8 * rubygems1.8 * couchdb -#### Gems #### +### Gems ### + +We install most gems we depend upon through [bundler](http://gembundler.com). However the bundler gem needs to be installed and the '''bundle''' command needs to be available to the user used for deploy. + +### Bundler ### + +Run '''bundle install''' to install all the required gems. + +## Setup ## -We install most gems we depend upon through bundler. However the bundler gem needs to be installed and the '''bundle''' command needs to be available to the user used for deploy. +### Cert Distribution ### -### Setup Capistrano ### +The Webapp can hand out certs for the EIP client. These certs are either picked from a pool in CouchDB or from a file. For now you can either run [Leap CA](http://github.com/leapcode/leap_ca) to fill the pool or you can put your certs file in config/cert. -run capify in the source tree and edit config/deploy.rb to match your needs. We ship an example in config/deploy.rb.example. +We also ship provider information through the webapp. For now please add your eip-service.json to the public/config directory. -run '''cap deploy:setup''' to create the directory structure. +## Running ## -run '''cap deploy''' to deploy to the server. +Run '''rails server''' or whatever rack server you prefer. diff --git a/Readme.md b/Readme.md index 3d81d2e..8b51b4d 100644 --- a/Readme.md +++ b/Readme.md @@ -1,4 +1,24 @@ # Leap Web # -Web application for LEAP. +Web application for LEAP. Currently Leap Web allows Leap providers to manage users, hand out certs for the EIP. + +## Functions ## + +### Supported ### + +* *User Management* - User Registration and Authentication +* *Cert Distribution* - Certs for the Encrypted Internet Proxy + +### Under Development ### + +* *Help Desk* - Managing Help Requests + + +## Documentation ## + +* [INSTALL](https://github.com/leapcode/leap_web/blob/master/INSTALL.md) for installation instructions +* [DEPLOY](https://github.com/leapcode/leap_web/blob/master/DEPLOY.md) for deployment +* [DEVELOP](https://github.com/leapcode/leap_web/blob/master/DEVELOP.md) for developer notes. +* [CUSTOM](https://github.com/leapcode/leap_web/blob/master/CUSTOM.md) to customize. + -- cgit v1.2.3 From 2215250a39162f9e1fcb8f90e02a637faa63438c Mon Sep 17 00:00:00 2001 From: Azul Date: Sun, 7 Oct 2012 20:09:00 +0200 Subject: added validations --- users/app/models/user.rb | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/users/app/models/user.rb b/users/app/models/user.rb index a6aab84..e10f55e 100644 --- a/users/app/models/user.rb +++ b/users/app/models/user.rb @@ -5,8 +5,17 @@ class User < CouchRest::Model::Base property :password_verifier, String, :accessible => true property :password_salt, String, :accessible => true - validates :login, :password_salt, :password_verifier, :presence => true - validates :login, :uniqueness => true + validates :login, :password_salt, :password_verifier, + :presence => true + + validates :login, + :uniqueness => true, + :format => { :with => /\A\w+\z/, + :message => "Only letters, digits and _ allowed" } + + validates :password_salt, :password_verifier, + :format => { :with => /\A[\dA-Fa-f]+\z/, + :message => "Only hex numbers allowed" } timestamps! -- cgit v1.2.3 From d776e9ea988b0bc00b24c0e0760bcfe3d95057a7 Mon Sep 17 00:00:00 2001 From: Azul Date: Sun, 7 Oct 2012 21:00:36 +0200 Subject: adding validations for valid login chars and verifier and salt being hex --- users/app/models/user.rb | 10 ++++++---- users/test/unit/user_test.rb | 41 ++++++++++++++++++++++++++--------------- 2 files changed, 32 insertions(+), 19 deletions(-) diff --git a/users/app/models/user.rb b/users/app/models/user.rb index e10f55e..1afb9db 100644 --- a/users/app/models/user.rb +++ b/users/app/models/user.rb @@ -9,8 +9,10 @@ class User < CouchRest::Model::Base :presence => true validates :login, - :uniqueness => true, - :format => { :with => /\A\w+\z/, + :uniqueness => true + + validates :login, + :format => { :with => /\A[A-Za-z\d_]+\z/, :message => "Only letters, digits and _ allowed" } validates :password_salt, :password_verifier, @@ -31,8 +33,8 @@ class User < CouchRest::Model::Base # valid set of attributes for testing def valid_attributes_hash { :login => "me", - :password_verifier => "1234", - :password_salt => "4321" } + :password_verifier => "1234ABC", + :password_salt => "4321AB" } end end diff --git a/users/test/unit/user_test.rb b/users/test/unit/user_test.rb index 870d422..822ef33 100644 --- a/users/test/unit/user_test.rb +++ b/users/test/unit/user_test.rb @@ -3,37 +3,48 @@ require 'test_helper' class UserTest < ActiveSupport::TestCase include SRP::Util + setup do + @attribs = User.valid_attributes_hash + @user = User.new(@attribs) + end + test "test set of attributes should be valid" do - user = User.new(User.valid_attributes_hash) - assert user.valid? + @user.valid? + assert_equal Hash.new, @user.errors.messages + end + + test "test require hex for password_verifier" do + @user.password_verifier = "QWER" + assert !@user.valid? + end + + test "test require alphanumerical for login" do + @user.login = "qwär" + assert !@user.valid? end test "find_by_param gets User by login" do - user = User.create!(User.valid_attributes_hash) - assert_equal user, User.find_by_param(user.login) - user.destroy + @user.save + assert_equal @user, User.find_by_param(@user.login) + @user.destroy end test "to_param gives user login" do - user = User.new(User.valid_attributes_hash) - assert_equal user.login, user.to_param + assert_equal @user.login, @user.to_param end test "verifier returns number for the hex in password_verifier" do - user = User.new(User.valid_attributes_hash) - assert_equal user.password_verifier.hex, user.verifier + assert_equal @user.password_verifier.hex, @user.verifier end test "salt returns number for the hex in password_salt" do - user = User.new(User.valid_attributes_hash) - assert_equal user.password_salt.hex, user.salt + assert_equal @user.password_salt.hex, @user.salt end - test "should include SRP::Authentication" do + test "should include SRP" do client_rnd = bigrand(32).hex - user = User.new(User.valid_attributes_hash) - srp_session = user.initialize_auth(client_rnd) - assert srp_session.is_a? SRP::Authentication::Session + srp_session = @user.initialize_auth(client_rnd) + assert srp_session.is_a? SRP::Session assert_equal client_rnd, srp_session.aa end -- cgit v1.2.3 From c882d882a6506039bf0f2e4c3a673eb30ae9e58d Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 8 Oct 2012 09:18:35 +0200 Subject: minor: markdown improvements --- CUSTOM.md | 6 +++--- DEPLOY.md | 4 ++-- DEVELOP.md | 46 +++++++++++++++++++++++----------------------- INSTALL.md | 6 +++--- 4 files changed, 31 insertions(+), 31 deletions(-) diff --git a/CUSTOM.md b/CUSTOM.md index c566c84..67fdac0 100644 --- a/CUSTOM.md +++ b/CUSTOM.md @@ -1,11 +1,11 @@ # Customization # -Leap Web is based on Engines. All things in '''app''' will overwrite the default behaviour. You can either create a new rails app and include the leap_web gem or clone the leap web repository and add your customizations to the '''app''' directory. +Leap Web is based on Engines. All things in `app` will overwrite the default behaviour. You can either create a new rails app and include the leap_web gem or clone the leap web repository and add your customizations to the `app` directory. ## CSS Customization ## -We use scss. It's a superset of css3. Add your customizations to '''app/assets/stylesheets'''. +We use scss. It's a superset of css3. Add your customizations to `app/assets/stylesheets`. ## Disabling an Engine ## -If you have no use for one of the engines you can remove it from the Gemfile. Not however that your app might still need to provide some functionality for the other engines to work. For example the users engine provides '''current_user''' and other methods. +If you have no use for one of the engines you can remove it from the Gemfile. Not however that your app might still need to provide some functionality for the other engines to work. For example the users engine provides `current_user` and other methods. diff --git a/DEPLOY.md b/DEPLOY.md index 49d9fed..8424c68 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -18,9 +18,9 @@ The following packages need to be installed: We use capistrano to deploy. We ship an example deploy.rb in config/deploy.rb.example. Edit it to match your needs. -run '''cap deploy:setup''' to create the directory structure. +run `cap deploy:setup` to create the directory structure. -run '''cap deploy''' to deploy to the server. +run `cap deploy` to deploy to the server. ## Customized Files ## diff --git a/DEVELOP.md b/DEVELOP.md index 6a65285..a483fb7 100644 --- a/DEVELOP.md +++ b/DEVELOP.md @@ -1,52 +1,51 @@ -# Development # - +# Development # ## Engines ## -Leap Web consists of different Engines. They live in their own subdirectory and are included through bundler via their path. This way changes to the engines immediately affect the server as if they were in the main '''app''' directory. +Leap Web consists of different Engines. They live in their own subdirectory and are included through bundler via their path. This way changes to the engines immediately affect the server as if they were in the main `app` directory. Currently Leap Web consists of 4 Engines: * [core](https://github.com/leapcode/leap_web/blob/master/core) - ships some dependencies that are used accross all engines. This might be removed at some point. * [users](https://github.com/leapcode/leap_web/blob/master/users) - user registration and authorization * [certs](https://github.com/leapcode/leap_web/blob/master/certs) - Cert distribution for the EIP client -* [help](https://github.com/leapcode/leap_web/blob/master/help)- Help ticket management +* [help](https://github.com/leapcode/leap_web/blob/master/help) - Help ticket management ## Creating a new engine ## ### Rails plugin new ### Create the basic tree structure for an engine using - +``` rails plugin new ENGINE_NAME -O --full - +``` -'''-O''' will skip active record and not add a dev dependency on sqlite. -'''-full''' will create a directory structure with config/routes and app and a basic engine file. +`-O` will skip active record and not add a dev dependency on sqlite. +`-full` will create a directory structure with config/routes and app and a basic engine file. See http://guides.rubyonrails.org/engines.html for more general info about engines. ### Require Leap Web Core ### You need to add leap_web_core to your .gemspec: - +```ruby Gem::Specification.new do |s| - ... - s.add_dependency "rails" ... + # ... + s.add_dependency "rails" s.add_dependency "leap_web_core", "~> 0.0.1" end - +``` You also need to require it before you define your engine in lib/my_engine/engine.rb: - +```ruby require "leap_web_core" module MyEngine class Engine < ::Rails::Engine - ... + # ... end end - +``` ### Require UI Gems ### @@ -54,32 +53,33 @@ Leap Web Core provides a basic set of UI gems that should be used accross the en Do you want to add views, javascript and the like to your engine? Then you should use the common gems. In order to do so you need to add them to your gemspec: - +```ruby require "my_engine/version" require "leap_web_core/dependencies" - ... + # ... Gem::Specification.new do |s| - ... - s.add_dependency "rails" ... + # ... + s.add_dependency "rails" s.add_dependency "leap_web_core", "~> 0.0.1" LeapWebCore::Dependencies.add_ui_gems_to_spec(s) end - +``` You also need to require them before you define your engine in lib/my_engine/engine.rb: - + +```ruby require "leap_web_core" LeapWebCore::Dependencies.require_ui_gems module MyEngine class Engine < ::Rails::Engine - ... + # ... end end - +``` ## Creating Models ## diff --git a/INSTALL.md b/INSTALL.md index 976a9a4..8466ddc 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -15,11 +15,11 @@ For now we are using ruby 1.8.7. The following packages need to be installed: ### Gems ### -We install most gems we depend upon through [bundler](http://gembundler.com). However the bundler gem needs to be installed and the '''bundle''' command needs to be available to the user used for deploy. +We install most gems we depend upon through [bundler](http://gembundler.com). However the bundler gem needs to be installed and the `bundle` command needs to be available to the user used for deploy. ### Bundler ### -Run '''bundle install''' to install all the required gems. +Run `bundle install` to install all the required gems. ## Setup ## @@ -31,5 +31,5 @@ We also ship provider information through the webapp. For now please add your ei ## Running ## -Run '''rails server''' or whatever rack server you prefer. +Run `rails server` or whatever rack server you prefer. -- cgit v1.2.3 From efcf0e5927055d2b86804c84b00c614b38191964 Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 8 Oct 2012 10:45:27 +0200 Subject: enabling rake gem in engines, using LeapWeb::Version all over the place --- Gemfile.lock | 10 +++++----- certs/Rakefile | 10 ++++++++-- certs/leap_web_certs.gemspec | 7 +++---- core/Rakefile | 10 ++++++++-- core/leap_web_core.gemspec | 9 ++++----- help/Rakefile | 10 ++++++++-- help/leap_web_help.gemspec | 7 +++---- leap_web.gemspec | 7 +++---- lib/leap_web/version.rb | 2 +- users/Rakefile | 10 ++++++++-- users/leap_web_users.gemspec | 7 +++---- 11 files changed, 54 insertions(+), 35 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index e9994f9..414a5fe 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,14 +1,14 @@ PATH remote: certs specs: - leap_web_certs (0.0.4) - leap_web_core (~> 0.0.1) + leap_web_certs (0.1.0) + leap_web_core (= 0.1.0) rails (~> 3.2.8) PATH remote: core specs: - leap_web_core (0.0.1) + leap_web_core (0.1.0) couchrest (~> 1.1.3) couchrest_model (~> 2.0.0.beta2) rails (~> 3.2.8) @@ -16,12 +16,12 @@ PATH PATH remote: users specs: - leap_web_users (0.0.1) + leap_web_users (0.1.0) bootstrap-sass (~> 2.0.4) couchrest_session_store (~> 0.0.1) haml (~> 3.1.7) jquery-rails - leap_web_core (~> 0.0.1) + leap_web_core (= 0.1.0) rails (~> 3.2.8) ruby-srp (~> 0.1.1) simple_form diff --git a/certs/Rakefile b/certs/Rakefile index dd38158..54ed86d 100644 --- a/certs/Rakefile +++ b/certs/Rakefile @@ -1,4 +1,8 @@ #!/usr/bin/env rake + +require 'rake/packagetask' +require 'rubygems/package_task' + begin require 'bundler/setup' rescue LoadError @@ -20,8 +24,10 @@ RDoc::Task.new(:rdoc) do |rdoc| rdoc.rdoc_files.include('lib/**/*.rb') end - - +spec = eval(File.read('leap_web_certs.gemspec')) +Gem::PackageTask.new(spec) do |p| + p.gem_spec = spec +end Bundler::GemHelper.install_tasks diff --git a/certs/leap_web_certs.gemspec b/certs/leap_web_certs.gemspec index 28ef392..db5d04f 100644 --- a/certs/leap_web_certs.gemspec +++ b/certs/leap_web_certs.gemspec @@ -1,12 +1,11 @@ $:.push File.expand_path("../lib", __FILE__) -# Maintain your gem's version: -require "leap_web_certs/version" +require File.expand_path('../../lib/leap_web/version.rb', __FILE__) # Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.name = "leap_web_certs" - s.version = LeapWebCerts::VERSION + s.version = LeapWeb::VERSION s.authors = ["Azul"] s.email = ["azul@leap.se"] s.homepage = "http://www.leap.se" @@ -17,7 +16,7 @@ Gem::Specification.new do |s| s.test_files = Dir["test/**/*"] s.add_dependency "rails", "~> 3.2.8" - s.add_dependency "leap_web_core", "~> 0.0.1" + s.add_dependency "leap_web_core", LeapWeb::VERSION s.add_development_dependency "mocha" diff --git a/core/Rakefile b/core/Rakefile index 477e34d..3c6539c 100644 --- a/core/Rakefile +++ b/core/Rakefile @@ -1,4 +1,8 @@ #!/usr/bin/env rake + +require 'rake/packagetask' +require 'rubygems/package_task' + begin require 'bundler/setup' rescue LoadError @@ -20,8 +24,10 @@ RDoc::Task.new(:rdoc) do |rdoc| rdoc.rdoc_files.include('lib/**/*.rb') end - - +spec = eval(File.read('leap_web_core.gemspec')) +Gem::PackageTask.new(spec) do |p| + p.gem_spec = spec +end Bundler::GemHelper.install_tasks diff --git a/core/leap_web_core.gemspec b/core/leap_web_core.gemspec index 709b451..2de7a4a 100644 --- a/core/leap_web_core.gemspec +++ b/core/leap_web_core.gemspec @@ -1,19 +1,18 @@ $:.push File.expand_path("../lib", __FILE__) -# Maintain your gem's version: -require "leap_web_core/version" +require File.expand_path('../../lib/leap_web/version.rb', __FILE__) # Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.name = "leap_web_core" - s.version = LeapWebCore::VERSION + s.version = LeapWeb::VERSION s.authors = ["Azul"] s.email = ["azul@leap.se"] s.homepage = "http://www.leap.se" - s.summary = "Web interface to the leap platform" + s.summary = "Web interface to the leap platform - core engine" s.description = "This web interface provides various administrative tools for the leap platform through plugins. Currently it manages user accounts and certificates." - s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "Readme.md"] + s.files = Dir["{app,config,db,lib}/**/*"] + ["Rakefile", "Readme.md"] s.test_files = Dir["test/**/*"] s.add_dependency "rails", "~> 3.2.8" diff --git a/help/Rakefile b/help/Rakefile index 9306287..0e73163 100644 --- a/help/Rakefile +++ b/help/Rakefile @@ -1,4 +1,8 @@ #!/usr/bin/env rake + +require 'rake/packagetask' +require 'rubygems/package_task' + begin require 'bundler/setup' rescue LoadError @@ -20,8 +24,10 @@ RDoc::Task.new(:rdoc) do |rdoc| rdoc.rdoc_files.include('lib/**/*.rb') end - - +spec = eval(File.read('leap_web_help.gemspec')) +Gem::PackageTask.new(spec) do |p| + p.gem_spec = spec +end Bundler::GemHelper.install_tasks diff --git a/help/leap_web_help.gemspec b/help/leap_web_help.gemspec index 19b59d7..7380451 100644 --- a/help/leap_web_help.gemspec +++ b/help/leap_web_help.gemspec @@ -1,13 +1,12 @@ $:.push File.expand_path("../lib", __FILE__) -# Maintain your gem's version: -require "leap_web_help/version" require "leap_web_core/dependencies" +require File.expand_path('../../lib/leap_web/version.rb', __FILE__) # Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.name = "leap_web_help" - s.version = LeapWebHelp::VERSION + s.version = LeapWeb::VERSION s.authors = ["TODO: Your name"] s.email = ["TODO: Your email"] s.homepage = "TODO" @@ -18,7 +17,7 @@ Gem::Specification.new do |s| s.test_files = Dir["test/**/*"] s.add_dependency "rails", "~> 3.2.8" - s.add_dependency "leap_web_core", "~> 0.0.1" + s.add_dependency "leap_web_core", "~> #{LeapWeb::VERSION}" LeapWebCore::Dependencies.add_ui_gems_to_spec(s) diff --git a/leap_web.gemspec b/leap_web.gemspec index 569abc8..cd7a003 100644 --- a/leap_web.gemspec +++ b/leap_web.gemspec @@ -1,7 +1,6 @@ $:.push File.expand_path("../lib", __FILE__) -# Maintain your gem's version: -require "leap_web/version" +require 'leap_web/version.rb' Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY @@ -21,6 +20,6 @@ Gem::Specification.new do |s| s.homepage = 'http://leap.se' # s.add_dependency 'leap_web_core' - s.add_dependency 'leap_web_certs' - s.add_dependency 'leap_web_users' + s.add_dependency 'leap_web_certs', LeapWeb::VERSION + s.add_dependency 'leap_web_users', LeapWeb::VERSION end diff --git a/lib/leap_web/version.rb b/lib/leap_web/version.rb index ef81e43..bac8655 100644 --- a/lib/leap_web/version.rb +++ b/lib/leap_web/version.rb @@ -1,3 +1,3 @@ module LeapWeb - VERSION = "0.0.1" + VERSION = "0.1.0" end diff --git a/users/Rakefile b/users/Rakefile index cf5108e..38da5fc 100644 --- a/users/Rakefile +++ b/users/Rakefile @@ -1,4 +1,8 @@ #!/usr/bin/env rake + +require 'rake/packagetask' +require 'rubygems/package_task' + begin require 'bundler/setup' rescue LoadError @@ -20,8 +24,10 @@ RDoc::Task.new(:rdoc) do |rdoc| rdoc.rdoc_files.include('lib/**/*.rb') end - - +spec = eval(File.read('leap_web_users.gemspec')) +Gem::PackageTask.new(spec) do |p| + p.gem_spec = spec +end Bundler::GemHelper.install_tasks diff --git a/users/leap_web_users.gemspec b/users/leap_web_users.gemspec index 90aa4df..e68529a 100644 --- a/users/leap_web_users.gemspec +++ b/users/leap_web_users.gemspec @@ -1,13 +1,12 @@ $:.push File.expand_path("../lib", __FILE__) -# Maintain your gem's version: -require "leap_web_users/version" require "leap_web_core/dependencies" +require File.expand_path('../../lib/leap_web/version.rb', __FILE__) # Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.name = "leap_web_users" - s.version = LeapWebUsers::VERSION + s.version = LeapWeb::VERSION s.authors = ["Azul"] s.email = ["azul@leap.se"] s.homepage = "http://www.leap.se" @@ -18,7 +17,7 @@ Gem::Specification.new do |s| s.test_files = Dir["test/**/*"] s.add_dependency "rails", "~> 3.2.8" - s.add_dependency "leap_web_core", "~> 0.0.1" + s.add_dependency "leap_web_core", LeapWeb::VERSION s.add_dependency "couchrest_session_store", "~> 0.0.1" s.add_dependency "ruby-srp", "~> 0.1.1" -- cgit v1.2.3 From 7eb16bf58d4a2cc7e7fae2b9ffe015de8ee199e8 Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 8 Oct 2012 10:46:04 +0200 Subject: rake tasks for building all gems in one go --- lib/tasks/gems.rake | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 lib/tasks/gems.rake diff --git a/lib/tasks/gems.rake b/lib/tasks/gems.rake new file mode 100644 index 0000000..e185d1b --- /dev/null +++ b/lib/tasks/gems.rake @@ -0,0 +1,40 @@ +namespace :gem do + + engines = %w(core users certs help) + version = File.read(File.expand_path("../../../version", __FILE__)).strip + + desc "run rake gem for all gems" + task :build do + engines.each do |gem_name| + puts "########################### #{gem_name} #########################" + cmd = "rm -rf #{gem_name}/pkg"; puts cmd; system cmd + cmd = "cd #{gem_name} && bundle exec rake gem"; puts cmd; system cmd + end + cmd = "rm -rf pkg"; puts cmd; system cmd + cmd = "bundle exec rake gem"; puts cmd; system cmd + end + + desc "run gem install for all gems" + task :install do + + engines.each do |gem_name| + puts "########################### #{gem_name} #########################" + cmd = "rm #{gem_name}/pkg"; puts cmd; system cmd + cmd = "cd #{gem_name} && bundle exec rake gem"; puts cmd; system cmd + cmd = "cd #{gem_name}/pkg && gem install leap_web_#{gem_name}-#{version}.gem"; puts cmd; system cmd + end + cmd = "rm -rf pkg"; puts cmd; system cmd + cmd = "bundle exec rake gem"; puts cmd; system cmd + cmd = "gem install pkg/leap_web-#{version}.gem"; puts cmd; system cmd + end + + desc "Release all gems to gemcutter. Package leap web components, then push" + task :release do + + engines.each do |gem_name| + puts "########################### #{gem_name} #########################" + cmd = "cd #{gem_name}/pkg && gem push leap_web_#{gem_name}-#{version}.gem"; puts cmd; system cmd + end + cmd = "gem push pkg/leap_web-#{version}.gem"; puts cmd; system cmd + end +end -- cgit v1.2.3 From 7b706df83679c364451352660e59e5fb5ec9ecad Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 8 Oct 2012 10:48:02 +0200 Subject: LeapWebDemo -> LeapWeb --- Rakefile | 2 +- app/views/layouts/application.html.erb | 2 +- config.ru | 2 +- config/application.rb | 2 +- config/environment.rb | 2 +- config/environments/development.rb | 2 +- config/environments/production.rb | 2 +- config/environments/test.rb | 2 +- config/initializers/secret_token.rb | 2 +- config/initializers/session_store.rb | 2 +- config/routes.rb | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Rakefile b/Rakefile index d09b419..884c035 100644 --- a/Rakefile +++ b/Rakefile @@ -4,4 +4,4 @@ require File.expand_path('../config/application', __FILE__) -LeapWebDemo::Application.load_tasks +LeapWeb::Application.load_tasks diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index a4962fb..ce68ec8 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,7 +1,7 @@ - LeapWebDemo + LeapWeb <%= stylesheet_link_tag "application", :media => "all" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> diff --git a/config.ru b/config.ru index c6ba8bb..e798eef 100644 --- a/config.ru +++ b/config.ru @@ -1,4 +1,4 @@ # This file is used by Rack-based servers to start the application. require ::File.expand_path('../config/environment', __FILE__) -run LeapWebDemo::Application +run LeapWeb::Application diff --git a/config/application.rb b/config/application.rb index 5d44a94..cad4356 100644 --- a/config/application.rb +++ b/config/application.rb @@ -15,7 +15,7 @@ if defined?(Bundler) # Bundler.require(:default, :assets, Rails.env) end -module LeapWebDemo +module LeapWeb class Application < Rails::Application # Settings in config/environments/* take precedence over those specified here. # Application configuration should go into files in config/initializers diff --git a/config/environment.rb b/config/environment.rb index 198698d..fe16a54 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -2,4 +2,4 @@ require File.expand_path('../application', __FILE__) # Initialize the rails application -LeapWebDemo::Application.initialize! +LeapWeb::Application.initialize! diff --git a/config/environments/development.rb b/config/environments/development.rb index 19ade85..9ff9476 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -1,4 +1,4 @@ -LeapWebDemo::Application.configure do +LeapWeb::Application.configure do # Settings specified here will take precedence over those in config/application.rb # In the development environment your application's code is reloaded on diff --git a/config/environments/production.rb b/config/environments/production.rb index d89379b..d9d37bd 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -1,4 +1,4 @@ -LeapWebDemo::Application.configure do +LeapWeb::Application.configure do # Settings specified here will take precedence over those in config/application.rb # Code is not reloaded between requests diff --git a/config/environments/test.rb b/config/environments/test.rb index b0a542e..1a38df7 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -1,4 +1,4 @@ -LeapWebDemo::Application.configure do +LeapWeb::Application.configure do # Settings specified here will take precedence over those in config/application.rb # The test environment is used exclusively to run your application's diff --git a/config/initializers/secret_token.rb b/config/initializers/secret_token.rb index 94e038e..23c1aac 100644 --- a/config/initializers/secret_token.rb +++ b/config/initializers/secret_token.rb @@ -4,4 +4,4 @@ # If you change this key, all old signed cookies will become invalid! # Make sure the secret is at least 30 characters and all random, # no regular words or you'll be exposed to dictionary attacks. -LeapWebDemo::Application.config.secret_token = '550df064dbc5052d9e192b324c1c5a1095c85a2195f88bd6f6829c63b74d8dffa4556494a2e8cc44345a1926be8b6cb17aa4b3f3102d826f5679c3fb57bb7100' +LeapWeb::Application.config.secret_token = '550df064dbc5052d9e192b324c1c5a1095c85a2195f88bd6f6829c63b74d8dffa4556494a2e8cc44345a1926be8b6cb17aa4b3f3102d826f5679c3fb57bb7100' diff --git a/config/initializers/session_store.rb b/config/initializers/session_store.rb index 0c3a729..01dda89 100644 --- a/config/initializers/session_store.rb +++ b/config/initializers/session_store.rb @@ -1,3 +1,3 @@ # Be sure to restart your server when you modify this file. -LeapWebDemo::Application.config.session_store = CouchRestSessionStore +LeapWeb::Application.config.session_store = CouchRestSessionStore diff --git a/config/routes.rb b/config/routes.rb index eff6844..ca8d753 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,4 +1,4 @@ -LeapWebDemo::Application.routes.draw do +LeapWeb::Application.routes.draw do # The priority is based upon order of creation: # first created -> highest priority. -- cgit v1.2.3 From 51bc4cf65133982e9cf197bcf07aed3efce3d6dc Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 8 Oct 2012 11:27:19 +0200 Subject: cleaned up the gemspecs a bit - now all build --- Rakefile | 8 ++++++++ certs/leap_web_certs.gemspec | 2 +- help/Readme.md | 0 help/leap_web_help.gemspec | 12 ++++++------ leap_web.gemspec | 2 +- lib/tasks/gems.rake | 13 +++++++------ users/Readme.md | 0 users/leap_web_users.gemspec | 2 +- 8 files changed, 24 insertions(+), 15 deletions(-) create mode 100644 help/Readme.md create mode 100644 users/Readme.md diff --git a/Rakefile b/Rakefile index 884c035..8b58316 100644 --- a/Rakefile +++ b/Rakefile @@ -2,6 +2,14 @@ # 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 'rake/packagetask' +require 'rubygems/package_task' + +spec = eval(File.read('leap_web.gemspec')) +Gem::PackageTask.new(spec) do |p| + p.gem_spec = spec +end + require File.expand_path('../config/application', __FILE__) LeapWeb::Application.load_tasks diff --git a/certs/leap_web_certs.gemspec b/certs/leap_web_certs.gemspec index db5d04f..14708df 100644 --- a/certs/leap_web_certs.gemspec +++ b/certs/leap_web_certs.gemspec @@ -12,7 +12,7 @@ Gem::Specification.new do |s| s.summary = "Cert distribution for the leap platform" s.description = "This plugin for the leap platform distributes certs for the EIP client. It fetches the certs from a pool in CouchDB that is filled by leap-ca." - s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "Readme.md"] + s.files = Dir["{app,config,db,lib}/**/*"] + ["Rakefile", "Readme.md"] s.test_files = Dir["test/**/*"] s.add_dependency "rails", "~> 3.2.8" diff --git a/help/Readme.md b/help/Readme.md new file mode 100644 index 0000000..e69de29 diff --git a/help/leap_web_help.gemspec b/help/leap_web_help.gemspec index 7380451..2cc147c 100644 --- a/help/leap_web_help.gemspec +++ b/help/leap_web_help.gemspec @@ -7,13 +7,13 @@ require File.expand_path('../../lib/leap_web/version.rb', __FILE__) Gem::Specification.new do |s| s.name = "leap_web_help" s.version = LeapWeb::VERSION - s.authors = ["TODO: Your name"] - s.email = ["TODO: Your email"] - s.homepage = "TODO" - s.summary = "TODO: Summary of LeapWebHelp." - s.description = "TODO: Description of LeapWebHelp." + s.authors = ["Jessib"] + s.email = ["jessib@leap.se"] + s.homepage = "http://www.leap.se" + s.summary = "Help Desk for LeapWeb" + s.description = "Managing Tickets for a Leap provider" - s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.rdoc"] + s.files = Dir["{app,config,db,lib}/**/*"] + ["Rakefile", "Readme.md"] s.test_files = Dir["test/**/*"] s.add_dependency "rails", "~> 3.2.8" diff --git a/leap_web.gemspec b/leap_web.gemspec index cd7a003..44a30e0 100644 --- a/leap_web.gemspec +++ b/leap_web.gemspec @@ -9,7 +9,7 @@ Gem::Specification.new do |s| s.summary = 'Leap web framework for Ruby on Rails.' s.description = 'Leap is the Leap Encryption Access Project. This is a framework for the web administrative interface. Its components live in separate gems. You can find out more about leap on www.leap.se' - s.files = Dir['README.md', 'lib/leap_web.rb', 'lib/leap_web/*'] + s.files = Dir['*.md', 'lib/leap_web.rb', 'lib/leap_web/*'] s.require_path = 'lib' s.requirements << 'none' s.required_ruby_version = '>= 1.8.7' diff --git a/lib/tasks/gems.rake b/lib/tasks/gems.rake index e185d1b..cfeca1f 100644 --- a/lib/tasks/gems.rake +++ b/lib/tasks/gems.rake @@ -1,7 +1,8 @@ +require File.expand_path('../../../lib/leap_web/version', __FILE__) + namespace :gem do engines = %w(core users certs help) - version = File.read(File.expand_path("../../../version", __FILE__)).strip desc "run rake gem for all gems" task :build do @@ -19,13 +20,13 @@ namespace :gem do engines.each do |gem_name| puts "########################### #{gem_name} #########################" - cmd = "rm #{gem_name}/pkg"; puts cmd; system cmd + cmd = "rm -rf #{gem_name}/pkg"; puts cmd; system cmd cmd = "cd #{gem_name} && bundle exec rake gem"; puts cmd; system cmd - cmd = "cd #{gem_name}/pkg && gem install leap_web_#{gem_name}-#{version}.gem"; puts cmd; system cmd + cmd = "cd #{gem_name}/pkg && gem install leap_web_#{gem_name}-#{LeapWeb::VERSION}.gem"; puts cmd; system cmd end cmd = "rm -rf pkg"; puts cmd; system cmd cmd = "bundle exec rake gem"; puts cmd; system cmd - cmd = "gem install pkg/leap_web-#{version}.gem"; puts cmd; system cmd + cmd = "gem install pkg/leap_web-#{LeapWeb::VERSION}.gem"; puts cmd; system cmd end desc "Release all gems to gemcutter. Package leap web components, then push" @@ -33,8 +34,8 @@ namespace :gem do engines.each do |gem_name| puts "########################### #{gem_name} #########################" - cmd = "cd #{gem_name}/pkg && gem push leap_web_#{gem_name}-#{version}.gem"; puts cmd; system cmd + cmd = "cd #{gem_name}/pkg && gem push leap_web_#{gem_name}-#{LeapWeb::VERSION}.gem"; puts cmd; system cmd end - cmd = "gem push pkg/leap_web-#{version}.gem"; puts cmd; system cmd + cmd = "gem push pkg/leap_web-#{LeapWeb::VERSION}.gem"; puts cmd; system cmd end end diff --git a/users/Readme.md b/users/Readme.md new file mode 100644 index 0000000..e69de29 diff --git a/users/leap_web_users.gemspec b/users/leap_web_users.gemspec index e68529a..04d5b8e 100644 --- a/users/leap_web_users.gemspec +++ b/users/leap_web_users.gemspec @@ -13,7 +13,7 @@ Gem::Specification.new do |s| s.summary = "User registration and authorization for the leap platform" s.description = "This this plugin for the leap platform provides user signup and login. It uses Secure Remote Password for the authentication." - s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.rdoc"] + s.files = Dir["{app,config,db,lib}/**/*"] + ["Rakefile", "Readme.md"] s.test_files = Dir["test/**/*"] s.add_dependency "rails", "~> 3.2.8" -- cgit v1.2.3 From f23b41bb0291c0d7afc834f327116b1c180b43b9 Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 8 Oct 2012 11:28:38 +0200 Subject: ignore those pkg and log directories --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index eb3489a..bdcb017 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,6 @@ # Ignore all logfiles and tempfiles. /log/*.log /tmp +/pkg +/*/pkg +/log -- cgit v1.2.3 From d2e75cbf5540c0460be6c68e5d56511132ef52a9 Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 8 Oct 2012 11:30:17 +0200 Subject: bundle update --- Gemfile.lock | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 414a5fe..acd7567 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -57,8 +57,8 @@ GEM i18n (~> 0.6) multi_json (~> 1.0) arel (3.0.2) - bootstrap-sass (2.0.4.0) - builder (3.0.0) + bootstrap-sass (2.0.4.2) + builder (3.0.3) coffee-rails (3.2.2) coffee-script (>= 2.2.0) railties (~> 3.2.0) @@ -83,15 +83,15 @@ GEM execjs (1.4.0) multi_json (~> 1.0) haml (3.1.7) - haml-rails (0.3.4) - actionpack (~> 3.0) - activesupport (~> 3.0) - haml (~> 3.0) - railties (~> 3.0) + haml-rails (0.3.5) + actionpack (>= 3.1, < 4.1) + activesupport (>= 3.1, < 4.1) + haml (~> 3.1) + railties (>= 3.1, < 4.1) hike (1.2.1) - i18n (0.6.0) + i18n (0.6.1) journey (1.0.4) - jquery-rails (2.1.1) + jquery-rails (2.1.3) railties (>= 3.1.0, < 5.0) thor (~> 0.14) json (1.7.5) @@ -104,7 +104,7 @@ GEM treetop (~> 1.4.8) metaclass (0.0.1) mime-types (1.19) - mocha (0.12.4) + mocha (0.12.6) metaclass (~> 0.0.1) multi_json (1.3.6) polyglot (0.3.3) @@ -113,7 +113,7 @@ GEM rack (>= 0.4) rack-ssl (1.3.2) rack - rack-test (0.6.1) + rack-test (0.6.2) rack (>= 1.0) rails (3.2.8) actionmailer (= 3.2.8) @@ -147,7 +147,7 @@ GEM railties (~> 3.2.0) sass (>= 3.1.10) tilt (~> 1.3) - simple_form (2.0.2) + simple_form (2.0.3) actionpack (~> 3.0) activemodel (~> 3.0) sprockets (2.1.3) @@ -162,9 +162,9 @@ GEM polyglot polyglot (>= 0.3.1) tzinfo (0.3.33) - uglifier (1.2.7) + uglifier (1.3.0) execjs (>= 0.3.0) - multi_json (~> 1.3) + multi_json (~> 1.0, >= 1.0.2) PLATFORMS ruby -- cgit v1.2.3 From a00a0475515fc1576d88e2c9bcc99e844726d37d Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 8 Oct 2012 12:58:55 +0200 Subject: refactoring gem task --- lib/tasks/gems.rake | 45 ++++++++++++++++++++++----------------------- lib/tasks/task_helper.rb | 19 +++++++++++++++++++ 2 files changed, 41 insertions(+), 23 deletions(-) create mode 100644 lib/tasks/task_helper.rb diff --git a/lib/tasks/gems.rake b/lib/tasks/gems.rake index cfeca1f..27eb04c 100644 --- a/lib/tasks/gems.rake +++ b/lib/tasks/gems.rake @@ -1,41 +1,40 @@ -require File.expand_path('../../../lib/leap_web/version', __FILE__) +require File.expand_path('../task_helper', __FILE__) +include TaskHelper -namespace :gem do - engines = %w(core users certs help) +namespace :gem do desc "run rake gem for all gems" - task :build do - engines.each do |gem_name| - puts "########################### #{gem_name} #########################" - cmd = "rm -rf #{gem_name}/pkg"; puts cmd; system cmd - cmd = "cd #{gem_name} && bundle exec rake gem"; puts cmd; system cmd + task :build => :clear do + each_gem do |gem_name| + putsys "cd #{gem_name} && bundle exec rake gem" + end + putsys "bundle exec rake gem" + end + + desc "run rake gem for all gems" + task :clear do + each_gem do |gem_name| + putsys "rm -rf #{gem_name}/pkg" end - cmd = "rm -rf pkg"; puts cmd; system cmd - cmd = "bundle exec rake gem"; puts cmd; system cmd + putsys "rm -rf pkg" end desc "run gem install for all gems" - task :install do + task :install => :build do - engines.each do |gem_name| - puts "########################### #{gem_name} #########################" - cmd = "rm -rf #{gem_name}/pkg"; puts cmd; system cmd - cmd = "cd #{gem_name} && bundle exec rake gem"; puts cmd; system cmd - cmd = "cd #{gem_name}/pkg && gem install leap_web_#{gem_name}-#{LeapWeb::VERSION}.gem"; puts cmd; system cmd + each_gem do |gem_name| + putsys "cd #{gem_name}/pkg && gem install leap_web_#{gem_name}-#{LeapWeb::VERSION}.gem" end - cmd = "rm -rf pkg"; puts cmd; system cmd - cmd = "bundle exec rake gem"; puts cmd; system cmd - cmd = "gem install pkg/leap_web-#{LeapWeb::VERSION}.gem"; puts cmd; system cmd + putsys "gem install pkg/leap_web-#{LeapWeb::VERSION}.gem" end desc "Release all gems to gemcutter. Package leap web components, then push" task :release do - engines.each do |gem_name| - puts "########################### #{gem_name} #########################" - cmd = "cd #{gem_name}/pkg && gem push leap_web_#{gem_name}-#{LeapWeb::VERSION}.gem"; puts cmd; system cmd + each_gem do |gem_name| + putsys "cd #{gem_name}/pkg && gem push leap_web_#{gem_name}-#{LeapWeb::VERSION}.gem" end - cmd = "gem push pkg/leap_web-#{LeapWeb::VERSION}.gem"; puts cmd; system cmd + putsys "gem push pkg/leap_web-#{LeapWeb::VERSION}.gem" end end diff --git a/lib/tasks/task_helper.rb b/lib/tasks/task_helper.rb new file mode 100644 index 0000000..aa37698 --- /dev/null +++ b/lib/tasks/task_helper.rb @@ -0,0 +1,19 @@ +require File.expand_path('../../../lib/leap_web/version', __FILE__) + +module TaskHelper + + ENGINES = %w(core users certs help) + + def putsys(cmd) + puts cmd + system cmd + end + + def each_gem + ENGINES.each do |gem_name| + puts "########################### #{gem_name} #########################" + yield gem_name + end + end +end + -- cgit v1.2.3 From f5aea5347601c3500bb3670971d44995c35c3c7b Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 8 Oct 2012 19:50:00 +0200 Subject: use couchrest session store in core, updated dummy path --- Gemfile.lock | 2 +- certs/test/test_helper.rb | 2 +- core/leap_web_core.gemspec | 1 + help/test/test_helper.rb | 2 +- test/dummy/README.rdoc | 261 ++ test/dummy/Rakefile | 7 + test/dummy/app/assets/javascripts/application.js | 16 + .../app/controllers/application_controller.rb | 3 + test/dummy/app/helpers/application_helper.rb | 2 + test/dummy/app/mailers/.gitkeep | 0 test/dummy/app/models/.gitkeep | 0 test/dummy/app/views/layouts/application.html.erb | 14 + test/dummy/config.ru | 4 + test/dummy/config/application.rb | 64 + test/dummy/config/boot.rb | 10 + test/dummy/config/cert | 0 test/dummy/config/environment.rb | 5 + test/dummy/config/environments/development.rb | 31 + test/dummy/config/environments/production.rb | 64 + test/dummy/config/environments/test.rb | 35 + .../config/initializers/backtrace_silencers.rb | 7 + test/dummy/config/initializers/inflections.rb | 15 + test/dummy/config/initializers/mime_types.rb | 5 + test/dummy/config/initializers/secret_token.rb | 7 + test/dummy/config/initializers/session_store.rb | 9 + test/dummy/config/initializers/wrap_parameters.rb | 10 + test/dummy/config/locales/en.yml | 5 + test/dummy/config/routes.rb | 58 + test/dummy/lib/assets/.gitkeep | 0 test/dummy/log/.gitkeep | 0 test/dummy/log/development.log | 2505 ++++++++++++++++++++ test/dummy/log/test.log | 1244 ++++++++++ test/dummy/public/404.html | 26 + test/dummy/public/422.html | 26 + test/dummy/public/500.html | 25 + test/dummy/public/favicon.ico | 0 test/dummy/script/rails | 6 + .../sprockets%2F983ce99613edf03729c8c574059b4583 | Bin 0 -> 19966 bytes .../sprockets%2F6e1bd95023705b5529e7ccc754a02867 | Bin 0 -> 208466 bytes .../sprockets%2F90abd297266441e364737cd8b3747ad2 | Bin 0 -> 2775 bytes .../sprockets%2F88a854d2b8e53730066a59df47b5b746 | Bin 0 -> 4013 bytes .../sprockets%2F0616865725fea8838fda8e461bb14189 | Bin 0 -> 4031 bytes .../sprockets%2F236b57b867e722f51b8f88fa5737e308 | Bin 0 -> 18365 bytes .../sprockets%2F0228318f1e29a22095c36a71a8acfd32 | Bin 0 -> 4097 bytes .../sprockets%2F357970feca3ac29060c1e3861e2c0953 | Bin 0 -> 960 bytes .../sprockets%2F7c3ab762d5be50d6314a324d354186f9 | Bin 0 -> 2775 bytes .../sprockets%2F1e818287702fc78e6b026cbda72231f1 | Bin 0 -> 4213 bytes .../sprockets%2F672d1206521f7db069bff652455bee25 | Bin 0 -> 4032 bytes .../sprockets%2F60efe16fc0486f0124c9e708c394066c | Bin 0 -> 260605 bytes .../sprockets%2Fdda8b0015ab3657095e3a88002bfe403 | Bin 0 -> 19966 bytes .../sprockets%2F352bab412d75fa19d0a07504553b59df | Bin 0 -> 202489 bytes .../sprockets%2F2b3c6513434ec1692d7cfaa44013e67c | Bin 0 -> 4014 bytes .../sprockets%2Fc9531a6a43f28d260d68360d9c39ecb3 | Bin 0 -> 7252 bytes .../sprockets%2F9390490ac7a28c9474c1f765aaf10ad8 | Bin 0 -> 4435 bytes .../sprockets%2F69a87f5b9418510356bfee5f3b3c030f | Bin 0 -> 30874 bytes .../sprockets%2F39d9d255bc53e820e049e3a37cc5a918 | Bin 0 -> 18366 bytes .../sprockets%2F596c7f46a775f908def94bc26c70e514 | Bin 0 -> 3148 bytes .../sprockets%2F13fe41fee1fe35b49d145bcc06610705 | Bin 0 -> 960 bytes .../sprockets%2F426f2eeb2a203ac62e5794a03ed24e66 | Bin 0 -> 7252 bytes .../sprockets%2Ff04158f446ef4a685641bbcd05f23c1a | Bin 0 -> 17211 bytes .../sprockets%2Fdcbcf07bd77dae07614901d73437c351 | Bin 0 -> 4839 bytes .../sprockets%2Fd76666a48d1e3c5b20aa021a6be699d7 | Bin 0 -> 5448 bytes .../sprockets%2F2f5d6bb21f46a1c09208899ede0c92d3 | Bin 0 -> 260605 bytes .../sprockets%2F92613a75279536c4bcf4f3ba6cfde494 | Bin 0 -> 202489 bytes .../sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 | Bin 0 -> 5108 bytes .../sprockets%2F9686d4b60027ddf89d496f3bd1c5ba75 | Bin 0 -> 4436 bytes .../sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 | Bin 0 -> 1269 bytes .../sprockets%2Fae699b549a8960f75ae187e4c7a199fe | Bin 0 -> 4213 bytes .../sprockets%2Fd7f8c901c5a5f02b0ae12f96fd7c5163 | Bin 0 -> 3147 bytes .../sprockets%2Faff1e946351d38bd075c6cb6bae6511a | Bin 0 -> 3824 bytes .../sprockets%2Fae36db4ffce0d374304a4ede07a41b31 | Bin 0 -> 5448 bytes .../sprockets%2F4d068ed2dc36a60bb278ced9fcf20c36 | Bin 0 -> 17211 bytes .../sprockets%2F6fe3dc60b7d860d3a8a43690e4afacf4 | Bin 0 -> 4838 bytes .../sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 | Bin 0 -> 380927 bytes .../sprockets%2F2f5173deea6c795b8fdde723bb4b63af | Bin 0 -> 380926 bytes .../sprockets%2Fbfafd3d37be1adf677c090f59c7beb96 | Bin 0 -> 30873 bytes .../sprockets%2Fe39ce66e34eb568eeaaf17bf9f9b22fd | Bin 0 -> 3824 bytes .../sprockets%2Ff7f4b455f707cfccd5facf51bbdfc2d9 | Bin 0 -> 4097 bytes .../application.scssc | Bin 0 -> 1343 bytes .../_bootstrap.scssc | Bin 0 -> 4429 bytes .../_accordion.scssc | Bin 0 -> 2979 bytes .../_alerts.scssc | Bin 0 -> 5691 bytes .../_breadcrumbs.scssc | Bin 0 -> 2926 bytes .../_button-groups.scssc | Bin 0 -> 21632 bytes .../_buttons.scssc | Bin 0 -> 21198 bytes .../_carousel.scssc | Bin 0 -> 9184 bytes .../_close.scssc | Bin 0 -> 3275 bytes .../_code.scssc | Bin 0 -> 6002 bytes .../_component-animations.scssc | Bin 0 -> 2055 bytes .../_dropdowns.scssc | Bin 0 -> 13902 bytes .../_forms.scssc | Bin 0 -> 61809 bytes .../_grid.scssc | Bin 0 -> 817 bytes .../_hero-unit.scssc | Bin 0 -> 2450 bytes .../_labels-badges.scssc | Bin 0 -> 8805 bytes .../_layouts.scssc | Bin 0 -> 1676 bytes .../_mixins.scssc | Bin 0 -> 86630 bytes .../_modals.scssc | Bin 0 -> 10799 bytes .../_navbar.scssc | Bin 0 -> 41619 bytes .../_navs.scssc | Bin 0 -> 38967 bytes .../_pager.scssc | Bin 0 -> 3782 bytes .../_pagination.scssc | Bin 0 -> 6889 bytes .../_popovers.scssc | Bin 0 -> 6667 bytes .../_progress-bars.scssc | Bin 0 -> 11999 bytes .../_reset.scssc | Bin 0 -> 11616 bytes .../_scaffolding.scssc | Bin 0 -> 2539 bytes .../_sprites.scssc | Bin 0 -> 50135 bytes .../_tables.scssc | Bin 0 -> 18188 bytes .../_thumbnails.scssc | Bin 0 -> 5709 bytes .../_tooltip.scssc | Bin 0 -> 4768 bytes .../_type.scssc | Bin 0 -> 19779 bytes .../_utilities.scssc | Bin 0 -> 1709 bytes .../_variables.scssc | Bin 0 -> 23667 bytes .../_wells.scssc | Bin 0 -> 3212 bytes users/leap_web_users.gemspec | 1 - users/test/test_helper.rb | 2 +- 115 files changed, 4469 insertions(+), 5 deletions(-) create mode 100644 test/dummy/README.rdoc create mode 100644 test/dummy/Rakefile create mode 100644 test/dummy/app/assets/javascripts/application.js create mode 100644 test/dummy/app/controllers/application_controller.rb create mode 100644 test/dummy/app/helpers/application_helper.rb create mode 100644 test/dummy/app/mailers/.gitkeep create mode 100644 test/dummy/app/models/.gitkeep create mode 100644 test/dummy/app/views/layouts/application.html.erb create mode 100644 test/dummy/config.ru create mode 100644 test/dummy/config/application.rb create mode 100644 test/dummy/config/boot.rb create mode 100644 test/dummy/config/cert create mode 100644 test/dummy/config/environment.rb create mode 100644 test/dummy/config/environments/development.rb create mode 100644 test/dummy/config/environments/production.rb create mode 100644 test/dummy/config/environments/test.rb create mode 100644 test/dummy/config/initializers/backtrace_silencers.rb create mode 100644 test/dummy/config/initializers/inflections.rb create mode 100644 test/dummy/config/initializers/mime_types.rb create mode 100644 test/dummy/config/initializers/secret_token.rb create mode 100644 test/dummy/config/initializers/session_store.rb create mode 100644 test/dummy/config/initializers/wrap_parameters.rb create mode 100644 test/dummy/config/locales/en.yml create mode 100644 test/dummy/config/routes.rb create mode 100644 test/dummy/lib/assets/.gitkeep create mode 100644 test/dummy/log/.gitkeep create mode 100644 test/dummy/log/development.log create mode 100644 test/dummy/log/test.log create mode 100644 test/dummy/public/404.html create mode 100644 test/dummy/public/422.html create mode 100644 test/dummy/public/500.html create mode 100644 test/dummy/public/favicon.ico create mode 100755 test/dummy/script/rails create mode 100644 test/dummy/tmp/cache/assets/C9A/A50/sprockets%2F983ce99613edf03729c8c574059b4583 create mode 100644 test/dummy/tmp/cache/assets/CB1/FD0/sprockets%2F6e1bd95023705b5529e7ccc754a02867 create mode 100644 test/dummy/tmp/cache/assets/CB5/950/sprockets%2F90abd297266441e364737cd8b3747ad2 create mode 100644 test/dummy/tmp/cache/assets/CBF/550/sprockets%2F88a854d2b8e53730066a59df47b5b746 create mode 100644 test/dummy/tmp/cache/assets/CBF/850/sprockets%2F0616865725fea8838fda8e461bb14189 create mode 100644 test/dummy/tmp/cache/assets/CC5/C30/sprockets%2F236b57b867e722f51b8f88fa5737e308 create mode 100644 test/dummy/tmp/cache/assets/CCF/5E0/sprockets%2F0228318f1e29a22095c36a71a8acfd32 create mode 100644 test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 create mode 100644 test/dummy/tmp/cache/assets/CDA/400/sprockets%2F7c3ab762d5be50d6314a324d354186f9 create mode 100644 test/dummy/tmp/cache/assets/CDA/AF0/sprockets%2F1e818287702fc78e6b026cbda72231f1 create mode 100644 test/dummy/tmp/cache/assets/CDE/B30/sprockets%2F672d1206521f7db069bff652455bee25 create mode 100644 test/dummy/tmp/cache/assets/CE3/DA0/sprockets%2F60efe16fc0486f0124c9e708c394066c create mode 100644 test/dummy/tmp/cache/assets/CFA/7F0/sprockets%2Fdda8b0015ab3657095e3a88002bfe403 create mode 100644 test/dummy/tmp/cache/assets/CFF/E00/sprockets%2F352bab412d75fa19d0a07504553b59df create mode 100644 test/dummy/tmp/cache/assets/D01/550/sprockets%2F2b3c6513434ec1692d7cfaa44013e67c create mode 100644 test/dummy/tmp/cache/assets/D10/010/sprockets%2Fc9531a6a43f28d260d68360d9c39ecb3 create mode 100644 test/dummy/tmp/cache/assets/D11/710/sprockets%2F9390490ac7a28c9474c1f765aaf10ad8 create mode 100644 test/dummy/tmp/cache/assets/D13/6E0/sprockets%2F69a87f5b9418510356bfee5f3b3c030f create mode 100644 test/dummy/tmp/cache/assets/D14/710/sprockets%2F39d9d255bc53e820e049e3a37cc5a918 create mode 100644 test/dummy/tmp/cache/assets/D27/D50/sprockets%2F596c7f46a775f908def94bc26c70e514 create mode 100644 test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 create mode 100644 test/dummy/tmp/cache/assets/D32/E30/sprockets%2F426f2eeb2a203ac62e5794a03ed24e66 create mode 100644 test/dummy/tmp/cache/assets/D36/A40/sprockets%2Ff04158f446ef4a685641bbcd05f23c1a create mode 100644 test/dummy/tmp/cache/assets/D37/D60/sprockets%2Fdcbcf07bd77dae07614901d73437c351 create mode 100644 test/dummy/tmp/cache/assets/D3B/610/sprockets%2Fd76666a48d1e3c5b20aa021a6be699d7 create mode 100644 test/dummy/tmp/cache/assets/D3F/2A0/sprockets%2F2f5d6bb21f46a1c09208899ede0c92d3 create mode 100644 test/dummy/tmp/cache/assets/D49/8D0/sprockets%2F92613a75279536c4bcf4f3ba6cfde494 create mode 100644 test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 create mode 100644 test/dummy/tmp/cache/assets/D4F/160/sprockets%2F9686d4b60027ddf89d496f3bd1c5ba75 create mode 100644 test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 create mode 100644 test/dummy/tmp/cache/assets/D60/620/sprockets%2Fae699b549a8960f75ae187e4c7a199fe create mode 100644 test/dummy/tmp/cache/assets/D6B/AA0/sprockets%2Fd7f8c901c5a5f02b0ae12f96fd7c5163 create mode 100644 test/dummy/tmp/cache/assets/D96/E50/sprockets%2Faff1e946351d38bd075c6cb6bae6511a create mode 100644 test/dummy/tmp/cache/assets/DB8/780/sprockets%2Fae36db4ffce0d374304a4ede07a41b31 create mode 100644 test/dummy/tmp/cache/assets/DCB/020/sprockets%2F4d068ed2dc36a60bb278ced9fcf20c36 create mode 100644 test/dummy/tmp/cache/assets/DCD/ED0/sprockets%2F6fe3dc60b7d860d3a8a43690e4afacf4 create mode 100644 test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 create mode 100644 test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af create mode 100644 test/dummy/tmp/cache/assets/E39/460/sprockets%2Fbfafd3d37be1adf677c090f59c7beb96 create mode 100644 test/dummy/tmp/cache/assets/E41/640/sprockets%2Fe39ce66e34eb568eeaaf17bf9f9b22fd create mode 100644 test/dummy/tmp/cache/assets/E95/990/sprockets%2Ff7f4b455f707cfccd5facf51bbdfc2d9 create mode 100644 test/dummy/tmp/cache/sass/41fc7921821e44ccb9c303aca9a6f533f3dc3fa8/application.scssc create mode 100644 test/dummy/tmp/cache/sass/7ec7d32c7162b055998d37293d95edaf57626e5b/_bootstrap.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_accordion.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_alerts.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_breadcrumbs.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_button-groups.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_buttons.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_carousel.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_close.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_code.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_component-animations.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_dropdowns.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_forms.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_grid.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_hero-unit.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_labels-badges.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_layouts.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_mixins.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_modals.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navbar.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navs.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pager.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pagination.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_popovers.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_progress-bars.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_reset.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_scaffolding.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_sprites.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tables.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_thumbnails.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tooltip.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_type.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_utilities.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_variables.scssc create mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_wells.scssc diff --git a/Gemfile.lock b/Gemfile.lock index acd7567..f23e74e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,6 +11,7 @@ PATH leap_web_core (0.1.0) couchrest (~> 1.1.3) couchrest_model (~> 2.0.0.beta2) + couchrest_session_store (~> 0.0.1) rails (~> 3.2.8) PATH @@ -18,7 +19,6 @@ PATH specs: leap_web_users (0.1.0) bootstrap-sass (~> 2.0.4) - couchrest_session_store (~> 0.0.1) haml (~> 3.1.7) jquery-rails leap_web_core (= 0.1.0) diff --git a/certs/test/test_helper.rb b/certs/test/test_helper.rb index b268c51..08d4d41 100644 --- a/certs/test/test_helper.rb +++ b/certs/test/test_helper.rb @@ -1,5 +1,5 @@ ENV["RAILS_ENV"] = "test" -require File.expand_path('../dummy/config/environment', __FILE__) +require File.expand_path('../../../test/dummy/config/environment', __FILE__) require 'rails/test_help' require 'mocha' diff --git a/core/leap_web_core.gemspec b/core/leap_web_core.gemspec index 2de7a4a..c3bb98d 100644 --- a/core/leap_web_core.gemspec +++ b/core/leap_web_core.gemspec @@ -18,5 +18,6 @@ Gem::Specification.new do |s| s.add_dependency "rails", "~> 3.2.8" s.add_dependency "couchrest", "~> 1.1.3" s.add_dependency "couchrest_model", "~> 2.0.0.beta2" + s.add_dependency "couchrest_session_store", "~> 0.0.1" end diff --git a/help/test/test_helper.rb b/help/test/test_helper.rb index 1e26a31..3381f44 100644 --- a/help/test/test_helper.rb +++ b/help/test/test_helper.rb @@ -1,7 +1,7 @@ # Configure Rails Environment ENV["RAILS_ENV"] = "test" -require File.expand_path("../dummy/config/environment.rb", __FILE__) +require File.expand_path('../../../test/dummy/config/environment', __FILE__) require "rails/test_help" Rails.backtrace_cleaner.remove_silencers! diff --git a/test/dummy/README.rdoc b/test/dummy/README.rdoc new file mode 100644 index 0000000..7c36f23 --- /dev/null +++ b/test/dummy/README.rdoc @@ -0,0 +1,261 @@ +== Welcome to Rails + +Rails is a web-application framework that includes everything needed to create +database-backed web applications according to the Model-View-Control pattern. + +This pattern splits the view (also called the presentation) into "dumb" +templates that are primarily responsible for inserting pre-built data in between +HTML tags. The model contains the "smart" domain objects (such as Account, +Product, Person, Post) that holds all the business logic and knows how to +persist themselves to a database. The controller handles the incoming requests +(such as Save New Account, Update Product, Show Post) by manipulating the model +and directing data to the view. + +In Rails, the model is handled by what's called an object-relational mapping +layer entitled Active Record. This layer allows you to present the data from +database rows as objects and embellish these data objects with business logic +methods. You can read more about Active Record in +link:files/vendor/rails/activerecord/README.html. + +The controller and view are handled by the Action Pack, which handles both +layers by its two parts: Action View and Action Controller. These two layers +are bundled in a single package due to their heavy interdependence. This is +unlike the relationship between the Active Record and Action Pack that is much +more separate. Each of these packages can be used independently outside of +Rails. You can read more about Action Pack in +link:files/vendor/rails/actionpack/README.html. + + +== Getting Started + +1. At the command prompt, create a new Rails application: + rails new myapp (where myapp is the application name) + +2. Change directory to myapp and start the web server: + cd myapp; rails server (run with --help for options) + +3. Go to http://localhost:3000/ and you'll see: + "Welcome aboard: You're riding Ruby on Rails!" + +4. Follow the guidelines to start developing your application. You can find +the following resources handy: + +* The Getting Started Guide: http://guides.rubyonrails.org/getting_started.html +* Ruby on Rails Tutorial Book: http://www.railstutorial.org/ + + +== Debugging Rails + +Sometimes your application goes wrong. Fortunately there are a lot of tools that +will help you debug it and get it back on the rails. + +First area to check is the application log files. Have "tail -f" commands +running on the server.log and development.log. Rails will automatically display +debugging and runtime information to these files. Debugging info will also be +shown in the browser on requests from 127.0.0.1. + +You can also log your own messages directly into the log file from your code +using the Ruby logger class from inside your controllers. Example: + + class WeblogController < ActionController::Base + def destroy + @weblog = Weblog.find(params[:id]) + @weblog.destroy + logger.info("#{Time.now} Destroyed Weblog ID ##{@weblog.id}!") + end + end + +The result will be a message in your log file along the lines of: + + Mon Oct 08 14:22:29 +1000 2007 Destroyed Weblog ID #1! + +More information on how to use the logger is at http://www.ruby-doc.org/core/ + +Also, Ruby documentation can be found at http://www.ruby-lang.org/. There are +several books available online as well: + +* Programming Ruby: http://www.ruby-doc.org/docs/ProgrammingRuby/ (Pickaxe) +* Learn to Program: http://pine.fm/LearnToProgram/ (a beginners guide) + +These two books will bring you up to speed on the Ruby language and also on +programming in general. + + +== Debugger + +Debugger support is available through the debugger command when you start your +Mongrel or WEBrick server with --debugger. This means that you can break out of +execution at any point in the code, investigate and change the model, and then, +resume execution! You need to install ruby-debug to run the server in debugging +mode. With gems, use sudo gem install ruby-debug. Example: + + class WeblogController < ActionController::Base + def index + @posts = Post.all + debugger + end + end + +So the controller will accept the action, run the first line, then present you +with a IRB prompt in the server window. Here you can do things like: + + >> @posts.inspect + => "[#nil, "body"=>nil, "id"=>"1"}>, + #"Rails", "body"=>"Only ten..", "id"=>"2"}>]" + >> @posts.first.title = "hello from a debugger" + => "hello from a debugger" + +...and even better, you can examine how your runtime objects actually work: + + >> f = @posts.first + => #nil, "body"=>nil, "id"=>"1"}> + >> f. + Display all 152 possibilities? (y or n) + +Finally, when you're ready to resume execution, you can enter "cont". + + +== Console + +The console is a Ruby shell, which allows you to interact with your +application's domain model. Here you'll have all parts of the application +configured, just like it is when the application is running. You can inspect +domain models, change values, and save to the database. Starting the script +without arguments will launch it in the development environment. + +To start the console, run rails console from the application +directory. + +Options: + +* Passing the -s, --sandbox argument will rollback any modifications + made to the database. +* Passing an environment name as an argument will load the corresponding + environment. Example: rails console production. + +To reload your controllers and models after launching the console run +reload! + +More information about irb can be found at: +link:http://www.rubycentral.org/pickaxe/irb.html + + +== dbconsole + +You can go to the command line of your database directly through rails +dbconsole. You would be connected to the database with the credentials +defined in database.yml. Starting the script without arguments will connect you +to the development database. Passing an argument will connect you to a different +database, like rails dbconsole production. Currently works for MySQL, +PostgreSQL and SQLite 3. + +== Description of Contents + +The default directory structure of a generated Ruby on Rails application: + + |-- app + | |-- assets + | |-- images + | |-- javascripts + | `-- stylesheets + | |-- controllers + | |-- helpers + | |-- mailers + | |-- models + | `-- views + | `-- layouts + |-- config + | |-- environments + | |-- initializers + | `-- locales + |-- db + |-- doc + |-- lib + | `-- tasks + |-- log + |-- public + |-- script + |-- test + | |-- fixtures + | |-- functional + | |-- integration + | |-- performance + | `-- unit + |-- tmp + | |-- cache + | |-- pids + | |-- sessions + | `-- sockets + `-- vendor + |-- assets + `-- stylesheets + `-- plugins + +app + Holds all the code that's specific to this particular application. + +app/assets + Contains subdirectories for images, stylesheets, and JavaScript files. + +app/controllers + Holds controllers that should be named like weblogs_controller.rb for + automated URL mapping. All controllers should descend from + ApplicationController which itself descends from ActionController::Base. + +app/models + Holds models that should be named like post.rb. Models descend from + ActiveRecord::Base by default. + +app/views + Holds the template files for the view that should be named like + weblogs/index.html.erb for the WeblogsController#index action. All views use + eRuby syntax by default. + +app/views/layouts + Holds the template files for layouts to be used with views. This models the + common header/footer method of wrapping views. In your views, define a layout + using the layout :default and create a file named default.html.erb. + Inside default.html.erb, call <% yield %> to render the view using this + layout. + +app/helpers + Holds view helpers that should be named like weblogs_helper.rb. These are + generated for you automatically when using generators for controllers. + Helpers can be used to wrap functionality for your views into methods. + +config + Configuration files for the Rails environment, the routing map, the database, + and other dependencies. + +db + Contains the database schema in schema.rb. db/migrate contains all the + sequence of Migrations for your schema. + +doc + This directory is where your application documentation will be stored when + generated using rake doc:app + +lib + Application specific libraries. Basically, any kind of custom code that + doesn't belong under controllers, models, or helpers. This directory is in + the load path. + +public + The directory available for the web server. Also contains the dispatchers and the + default HTML files. This should be set as the DOCUMENT_ROOT of your web + server. + +script + Helper scripts for automation and generation. + +test + Unit and functional tests along with fixtures. When using the rails generate + command, template test files will be generated for you and placed in this + directory. + +vendor + External libraries that the application depends on. Also includes the plugins + subdirectory. If the app has frozen rails, those gems also go here, under + vendor/rails/. This directory is in the load path. diff --git a/test/dummy/Rakefile b/test/dummy/Rakefile new file mode 100644 index 0000000..3645852 --- /dev/null +++ b/test/dummy/Rakefile @@ -0,0 +1,7 @@ +#!/usr/bin/env rake +# 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__) + +Dummy::Application.load_tasks diff --git a/test/dummy/app/assets/javascripts/application.js b/test/dummy/app/assets/javascripts/application.js new file mode 100644 index 0000000..b3ce228 --- /dev/null +++ b/test/dummy/app/assets/javascripts/application.js @@ -0,0 +1,16 @@ +// This is a manifest file that'll be compiled into application.js, which will include all the files +// listed below. +// +// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, +// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path. +// +// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the +// the compiled file. +// +// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD +// GO AFTER THE REQUIRES BELOW. +// +//= require jquery +//= require jquery_ujs +//= require_tree . +//= require srp diff --git a/test/dummy/app/controllers/application_controller.rb b/test/dummy/app/controllers/application_controller.rb new file mode 100644 index 0000000..e8065d9 --- /dev/null +++ b/test/dummy/app/controllers/application_controller.rb @@ -0,0 +1,3 @@ +class ApplicationController < ActionController::Base + protect_from_forgery +end diff --git a/test/dummy/app/helpers/application_helper.rb b/test/dummy/app/helpers/application_helper.rb new file mode 100644 index 0000000..de6be79 --- /dev/null +++ b/test/dummy/app/helpers/application_helper.rb @@ -0,0 +1,2 @@ +module ApplicationHelper +end diff --git a/test/dummy/app/mailers/.gitkeep b/test/dummy/app/mailers/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/test/dummy/app/models/.gitkeep b/test/dummy/app/models/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/test/dummy/app/views/layouts/application.html.erb b/test/dummy/app/views/layouts/application.html.erb new file mode 100644 index 0000000..4cab268 --- /dev/null +++ b/test/dummy/app/views/layouts/application.html.erb @@ -0,0 +1,14 @@ + + + + Dummy + <%= stylesheet_link_tag "application", :media => "all" %> + <%= javascript_include_tag "application" %> + <%= csrf_meta_tags %> + + + +<%= yield %> + + + diff --git a/test/dummy/config.ru b/test/dummy/config.ru new file mode 100644 index 0000000..1989ed8 --- /dev/null +++ b/test/dummy/config.ru @@ -0,0 +1,4 @@ +# This file is used by Rack-based servers to start the application. + +require ::File.expand_path('../config/environment', __FILE__) +run Dummy::Application diff --git a/test/dummy/config/application.rb b/test/dummy/config/application.rb new file mode 100644 index 0000000..9e345a6 --- /dev/null +++ b/test/dummy/config/application.rb @@ -0,0 +1,64 @@ +require File.expand_path('../boot', __FILE__) + +# Pick the frameworks you want: +# require "active_record/railtie" +require "action_controller/railtie" +require "action_mailer/railtie" +require "active_resource/railtie" +require "sprockets/railtie" +require "rails/test_unit/railtie" + +Bundler.require + +module Dummy + class Application < Rails::Application + # Settings in config/environments/* take precedence over those specified here. + # Application configuration should go into files in config/initializers + # -- all .rb files in that directory are automatically loaded. + + # Custom directories with classes and modules you want to be autoloadable. + # config.autoload_paths += %W(#{config.root}/extras) + + # Only load the plugins named here, in the order given (default is alphabetical). + # :all can be used as a placeholder for all plugins not explicitly named. + # config.plugins = [ :exception_notification, :ssl_requirement, :all ] + + # Activate observers that should always be running. + # config.active_record.observers = :cacher, :garbage_collector, :forum_observer + + # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone. + # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC. + # config.time_zone = 'Central Time (US & Canada)' + + # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. + # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] + # config.i18n.default_locale = :de + + # Configure the default encoding used in templates for Ruby 1.9. + config.encoding = "utf-8" + + # Configure sensitive parameters which will be filtered from the log file. + config.filter_parameters += [:password] + + # Enable escaping HTML in JSON. + config.active_support.escape_html_entities_in_json = true + + # Use SQL instead of Active Record's schema dumper when creating the database. + # This is necessary if your schema can't be completely dumped by the schema dumper, + # like if you have constraints or database-specific column types + # config.active_record.schema_format = :sql + + # Enforce whitelist mode for mass assignment. + # This will create an empty whitelist of attributes available for mass-assignment for all models + # in your app. As such, your models will need to explicitly whitelist or blacklist accessible + # parameters by using an attr_accessible or attr_protected declaration. + # config.active_record.whitelist_attributes = true + + # Enable the asset pipeline + config.assets.enabled = true + + # Version of your assets, change this if you want to expire all your assets + config.assets.version = '1.0' + end +end + diff --git a/test/dummy/config/boot.rb b/test/dummy/config/boot.rb new file mode 100644 index 0000000..eba0681 --- /dev/null +++ b/test/dummy/config/boot.rb @@ -0,0 +1,10 @@ +require 'rubygems' +gemfile = File.expand_path('../../../../Gemfile', __FILE__) + +if File.exist?(gemfile) + ENV['BUNDLE_GEMFILE'] = gemfile + require 'bundler' + Bundler.setup +end + +$:.unshift File.expand_path('../../../../lib', __FILE__) \ No newline at end of file diff --git a/test/dummy/config/cert b/test/dummy/config/cert new file mode 100644 index 0000000..e69de29 diff --git a/test/dummy/config/environment.rb b/test/dummy/config/environment.rb new file mode 100644 index 0000000..3da5eb9 --- /dev/null +++ b/test/dummy/config/environment.rb @@ -0,0 +1,5 @@ +# Load the rails application +require File.expand_path('../application', __FILE__) + +# Initialize the rails application +Dummy::Application.initialize! diff --git a/test/dummy/config/environments/development.rb b/test/dummy/config/environments/development.rb new file mode 100644 index 0000000..493c477 --- /dev/null +++ b/test/dummy/config/environments/development.rb @@ -0,0 +1,31 @@ +Dummy::Application.configure do + # Settings specified here will take precedence over those in config/application.rb + + # In the development environment your application's code is reloaded on + # every request. This slows down response time but is perfect for development + # since you don't have to restart the web server when you make code changes. + config.cache_classes = false + + # Log error messages when you accidentally call methods on nil. + config.whiny_nils = true + + # Show full error reports and disable caching + config.consider_all_requests_local = true + config.action_controller.perform_caching = false + + # Don't care if the mailer can't send + config.action_mailer.raise_delivery_errors = false + + # Print deprecation notices to the Rails logger + config.active_support.deprecation = :log + + # Only use best-standards-support built into browsers + config.action_dispatch.best_standards_support = :builtin + + + # Do not compress assets + config.assets.compress = false + + # Expands the lines which load the assets + config.assets.debug = true +end diff --git a/test/dummy/config/environments/production.rb b/test/dummy/config/environments/production.rb new file mode 100644 index 0000000..550acc5 --- /dev/null +++ b/test/dummy/config/environments/production.rb @@ -0,0 +1,64 @@ +Dummy::Application.configure do + # Settings specified here will take precedence over those in config/application.rb + + # Code is not reloaded between requests + config.cache_classes = true + + # Full error reports are disabled and caching is turned on + config.consider_all_requests_local = false + config.action_controller.perform_caching = true + + # Disable Rails's static asset server (Apache or nginx will already do this) + config.serve_static_assets = false + + # Compress JavaScripts and CSS + config.assets.compress = true + + # Don't fallback to assets pipeline if a precompiled asset is missed + config.assets.compile = false + + # Generate digests for assets URLs + config.assets.digest = true + + # Defaults to nil and saved in location specified by config.assets.prefix + # config.assets.manifest = YOUR_PATH + + # Specifies the header that your server uses for sending files + # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache + # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx + + # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. + # config.force_ssl = true + + # See everything in the log (default is :info) + # config.log_level = :debug + + # Prepend all log lines with the following tags + # config.log_tags = [ :subdomain, :uuid ] + + # Use a different logger for distributed setups + # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new) + + # Use a different cache store in production + # config.cache_store = :mem_cache_store + + # Enable serving of images, stylesheets, and JavaScripts from an asset server + # config.action_controller.asset_host = "http://assets.example.com" + + # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added) + # config.assets.precompile += %w( search.js ) + + # Disable delivery errors, bad email addresses will be ignored + # config.action_mailer.raise_delivery_errors = false + + # Enable threaded mode + # config.threadsafe! + + # Enable locale fallbacks for I18n (makes lookups for any locale fall back to + # the I18n.default_locale when a translation can not be found) + config.i18n.fallbacks = true + + # Send deprecation notices to registered listeners + config.active_support.deprecation = :notify + +end diff --git a/test/dummy/config/environments/test.rb b/test/dummy/config/environments/test.rb new file mode 100644 index 0000000..54657bd --- /dev/null +++ b/test/dummy/config/environments/test.rb @@ -0,0 +1,35 @@ +Dummy::Application.configure do + # Settings specified here will take precedence over those in config/application.rb + + # The test environment is used exclusively to run your application's + # test suite. You never need to work with it otherwise. Remember that + # your test database is "scratch space" for the test suite and is wiped + # and recreated between test runs. Don't rely on the data there! + config.cache_classes = true + + # Configure static asset server for tests with Cache-Control for performance + config.serve_static_assets = true + config.static_cache_control = "public, max-age=3600" + + # Log error messages when you accidentally call methods on nil + config.whiny_nils = true + + # Show full error reports and disable caching + config.consider_all_requests_local = true + config.action_controller.perform_caching = false + + # Raise exceptions instead of rendering exception templates + config.action_dispatch.show_exceptions = false + + # Disable request forgery protection in test environment + config.action_controller.allow_forgery_protection = false + + # Tell Action Mailer not to deliver emails to the real world. + # The :test delivery method accumulates sent emails in the + # ActionMailer::Base.deliveries array. + config.action_mailer.delivery_method = :test + + + # Print deprecation notices to the stderr + config.active_support.deprecation = :stderr +end diff --git a/test/dummy/config/initializers/backtrace_silencers.rb b/test/dummy/config/initializers/backtrace_silencers.rb new file mode 100644 index 0000000..59385cd --- /dev/null +++ b/test/dummy/config/initializers/backtrace_silencers.rb @@ -0,0 +1,7 @@ +# Be sure to restart your server when you modify this file. + +# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces. +# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ } + +# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code. +# Rails.backtrace_cleaner.remove_silencers! diff --git a/test/dummy/config/initializers/inflections.rb b/test/dummy/config/initializers/inflections.rb new file mode 100644 index 0000000..5d8d9be --- /dev/null +++ b/test/dummy/config/initializers/inflections.rb @@ -0,0 +1,15 @@ +# Be sure to restart your server when you modify this file. + +# Add new inflection rules using the following format +# (all these examples are active by default): +# ActiveSupport::Inflector.inflections do |inflect| +# inflect.plural /^(ox)$/i, '\1en' +# inflect.singular /^(ox)en/i, '\1' +# inflect.irregular 'person', 'people' +# inflect.uncountable %w( fish sheep ) +# end +# +# These inflection rules are supported but not enabled by default: +# ActiveSupport::Inflector.inflections do |inflect| +# inflect.acronym 'RESTful' +# end diff --git a/test/dummy/config/initializers/mime_types.rb b/test/dummy/config/initializers/mime_types.rb new file mode 100644 index 0000000..72aca7e --- /dev/null +++ b/test/dummy/config/initializers/mime_types.rb @@ -0,0 +1,5 @@ +# Be sure to restart your server when you modify this file. + +# Add new mime types for use in respond_to blocks: +# Mime::Type.register "text/richtext", :rtf +# Mime::Type.register_alias "text/html", :iphone diff --git a/test/dummy/config/initializers/secret_token.rb b/test/dummy/config/initializers/secret_token.rb new file mode 100644 index 0000000..5fe6b2b --- /dev/null +++ b/test/dummy/config/initializers/secret_token.rb @@ -0,0 +1,7 @@ +# Be sure to restart your server when you modify this file. + +# Your secret key for verifying the integrity of signed cookies. +# If you change this key, all old signed cookies will become invalid! +# Make sure the secret is at least 30 characters and all random, +# no regular words or you'll be exposed to dictionary attacks. +Dummy::Application.config.secret_token = '14fd4f5970abedec753a7266fe5469c6aff8322113e31dcc8bdd608633e9fd35ebabb3596d6494dbced08eb95b20ac819c2f94f0d8f1abd11a71d149c38eb329' diff --git a/test/dummy/config/initializers/session_store.rb b/test/dummy/config/initializers/session_store.rb new file mode 100644 index 0000000..16787d2 --- /dev/null +++ b/test/dummy/config/initializers/session_store.rb @@ -0,0 +1,9 @@ +require 'couchrest_session_store' +# Be sure to restart your server when you modify this file. + +Dummy::Application.config.session_store CouchRestSessionStore + +# Use the database for sessions instead of the cookie-based default, +# which shouldn't be used to store highly confidential information +# (create the session table with "rails generate session_migration") +# Dummy::Application.config.session_store :active_record_store diff --git a/test/dummy/config/initializers/wrap_parameters.rb b/test/dummy/config/initializers/wrap_parameters.rb new file mode 100644 index 0000000..5fe232e --- /dev/null +++ b/test/dummy/config/initializers/wrap_parameters.rb @@ -0,0 +1,10 @@ +# Be sure to restart your server when you modify this file. +# +# This file contains settings for ActionController::ParamsWrapper which +# is enabled by default. + +# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array. +ActiveSupport.on_load(:action_controller) do + wrap_parameters :format => [:json] +end + diff --git a/test/dummy/config/locales/en.yml b/test/dummy/config/locales/en.yml new file mode 100644 index 0000000..179c14c --- /dev/null +++ b/test/dummy/config/locales/en.yml @@ -0,0 +1,5 @@ +# Sample localization file for English. Add more files in this directory for other locales. +# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. + +en: + hello: "Hello world" diff --git a/test/dummy/config/routes.rb b/test/dummy/config/routes.rb new file mode 100644 index 0000000..eb8579b --- /dev/null +++ b/test/dummy/config/routes.rb @@ -0,0 +1,58 @@ +Dummy::Application.routes.draw do + # The priority is based upon order of creation: + # first created -> highest priority. + + # Sample of regular route: + # match 'products/:id' => 'catalog#view' + # Keep in mind you can assign values other than :controller and :action + + # Sample of named route: + # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase + # This route can be invoked with purchase_url(:id => product.id) + + # Sample resource route (maps HTTP verbs to controller actions automatically): + # resources :products + + # Sample resource route with options: + # resources :products do + # member do + # get 'short' + # post 'toggle' + # end + # + # collection do + # get 'sold' + # end + # end + + # Sample resource route with sub-resources: + # resources :products do + # resources :comments, :sales + # resource :seller + # end + + # Sample resource route with more complex sub-resources + # resources :products do + # resources :comments + # resources :sales do + # get 'recent', :on => :collection + # end + # end + + # Sample resource route within a namespace: + # namespace :admin do + # # Directs /admin/products/* to Admin::ProductsController + # # (app/controllers/admin/products_controller.rb) + # resources :products + # end + + # You can have the root of your site routed with "root" + # just remember to delete public/index.html. + # root :to => 'welcome#index' + + # See how all your routes lay out with "rake routes" + + # This is a legacy wild controller route that's not recommended for RESTful applications. + # Note: This route will make all actions in every controller accessible via GET requests. + # match ':controller(/:action(/:id))(.:format)' +end diff --git a/test/dummy/lib/assets/.gitkeep b/test/dummy/lib/assets/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/test/dummy/log/.gitkeep b/test/dummy/log/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/test/dummy/log/development.log b/test/dummy/log/development.log new file mode 100644 index 0000000..aaf6ba4 --- /dev/null +++ b/test/dummy/log/development.log @@ -0,0 +1,2505 @@ + + +Started GET "/sign_up" for 127.0.0.1 at Tue Sep 18 15:44:43 +0200 2012 +Processing by UsersController#new as HTML + Rendered /oldvar/src/leap/leap_web_users/app/views/users/new.html.haml within layouts/application (751.7ms) +Compiled application.css (1ms) (pid 4287) +Compiled jquery.js (7ms) (pid 4287) +Compiled jquery_ujs.js (1ms) (pid 4287) +Compiled srp/lib/MD5.js (0ms) (pid 4287) +Compiled srp/lib/SHA1.js (0ms) (pid 4287) +Compiled srp/lib/SHA256.js (0ms) (pid 4287) +Compiled srp/lib/aes.js (1ms) (pid 4287) +Compiled srp/lib/cryptoHelpers.js (0ms) (pid 4287) +Compiled srp/lib/jsbn.js (1ms) (pid 4287) +Compiled srp/lib/jsbn2.js (1ms) (pid 4287) +Compiled srp/lib/prng4.js (0ms) (pid 4287) +Compiled srp/lib/rng.js (0ms) (pid 4287) +Compiled srp/src/jqueryRest.js (0ms) (pid 4287) +Compiled srp/src/plainXHR.js (0ms) (pid 4287) +Compiled srp/src/srp.js (0ms) (pid 4287) +Compiled srp/src/srp_session.js (0ms) (pid 4287) +Compiled srp/index.js (186ms) (pid 4287) +Compiled application.js (459ms) (pid 4287) +Completed 200 OK in 1576ms (Views: 1574.7ms) + + +Started GET "/assets/application.css?body=1" for 127.0.0.1 at Tue Sep 18 15:44:45 +0200 2012 +Served asset /application.css - 200 OK (4ms) + + +Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:45 +0200 2012 +Served asset /jquery.js - 200 OK (13ms) + + +Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:45 +0200 2012 +Served asset /jquery_ujs.js - 200 OK (12ms) + + +Started GET "/assets/srp/lib/MD5.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:45 +0200 2012 +Served asset /srp/lib/MD5.js - 200 OK (4ms) + + +Started GET "/assets/srp/lib/SHA1.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012 +Served asset /srp/lib/SHA1.js - 200 OK (6ms) + + +Started GET "/assets/srp/lib/SHA256.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012 +Served asset /srp/lib/SHA256.js - 200 OK (4ms) + + +Started GET "/assets/srp/lib/aes.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012 +Served asset /srp/lib/aes.js - 200 OK (8ms) + + +Started GET "/assets/srp/lib/cryptoHelpers.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012 +Served asset /srp/lib/cryptoHelpers.js - 200 OK (4ms) + + +Started GET "/assets/srp/lib/jsbn.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012 +Served asset /srp/lib/jsbn.js - 200 OK (4ms) + + +Started GET "/assets/srp/lib/jsbn2.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012 +Served asset /srp/lib/jsbn2.js - 200 OK (75ms) + + +Started GET "/assets/srp/lib/prng4.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012 +Served asset /srp/lib/prng4.js - 200 OK (4ms) + + +Started GET "/assets/srp/lib/rng.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012 +Served asset /srp/lib/rng.js - 200 OK (4ms) + + +Started GET "/assets/srp/src/jqueryRest.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012 +Served asset /srp/src/jqueryRest.js - 200 OK (4ms) + + +Started GET "/assets/srp/src/plainXHR.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012 +Served asset /srp/src/plainXHR.js - 200 OK (3ms) + + +Started GET "/assets/srp/src/srp.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012 +Served asset /srp/src/srp.js - 200 OK (3ms) + + +Started GET "/assets/srp/src/srp_session.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012 +Served asset /srp/src/srp_session.js - 200 OK (4ms) + + +Started GET "/assets/srp/index.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012 +Served asset /srp/index.js - 200 OK (28ms) + + +Started GET "/assets/application.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012 +Served asset /application.js - 200 OK (33ms) + + +Started GET "/sign_up" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012 +Processing by UsersController#new as HTML + Rendered /oldvar/src/leap/leap_web_users/app/views/users/new.html.haml within layouts/application (12.2ms) +Completed 200 OK in 23ms (Views: 22.6ms) + + +Started GET "/assets/application.css?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012 +Served asset /application.css - 200 OK (0ms) + + +Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012 +Served asset /jquery.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/SHA1.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012 +Served asset /srp/lib/SHA1.js - 200 OK (0ms) + + +Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012 +Served asset /jquery_ujs.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/MD5.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012 +Served asset /srp/lib/MD5.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/aes.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012 +Served asset /srp/lib/aes.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/SHA256.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012 +Served asset /srp/lib/SHA256.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/cryptoHelpers.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012 +Served asset /srp/lib/cryptoHelpers.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/jsbn.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012 +Served asset /srp/lib/jsbn.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/jsbn2.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012 +Served asset /srp/lib/jsbn2.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/prng4.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012 +Served asset /srp/lib/prng4.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/rng.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012 +Served asset /srp/lib/rng.js - 200 OK (0ms) + + +Started GET "/assets/srp/src/jqueryRest.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012 +Served asset /srp/src/jqueryRest.js - 200 OK (0ms) + + +Started GET "/assets/srp/src/plainXHR.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012 +Served asset /srp/src/plainXHR.js - 200 OK (0ms) + + +Started GET "/assets/srp/src/srp.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012 +Served asset /srp/src/srp.js - 200 OK (0ms) + + +Started GET "/assets/srp/src/srp_session.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012 +Served asset /srp/src/srp_session.js - 200 OK (0ms) + + +Started GET "/assets/srp/index.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012 +Served asset /srp/index.js - 200 OK (1ms) + + +Started GET "/assets/application.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012 +Served asset /application.js - 200 OK (85ms) + + +Started GET "/sign_up" for 127.0.0.1 at Tue Sep 18 15:47:02 +0200 2012 +Processing by UsersController#new as HTML + Rendered /oldvar/src/leap/leap_web_users/app/views/users/new.html.haml within layouts/application (15.0ms) +Completed 500 Internal Server Error in 5855ms + +ActionView::Template::Error (/oldvar/src/leap/leap_web_users/test/dummy/app/assets/stylesheets/application.css has already been required): + 2: + 3: + 4: Dummy + 5: <%= stylesheet_link_tag "application", :media => "all" %> + 6: <%= javascript_include_tag "application" %> + 7: <%= csrf_meta_tags %> + 8: + app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb___654027934__617377338' + + + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (13.9ms) + + +Started GET "/sign_up" for 127.0.0.1 at Tue Sep 18 15:47:32 +0200 2012 +Processing by UsersController#new as HTML + Rendered /oldvar/src/leap/leap_web_users/app/views/users/new.html.haml within layouts/application (12.4ms) +Compiled application.css (1676ms) (pid 4287) +Completed 200 OK in 1951ms (Views: 1951.0ms) + + +Started GET "/assets/application.css?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012 +Served asset /application.css - 200 OK (24ms) + + +Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012 +Served asset /jquery.js - 200 OK (0ms) + + +Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012 +Served asset /jquery_ujs.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/MD5.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012 +Served asset /srp/lib/MD5.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/SHA1.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012 +Served asset /srp/lib/SHA1.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/SHA256.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012 +Served asset /srp/lib/SHA256.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/aes.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012 +Served asset /srp/lib/aes.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/cryptoHelpers.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012 +Served asset /srp/lib/cryptoHelpers.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/jsbn.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012 +Served asset /srp/lib/jsbn.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/jsbn2.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012 +Served asset /srp/lib/jsbn2.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/prng4.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012 +Served asset /srp/lib/prng4.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/rng.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012 +Served asset /srp/lib/rng.js - 200 OK (0ms) + + +Started GET "/assets/srp/src/jqueryRest.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012 +Served asset /srp/src/jqueryRest.js - 200 OK (0ms) + + +Started GET "/assets/srp/src/plainXHR.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012 +Served asset /srp/src/plainXHR.js - 200 OK (0ms) + + +Started GET "/assets/srp/src/srp.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012 +Served asset /srp/src/srp.js - 200 OK (0ms) + + +Started GET "/assets/srp/src/srp_session.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012 +Served asset /srp/src/srp_session.js - 200 OK (0ms) + + +Started GET "/assets/srp/index.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012 +Served asset /srp/index.js - 200 OK (1ms) + + +Started GET "/assets/application.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012 +Served asset /application.js - 200 OK (2ms) + + +Started GET "/sign_up" for 127.0.0.1 at Tue Sep 18 15:48:51 +0200 2012 +Processing by UsersController#new as HTML + Rendered /oldvar/src/leap/leap_web_users/app/views/users/new.html.haml within layouts/application (12.7ms) +Compiled srp/src/plainXHR.js (0ms) (pid 4287) +Compiled srp/index.js (10ms) (pid 4287) +Compiled application.js (11ms) (pid 4287) +Completed 200 OK in 170ms (Views: 169.8ms) + + +Started GET "/assets/application.css?body=1" for 127.0.0.1 at Tue Sep 18 15:48:51 +0200 2012 +Served asset /application.css - 200 OK (3ms) + + +Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:51 +0200 2012 +Served asset /jquery.js - 200 OK (0ms) + + +Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:51 +0200 2012 +Served asset /jquery_ujs.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/MD5.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:51 +0200 2012 +Served asset /srp/lib/MD5.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/aes.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012 +Served asset /srp/lib/aes.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/SHA1.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012 +Served asset /srp/lib/SHA1.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/SHA256.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012 +Served asset /srp/lib/SHA256.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/cryptoHelpers.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012 +Served asset /srp/lib/cryptoHelpers.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/jsbn.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012 +Served asset /srp/lib/jsbn.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/jsbn2.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012 +Served asset /srp/lib/jsbn2.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/prng4.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012 +Served asset /srp/lib/prng4.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/rng.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012 +Served asset /srp/lib/rng.js - 200 OK (0ms) + + +Started GET "/assets/srp/src/jqueryRest.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012 +Served asset /srp/src/jqueryRest.js - 200 OK (0ms) + + +Started GET "/assets/srp/src/plainXHR.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012 +Served asset /srp/src/plainXHR.js - 200 OK (4ms) + + +Started GET "/assets/srp/src/srp.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012 +Served asset /srp/src/srp.js - 200 OK (0ms) + + +Started GET "/assets/srp/src/srp_session.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012 +Served asset /srp/src/srp_session.js - 200 OK (0ms) + + +Started GET "/assets/srp/index.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012 +Served asset /srp/index.js - 200 OK (30ms) + + +Started GET "/assets/application.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012 +Served asset /application.js - 200 OK (39ms) + + +Started GET "/sign_up" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012 +Processing by UsersController#new as HTML + Rendered /oldvar/src/leap/leap_web_users/app/views/users/new.html.haml within layouts/application (14.0ms) +Compiled srp/index.js (11ms) (pid 4287) +Compiled application.js (80ms) (pid 4287) +Completed 200 OK in 172ms (Views: 171.5ms) + + +Started GET "/assets/application.css?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012 +Served asset /application.css - 200 OK (3ms) + + +Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012 +Served asset /jquery.js - 200 OK (0ms) + + +Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012 +Served asset /jquery_ujs.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/MD5.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012 +Served asset /srp/lib/MD5.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/SHA1.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012 +Served asset /srp/lib/SHA1.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/aes.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012 +Served asset /srp/lib/aes.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/SHA256.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012 +Served asset /srp/lib/SHA256.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/cryptoHelpers.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012 +Served asset /srp/lib/cryptoHelpers.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/jsbn.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012 +Served asset /srp/lib/jsbn.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/jsbn2.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012 +Served asset /srp/lib/jsbn2.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/prng4.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012 +Served asset /srp/lib/prng4.js - 200 OK (0ms) + + +Started GET "/assets/srp/lib/rng.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012 +Served asset /srp/lib/rng.js - 200 OK (0ms) + + +Started GET "/assets/srp/src/srp.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012 +Served asset /srp/src/srp.js - 200 OK (0ms) + + +Started GET "/assets/srp/src/jqueryRest.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012 +Served asset /srp/src/jqueryRest.js - 200 OK (0ms) + + +Started GET "/assets/srp/src/plainXHR.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012 +Served asset /srp/src/plainXHR.js - 200 OK (0ms) + + +Started GET "/assets/srp/src/srp_session.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012 +Served asset /srp/src/srp_session.js - 200 OK (0ms) + + +Started GET "/assets/srp/index.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012 +Served asset /srp/index.js - 200 OK (34ms) + + +Started GET "/assets/application.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012 +Served asset /application.js - 200 OK (111ms) + + +Started POST "/users.json" for 127.0.0.1 at Sun Sep 23 17:00:45 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"login"=>"O5H15R", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} +WARNING: Can't verify CSRF token authenticity + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 685ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Sun Sep 23 17:00:46 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"login"=>"O5H15R", "A"=>"12345"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 19ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Sun Sep 23 17:00:46 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"login"=>"O5H15R", "A"=>"12345"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 11ms (Views: 0.3ms) + + +Started PUT "/sessions/O5H15R" for 127.0.0.1 at Sun Sep 23 17:00:46 +0200 2012 +Processing by SessionsController#update as */* + Parameters: {"id"=>"O5H15R", "M"=>"123"} +WARNING: Can't verify CSRF token authenticity +Completed 500 Internal Server Error in 12ms + +NoMethodError (undefined method `hex' for nil:NilClass): + /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:15:in `update' + actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `process_action' + activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__545523884__process_action__787962131__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' + actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' + actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' + actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' + journey (1.0.4) lib/journey/router.rb:68:in `call' + journey (1.0.4) lib/journey/router.rb:56:in `each' + journey (1.0.4) lib/journey/router.rb:56:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' + sass (3.1.20) lib/sass/./sass/plugin/rack.rb:54:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' + rack (1.4.1) lib/rack/etag.rb:23:in `call' + rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' + rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' + rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__237587485__call__4__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' + railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.1) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.1) lib/rack/lock.rb:15:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' + railties (3.2.8) lib/rails/engine.rb:479:in `call' + railties (3.2.8) lib/rails/application.rb:223:in `call' + rack (1.4.1) lib/rack/content_length.rb:14:in `call' + railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' + rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run' + rack (1.4.1) lib/rack/server.rb:265:in `start' + railties (3.2.8) lib/rails/commands/server.rb:70:in `start' + railties (3.2.8) lib/rails/commands.rb:55 + railties (3.2.8) lib/rails/commands.rb:50:in `tap' + railties (3.2.8) lib/rails/commands.rb:50 + script/rails:6:in `require' + script/rails:6 + + + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.8ms) + + +Started POST "/users.json" for 127.0.0.1 at Sun Sep 23 17:20:09 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"login"=>"python_test_user_2BIJLT", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} +WARNING: Can't verify CSRF token authenticity + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 98ms (Views: 0.2ms) + + +Started POST "/sessions" for 127.0.0.1 at Sun Sep 23 17:20:38 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"login"=>"python_test_user_65XJBI", "A"=>"12345"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 22ms (Views: 0.6ms) + + +Started POST "/users.json" for 127.0.0.1 at Sun Sep 23 17:21:35 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"login"=>"CZZJ1R", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} +WARNING: Can't verify CSRF token authenticity + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 17ms (Views: 0.2ms) + + +Started POST "/sessions" for 127.0.0.1 at Sun Sep 23 17:21:35 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"login"=>"CZZJ1R", "A"=>"12345"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 13ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Sun Sep 23 17:21:35 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"login"=>"CZZJ1R", "A"=>"12345"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 12ms (Views: 0.3ms) + + +Started PUT "/sessions/CZZJ1R" for 127.0.0.1 at Sun Sep 23 17:21:35 +0200 2012 +Processing by SessionsController#update as */* + Parameters: {"id"=>"CZZJ1R", "client_auth"=>"123"} +WARNING: Can't verify CSRF token authenticity +Completed 500 Internal Server Error in 70ms + +NoMethodError (undefined method `m1' for nil:NilClass): + ruby-srp (0.0.2) lib/srp/authentication.rb:49:in `authenticate' + ruby-srp (0.0.2) lib/srp/authentication.rb:45:in `authenticate!' + /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:15:in `update' + actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `process_action' + activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__545523884__process_action__787962131__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' + actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' + actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' + actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' + journey (1.0.4) lib/journey/router.rb:68:in `call' + journey (1.0.4) lib/journey/router.rb:56:in `each' + journey (1.0.4) lib/journey/router.rb:56:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' + sass (3.1.20) lib/sass/./sass/plugin/rack.rb:54:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' + rack (1.4.1) lib/rack/etag.rb:23:in `call' + rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' + rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' + rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__237587485__call__4__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' + railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.1) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.1) lib/rack/lock.rb:15:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' + railties (3.2.8) lib/rails/engine.rb:479:in `call' + railties (3.2.8) lib/rails/application.rb:223:in `call' + rack (1.4.1) lib/rack/content_length.rb:14:in `call' + railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' + rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run' + rack (1.4.1) lib/rack/server.rb:265:in `start' + railties (3.2.8) lib/rails/commands/server.rb:70:in `start' + railties (3.2.8) lib/rails/commands.rb:55 + railties (3.2.8) lib/rails/commands.rb:50:in `tap' + railties (3.2.8) lib/rails/commands.rb:50 + script/rails:6:in `require' + script/rails:6 + + + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.5ms) + + +Started POST "/users.json" for 127.0.0.1 at Sun Sep 23 17:23:31 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"Z6TALH", "password_verifier"=>"[FILTERED]"}} +WARNING: Can't verify CSRF token authenticity + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 120ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Sun Sep 23 17:23:31 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"login"=>"Z6TALH", "A"=>"12345"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 14ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Sun Sep 23 17:23:31 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"login"=>"Z6TALH", "A"=>"12345"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 10ms (Views: 0.3ms) + + +Started PUT "/sessions/Z6TALH" for 127.0.0.1 at Sun Sep 23 17:23:31 +0200 2012 +Processing by SessionsController#update as */* + Parameters: {"id"=>"Z6TALH", "client_auth"=>"123"} +WARNING: Can't verify CSRF token authenticity + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 500 Internal Server Error in 11ms + +NoMethodError (undefined method `m1' for nil:NilClass): + ruby-srp (0.0.2) lib/srp/authentication.rb:49:in `authenticate' + ruby-srp (0.0.2) lib/srp/authentication.rb:45:in `authenticate!' + /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:16:in `update' + actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `process_action' + activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__864269965__process_action__125080836__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' + actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' + actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' + actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' + journey (1.0.4) lib/journey/router.rb:68:in `call' + journey (1.0.4) lib/journey/router.rb:56:in `each' + journey (1.0.4) lib/journey/router.rb:56:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' + rack (1.4.1) lib/rack/etag.rb:23:in `call' + rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' + rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' + rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__351353186__call__4__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' + railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.1) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.1) lib/rack/lock.rb:15:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' + railties (3.2.8) lib/rails/engine.rb:479:in `call' + railties (3.2.8) lib/rails/application.rb:223:in `call' + rack (1.4.1) lib/rack/content_length.rb:14:in `call' + railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' + rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run' + rack (1.4.1) lib/rack/server.rb:265:in `start' + railties (3.2.8) lib/rails/commands/server.rb:70:in `start' + railties (3.2.8) lib/rails/commands.rb:55 + railties (3.2.8) lib/rails/commands.rb:50:in `tap' + railties (3.2.8) lib/rails/commands.rb:50 + script/rails:6:in `require' + script/rails:6 + + + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.2ms) + + +Started POST "/sessions" for 127.0.0.1 at Mon Sep 24 13:51:06 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"login"=>"python_test_user_Z9W9QZ", "A"=>"12345"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 210ms (Views: 0.7ms) + + +Started POST "/users.json" for 127.0.0.1 at Mon Sep 24 13:51:13 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"QR1CQE", "password_verifier"=>"[FILTERED]"}} +WARNING: Can't verify CSRF token authenticity + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 145ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Mon Sep 24 13:51:13 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"login"=>"QR1CQE", "A"=>"12345"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 267ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Mon Sep 24 13:51:14 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"login"=>"QR1CQE", "A"=>"12345"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 14ms (Views: 0.4ms) + + +Started PUT "/sessions/QR1CQE" for 127.0.0.1 at Mon Sep 24 13:51:14 +0200 2012 +Processing by SessionsController#update as */* + Parameters: {"client_auth"=>"123", "id"=>"QR1CQE"} +WARNING: Can't verify CSRF token authenticity + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 500 Internal Server Error in 8ms + +NoMethodError (undefined method `m1' for nil:NilClass): + ruby-srp (0.0.2) lib/srp/authentication.rb:49:in `authenticate' + ruby-srp (0.0.2) lib/srp/authentication.rb:45:in `authenticate!' + /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:16:in `update' + actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `process_action' + activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__976707062__process_action__424034160__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' + actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' + actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' + actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' + journey (1.0.4) lib/journey/router.rb:68:in `call' + journey (1.0.4) lib/journey/router.rb:56:in `each' + journey (1.0.4) lib/journey/router.rb:56:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' + sass (3.1.20) lib/sass/./sass/plugin/rack.rb:54:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' + rack (1.4.1) lib/rack/etag.rb:23:in `call' + rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' + rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' + rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__923441740__call__4__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' + railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.1) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.1) lib/rack/lock.rb:15:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' + railties (3.2.8) lib/rails/engine.rb:479:in `call' + railties (3.2.8) lib/rails/application.rb:223:in `call' + rack (1.4.1) lib/rack/content_length.rb:14:in `call' + railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' + rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run' + rack (1.4.1) lib/rack/server.rb:265:in `start' + railties (3.2.8) lib/rails/commands/server.rb:70:in `start' + railties (3.2.8) lib/rails/commands.rb:55 + railties (3.2.8) lib/rails/commands.rb:50:in `tap' + railties (3.2.8) lib/rails/commands.rb:50 + script/rails:6:in `require' + script/rails:6 + + + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (16.6ms) + + +Started POST "/users.json" for 127.0.0.1 at Mon Sep 24 13:52:19 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"D8GF9U", "password_verifier"=>"[FILTERED]"}} +WARNING: Can't verify CSRF token authenticity +Completed 201 Created in 63888ms (Views: 0.4ms) + + +Started POST "/sessions" for 127.0.0.1 at Mon Sep 24 13:53:23 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"A"=>"12345", "login"=>"D8GF9U"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 29ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Mon Sep 24 13:53:23 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"A"=>"12345", "login"=>"D8GF9U"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 13ms (Views: 0.3ms) + + +Started PUT "/sessions/D8GF9U" for 127.0.0.1 at Mon Sep 24 13:53:23 +0200 2012 +Processing by SessionsController#update as */* + Parameters: {"client_auth"=>"123", "id"=>"D8GF9U"} +WARNING: Can't verify CSRF token authenticity +Completed 500 Internal Server Error in 138423ms + +NoMethodError (undefined method `m1' for nil:NilClass): + ruby-srp (0.0.2) lib/srp/authentication.rb:49:in `authenticate' + ruby-srp (0.0.2) lib/srp/authentication.rb:45:in `authenticate!' + /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:16:in `update' + actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `process_action' + activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__187471855__process_action__31421765__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' + actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' + actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' + actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' + journey (1.0.4) lib/journey/router.rb:68:in `call' + journey (1.0.4) lib/journey/router.rb:56:in `each' + journey (1.0.4) lib/journey/router.rb:56:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' + sass (3.1.20) lib/sass/./sass/plugin/rack.rb:54:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' + rack (1.4.1) lib/rack/etag.rb:23:in `call' + rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' + rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' + rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__346269916__call__4__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' + railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.1) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.1) lib/rack/lock.rb:15:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' + railties (3.2.8) lib/rails/engine.rb:479:in `call' + railties (3.2.8) lib/rails/application.rb:223:in `call' + rack (1.4.1) lib/rack/content_length.rb:14:in `call' + railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' + rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run' + rack (1.4.1) lib/rack/server.rb:265:in `start' + railties (3.2.8) lib/rails/commands/server.rb:70:in `start' + railties (3.2.8) lib/rails/commands.rb:55 + railties (3.2.8) lib/rails/commands.rb:50:in `tap' + railties (3.2.8) lib/rails/commands.rb:50 + script/rails:6:in `require' + script/rails:6 + + + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.5ms) + + +Started POST "/users.json" for 127.0.0.1 at Mon Sep 24 13:55:44 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"5PTK31", "password_verifier"=>"[FILTERED]"}} +WARNING: Can't verify CSRF token authenticity +Completed 201 Created in 9708ms (Views: 0.4ms) + + +Started POST "/sessions" for 127.0.0.1 at Mon Sep 24 13:55:54 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"A"=>"12345", "login"=>"5PTK31"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 77ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Mon Sep 24 13:55:54 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"A"=>"12345", "login"=>"5PTK31"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 12ms (Views: 0.3ms) + + +Started PUT "/sessions/5PTK31" for 127.0.0.1 at Mon Sep 24 13:55:54 +0200 2012 +Processing by SessionsController#update as */* + Parameters: {"client_auth"=>"123", "id"=>"5PTK31"} +WARNING: Can't verify CSRF token authenticity +Completed 500 Internal Server Error in 129662ms + +NoMethodError (undefined method `m1' for nil:NilClass): + ruby-srp (0.0.2) lib/srp/authentication.rb:49:in `authenticate' + ruby-srp (0.0.2) lib/srp/authentication.rb:45:in `authenticate!' + /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:16:in `update' + actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `process_action' + activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__187471855__process_action__31421765__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' + actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' + actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' + actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' + journey (1.0.4) lib/journey/router.rb:68:in `call' + journey (1.0.4) lib/journey/router.rb:56:in `each' + journey (1.0.4) lib/journey/router.rb:56:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' + sass (3.1.20) lib/sass/./sass/plugin/rack.rb:54:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' + rack (1.4.1) lib/rack/etag.rb:23:in `call' + rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' + rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' + rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__346269916__call__4__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' + railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.1) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.1) lib/rack/lock.rb:15:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' + railties (3.2.8) lib/rails/engine.rb:479:in `call' + railties (3.2.8) lib/rails/application.rb:223:in `call' + rack (1.4.1) lib/rack/content_length.rb:14:in `call' + railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' + rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run' + rack (1.4.1) lib/rack/server.rb:265:in `start' + railties (3.2.8) lib/rails/commands/server.rb:70:in `start' + railties (3.2.8) lib/rails/commands.rb:55 + railties (3.2.8) lib/rails/commands.rb:50:in `tap' + railties (3.2.8) lib/rails/commands.rb:50 + script/rails:6:in `require' + script/rails:6 + + + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.9ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.2ms) + + +Started POST "/users.json" for 127.0.0.1 at Mon Sep 24 14:01:37 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"8RU895"}} +WARNING: Can't verify CSRF token authenticity +Completed 201 Created in 28884ms (Views: 0.4ms) + + +Started POST "/sessions" for 127.0.0.1 at Mon Sep 24 14:02:06 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"A"=>"12345", "login"=>"8RU895"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 18ms (Views: 0.4ms) + + +Started POST "/sessions" for 127.0.0.1 at Mon Sep 24 14:02:06 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"A"=>"12345", "login"=>"8RU895"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 11ms (Views: 0.3ms) + + +Started PUT "/sessions/8RU895" for 127.0.0.1 at Mon Sep 24 14:02:06 +0200 2012 +Processing by SessionsController#update as */* + Parameters: {"id"=>"8RU895", "client_auth"=>"123"} +WARNING: Can't verify CSRF token authenticity +DEPRECATION WARNING: ActiveSupport::Base64.decode64 is deprecated. Use Base64.decode64 instead. (called from send_action at /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:16) +DEPRECATION WARNING: ActiveSupport::Base64.decode64 is deprecated. Use Base64.decode64 instead. (called from send_action at /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:16) + + +Started POST "/users.json" for 127.0.0.1 at Mon Sep 24 14:53:35 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"JBEJ0N", "password_verifier"=>"[FILTERED]"}} +WARNING: Can't verify CSRF token authenticity +Completed 201 Created in 2459ms (Views: 0.4ms) + + +Started POST "/sessions" for 127.0.0.1 at Mon Sep 24 14:53:37 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"login"=>"JBEJ0N", "A"=>"12345"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 16ms (Views: 0.4ms) + + +Started POST "/sessions" for 127.0.0.1 at Mon Sep 24 14:53:37 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"login"=>"JBEJ0N", "A"=>"12345"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 12ms (Views: 0.3ms) + + +Started PUT "/sessions/JBEJ0N" for 127.0.0.1 at Mon Sep 24 14:53:37 +0200 2012 +Processing by SessionsController#update as */* + Parameters: {"id"=>"JBEJ0N", "client_auth"=>"123"} +WARNING: Can't verify CSRF token authenticity +DEPRECATION WARNING: ActiveSupport::Base64.decode64 is deprecated. Use Base64.decode64 instead. (called from update at /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:14) +Completed 200 OK in 26117ms (Views: 0.4ms) + + +Started POST "/users.json" for 127.0.0.1 at Mon Sep 24 14:55:30 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"QIN7SE"}} +WARNING: Can't verify CSRF token authenticity +Completed 201 Created in 4898ms (Views: 0.4ms) + + +Started POST "/sessions" for 127.0.0.1 at Mon Sep 24 14:55:35 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"A"=>"12345", "login"=>"QIN7SE"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 79ms (Views: 1.0ms) + + +Started POST "/sessions" for 127.0.0.1 at Mon Sep 24 14:55:35 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"A"=>"12345", "login"=>"QIN7SE"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 12ms (Views: 0.4ms) + + +Started PUT "/sessions/QIN7SE" for 127.0.0.1 at Mon Sep 24 14:55:35 +0200 2012 +Processing by SessionsController#update as */* + Parameters: {"client_auth"=>"123", "id"=>"QIN7SE"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 1006ms (Views: 0.5ms) + + +Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 10:52:50 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"PBX8XS", "password_salt"=>"[FILTERED]"}} +WARNING: Can't verify CSRF token authenticity +Completed 201 Created in 3184ms (Views: 0.4ms) + + +Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 10:52:53 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"A"=>"12345", "login"=>"PBX8XS"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 17ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 10:52:53 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"A"=>"12345", "login"=>"PBX8XS"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 12ms (Views: 0.3ms) + + +Started PUT "/sessions/PBX8XS" for 127.0.0.1 at Tue Sep 25 10:52:53 +0200 2012 +Processing by SessionsController#update as */* + Parameters: {"client_auth"=>"123", "id"=>"PBX8XS"} +WARNING: Can't verify CSRF token authenticity +Completed 500 Internal Server Error in 650602ms + +NoMethodError (undefined method `m1' for nil:NilClass): + ruby-srp (0.0.2) lib/srp/authentication.rb:49:in `authenticate' + ruby-srp (0.0.2) lib/srp/authentication.rb:45:in `authenticate!' + /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:16:in `update' + actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `process_action' + activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__466870917__process_action__781300863__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' + actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' + actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' + actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' + journey (1.0.4) lib/journey/router.rb:68:in `call' + journey (1.0.4) lib/journey/router.rb:56:in `each' + journey (1.0.4) lib/journey/router.rb:56:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' + rack (1.4.1) lib/rack/etag.rb:23:in `call' + rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' + rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' + rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__291805995__call__4__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' + railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.1) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.1) lib/rack/lock.rb:15:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' + railties (3.2.8) lib/rails/engine.rb:479:in `call' + railties (3.2.8) lib/rails/application.rb:223:in `call' + rack (1.4.1) lib/rack/content_length.rb:14:in `call' + railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' + rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run' + rack (1.4.1) lib/rack/server.rb:265:in `start' + railties (3.2.8) lib/rails/commands/server.rb:70:in `start' + railties (3.2.8) lib/rails/commands.rb:55 + railties (3.2.8) lib/rails/commands.rb:50:in `tap' + railties (3.2.8) lib/rails/commands.rb:50 + script/rails:6:in `require' + script/rails:6 + + + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.2ms) + + +Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 11:04:16 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"LCUH3R", "password_verifier"=>"[FILTERED]"}} +WARNING: Can't verify CSRF token authenticity +Completed 201 Created in 3223ms (Views: 0.4ms) + + +Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 11:04:19 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"A"=>"12345", "login"=>"LCUH3R"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 16ms (Views: 0.4ms) + + +Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 11:04:19 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"A"=>"12345", "login"=>"LCUH3R"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 14ms (Views: 0.3ms) + + +Started PUT "/sessions/LCUH3R" for 127.0.0.1 at Tue Sep 25 11:04:19 +0200 2012 +Processing by SessionsController#update as */* + Parameters: {"client_auth"=>"123", "id"=>"LCUH3R"} +WARNING: Can't verify CSRF token authenticity + + +Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 11:11:52 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"login"=>"6X1B1C", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} +WARNING: Can't verify CSRF token authenticity +Completed 201 Created in 24149ms (Views: 0.4ms) + + +Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 11:19:05 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"login"=>"6X1B1C", "A"=>"12345"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 16ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 11:31:24 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"login"=>"6X1B1C", "A"=>"12345"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 12ms (Views: 0.4ms) + + +Started PUT "/sessions/6X1B1C" for 127.0.0.1 at Tue Sep 25 11:33:07 +0200 2012 +Processing by SessionsController#update as */* + Parameters: {"client_auth"=>"123", "id"=>"6X1B1C"} +WARNING: Can't verify CSRF token authenticity +Completed 500 Internal Server Error in 1307ms + +NoMethodError (undefined method `m1' for nil:NilClass): + ruby-srp (0.0.2) lib/srp/authentication.rb:49:in `authenticate' + ruby-srp (0.0.2) lib/srp/authentication.rb:45:in `authenticate!' + /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:16:in `update' + actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `process_action' + activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__193620331__process_action__203499565__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' + actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' + actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' + actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' + journey (1.0.4) lib/journey/router.rb:68:in `call' + journey (1.0.4) lib/journey/router.rb:56:in `each' + journey (1.0.4) lib/journey/router.rb:56:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' + rack (1.4.1) lib/rack/etag.rb:23:in `call' + rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' + rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' + rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__138771931__call__4__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' + railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.1) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.1) lib/rack/lock.rb:15:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' + railties (3.2.8) lib/rails/engine.rb:479:in `call' + railties (3.2.8) lib/rails/application.rb:223:in `call' + rack (1.4.1) lib/rack/content_length.rb:14:in `call' + railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' + rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run' + rack (1.4.1) lib/rack/server.rb:265:in `start' + railties (3.2.8) lib/rails/commands/server.rb:70:in `start' + railties (3.2.8) lib/rails/commands.rb:55 + railties (3.2.8) lib/rails/commands.rb:50:in `tap' + railties (3.2.8) lib/rails/commands.rb:50 + script/rails:6:in `require' + script/rails:6 + + + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.2ms) + + +Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 11:33:17 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"login"=>"TAQJTG", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} +WARNING: Can't verify CSRF token authenticity +Completed 201 Created in 12519ms (Views: 0.4ms) + + +Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 11:33:30 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"login"=>"TAQJTG", "A"=>"12345"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 20ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 11:33:39 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"login"=>"TAQJTG", "A"=>"12345"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 24ms (Views: 0.3ms) + + +Started PUT "/sessions/TAQJTG" for 127.0.0.1 at Tue Sep 25 11:34:37 +0200 2012 +Processing by SessionsController#update as */* + Parameters: {"client_auth"=>"123", "id"=>"TAQJTG"} +WARNING: Can't verify CSRF token authenticity +Completed 500 Internal Server Error in 797ms + +NoMethodError (undefined method `m1' for nil:NilClass): + ruby-srp (0.0.2) lib/srp/authentication.rb:49:in `authenticate' + ruby-srp (0.0.2) lib/srp/authentication.rb:45:in `authenticate!' + /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:16:in `update' + actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `process_action' + activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__193620331__process_action__203499565__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' + actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' + actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' + actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' + journey (1.0.4) lib/journey/router.rb:68:in `call' + journey (1.0.4) lib/journey/router.rb:56:in `each' + journey (1.0.4) lib/journey/router.rb:56:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' + rack (1.4.1) lib/rack/etag.rb:23:in `call' + rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' + rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' + rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__138771931__call__4__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' + railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.1) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.1) lib/rack/lock.rb:15:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' + railties (3.2.8) lib/rails/engine.rb:479:in `call' + railties (3.2.8) lib/rails/application.rb:223:in `call' + rack (1.4.1) lib/rack/content_length.rb:14:in `call' + railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' + rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run' + rack (1.4.1) lib/rack/server.rb:265:in `start' + railties (3.2.8) lib/rails/commands/server.rb:70:in `start' + railties (3.2.8) lib/rails/commands.rb:55 + railties (3.2.8) lib/rails/commands.rb:50:in `tap' + railties (3.2.8) lib/rails/commands.rb:50 + script/rails:6:in `require' + script/rails:6 + + + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.1ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.6ms) + + +Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 11:34:43 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"login"=>"YL20SR", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} +WARNING: Can't verify CSRF token authenticity +Completed 201 Created in 3593ms (Views: 0.4ms) + + +Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 11:34:51 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"login"=>"YL20SR", "A"=>"12345"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 23ms (Views: 0.4ms) + + +Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 11:34:55 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"login"=>"YL20SR", "A"=>"12345"} +WARNING: Can't verify CSRF token authenticity +Completed 200 OK in 23ms (Views: 0.3ms) + + +Started PUT "/sessions/YL20SR" for 127.0.0.1 at Tue Sep 25 11:34:56 +0200 2012 +Processing by SessionsController#update as */* + Parameters: {"client_auth"=>"123", "id"=>"YL20SR"} +WARNING: Can't verify CSRF token authenticity +Completed 500 Internal Server Error in 1151ms + +NoMethodError (undefined method `m1' for nil:NilClass): + ruby-srp (0.0.2) lib/srp/authentication.rb:49:in `authenticate' + ruby-srp (0.0.2) lib/srp/authentication.rb:45:in `authenticate!' + /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:16:in `update' + actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `process_action' + activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__193620331__process_action__203499565__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' + actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' + actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' + actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' + journey (1.0.4) lib/journey/router.rb:68:in `call' + journey (1.0.4) lib/journey/router.rb:56:in `each' + journey (1.0.4) lib/journey/router.rb:56:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' + rack (1.4.1) lib/rack/etag.rb:23:in `call' + rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' + rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' + rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__138771931__call__4__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' + railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.1) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.1) lib/rack/lock.rb:15:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' + railties (3.2.8) lib/rails/engine.rb:479:in `call' + railties (3.2.8) lib/rails/application.rb:223:in `call' + rack (1.4.1) lib/rack/content_length.rb:14:in `call' + railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' + rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run' + rack (1.4.1) lib/rack/server.rb:265:in `start' + railties (3.2.8) lib/rails/commands/server.rb:70:in `start' + railties (3.2.8) lib/rails/commands.rb:55 + railties (3.2.8) lib/rails/commands.rb:50:in `tap' + railties (3.2.8) lib/rails/commands.rb:50 + script/rails:6:in `require' + script/rails:6 + + + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.3ms) + + +Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 11:43:31 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"UU6RH0", "password_verifier"=>"[FILTERED]"}} + + +Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 11:48:03 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"login"=>"07MPU2", "password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]"}} + + +Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 11:48:56 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"6RPPJJ"}} + + +Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 11:50:29 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"RQIHIW", "password_verifier"=>"[FILTERED]"}} +WARNING: Can't verify CSRF token authenticity +Completed 500 Internal Server Error in 119875ms + +RuntimeError (#destroy_session not implemented): + rack (1.4.1) lib/rack/session/abstract/id.rb:367:in `destroy_session' + actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:17:in `send' + actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:17:in `destroy' + actionpack (3.2.8) lib/action_dispatch/http/request.rb:210:in `reset_session' + actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:23:in `reset_session' + actionpack (3.2.8) lib/action_controller/metal/request_forgery_protection.rb:85:in `handle_unverified_request' + actionpack (3.2.8) lib/action_controller/metal/request_forgery_protection.rb:78:in `verify_authenticity_token' + activesupport (3.2.8) lib/active_support/callbacks.rb:407:in `_run__711698483__process_action__294889909__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' + actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' + actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' + actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' + journey (1.0.4) lib/journey/router.rb:68:in `call' + journey (1.0.4) lib/journey/router.rb:56:in `each' + journey (1.0.4) lib/journey/router.rb:56:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' + rack (1.4.1) lib/rack/etag.rb:23:in `call' + rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' + rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' + rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__888893177__call__4__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' + railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.1) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.1) lib/rack/lock.rb:15:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' + railties (3.2.8) lib/rails/engine.rb:479:in `call' + railties (3.2.8) lib/rails/application.rb:223:in `call' + rack (1.4.1) lib/rack/content_length.rb:14:in `call' + railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' + rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run' + rack (1.4.1) lib/rack/server.rb:265:in `start' + railties (3.2.8) lib/rails/commands/server.rb:70:in `start' + railties (3.2.8) lib/rails/commands.rb:55 + railties (3.2.8) lib/rails/commands.rb:50:in `tap' + railties (3.2.8) lib/rails/commands.rb:50 + script/rails:6:in `require' + script/rails:6 + + + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.3ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.9ms) + + +Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 12:11:11 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"IILLNQ", "password_verifier"=>"[FILTERED]"}} +WARNING: Can't verify CSRF token authenticity +Completed 500 Internal Server Error in 4980ms + +RuntimeError (#destroy_session not implemented): + rack (1.4.1) lib/rack/session/abstract/id.rb:367:in `destroy_session' + actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:17:in `send' + actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:17:in `destroy' + actionpack (3.2.8) lib/action_dispatch/http/request.rb:210:in `reset_session' + actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:23:in `reset_session' + actionpack (3.2.8) lib/action_controller/metal/request_forgery_protection.rb:85:in `handle_unverified_request' + actionpack (3.2.8) lib/action_controller/metal/request_forgery_protection.rb:78:in `verify_authenticity_token' + activesupport (3.2.8) lib/active_support/callbacks.rb:407:in `_run__871243012__process_action__753637363__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' + actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' + actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' + actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' + journey (1.0.4) lib/journey/router.rb:68:in `call' + journey (1.0.4) lib/journey/router.rb:56:in `each' + journey (1.0.4) lib/journey/router.rb:56:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' + sass (3.1.20) lib/sass/./sass/plugin/rack.rb:54:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' + rack (1.4.1) lib/rack/etag.rb:23:in `call' + rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' + rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' + rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__829662181__call__4__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' + railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.1) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.1) lib/rack/lock.rb:15:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' + railties (3.2.8) lib/rails/engine.rb:479:in `call' + railties (3.2.8) lib/rails/application.rb:223:in `call' + rack (1.4.1) lib/rack/content_length.rb:14:in `call' + railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' + rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run' + rack (1.4.1) lib/rack/server.rb:265:in `start' + railties (3.2.8) lib/rails/commands/server.rb:70:in `start' + railties (3.2.8) lib/rails/commands.rb:55 + railties (3.2.8) lib/rails/commands.rb:50:in `tap' + railties (3.2.8) lib/rails/commands.rb:50 + script/rails:6:in `require' + script/rails:6 + + + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.8ms) + + +Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 12:13:26 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"login"=>"4JSDWG", "password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]"}} +Completed 201 Created in 55ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 12:13:26 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"login"=>"4JSDWG", "A"=>"12345"} +Completed 200 OK in 37872ms (Views: 0.9ms) + +ArgumentError (wrong number of arguments (4 for 3)): + rack (1.4.1) lib/rack/session/abstract/id.rb:322:in `set_session' + rack (1.4.1) lib/rack/session/abstract/id.rb:322:in `commit_session' + rack (1.4.1) lib/rack/session/abstract/id.rb:206:in `context' + rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__893869306__call__4__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' + railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.1) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.1) lib/rack/lock.rb:15:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' + railties (3.2.8) lib/rails/engine.rb:479:in `call' + railties (3.2.8) lib/rails/application.rb:223:in `call' + rack (1.4.1) lib/rack/content_length.rb:14:in `call' + railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' + rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run' + rack (1.4.1) lib/rack/server.rb:265:in `start' + railties (3.2.8) lib/rails/commands/server.rb:70:in `start' + railties (3.2.8) lib/rails/commands.rb:55 + railties (3.2.8) lib/rails/commands.rb:50:in `tap' + railties (3.2.8) lib/rails/commands.rb:50 + script/rails:6:in `require' + script/rails:6 + + + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.8ms) + + +Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 12:14:04 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"login"=>"4JSDWG", "A"=>"12345"} + + +Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 12:16:23 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"login"=>"4NLSBY", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} +Completed 201 Created in 53ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 12:16:23 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"login"=>"4NLSBY", "A"=>"12345"} +Completed 200 OK in 11334ms (Views: 0.9ms) + + +Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 12:16:35 +0200 2012 + +RestClient::InternalServerError (500 Internal Server Error): + rest-client (1.6.7) lib/restclient/abstract_response.rb:48:in `return!' + rest-client (1.6.7) lib/restclient/request.rb:230:in `process_result' + rest-client (1.6.7) lib/restclient/request.rb:178:in `transmit' + /usr/lib/ruby/1.8/net/http.rb:543:in `start' + rest-client (1.6.7) lib/restclient/request.rb:172:in `transmit' + rest-client (1.6.7) lib/restclient/request.rb:64:in `execute' + rest-client (1.6.7) lib/restclient/request.rb:33:in `execute' + couchrest (1.1.3) lib/couchrest/rest_api.rb:94:in `execute' + couchrest (1.1.3) lib/couchrest/rest_api.rb:45:in `get' + couchrest (1.1.3) lib/couchrest/database.rb:82:in `get' + couchrest_session_store (0.0.1) lib/couchrest_session_store.rb:35:in `get_session' + rack (1.4.1) lib/rack/session/abstract/id.rb:246:in `load_session' + actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:47:in `load_session' + actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:55:in `stale_session_check!' + actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:47:in `load_session' + rack (1.4.1) lib/rack/session/abstract/id.rb:130:in `send' + rack (1.4.1) lib/rack/session/abstract/id.rb:130:in `load!' + rack (1.4.1) lib/rack/session/abstract/id.rb:122:in `load_for_read!' + rack (1.4.1) lib/rack/session/abstract/id.rb:64:in `key?' + actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:258:in `call' + rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' + rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__83331831__call__4__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' + railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.1) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.1) lib/rack/lock.rb:15:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' + railties (3.2.8) lib/rails/engine.rb:479:in `call' + railties (3.2.8) lib/rails/application.rb:223:in `call' + rack (1.4.1) lib/rack/content_length.rb:14:in `call' + railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' + rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run' + rack (1.4.1) lib/rack/server.rb:265:in `start' + railties (3.2.8) lib/rails/commands/server.rb:70:in `start' + railties (3.2.8) lib/rails/commands.rb:55 + railties (3.2.8) lib/rails/commands.rb:50:in `tap' + railties (3.2.8) lib/rails/commands.rb:50 + script/rails:6:in `require' + script/rails:6 + + + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.6ms) + + +Started PUT "/sessions/4NLSBY" for 127.0.0.1 at Tue Sep 25 12:17:56 +0200 2012 + + +Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 12:22:38 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"FGFSGF"}} +Completed 201 Created in 119ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 12:22:38 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"A"=>"12345", "login"=>"FGFSGF"} +Completed 500 Internal Server Error in 2634ms + +NoMethodError (undefined method `marshal' for CouchRestSessionStore:Class): + couchrest_session_store (0.0.1) lib/couchrest_session_store.rb:52:in `get_session' + rack (1.4.1) lib/rack/session/abstract/id.rb:246:in `load_session' + actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:47:in `load_session' + actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:55:in `stale_session_check!' + actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:47:in `load_session' + rack (1.4.1) lib/rack/session/abstract/id.rb:130:in `send' + rack (1.4.1) lib/rack/session/abstract/id.rb:130:in `load!' + rack (1.4.1) lib/rack/session/abstract/id.rb:126:in `load_for_write!' + rack (1.4.1) lib/rack/session/abstract/id.rb:71:in `[]=' + /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:10:in `create' + actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `process_action' + activesupport (3.2.8) lib/active_support/callbacks.rb:403:in `_run__967875644__process_action__616544259__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' + actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' + actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' + actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' + journey (1.0.4) lib/journey/router.rb:68:in `call' + journey (1.0.4) lib/journey/router.rb:56:in `each' + journey (1.0.4) lib/journey/router.rb:56:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' + sass (3.1.20) lib/sass/./sass/plugin/rack.rb:54:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' + rack (1.4.1) lib/rack/etag.rb:23:in `call' + rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' + rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' + rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__340473720__call__4__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' + railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.1) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.1) lib/rack/lock.rb:15:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' + railties (3.2.8) lib/rails/engine.rb:479:in `call' + railties (3.2.8) lib/rails/application.rb:223:in `call' + rack (1.4.1) lib/rack/content_length.rb:14:in `call' + railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' + rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run' + rack (1.4.1) lib/rack/server.rb:265:in `start' + railties (3.2.8) lib/rails/commands/server.rb:70:in `start' + railties (3.2.8) lib/rails/commands.rb:55 + railties (3.2.8) lib/rails/commands.rb:50:in `tap' + railties (3.2.8) lib/rails/commands.rb:50 + script/rails:6:in `require' + script/rails:6 + + + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.5ms) + + +Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 12:22:41 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"A"=>"12345", "login"=>"FGFSGF"} +Completed 500 Internal Server Error in 490ms + +NoMethodError (undefined method `marshal' for CouchRestSessionStore:Class): + couchrest_session_store (0.0.1) lib/couchrest_session_store.rb:52:in `get_session' + rack (1.4.1) lib/rack/session/abstract/id.rb:246:in `load_session' + actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:47:in `load_session' + actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:55:in `stale_session_check!' + actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:47:in `load_session' + rack (1.4.1) lib/rack/session/abstract/id.rb:130:in `send' + rack (1.4.1) lib/rack/session/abstract/id.rb:130:in `load!' + rack (1.4.1) lib/rack/session/abstract/id.rb:126:in `load_for_write!' + rack (1.4.1) lib/rack/session/abstract/id.rb:71:in `[]=' + /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:10:in `create' + actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `process_action' + activesupport (3.2.8) lib/active_support/callbacks.rb:403:in `_run__967875644__process_action__616544259__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' + actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' + actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' + actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' + actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' + actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' + actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' + journey (1.0.4) lib/journey/router.rb:68:in `call' + journey (1.0.4) lib/journey/router.rb:56:in `each' + journey (1.0.4) lib/journey/router.rb:56:in `call' + actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' + sass (3.1.20) lib/sass/./sass/plugin/rack.rb:54:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' + rack (1.4.1) lib/rack/etag.rb:23:in `call' + rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' + rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' + rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__340473720__call__4__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' + railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.1) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.1) lib/rack/lock.rb:15:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' + railties (3.2.8) lib/rails/engine.rb:479:in `call' + railties (3.2.8) lib/rails/application.rb:223:in `call' + rack (1.4.1) lib/rack/content_length.rb:14:in `call' + railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' + rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run' + rack (1.4.1) lib/rack/server.rb:265:in `start' + railties (3.2.8) lib/rails/commands/server.rb:70:in `start' + railties (3.2.8) lib/rails/commands.rb:55 + railties (3.2.8) lib/rails/commands.rb:50:in `tap' + railties (3.2.8) lib/rails/commands.rb:50 + script/rails:6:in `require' + script/rails:6 + + + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.5ms) + + +Started PUT "/sessions/FGFSGF" for 127.0.0.1 at Tue Sep 25 12:22:42 +0200 2012 +Processing by SessionsController#update as */* + Parameters: {"id"=>"FGFSGF", "client_auth"=>"123"} + + +Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 12:25:10 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"XILYHT"}} +Completed 201 Created in 56ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 12:25:10 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"A"=>"12345", "login"=>"XILYHT"} +Completed 200 OK in 2780ms (Views: 0.8ms) + + +Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 12:25:13 +0200 2012 +Processing by SessionsController#create as */* + Parameters: {"A"=>"12345", "login"=>"XILYHT"} +Completed 200 OK in 69ms (Views: 0.3ms) + + +Started PUT "/sessions/XILYHT" for 127.0.0.1 at Tue Sep 25 12:25:13 +0200 2012 +Processing by SessionsController#update as */* + Parameters: {"client_auth"=>"123", "id"=>"XILYHT"} +Completed 200 OK in 54ms (Views: 0.5ms) + + +Started GET "/sign_up" for 127.0.0.1 at Tue Oct 02 11:50:25 +0200 2012 + +RestClient::ResourceNotFound (404 Resource Not Found): + rest-client (1.6.7) lib/restclient/abstract_response.rb:48:in `return!' + rest-client (1.6.7) lib/restclient/request.rb:230:in `process_result' + rest-client (1.6.7) lib/restclient/request.rb:178:in `transmit' + /usr/lib/ruby/1.8/net/http.rb:543:in `start' + rest-client (1.6.7) lib/restclient/request.rb:172:in `transmit' + rest-client (1.6.7) lib/restclient/request.rb:64:in `execute' + rest-client (1.6.7) lib/restclient/request.rb:33:in `execute' + couchrest (1.1.3) lib/couchrest/rest_api.rb:94:in `execute' + couchrest (1.1.3) lib/couchrest/rest_api.rb:45:in `get' + couchrest (1.1.3) lib/couchrest/database.rb:82:in `get' + couchrest_session_store (0.0.1) lib/couchrest_session_store.rb:46:in `get_session' + rack (1.4.1) lib/rack/session/abstract/id.rb:246:in `load_session' + actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:47:in `load_session' + actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:55:in `stale_session_check!' + actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:47:in `load_session' + rack (1.4.1) lib/rack/session/abstract/id.rb:130:in `send' + rack (1.4.1) lib/rack/session/abstract/id.rb:130:in `load!' + rack (1.4.1) lib/rack/session/abstract/id.rb:122:in `load_for_read!' + rack (1.4.1) lib/rack/session/abstract/id.rb:64:in `key?' + actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:258:in `call' + rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' + rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__844724840__call__4__callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send' + activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' + railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.1) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.1) lib/rack/lock.rb:15:in `call' + actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' + railties (3.2.8) lib/rails/engine.rb:479:in `call' + railties (3.2.8) lib/rails/application.rb:223:in `call' + rack (1.4.1) lib/rack/content_length.rb:14:in `call' + railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' + rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run' + rack (1.4.1) lib/rack/server.rb:265:in `start' + railties (3.2.8) lib/rails/commands/server.rb:70:in `start' + railties (3.2.8) lib/rails/commands.rb:55 + railties (3.2.8) lib/rails/commands.rb:50:in `tap' + railties (3.2.8) lib/rails/commands.rb:50 + script/rails:6:in `require' + script/rails:6 + + + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.9ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.3ms) + Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.0ms) diff --git a/test/dummy/log/test.log b/test/dummy/log/test.log new file mode 100644 index 0000000..ccc2d30 --- /dev/null +++ b/test/dummy/log/test.log @@ -0,0 +1,1244 @@ + + +Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 21:42:54 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 500 Internal Server Error in 62ms + + +Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 21:42:55 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 500 Internal Server Error in 13ms + + +Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 21:42:55 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 500 Internal Server Error in 15ms +Processing by SessionsController#destroy as HTML +Completed 500 Internal Server Error in 1ms +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"a123", "id"=>"me"} +Completed 200 OK in 1ms (Views: 0.2ms) +Processing by SessionsController#new as HTML +Completed 500 Internal Server Error in 190ms +Processing by SessionsController#create as HTML + Parameters: {"A"=>"a123", "login"=>"me"} +Completed 200 OK in 1ms (Views: 0.2ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"me"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 500 Internal Server Error in 1ms +Processing by UsersController#new as HTML +Completed 500 Internal Server Error in 30ms + + +Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 22:56:01 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 500 Internal Server Error in 1094ms + + +Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 22:56:03 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 500 Internal Server Error in 15ms + + +Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 22:56:03 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 500 Internal Server Error in 64ms +Processing by SessionsController#destroy as HTML +Completed 500 Internal Server Error in 1ms +Processing by SessionsController#update as HTML + Parameters: {"id"=>"me", "client_auth"=>"a123"} +Completed 200 OK in 1ms (Views: 0.2ms) +Processing by SessionsController#new as HTML +Completed 500 Internal Server Error in 1010ms +Processing by SessionsController#create as HTML + Parameters: {"A"=>"a123", "login"=>"me"} +Completed 200 OK in 1ms (Views: 0.2ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"me"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 500 Internal Server Error in 1ms +Processing by UsersController#new as HTML +Completed 500 Internal Server Error in 68ms + + +Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 23:49:45 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 500 Internal Server Error in 42ms + + +Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 23:49:45 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 500 Internal Server Error in 12ms + + +Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 23:49:45 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 500 Internal Server Error in 13ms +Processing by SessionsController#destroy as HTML +Completed 500 Internal Server Error in 1ms +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"a123", "id"=>"me"} +Completed 200 OK in 1ms (Views: 0.2ms) +Processing by SessionsController#new as HTML +Completed 500 Internal Server Error in 99ms +Processing by SessionsController#create as HTML + Parameters: {"A"=>"a123", "login"=>"me"} +Completed 200 OK in 1ms (Views: 0.2ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"me"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 500 Internal Server Error in 1ms +Processing by UsersController#new as HTML +Completed 500 Internal Server Error in 29ms + + +Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 23:55:38 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 500 Internal Server Error in 43ms + + +Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 23:55:38 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 500 Internal Server Error in 15ms + + +Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 23:55:38 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 500 Internal Server Error in 21ms +Processing by SessionsController#destroy as HTML +Completed 500 Internal Server Error in 2ms +Processing by SessionsController#update as HTML + Parameters: {"id"=>"me", "client_auth"=>"a123"} +Completed 200 OK in 1ms (Views: 0.2ms) +Processing by SessionsController#new as HTML +Completed 500 Internal Server Error in 99ms +Processing by SessionsController#create as HTML + Parameters: {"login"=>"me", "A"=>"a123"} +Completed 200 OK in 1ms (Views: 0.2ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"me", "password_salt"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 500 Internal Server Error in 1ms +Processing by UsersController#new as HTML +Completed 500 Internal Server Error in 29ms + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 00:03:59 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 500 Internal Server Error in 45ms + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 00:03:59 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 500 Internal Server Error in 15ms + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 00:03:59 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 500 Internal Server Error in 17ms +Processing by SessionsController#destroy as HTML +Completed 500 Internal Server Error in 1ms +Processing by SessionsController#update as HTML + Parameters: {"id"=>"me", "client_auth"=>"a123"} +Completed 200 OK in 1ms (Views: 0.2ms) +Processing by SessionsController#new as HTML +Completed 500 Internal Server Error in 98ms +Processing by SessionsController#create as HTML + Parameters: {"login"=>"me", "A"=>"a123"} +Completed 200 OK in 1ms (Views: 0.2ms) +Processing by SessionsController#create as HTML + Parameters: {"login"=>"login_that_does_not_exist"} +Completed 200 OK in 1ms (Views: 0.3ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"me"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 500 Internal Server Error in 1ms +Processing by UsersController#new as HTML +Completed 500 Internal Server Error in 34ms +Processing by UsersController#create as HTML + Parameters: {"user"=>{"login"=>"me"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Redirected to http://test.host/users/new +Completed 302 Found in 2ms + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 00:08:20 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 49ms (Views: 0.3ms) + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 00:08:21 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 13ms (Views: 0.2ms) + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 00:08:21 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 13ms (Views: 0.3ms) +Processing by SessionsController#destroy as HTML +Redirected to http://test.host/ +Completed 302 Found in 1ms +Processing by SessionsController#update as HTML + Parameters: {"id"=>"me", "client_auth"=>"a123"} +Completed 200 OK in 1ms (Views: 0.2ms) +Processing by SessionsController#new as HTML +Completed 200 OK in 90ms (Views: 89.4ms) +Processing by SessionsController#create as HTML + Parameters: {"A"=>"a123", "login"=>"me"} +Completed 200 OK in 1ms (Views: 0.2ms) +Processing by SessionsController#create as HTML + Parameters: {"login"=>"login_that_does_not_exist"} +Completed 200 OK in 1ms (Views: 0.3ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"login"=>"me", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Redirected to http://test.host/ +Completed 302 Found in 3ms +Processing by UsersController#new as HTML +Completed 200 OK in 19ms (Views: 18.2ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"login"=>"me"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Redirected to http://test.host/users/new +Completed 302 Found in 2ms + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:34:21 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 96ms (Views: 0.3ms) + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:34:21 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 12ms (Views: 0.3ms) + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:34:21 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 13ms (Views: 0.2ms) +Processing by SessionsController#destroy as HTML +Redirected to http://test.host/ +Completed 302 Found in 1ms +Processing by SessionsController#update as HTML + Parameters: {"id"=>"me", "client_auth"=>"a123"} +Completed 200 OK in 1ms (Views: 0.3ms) +Processing by SessionsController#new as HTML +Completed 200 OK in 212ms (Views: 211.6ms) +Processing by SessionsController#create as HTML + Parameters: {"login"=>"me", "A"=>"a123"} +Completed 200 OK in 1ms (Views: 0.2ms) +Processing by SessionsController#create as HTML + Parameters: {"login"=>"login_that_does_not_exist"} +Completed 200 OK in 1ms (Views: 0.3ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"me", "password_salt"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Redirected to http://test.host/ +Completed 302 Found in 3ms +Processing by UsersController#new as HTML +Completed 200 OK in 35ms (Views: 34.5ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"login"=>"me"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Redirected to http://test.host/users/new +Completed 302 Found in 1ms + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:35:32 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 50ms (Views: 0.3ms) + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:35:32 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 18ms (Views: 0.3ms) + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:35:32 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 13ms (Views: 0.3ms) +Processing by SessionsController#destroy as HTML +Redirected to http://test.host/ +Completed 302 Found in 1ms +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"a123", "id"=>"me"} +Completed 200 OK in 1ms (Views: 0.2ms) +Processing by SessionsController#new as HTML +Completed 200 OK in 91ms (Views: 91.1ms) +Processing by SessionsController#create as HTML + Parameters: {"A"=>"a123", "login"=>"me"} +Completed 200 OK in 1ms (Views: 0.2ms) +Processing by SessionsController#create as HTML + Parameters: {"login"=>"login_that_does_not_exist"} +Completed 200 OK in 1ms (Views: 0.3ms) +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"a123", "id"=>"me"} +Completed 200 OK in 1ms (Views: 0.3ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"me"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Redirected to http://test.host/ +Completed 302 Found in 2ms +Processing by UsersController#new as HTML +Completed 200 OK in 18ms (Views: 17.6ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"login"=>"me"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Redirected to http://test.host/users/new +Completed 302 Found in 1ms + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:47:02 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 52ms (Views: 0.3ms) + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:47:02 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 16ms (Views: 0.2ms) + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:47:02 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 12ms (Views: 0.2ms) +Processing by SessionsController#destroy as HTML +Redirected to http://test.host/ +Completed 302 Found in 1ms +Processing by SessionsController#update as HTML + Parameters: {"id"=>"me", "client_auth"=>"a123"} +Completed 200 OK in 1ms (Views: 0.2ms) +Processing by SessionsController#new as HTML +Completed 200 OK in 38ms (Views: 38.2ms) +Processing by SessionsController#create as HTML + Parameters: {"login"=>"me", "A"=>"a123"} +Completed 200 OK in 1ms (Views: 0.2ms) +Processing by SessionsController#create as HTML + Parameters: {"login"=>"login_that_does_not_exist"} +Completed 200 OK in 0ms (Views: 0.3ms) +Processing by SessionsController#update as HTML + Parameters: {"id"=>"me", "client_auth"=>"a123"} +Completed 200 OK in 0ms (Views: 0.3ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"login"=>"me", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Redirected to http://test.host/ +Completed 302 Found in 2ms +Processing by UsersController#new as HTML +Completed 200 OK in 18ms (Views: 17.2ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"login"=>"me"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Redirected to http://test.host/users/new +Completed 302 Found in 2ms + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:47:14 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 50ms (Views: 0.3ms) + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:47:14 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 14ms (Views: 0.2ms) + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:47:15 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 13ms (Views: 0.2ms) +Processing by SessionsController#destroy as HTML +Redirected to http://test.host/ +Completed 302 Found in 1ms +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"a123", "id"=>"me"} +Completed 200 OK in 1ms (Views: 0.2ms) +Processing by SessionsController#new as HTML +Completed 200 OK in 38ms (Views: 37.6ms) +Processing by SessionsController#create as HTML + Parameters: {"A"=>"a123", "login"=>"me"} +Completed 200 OK in 1ms (Views: 0.2ms) +Processing by SessionsController#create as HTML + Parameters: {"login"=>"login_that_does_not_exist"} +Completed 200 OK in 0ms (Views: 0.3ms) +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"a123", "id"=>"me"} +Completed 200 OK in 0ms (Views: 0.2ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"me", "password_salt"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Redirected to http://test.host/ +Completed 302 Found in 3ms +Processing by UsersController#new as HTML +Completed 200 OK in 17ms (Views: 17.0ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"login"=>"me"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Redirected to http://test.host/users/new +Completed 302 Found in 1ms + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:53:07 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 56ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:53:07 +0200 2012 +Processing by SessionsController#create as HTML + Parameters: {"login"=>"integration_test_user", "A"=>"86b7b6251081d6cc54e23706ecb92019f7eb770dbe9161e97371a155aa3ba904"} +Completed 200 OK in 8ms (Views: 0.3ms) + + +Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 09:53:07 +0200 2012 +Processing by SessionsController#update as HTML + Parameters: {"id"=>"integration_test_user", "client_auth"=>"6fe632efa6c4bc707cbca53bdc327e3ac0e8dd3de06ec60cc70ae66bccffbec5"} +Completed 200 OK in 69ms (Views: 0.3ms) + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:53:07 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 16ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:53:07 +0200 2012 +Processing by SessionsController#create as HTML + Parameters: {"login"=>"integration_test_user", "A"=>"54dbd0535db592074d3993038676039e05e09704f53b893311d0a069a520ee5a"} +Completed 200 OK in 8ms (Views: 0.3ms) + + +Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 09:53:07 +0200 2012 +Processing by SessionsController#update as HTML + Parameters: {"id"=>"integration_test_user", "client_auth"=>"6c731717540ed41bd701ec7672d8e1d9b11c7bd7e66d866d564241aa012d3eba"} +Completed 200 OK in 9ms (Views: 0.4ms) + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:53:07 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 15ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:53:07 +0200 2012 +Processing by SessionsController#create as HTML + Parameters: {"login"=>"wronglogin", "A"=>"736077507e34ed76a8510cb691647084d98fdd386d460c84228e2085eea6cf60"} +Completed 200 OK in 64ms (Views: 0.4ms) +Processing by SessionsController#destroy as HTML +Redirected to http://test.host/ +Completed 302 Found in 1ms +Processing by SessionsController#update as HTML + Parameters: {"id"=>"me", "client_auth"=>"a123"} +Completed 200 OK in 0ms (Views: 0.2ms) +Processing by SessionsController#new as HTML +Completed 200 OK in 40ms (Views: 40.0ms) +Processing by SessionsController#create as HTML + Parameters: {"login"=>"me", "A"=>"a123"} +Completed 200 OK in 1ms (Views: 0.2ms) +Processing by SessionsController#create as HTML + Parameters: {"login"=>"login_that_does_not_exist"} +Completed 200 OK in 1ms (Views: 0.3ms) +Processing by SessionsController#update as HTML + Parameters: {"id"=>"me", "client_auth"=>"a123"} +Completed 200 OK in 1ms (Views: 0.3ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"login"=>"me", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Redirected to http://test.host/ +Completed 302 Found in 5ms +Processing by UsersController#new as HTML +Completed 200 OK in 24ms (Views: 23.4ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"login"=>"me"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Redirected to http://test.host/users/new +Completed 302 Found in 1ms +Processing by SessionsController#destroy as HTML +Redirected to http://test.host/ +Completed 302 Found in 1ms +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"a123", "id"=>"me"} +Completed 200 OK in 1ms (Views: 0.2ms) +Processing by SessionsController#new as HTML +Completed 200 OK in 100ms (Views: 100.1ms) +Processing by SessionsController#create as HTML + Parameters: {"login"=>"me", "A"=>"a123"} +Completed 200 OK in 1ms (Views: 0.2ms) +Processing by SessionsController#create as HTML + Parameters: {"login"=>"login_that_does_not_exist"} +Completed 200 OK in 0ms (Views: 0.2ms) +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"a123", "id"=>"me"} +Completed 200 OK in 1ms (Views: 0.3ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"me"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Redirected to http://test.host/ +Completed 302 Found in 8ms +Processing by UsersController#new as HTML +Completed 200 OK in 100ms (Views: 99.0ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"login"=>"me"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Redirected to http://test.host/users/new +Completed 302 Found in 1ms + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:56:16 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"login"=>"integration_test_user", "password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 52ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:56:16 +0200 2012 +Processing by SessionsController#create as HTML + Parameters: {"login"=>"integration_test_user", "A"=>"18d5f90618da300e42ddfca4ae0892d70188fc1bd15806a62e9727694d048d41"} +Completed 200 OK in 7ms (Views: 0.2ms) + + +Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 09:56:16 +0200 2012 +Processing by SessionsController#update as HTML + Parameters: {"id"=>"integration_test_user", "client_auth"=>"c9669e6d2e637a2dd4c88f1e14dac9411feff213a594d5375392fd9507be7554"} +Completed 200 OK in 12ms (Views: 0.3ms) + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:56:16 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"login"=>"integration_test_user", "password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 11ms (Views: 0.2ms) + + +Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:56:16 +0200 2012 +Processing by SessionsController#create as HTML + Parameters: {"login"=>"integration_test_user", "A"=>"5c888674fc202f583edb74ddd76d51d1d91f29ef13f275e0e6590f489697b984"} +Completed 200 OK in 7ms (Views: 0.2ms) + + +Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 09:56:16 +0200 2012 +Processing by SessionsController#update as HTML + Parameters: {"id"=>"integration_test_user", "client_auth"=>"a69f83478fb2794670d4a01f1d8fafc3aab9552dff2e40608fc0c1465d503000"} +Completed 200 OK in 9ms (Views: 0.3ms) + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:56:16 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"login"=>"integration_test_user", "password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 14ms (Views: 0.2ms) + + +Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:56:16 +0200 2012 +Processing by SessionsController#create as HTML + Parameters: {"login"=>"wronglogin", "A"=>"1d4dd9d87394fb996cf5c9cd26ceae999ee91d6e918ae4898487d29299f97def"} +Completed 200 OK in 4ms (Views: 0.4ms) + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:58:23 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 53ms (Views: 0.7ms) + + +Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:58:23 +0200 2012 +Processing by SessionsController#create as HTML + Parameters: {"A"=>"f13b416ca8f8f26d00e005fadd4c94744ff866110f9d090ae23ac249a7da6079", "login"=>"integration_test_user"} +Completed 200 OK in 6ms (Views: 0.2ms) + + +Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 09:58:23 +0200 2012 +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"608400e10ba35bb964b1e2d69d141484f7ed1307a77f1f991e33bb713906b00c", "id"=>"integration_test_user"} +Completed 200 OK in 61ms (Views: 0.3ms) + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:58:23 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 13ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:58:23 +0200 2012 +Processing by SessionsController#create as HTML + Parameters: {"A"=>"73f9bc1a40ae806817f6cab3a355f9c575d7574402b426b89c2c66d1c39ab82a", "login"=>"integration_test_user"} +Completed 200 OK in 9ms (Views: 0.3ms) + + +Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 09:58:23 +0200 2012 +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"79473702fd2354792f4403f7116bd664b5f799cb40f328422c02a07cf0a1623e", "id"=>"integration_test_user"} +Completed 200 OK in 9ms (Views: 0.4ms) + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:58:23 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 12ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:58:23 +0200 2012 +Processing by SessionsController#create as HTML + Parameters: {"A"=>"a84357df5892d8cdf74d55947f7ac8edbcea92c8a19af7403ec3db027dd8ebc8", "login"=>"wronglogin"} +Completed 200 OK in 5ms (Views: 0.3ms) +Processing by SessionsController#destroy as HTML +Redirected to http://test.host/ +Completed 302 Found in 1ms +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"a123", "id"=>"me"} +Completed 200 OK in 0ms (Views: 0.2ms) +Processing by SessionsController#new as HTML +Completed 200 OK in 94ms (Views: 93.5ms) +Processing by SessionsController#create as HTML + Parameters: {"A"=>"a123", "login"=>"me"} +Completed 200 OK in 0ms (Views: 0.2ms) +Processing by SessionsController#create as HTML + Parameters: {"login"=>"login_that_does_not_exist"} +Completed 200 OK in 1ms (Views: 0.3ms) +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"a123", "id"=>"me"} +Completed 200 OK in 1ms (Views: 0.3ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"me"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Redirected to http://test.host/ +Completed 302 Found in 3ms +Processing by UsersController#new as HTML +Completed 200 OK in 20ms (Views: 19.0ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"login"=>"me"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Redirected to http://test.host/users/new +Completed 302 Found in 1ms + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 10:36:38 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"integration_test_user", "password_verifier"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 49ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 10:36:38 +0200 2012 +Processing by SessionsController#create as HTML + Parameters: {"login"=>"integration_test_user", "A"=>"2f856f5d037678c93fe314de8368100990c6ff2262f05b6a839e85dfa24677b"} +Completed 200 OK in 8ms (Views: 0.2ms) + + +Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 10:36:38 +0200 2012 +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"efaf709c62d216af9651ddba8025f54d22dcec60907bd74e78fc8cf48529a86e", "id"=>"integration_test_user"} +Completed 200 OK in 62ms (Views: 0.3ms) + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 10:36:38 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"integration_test_user", "password_verifier"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 13ms (Views: 0.2ms) + + +Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 10:36:38 +0200 2012 +Processing by SessionsController#create as HTML + Parameters: {"login"=>"integration_test_user", "A"=>"2b61fe1e9c6dcf534267f898677aaff6dacb3ba59d7f7f73d20a3653aea5d5e3"} +Completed 200 OK in 9ms (Views: 0.3ms) + + +Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 10:36:38 +0200 2012 +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"61fa2879b62eacf34216d4b9560a64dd30541fc71192984fdbd7113dbc25f00a", "id"=>"integration_test_user"} +Completed 200 OK in 9ms (Views: 0.4ms) + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 10:36:38 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"integration_test_user", "password_verifier"=>"[FILTERED]"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 15ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 10:36:38 +0200 2012 +Processing by SessionsController#create as HTML + Parameters: {"login"=>"wronglogin", "A"=>"f7fe517fb7aefc41633d1e2f0b4df845321479f37ffc713407daff0d9551e14e"} +Completed 200 OK in 5ms (Views: 0.5ms) +Processing by SessionsController#destroy as HTML +Redirected to http://test.host/ +Completed 302 Found in 1ms +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"a123", "id"=>"me"} +Completed 200 OK in 1ms (Views: 0.3ms) +Processing by SessionsController#new as HTML +Completed 200 OK in 89ms (Views: 89.2ms) +Processing by SessionsController#create as HTML + Parameters: {"login"=>"me", "A"=>"a123"} +Completed 200 OK in 0ms (Views: 0.2ms) +Processing by SessionsController#create as HTML + Parameters: {"login"=>"login_that_does_not_exist"} +Completed 200 OK in 1ms (Views: 0.3ms) +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"a123", "id"=>"me"} +Completed 200 OK in 1ms (Views: 0.3ms) +Processing by UsersController#new as HTML +Completed 200 OK in 29ms (Views: 28.0ms) + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 10:37:34 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 49ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 10:37:34 +0200 2012 +Processing by SessionsController#create as HTML + Parameters: {"A"=>"799c9b3dd2e5e8819b602709392116adda74a2bf9b9099067c9053b5ac451e8d", "login"=>"integration_test_user"} +Completed 200 OK in 6ms (Views: 0.2ms) + + +Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 10:37:34 +0200 2012 +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"95bb7fbdbe81bb4a23979b454fe411f30cbe84c38addc36c681a70fe3e9d1954", "id"=>"integration_test_user"} +Completed 200 OK in 61ms (Views: 0.3ms) + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 10:37:34 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 12ms (Views: 0.2ms) + + +Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 10:37:34 +0200 2012 +Processing by SessionsController#create as HTML + Parameters: {"A"=>"dd43208fd903fa0566b28762747ba5c5c9d14d2483254078247c8066068e8843", "login"=>"integration_test_user"} +Completed 200 OK in 7ms (Views: 0.3ms) + + +Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 10:37:34 +0200 2012 +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"c22060242c28c76491026a98b812d16a94bac821d3c32443810ce1ed12ed3b9b", "id"=>"integration_test_user"} +Completed 200 OK in 8ms (Views: 0.3ms) + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 10:37:34 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 12ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 10:37:34 +0200 2012 +Processing by SessionsController#create as HTML + Parameters: {"A"=>"70310508bd80485f27e7b073ca4df34b6f2385eab38982e4d9470af4044d934a", "login"=>"wronglogin"} +Completed 200 OK in 4ms (Views: 0.3ms) +Processing by SessionsController#destroy as HTML +Redirected to http://test.host/ +Completed 302 Found in 1ms +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"a123", "id"=>"me"} +Completed 200 OK in 1ms (Views: 0.2ms) +Processing by SessionsController#new as HTML +Completed 200 OK in 90ms (Views: 89.3ms) +Processing by SessionsController#create as HTML + Parameters: {"A"=>"a123", "login"=>"me"} +Completed 200 OK in 1ms (Views: 0.2ms) +Processing by SessionsController#create as HTML + Parameters: {"login"=>"login_that_does_not_exist"} +Completed 200 OK in 1ms (Views: 0.3ms) +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"a123", "id"=>"me"} +Completed 200 OK in 1ms (Views: 0.3ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"me"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Redirected to http://test.host/ +Completed 302 Found in 3ms +Processing by UsersController#new as HTML +Completed 200 OK in 18ms (Views: 17.6ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"login"=>"me"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Redirected to http://test.host/users/new +Completed 302 Found in 1ms + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 11:39:07 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 104ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 11:39:07 +0200 2012 +Processing by SessionsController#create as HTML + Parameters: {"login"=>"integration_test_user", "A"=>"42dc9d94507a80b9bb57bc77594e4c5938487bf36c72db98765522535bf54f5f"} +Completed 200 OK in 7ms (Views: 0.3ms) + + +Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 11:39:07 +0200 2012 +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"52a9145dcde0842b075d41a82651a2de18bf4b283bca8e386e7f75410f3d6463", "id"=>"integration_test_user"} +Completed 200 OK in 11ms (Views: 0.3ms) + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 11:39:07 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 12ms (Views: 0.2ms) + + +Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 11:39:07 +0200 2012 +Processing by SessionsController#create as HTML + Parameters: {"login"=>"integration_test_user", "A"=>"df80bc7b52846fdb35c3a396432efe5963dc0f766ff4fe1b825462bf69ea8bf4"} +Completed 200 OK in 9ms (Views: 0.3ms) + + +Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 11:39:07 +0200 2012 +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"5c4be413569756b55d6e3e8e8d7b76078a1fe080da39a410abb9085db2eb04fd", "id"=>"integration_test_user"} +Completed 200 OK in 8ms (Views: 0.3ms) + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 11:39:07 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 11ms (Views: 0.2ms) + + +Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 11:39:07 +0200 2012 +Processing by SessionsController#create as HTML + Parameters: {"login"=>"wronglogin", "A"=>"2a73003b8c8ca88e6b051cbf344df5937530413998f13f85045ae31a5be8fb9"} +Completed 200 OK in 54ms (Views: 0.4ms) +Processing by SessionsController#destroy as HTML +Redirected to http://test.host/ +Completed 302 Found in 1ms +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"a123", "id"=>"me"} +Completed 200 OK in 0ms (Views: 0.2ms) +Processing by SessionsController#new as HTML +Completed 200 OK in 39ms (Views: 38.4ms) +Processing by SessionsController#create as HTML + Parameters: {"login"=>"me", "A"=>"a123"} +Completed 200 OK in 0ms (Views: 0.2ms) +Processing by SessionsController#create as HTML + Parameters: {"login"=>"login_that_does_not_exist"} +Completed 200 OK in 0ms (Views: 0.3ms) +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"a123", "id"=>"me"} +Completed 200 OK in 1ms (Views: 0.3ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"me"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Redirected to http://test.host/ +Completed 302 Found in 3ms +Processing by UsersController#new as HTML +Completed 200 OK in 18ms (Views: 17.3ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"login"=>"me"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Redirected to http://test.host/users/new +Completed 302 Found in 1ms + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 11:44:47 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 101ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 11:44:47 +0200 2012 +Processing by SessionsController#create as HTML + Parameters: {"login"=>"integration_test_user", "A"=>"bf69e20fa47d287c51d632336596b41526f6c0cd3e2449bd960509a29bfa2961"} +Completed 200 OK in 7ms (Views: 0.3ms) + + +Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 11:44:47 +0200 2012 +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"fed972599dd4e5b70f6bd0bd8a57be1b5e98ee096933b03c1ddd873f4a2657c1", "id"=>"integration_test_user"} +Completed 200 OK in 11ms (Views: 0.3ms) + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 11:44:47 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 12ms (Views: 0.2ms) + + +Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 11:44:47 +0200 2012 +Processing by SessionsController#create as HTML + Parameters: {"login"=>"integration_test_user", "A"=>"d3e93135f8ad2360e2d589afc1882b1cea00cf4755cfc9b6afee5aafb0504f30"} +Completed 200 OK in 7ms (Views: 0.3ms) + + +Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 11:44:47 +0200 2012 +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"157dbd5ac6385e60f0f5bab7150cce8ee92441e4596194ab177683be963eca7f", "id"=>"integration_test_user"} +Completed 200 OK in 8ms (Views: 0.3ms) + + +Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 11:44:47 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Completed 201 Created in 11ms (Views: 0.2ms) + + +Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 11:44:47 +0200 2012 +Processing by SessionsController#create as HTML + Parameters: {"login"=>"wronglogin", "A"=>"c285e722bc1d826a009e3d4fb5e92fd4ade4f00ba2d7b7d4946e3e1a404928b"} +Completed 200 OK in 4ms (Views: 0.3ms) +Processing by SessionsController#destroy as HTML +Redirected to http://test.host/ +Completed 302 Found in 1ms +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"a123", "id"=>"me"} +Completed 200 OK in 0ms (Views: 0.2ms) +Processing by SessionsController#new as HTML +Completed 200 OK in 41ms (Views: 40.3ms) +Processing by SessionsController#create as HTML + Parameters: {"login"=>"me", "A"=>"a123"} +Completed 200 OK in 0ms (Views: 0.2ms) +Processing by SessionsController#create as HTML + Parameters: {"login"=>"login_that_does_not_exist"} +Completed 200 OK in 1ms (Views: 0.3ms) +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"a123", "id"=>"me"} +Completed 200 OK in 1ms (Views: 0.3ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"me"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Redirected to http://test.host/ +Completed 302 Found in 3ms +Processing by UsersController#new as HTML +Completed 200 OK in 18ms (Views: 17.8ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"login"=>"me"}} + +***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** + +Redirected to http://test.host/users/new +Completed 302 Found in 1ms + + +Started POST "/users.json" for 127.0.0.1 at Tue Oct 02 23:02:02 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} +Completed 201 Created in 142ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Tue Oct 02 23:02:03 +0200 2012 +Processing by SessionsController#create as HTML + Parameters: {"A"=>"ed4f1fbb97cddc6a89a2b7da9ef5361e53ad9aac5b2ea4ecd89c68c8faf5f40", "login"=>"integration_test_user"} +Completed 200 OK in 3966ms (Views: 0.9ms) + + +Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Tue Oct 02 23:02:07 +0200 2012 +Processing by SessionsController#update as HTML + Parameters: {"id"=>"integration_test_user", "client_auth"=>"28d9daa3ba48ead895d21157f42bd7d19219c188d8a6627d720f0e2ce9b5f5bc"} +Completed 200 OK in 24ms (Views: 0.4ms) + + +Started POST "/users.json" for 127.0.0.1 at Tue Oct 02 23:02:07 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} +Completed 201 Created in 11ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Tue Oct 02 23:02:07 +0200 2012 +Processing by SessionsController#create as HTML + Parameters: {"A"=>"31485189d6b8c70926be5327a7c2324e9f6d0b8fe11a4218d36609586347820b", "login"=>"integration_test_user"} +Completed 200 OK in 458ms (Views: 0.4ms) + + +Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Tue Oct 02 23:02:08 +0200 2012 +Processing by SessionsController#update as HTML + Parameters: {"id"=>"integration_test_user", "client_auth"=>"37f23433a5a0ac70627eff14f0aee883493d84d87f739f84cd656ffd3515ab98"} +Completed 200 OK in 10ms (Views: 0.5ms) + + +Started POST "/users.json" for 127.0.0.1 at Tue Oct 02 23:02:08 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} +Completed 201 Created in 11ms (Views: 0.3ms) + + +Started POST "/sessions" for 127.0.0.1 at Tue Oct 02 23:02:08 +0200 2012 +Processing by SessionsController#create as HTML + Parameters: {"A"=>"7c69083c85178f5217f656fdf1261b92fa2660023538310c9f3d6a380b60be96", "login"=>"wronglogin"} +Completed 200 OK in 5ms (Views: 0.4ms) + + +Started POST "/users.json" for 127.0.0.1 at Mon Oct 08 11:31:35 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} +Completed 201 Created in 70ms (Views: 0.5ms) + + +Started POST "/users.json" for 127.0.0.1 at Mon Oct 08 11:31:35 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} +Completed 201 Created in 10ms (Views: 0.3ms) + + +Started POST "/users.json" for 127.0.0.1 at Mon Oct 08 11:31:35 +0200 2012 +Processing by UsersController#create as JSON + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} +Completed 201 Created in 12ms (Views: 0.2ms) +Processing by SessionsController#destroy as HTML +Redirected to http://test.host/ +Completed 302 Found in 1ms +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"a123", "id"=>"me"} +Completed 500 Internal Server Error in 1ms +Processing by SessionsController#new as HTML +Completed 200 OK in 68ms (Views: 67.6ms) +Processing by SessionsController#create as HTML + Parameters: {"login"=>"me", "A"=>"a123"} +Completed 500 Internal Server Error in 1ms +Processing by SessionsController#create as HTML + Parameters: {"login"=>"login_that_does_not_exist"} +Completed 200 OK in 0ms (Views: 0.2ms) +Processing by SessionsController#update as HTML + Parameters: {"client_auth"=>"a123", "id"=>"me"} +Completed 500 Internal Server Error in 1ms +Processing by UsersController#create as HTML + Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"me"}} +Redirected to http://test.host/ +Completed 302 Found in 59ms +Processing by UsersController#new as HTML +Completed 200 OK in 19ms (Views: 18.2ms) +Processing by UsersController#create as HTML + Parameters: {"user"=>{"login"=>"me"}} +Redirected to http://test.host/users/new +Completed 302 Found in 2ms +Processing by CertsController#show as HTML + Rendered text template (0.0ms) +Completed 200 OK in 5ms (Views: 5.0ms) +Processing by CertsController#show as HTML + Rendered text template (0.0ms) +Completed 200 OK in 5ms (Views: 4.5ms) diff --git a/test/dummy/public/404.html b/test/dummy/public/404.html new file mode 100644 index 0000000..9a48320 --- /dev/null +++ b/test/dummy/public/404.html @@ -0,0 +1,26 @@ + + + + The page you were looking for doesn't exist (404) + + + + + +
+

The page you were looking for doesn't exist.

+

You may have mistyped the address or the page may have moved.

+
+ + diff --git a/test/dummy/public/422.html b/test/dummy/public/422.html new file mode 100644 index 0000000..83660ab --- /dev/null +++ b/test/dummy/public/422.html @@ -0,0 +1,26 @@ + + + + The change you wanted was rejected (422) + + + + + +
+

The change you wanted was rejected.

+

Maybe you tried to change something you didn't have access to.

+
+ + diff --git a/test/dummy/public/500.html b/test/dummy/public/500.html new file mode 100644 index 0000000..f3648a0 --- /dev/null +++ b/test/dummy/public/500.html @@ -0,0 +1,25 @@ + + + + We're sorry, but something went wrong (500) + + + + + +
+

We're sorry, but something went wrong.

+
+ + diff --git a/test/dummy/public/favicon.ico b/test/dummy/public/favicon.ico new file mode 100644 index 0000000..e69de29 diff --git a/test/dummy/script/rails b/test/dummy/script/rails new file mode 100755 index 0000000..f138a34 --- /dev/null +++ b/test/dummy/script/rails @@ -0,0 +1,6 @@ +#!/usr/bin/env ruby1.8 +# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application. + +APP_PATH = File.expand_path('../../config/application', __FILE__) +require File.expand_path('../../config/boot', __FILE__) +require 'rails/commands' diff --git a/test/dummy/tmp/cache/assets/C9A/A50/sprockets%2F983ce99613edf03729c8c574059b4583 b/test/dummy/tmp/cache/assets/C9A/A50/sprockets%2F983ce99613edf03729c8c574059b4583 new file mode 100644 index 0000000..c71968e Binary files /dev/null and b/test/dummy/tmp/cache/assets/C9A/A50/sprockets%2F983ce99613edf03729c8c574059b4583 differ diff --git a/test/dummy/tmp/cache/assets/CB1/FD0/sprockets%2F6e1bd95023705b5529e7ccc754a02867 b/test/dummy/tmp/cache/assets/CB1/FD0/sprockets%2F6e1bd95023705b5529e7ccc754a02867 new file mode 100644 index 0000000..050ee63 Binary files /dev/null and b/test/dummy/tmp/cache/assets/CB1/FD0/sprockets%2F6e1bd95023705b5529e7ccc754a02867 differ diff --git a/test/dummy/tmp/cache/assets/CB5/950/sprockets%2F90abd297266441e364737cd8b3747ad2 b/test/dummy/tmp/cache/assets/CB5/950/sprockets%2F90abd297266441e364737cd8b3747ad2 new file mode 100644 index 0000000..fc27d82 Binary files /dev/null and b/test/dummy/tmp/cache/assets/CB5/950/sprockets%2F90abd297266441e364737cd8b3747ad2 differ diff --git a/test/dummy/tmp/cache/assets/CBF/550/sprockets%2F88a854d2b8e53730066a59df47b5b746 b/test/dummy/tmp/cache/assets/CBF/550/sprockets%2F88a854d2b8e53730066a59df47b5b746 new file mode 100644 index 0000000..050e227 Binary files /dev/null and b/test/dummy/tmp/cache/assets/CBF/550/sprockets%2F88a854d2b8e53730066a59df47b5b746 differ diff --git a/test/dummy/tmp/cache/assets/CBF/850/sprockets%2F0616865725fea8838fda8e461bb14189 b/test/dummy/tmp/cache/assets/CBF/850/sprockets%2F0616865725fea8838fda8e461bb14189 new file mode 100644 index 0000000..16938c7 Binary files /dev/null and b/test/dummy/tmp/cache/assets/CBF/850/sprockets%2F0616865725fea8838fda8e461bb14189 differ diff --git a/test/dummy/tmp/cache/assets/CC5/C30/sprockets%2F236b57b867e722f51b8f88fa5737e308 b/test/dummy/tmp/cache/assets/CC5/C30/sprockets%2F236b57b867e722f51b8f88fa5737e308 new file mode 100644 index 0000000..42a8a5c Binary files /dev/null and b/test/dummy/tmp/cache/assets/CC5/C30/sprockets%2F236b57b867e722f51b8f88fa5737e308 differ diff --git a/test/dummy/tmp/cache/assets/CCF/5E0/sprockets%2F0228318f1e29a22095c36a71a8acfd32 b/test/dummy/tmp/cache/assets/CCF/5E0/sprockets%2F0228318f1e29a22095c36a71a8acfd32 new file mode 100644 index 0000000..f82b7bf Binary files /dev/null and b/test/dummy/tmp/cache/assets/CCF/5E0/sprockets%2F0228318f1e29a22095c36a71a8acfd32 differ diff --git a/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 b/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 new file mode 100644 index 0000000..569f70f Binary files /dev/null and b/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 differ diff --git a/test/dummy/tmp/cache/assets/CDA/400/sprockets%2F7c3ab762d5be50d6314a324d354186f9 b/test/dummy/tmp/cache/assets/CDA/400/sprockets%2F7c3ab762d5be50d6314a324d354186f9 new file mode 100644 index 0000000..0de9f82 Binary files /dev/null and b/test/dummy/tmp/cache/assets/CDA/400/sprockets%2F7c3ab762d5be50d6314a324d354186f9 differ diff --git a/test/dummy/tmp/cache/assets/CDA/AF0/sprockets%2F1e818287702fc78e6b026cbda72231f1 b/test/dummy/tmp/cache/assets/CDA/AF0/sprockets%2F1e818287702fc78e6b026cbda72231f1 new file mode 100644 index 0000000..5ce0daf Binary files /dev/null and b/test/dummy/tmp/cache/assets/CDA/AF0/sprockets%2F1e818287702fc78e6b026cbda72231f1 differ diff --git a/test/dummy/tmp/cache/assets/CDE/B30/sprockets%2F672d1206521f7db069bff652455bee25 b/test/dummy/tmp/cache/assets/CDE/B30/sprockets%2F672d1206521f7db069bff652455bee25 new file mode 100644 index 0000000..80b5718 Binary files /dev/null and b/test/dummy/tmp/cache/assets/CDE/B30/sprockets%2F672d1206521f7db069bff652455bee25 differ diff --git a/test/dummy/tmp/cache/assets/CE3/DA0/sprockets%2F60efe16fc0486f0124c9e708c394066c b/test/dummy/tmp/cache/assets/CE3/DA0/sprockets%2F60efe16fc0486f0124c9e708c394066c new file mode 100644 index 0000000..5e175d6 Binary files /dev/null and b/test/dummy/tmp/cache/assets/CE3/DA0/sprockets%2F60efe16fc0486f0124c9e708c394066c differ diff --git a/test/dummy/tmp/cache/assets/CFA/7F0/sprockets%2Fdda8b0015ab3657095e3a88002bfe403 b/test/dummy/tmp/cache/assets/CFA/7F0/sprockets%2Fdda8b0015ab3657095e3a88002bfe403 new file mode 100644 index 0000000..d60fbd0 Binary files /dev/null and b/test/dummy/tmp/cache/assets/CFA/7F0/sprockets%2Fdda8b0015ab3657095e3a88002bfe403 differ diff --git a/test/dummy/tmp/cache/assets/CFF/E00/sprockets%2F352bab412d75fa19d0a07504553b59df b/test/dummy/tmp/cache/assets/CFF/E00/sprockets%2F352bab412d75fa19d0a07504553b59df new file mode 100644 index 0000000..f5813dd Binary files /dev/null and b/test/dummy/tmp/cache/assets/CFF/E00/sprockets%2F352bab412d75fa19d0a07504553b59df differ diff --git a/test/dummy/tmp/cache/assets/D01/550/sprockets%2F2b3c6513434ec1692d7cfaa44013e67c b/test/dummy/tmp/cache/assets/D01/550/sprockets%2F2b3c6513434ec1692d7cfaa44013e67c new file mode 100644 index 0000000..9ebd217 Binary files /dev/null and b/test/dummy/tmp/cache/assets/D01/550/sprockets%2F2b3c6513434ec1692d7cfaa44013e67c differ diff --git a/test/dummy/tmp/cache/assets/D10/010/sprockets%2Fc9531a6a43f28d260d68360d9c39ecb3 b/test/dummy/tmp/cache/assets/D10/010/sprockets%2Fc9531a6a43f28d260d68360d9c39ecb3 new file mode 100644 index 0000000..01bc164 Binary files /dev/null and b/test/dummy/tmp/cache/assets/D10/010/sprockets%2Fc9531a6a43f28d260d68360d9c39ecb3 differ diff --git a/test/dummy/tmp/cache/assets/D11/710/sprockets%2F9390490ac7a28c9474c1f765aaf10ad8 b/test/dummy/tmp/cache/assets/D11/710/sprockets%2F9390490ac7a28c9474c1f765aaf10ad8 new file mode 100644 index 0000000..2f0ab90 Binary files /dev/null and b/test/dummy/tmp/cache/assets/D11/710/sprockets%2F9390490ac7a28c9474c1f765aaf10ad8 differ diff --git a/test/dummy/tmp/cache/assets/D13/6E0/sprockets%2F69a87f5b9418510356bfee5f3b3c030f b/test/dummy/tmp/cache/assets/D13/6E0/sprockets%2F69a87f5b9418510356bfee5f3b3c030f new file mode 100644 index 0000000..31e6b2b Binary files /dev/null and b/test/dummy/tmp/cache/assets/D13/6E0/sprockets%2F69a87f5b9418510356bfee5f3b3c030f differ diff --git a/test/dummy/tmp/cache/assets/D14/710/sprockets%2F39d9d255bc53e820e049e3a37cc5a918 b/test/dummy/tmp/cache/assets/D14/710/sprockets%2F39d9d255bc53e820e049e3a37cc5a918 new file mode 100644 index 0000000..23a5b60 Binary files /dev/null and b/test/dummy/tmp/cache/assets/D14/710/sprockets%2F39d9d255bc53e820e049e3a37cc5a918 differ diff --git a/test/dummy/tmp/cache/assets/D27/D50/sprockets%2F596c7f46a775f908def94bc26c70e514 b/test/dummy/tmp/cache/assets/D27/D50/sprockets%2F596c7f46a775f908def94bc26c70e514 new file mode 100644 index 0000000..d28516a Binary files /dev/null and b/test/dummy/tmp/cache/assets/D27/D50/sprockets%2F596c7f46a775f908def94bc26c70e514 differ diff --git a/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 b/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 new file mode 100644 index 0000000..d7d3dae Binary files /dev/null and b/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 differ diff --git a/test/dummy/tmp/cache/assets/D32/E30/sprockets%2F426f2eeb2a203ac62e5794a03ed24e66 b/test/dummy/tmp/cache/assets/D32/E30/sprockets%2F426f2eeb2a203ac62e5794a03ed24e66 new file mode 100644 index 0000000..b693770 Binary files /dev/null and b/test/dummy/tmp/cache/assets/D32/E30/sprockets%2F426f2eeb2a203ac62e5794a03ed24e66 differ diff --git a/test/dummy/tmp/cache/assets/D36/A40/sprockets%2Ff04158f446ef4a685641bbcd05f23c1a b/test/dummy/tmp/cache/assets/D36/A40/sprockets%2Ff04158f446ef4a685641bbcd05f23c1a new file mode 100644 index 0000000..109fc57 Binary files /dev/null and b/test/dummy/tmp/cache/assets/D36/A40/sprockets%2Ff04158f446ef4a685641bbcd05f23c1a differ diff --git a/test/dummy/tmp/cache/assets/D37/D60/sprockets%2Fdcbcf07bd77dae07614901d73437c351 b/test/dummy/tmp/cache/assets/D37/D60/sprockets%2Fdcbcf07bd77dae07614901d73437c351 new file mode 100644 index 0000000..78f69fc Binary files /dev/null and b/test/dummy/tmp/cache/assets/D37/D60/sprockets%2Fdcbcf07bd77dae07614901d73437c351 differ diff --git a/test/dummy/tmp/cache/assets/D3B/610/sprockets%2Fd76666a48d1e3c5b20aa021a6be699d7 b/test/dummy/tmp/cache/assets/D3B/610/sprockets%2Fd76666a48d1e3c5b20aa021a6be699d7 new file mode 100644 index 0000000..d4ac7a2 Binary files /dev/null and b/test/dummy/tmp/cache/assets/D3B/610/sprockets%2Fd76666a48d1e3c5b20aa021a6be699d7 differ diff --git a/test/dummy/tmp/cache/assets/D3F/2A0/sprockets%2F2f5d6bb21f46a1c09208899ede0c92d3 b/test/dummy/tmp/cache/assets/D3F/2A0/sprockets%2F2f5d6bb21f46a1c09208899ede0c92d3 new file mode 100644 index 0000000..61ac28e Binary files /dev/null and b/test/dummy/tmp/cache/assets/D3F/2A0/sprockets%2F2f5d6bb21f46a1c09208899ede0c92d3 differ diff --git a/test/dummy/tmp/cache/assets/D49/8D0/sprockets%2F92613a75279536c4bcf4f3ba6cfde494 b/test/dummy/tmp/cache/assets/D49/8D0/sprockets%2F92613a75279536c4bcf4f3ba6cfde494 new file mode 100644 index 0000000..e1362c7 Binary files /dev/null and b/test/dummy/tmp/cache/assets/D49/8D0/sprockets%2F92613a75279536c4bcf4f3ba6cfde494 differ diff --git a/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 b/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 new file mode 100644 index 0000000..b592271 Binary files /dev/null and b/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 differ diff --git a/test/dummy/tmp/cache/assets/D4F/160/sprockets%2F9686d4b60027ddf89d496f3bd1c5ba75 b/test/dummy/tmp/cache/assets/D4F/160/sprockets%2F9686d4b60027ddf89d496f3bd1c5ba75 new file mode 100644 index 0000000..daeea37 Binary files /dev/null and b/test/dummy/tmp/cache/assets/D4F/160/sprockets%2F9686d4b60027ddf89d496f3bd1c5ba75 differ diff --git a/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 b/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 new file mode 100644 index 0000000..37cdfc3 Binary files /dev/null and b/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 differ diff --git a/test/dummy/tmp/cache/assets/D60/620/sprockets%2Fae699b549a8960f75ae187e4c7a199fe b/test/dummy/tmp/cache/assets/D60/620/sprockets%2Fae699b549a8960f75ae187e4c7a199fe new file mode 100644 index 0000000..231965e Binary files /dev/null and b/test/dummy/tmp/cache/assets/D60/620/sprockets%2Fae699b549a8960f75ae187e4c7a199fe differ diff --git a/test/dummy/tmp/cache/assets/D6B/AA0/sprockets%2Fd7f8c901c5a5f02b0ae12f96fd7c5163 b/test/dummy/tmp/cache/assets/D6B/AA0/sprockets%2Fd7f8c901c5a5f02b0ae12f96fd7c5163 new file mode 100644 index 0000000..d098aff Binary files /dev/null and b/test/dummy/tmp/cache/assets/D6B/AA0/sprockets%2Fd7f8c901c5a5f02b0ae12f96fd7c5163 differ diff --git a/test/dummy/tmp/cache/assets/D96/E50/sprockets%2Faff1e946351d38bd075c6cb6bae6511a b/test/dummy/tmp/cache/assets/D96/E50/sprockets%2Faff1e946351d38bd075c6cb6bae6511a new file mode 100644 index 0000000..d756a06 Binary files /dev/null and b/test/dummy/tmp/cache/assets/D96/E50/sprockets%2Faff1e946351d38bd075c6cb6bae6511a differ diff --git a/test/dummy/tmp/cache/assets/DB8/780/sprockets%2Fae36db4ffce0d374304a4ede07a41b31 b/test/dummy/tmp/cache/assets/DB8/780/sprockets%2Fae36db4ffce0d374304a4ede07a41b31 new file mode 100644 index 0000000..01da5e8 Binary files /dev/null and b/test/dummy/tmp/cache/assets/DB8/780/sprockets%2Fae36db4ffce0d374304a4ede07a41b31 differ diff --git a/test/dummy/tmp/cache/assets/DCB/020/sprockets%2F4d068ed2dc36a60bb278ced9fcf20c36 b/test/dummy/tmp/cache/assets/DCB/020/sprockets%2F4d068ed2dc36a60bb278ced9fcf20c36 new file mode 100644 index 0000000..bb3cab2 Binary files /dev/null and b/test/dummy/tmp/cache/assets/DCB/020/sprockets%2F4d068ed2dc36a60bb278ced9fcf20c36 differ diff --git a/test/dummy/tmp/cache/assets/DCD/ED0/sprockets%2F6fe3dc60b7d860d3a8a43690e4afacf4 b/test/dummy/tmp/cache/assets/DCD/ED0/sprockets%2F6fe3dc60b7d860d3a8a43690e4afacf4 new file mode 100644 index 0000000..a04486a Binary files /dev/null and b/test/dummy/tmp/cache/assets/DCD/ED0/sprockets%2F6fe3dc60b7d860d3a8a43690e4afacf4 differ diff --git a/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 b/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 new file mode 100644 index 0000000..9e42b8f Binary files /dev/null and b/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 differ diff --git a/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af b/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af new file mode 100644 index 0000000..70a5276 Binary files /dev/null and b/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af differ diff --git a/test/dummy/tmp/cache/assets/E39/460/sprockets%2Fbfafd3d37be1adf677c090f59c7beb96 b/test/dummy/tmp/cache/assets/E39/460/sprockets%2Fbfafd3d37be1adf677c090f59c7beb96 new file mode 100644 index 0000000..2a8f986 Binary files /dev/null and b/test/dummy/tmp/cache/assets/E39/460/sprockets%2Fbfafd3d37be1adf677c090f59c7beb96 differ diff --git a/test/dummy/tmp/cache/assets/E41/640/sprockets%2Fe39ce66e34eb568eeaaf17bf9f9b22fd b/test/dummy/tmp/cache/assets/E41/640/sprockets%2Fe39ce66e34eb568eeaaf17bf9f9b22fd new file mode 100644 index 0000000..b347439 Binary files /dev/null and b/test/dummy/tmp/cache/assets/E41/640/sprockets%2Fe39ce66e34eb568eeaaf17bf9f9b22fd differ diff --git a/test/dummy/tmp/cache/assets/E95/990/sprockets%2Ff7f4b455f707cfccd5facf51bbdfc2d9 b/test/dummy/tmp/cache/assets/E95/990/sprockets%2Ff7f4b455f707cfccd5facf51bbdfc2d9 new file mode 100644 index 0000000..8a400f8 Binary files /dev/null and b/test/dummy/tmp/cache/assets/E95/990/sprockets%2Ff7f4b455f707cfccd5facf51bbdfc2d9 differ diff --git a/test/dummy/tmp/cache/sass/41fc7921821e44ccb9c303aca9a6f533f3dc3fa8/application.scssc b/test/dummy/tmp/cache/sass/41fc7921821e44ccb9c303aca9a6f533f3dc3fa8/application.scssc new file mode 100644 index 0000000..3ad8a09 Binary files /dev/null and b/test/dummy/tmp/cache/sass/41fc7921821e44ccb9c303aca9a6f533f3dc3fa8/application.scssc differ diff --git a/test/dummy/tmp/cache/sass/7ec7d32c7162b055998d37293d95edaf57626e5b/_bootstrap.scssc b/test/dummy/tmp/cache/sass/7ec7d32c7162b055998d37293d95edaf57626e5b/_bootstrap.scssc new file mode 100644 index 0000000..e91ec7c Binary files /dev/null and b/test/dummy/tmp/cache/sass/7ec7d32c7162b055998d37293d95edaf57626e5b/_bootstrap.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_accordion.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_accordion.scssc new file mode 100644 index 0000000..09e266d Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_accordion.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_alerts.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_alerts.scssc new file mode 100644 index 0000000..3c854f8 Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_alerts.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_breadcrumbs.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_breadcrumbs.scssc new file mode 100644 index 0000000..4350478 Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_breadcrumbs.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_button-groups.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_button-groups.scssc new file mode 100644 index 0000000..a6ddcb8 Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_button-groups.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_buttons.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_buttons.scssc new file mode 100644 index 0000000..cfbc623 Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_buttons.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_carousel.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_carousel.scssc new file mode 100644 index 0000000..a9c8917 Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_carousel.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_close.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_close.scssc new file mode 100644 index 0000000..b7626e0 Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_close.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_code.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_code.scssc new file mode 100644 index 0000000..df0f595 Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_code.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_component-animations.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_component-animations.scssc new file mode 100644 index 0000000..744bf3c Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_component-animations.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_dropdowns.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_dropdowns.scssc new file mode 100644 index 0000000..3a3478b Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_dropdowns.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_forms.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_forms.scssc new file mode 100644 index 0000000..2f26f3c Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_forms.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_grid.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_grid.scssc new file mode 100644 index 0000000..f8cd990 Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_grid.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_hero-unit.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_hero-unit.scssc new file mode 100644 index 0000000..ebccc9b Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_hero-unit.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_labels-badges.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_labels-badges.scssc new file mode 100644 index 0000000..d12dd58 Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_labels-badges.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_layouts.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_layouts.scssc new file mode 100644 index 0000000..78993fc Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_layouts.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_mixins.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_mixins.scssc new file mode 100644 index 0000000..ec520db Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_mixins.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_modals.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_modals.scssc new file mode 100644 index 0000000..7a2530e Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_modals.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navbar.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navbar.scssc new file mode 100644 index 0000000..360ae80 Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navbar.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navs.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navs.scssc new file mode 100644 index 0000000..3af18e4 Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navs.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pager.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pager.scssc new file mode 100644 index 0000000..5c40bb3 Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pager.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pagination.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pagination.scssc new file mode 100644 index 0000000..1ff5ce3 Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pagination.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_popovers.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_popovers.scssc new file mode 100644 index 0000000..e8e742e Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_popovers.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_progress-bars.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_progress-bars.scssc new file mode 100644 index 0000000..42e3f54 Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_progress-bars.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_reset.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_reset.scssc new file mode 100644 index 0000000..e13b222 Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_reset.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_scaffolding.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_scaffolding.scssc new file mode 100644 index 0000000..64fcf04 Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_scaffolding.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_sprites.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_sprites.scssc new file mode 100644 index 0000000..b263ee0 Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_sprites.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tables.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tables.scssc new file mode 100644 index 0000000..1ccc7e4 Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tables.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_thumbnails.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_thumbnails.scssc new file mode 100644 index 0000000..d8602a9 Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_thumbnails.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tooltip.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tooltip.scssc new file mode 100644 index 0000000..d61f125 Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tooltip.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_type.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_type.scssc new file mode 100644 index 0000000..7f6278a Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_type.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_utilities.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_utilities.scssc new file mode 100644 index 0000000..7b35923 Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_utilities.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_variables.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_variables.scssc new file mode 100644 index 0000000..c586137 Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_variables.scssc differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_wells.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_wells.scssc new file mode 100644 index 0000000..5b3fcd8 Binary files /dev/null and b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_wells.scssc differ diff --git a/users/leap_web_users.gemspec b/users/leap_web_users.gemspec index 04d5b8e..94c32ff 100644 --- a/users/leap_web_users.gemspec +++ b/users/leap_web_users.gemspec @@ -18,7 +18,6 @@ Gem::Specification.new do |s| s.add_dependency "rails", "~> 3.2.8" s.add_dependency "leap_web_core", LeapWeb::VERSION - s.add_dependency "couchrest_session_store", "~> 0.0.1" s.add_dependency "ruby-srp", "~> 0.1.1" LeapWebCore::Dependencies.add_ui_gems_to_spec(s) diff --git a/users/test/test_helper.rb b/users/test/test_helper.rb index b268c51..08d4d41 100644 --- a/users/test/test_helper.rb +++ b/users/test/test_helper.rb @@ -1,5 +1,5 @@ ENV["RAILS_ENV"] = "test" -require File.expand_path('../dummy/config/environment', __FILE__) +require File.expand_path('../../../test/dummy/config/environment', __FILE__) require 'rails/test_help' require 'mocha' -- cgit v1.2.3 From 95ba833ffea8588ba498ed28fdb02c15fdb062cd Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 8 Oct 2012 20:07:37 +0200 Subject: removed tmp cache files in dummy test dir --- .../A50/sprockets%2F983ce99613edf03729c8c574059b4583 | Bin 19966 -> 0 bytes .../FD0/sprockets%2F6e1bd95023705b5529e7ccc754a02867 | Bin 208466 -> 0 bytes .../950/sprockets%2F90abd297266441e364737cd8b3747ad2 | Bin 2775 -> 0 bytes .../550/sprockets%2F88a854d2b8e53730066a59df47b5b746 | Bin 4013 -> 0 bytes .../850/sprockets%2F0616865725fea8838fda8e461bb14189 | Bin 4031 -> 0 bytes .../C30/sprockets%2F236b57b867e722f51b8f88fa5737e308 | Bin 18365 -> 0 bytes .../5E0/sprockets%2F0228318f1e29a22095c36a71a8acfd32 | Bin 4097 -> 0 bytes .../370/sprockets%2F357970feca3ac29060c1e3861e2c0953 | Bin 960 -> 0 bytes .../400/sprockets%2F7c3ab762d5be50d6314a324d354186f9 | Bin 2775 -> 0 bytes .../AF0/sprockets%2F1e818287702fc78e6b026cbda72231f1 | Bin 4213 -> 0 bytes .../B30/sprockets%2F672d1206521f7db069bff652455bee25 | Bin 4032 -> 0 bytes .../DA0/sprockets%2F60efe16fc0486f0124c9e708c394066c | Bin 260605 -> 0 bytes .../7F0/sprockets%2Fdda8b0015ab3657095e3a88002bfe403 | Bin 19966 -> 0 bytes .../E00/sprockets%2F352bab412d75fa19d0a07504553b59df | Bin 202489 -> 0 bytes .../550/sprockets%2F2b3c6513434ec1692d7cfaa44013e67c | Bin 4014 -> 0 bytes .../010/sprockets%2Fc9531a6a43f28d260d68360d9c39ecb3 | Bin 7252 -> 0 bytes .../710/sprockets%2F9390490ac7a28c9474c1f765aaf10ad8 | Bin 4435 -> 0 bytes .../6E0/sprockets%2F69a87f5b9418510356bfee5f3b3c030f | Bin 30874 -> 0 bytes .../710/sprockets%2F39d9d255bc53e820e049e3a37cc5a918 | Bin 18366 -> 0 bytes .../D50/sprockets%2F596c7f46a775f908def94bc26c70e514 | Bin 3148 -> 0 bytes .../A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 | Bin 960 -> 0 bytes .../E30/sprockets%2F426f2eeb2a203ac62e5794a03ed24e66 | Bin 7252 -> 0 bytes .../A40/sprockets%2Ff04158f446ef4a685641bbcd05f23c1a | Bin 17211 -> 0 bytes .../D60/sprockets%2Fdcbcf07bd77dae07614901d73437c351 | Bin 4839 -> 0 bytes .../610/sprockets%2Fd76666a48d1e3c5b20aa021a6be699d7 | Bin 5448 -> 0 bytes .../2A0/sprockets%2F2f5d6bb21f46a1c09208899ede0c92d3 | Bin 260605 -> 0 bytes .../8D0/sprockets%2F92613a75279536c4bcf4f3ba6cfde494 | Bin 202489 -> 0 bytes .../1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 | Bin 5108 -> 0 bytes .../160/sprockets%2F9686d4b60027ddf89d496f3bd1c5ba75 | Bin 4436 -> 0 bytes .../EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 | Bin 1269 -> 0 bytes .../620/sprockets%2Fae699b549a8960f75ae187e4c7a199fe | Bin 4213 -> 0 bytes .../AA0/sprockets%2Fd7f8c901c5a5f02b0ae12f96fd7c5163 | Bin 3147 -> 0 bytes .../E50/sprockets%2Faff1e946351d38bd075c6cb6bae6511a | Bin 3824 -> 0 bytes .../780/sprockets%2Fae36db4ffce0d374304a4ede07a41b31 | Bin 5448 -> 0 bytes .../020/sprockets%2F4d068ed2dc36a60bb278ced9fcf20c36 | Bin 17211 -> 0 bytes .../ED0/sprockets%2F6fe3dc60b7d860d3a8a43690e4afacf4 | Bin 4838 -> 0 bytes .../400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 | Bin 380927 -> 0 bytes .../890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af | Bin 380926 -> 0 bytes .../460/sprockets%2Fbfafd3d37be1adf677c090f59c7beb96 | Bin 30873 -> 0 bytes .../640/sprockets%2Fe39ce66e34eb568eeaaf17bf9f9b22fd | Bin 3824 -> 0 bytes .../990/sprockets%2Ff7f4b455f707cfccd5facf51bbdfc2d9 | Bin 4097 -> 0 bytes .../application.scssc | Bin 1343 -> 0 bytes .../_bootstrap.scssc | Bin 4429 -> 0 bytes .../_accordion.scssc | Bin 2979 -> 0 bytes .../_alerts.scssc | Bin 5691 -> 0 bytes .../_breadcrumbs.scssc | Bin 2926 -> 0 bytes .../_button-groups.scssc | Bin 21632 -> 0 bytes .../_buttons.scssc | Bin 21198 -> 0 bytes .../_carousel.scssc | Bin 9184 -> 0 bytes .../_close.scssc | Bin 3275 -> 0 bytes .../_code.scssc | Bin 6002 -> 0 bytes .../_component-animations.scssc | Bin 2055 -> 0 bytes .../_dropdowns.scssc | Bin 13902 -> 0 bytes .../_forms.scssc | Bin 61809 -> 0 bytes .../_grid.scssc | Bin 817 -> 0 bytes .../_hero-unit.scssc | Bin 2450 -> 0 bytes .../_labels-badges.scssc | Bin 8805 -> 0 bytes .../_layouts.scssc | Bin 1676 -> 0 bytes .../_mixins.scssc | Bin 86630 -> 0 bytes .../_modals.scssc | Bin 10799 -> 0 bytes .../_navbar.scssc | Bin 41619 -> 0 bytes .../_navs.scssc | Bin 38967 -> 0 bytes .../_pager.scssc | Bin 3782 -> 0 bytes .../_pagination.scssc | Bin 6889 -> 0 bytes .../_popovers.scssc | Bin 6667 -> 0 bytes .../_progress-bars.scssc | Bin 11999 -> 0 bytes .../_reset.scssc | Bin 11616 -> 0 bytes .../_scaffolding.scssc | Bin 2539 -> 0 bytes .../_sprites.scssc | Bin 50135 -> 0 bytes .../_tables.scssc | Bin 18188 -> 0 bytes .../_thumbnails.scssc | Bin 5709 -> 0 bytes .../_tooltip.scssc | Bin 4768 -> 0 bytes .../_type.scssc | Bin 19779 -> 0 bytes .../_utilities.scssc | Bin 1709 -> 0 bytes .../_variables.scssc | Bin 23667 -> 0 bytes .../_wells.scssc | Bin 3212 -> 0 bytes 76 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 test/dummy/tmp/cache/assets/C9A/A50/sprockets%2F983ce99613edf03729c8c574059b4583 delete mode 100644 test/dummy/tmp/cache/assets/CB1/FD0/sprockets%2F6e1bd95023705b5529e7ccc754a02867 delete mode 100644 test/dummy/tmp/cache/assets/CB5/950/sprockets%2F90abd297266441e364737cd8b3747ad2 delete mode 100644 test/dummy/tmp/cache/assets/CBF/550/sprockets%2F88a854d2b8e53730066a59df47b5b746 delete mode 100644 test/dummy/tmp/cache/assets/CBF/850/sprockets%2F0616865725fea8838fda8e461bb14189 delete mode 100644 test/dummy/tmp/cache/assets/CC5/C30/sprockets%2F236b57b867e722f51b8f88fa5737e308 delete mode 100644 test/dummy/tmp/cache/assets/CCF/5E0/sprockets%2F0228318f1e29a22095c36a71a8acfd32 delete mode 100644 test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 delete mode 100644 test/dummy/tmp/cache/assets/CDA/400/sprockets%2F7c3ab762d5be50d6314a324d354186f9 delete mode 100644 test/dummy/tmp/cache/assets/CDA/AF0/sprockets%2F1e818287702fc78e6b026cbda72231f1 delete mode 100644 test/dummy/tmp/cache/assets/CDE/B30/sprockets%2F672d1206521f7db069bff652455bee25 delete mode 100644 test/dummy/tmp/cache/assets/CE3/DA0/sprockets%2F60efe16fc0486f0124c9e708c394066c delete mode 100644 test/dummy/tmp/cache/assets/CFA/7F0/sprockets%2Fdda8b0015ab3657095e3a88002bfe403 delete mode 100644 test/dummy/tmp/cache/assets/CFF/E00/sprockets%2F352bab412d75fa19d0a07504553b59df delete mode 100644 test/dummy/tmp/cache/assets/D01/550/sprockets%2F2b3c6513434ec1692d7cfaa44013e67c delete mode 100644 test/dummy/tmp/cache/assets/D10/010/sprockets%2Fc9531a6a43f28d260d68360d9c39ecb3 delete mode 100644 test/dummy/tmp/cache/assets/D11/710/sprockets%2F9390490ac7a28c9474c1f765aaf10ad8 delete mode 100644 test/dummy/tmp/cache/assets/D13/6E0/sprockets%2F69a87f5b9418510356bfee5f3b3c030f delete mode 100644 test/dummy/tmp/cache/assets/D14/710/sprockets%2F39d9d255bc53e820e049e3a37cc5a918 delete mode 100644 test/dummy/tmp/cache/assets/D27/D50/sprockets%2F596c7f46a775f908def94bc26c70e514 delete mode 100644 test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 delete mode 100644 test/dummy/tmp/cache/assets/D32/E30/sprockets%2F426f2eeb2a203ac62e5794a03ed24e66 delete mode 100644 test/dummy/tmp/cache/assets/D36/A40/sprockets%2Ff04158f446ef4a685641bbcd05f23c1a delete mode 100644 test/dummy/tmp/cache/assets/D37/D60/sprockets%2Fdcbcf07bd77dae07614901d73437c351 delete mode 100644 test/dummy/tmp/cache/assets/D3B/610/sprockets%2Fd76666a48d1e3c5b20aa021a6be699d7 delete mode 100644 test/dummy/tmp/cache/assets/D3F/2A0/sprockets%2F2f5d6bb21f46a1c09208899ede0c92d3 delete mode 100644 test/dummy/tmp/cache/assets/D49/8D0/sprockets%2F92613a75279536c4bcf4f3ba6cfde494 delete mode 100644 test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 delete mode 100644 test/dummy/tmp/cache/assets/D4F/160/sprockets%2F9686d4b60027ddf89d496f3bd1c5ba75 delete mode 100644 test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 delete mode 100644 test/dummy/tmp/cache/assets/D60/620/sprockets%2Fae699b549a8960f75ae187e4c7a199fe delete mode 100644 test/dummy/tmp/cache/assets/D6B/AA0/sprockets%2Fd7f8c901c5a5f02b0ae12f96fd7c5163 delete mode 100644 test/dummy/tmp/cache/assets/D96/E50/sprockets%2Faff1e946351d38bd075c6cb6bae6511a delete mode 100644 test/dummy/tmp/cache/assets/DB8/780/sprockets%2Fae36db4ffce0d374304a4ede07a41b31 delete mode 100644 test/dummy/tmp/cache/assets/DCB/020/sprockets%2F4d068ed2dc36a60bb278ced9fcf20c36 delete mode 100644 test/dummy/tmp/cache/assets/DCD/ED0/sprockets%2F6fe3dc60b7d860d3a8a43690e4afacf4 delete mode 100644 test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 delete mode 100644 test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af delete mode 100644 test/dummy/tmp/cache/assets/E39/460/sprockets%2Fbfafd3d37be1adf677c090f59c7beb96 delete mode 100644 test/dummy/tmp/cache/assets/E41/640/sprockets%2Fe39ce66e34eb568eeaaf17bf9f9b22fd delete mode 100644 test/dummy/tmp/cache/assets/E95/990/sprockets%2Ff7f4b455f707cfccd5facf51bbdfc2d9 delete mode 100644 test/dummy/tmp/cache/sass/41fc7921821e44ccb9c303aca9a6f533f3dc3fa8/application.scssc delete mode 100644 test/dummy/tmp/cache/sass/7ec7d32c7162b055998d37293d95edaf57626e5b/_bootstrap.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_accordion.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_alerts.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_breadcrumbs.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_button-groups.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_buttons.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_carousel.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_close.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_code.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_component-animations.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_dropdowns.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_forms.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_grid.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_hero-unit.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_labels-badges.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_layouts.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_mixins.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_modals.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navbar.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navs.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pager.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pagination.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_popovers.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_progress-bars.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_reset.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_scaffolding.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_sprites.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tables.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_thumbnails.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tooltip.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_type.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_utilities.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_variables.scssc delete mode 100644 test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_wells.scssc diff --git a/test/dummy/tmp/cache/assets/C9A/A50/sprockets%2F983ce99613edf03729c8c574059b4583 b/test/dummy/tmp/cache/assets/C9A/A50/sprockets%2F983ce99613edf03729c8c574059b4583 deleted file mode 100644 index c71968e..0000000 Binary files a/test/dummy/tmp/cache/assets/C9A/A50/sprockets%2F983ce99613edf03729c8c574059b4583 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/CB1/FD0/sprockets%2F6e1bd95023705b5529e7ccc754a02867 b/test/dummy/tmp/cache/assets/CB1/FD0/sprockets%2F6e1bd95023705b5529e7ccc754a02867 deleted file mode 100644 index 050ee63..0000000 Binary files a/test/dummy/tmp/cache/assets/CB1/FD0/sprockets%2F6e1bd95023705b5529e7ccc754a02867 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/CB5/950/sprockets%2F90abd297266441e364737cd8b3747ad2 b/test/dummy/tmp/cache/assets/CB5/950/sprockets%2F90abd297266441e364737cd8b3747ad2 deleted file mode 100644 index fc27d82..0000000 Binary files a/test/dummy/tmp/cache/assets/CB5/950/sprockets%2F90abd297266441e364737cd8b3747ad2 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/CBF/550/sprockets%2F88a854d2b8e53730066a59df47b5b746 b/test/dummy/tmp/cache/assets/CBF/550/sprockets%2F88a854d2b8e53730066a59df47b5b746 deleted file mode 100644 index 050e227..0000000 Binary files a/test/dummy/tmp/cache/assets/CBF/550/sprockets%2F88a854d2b8e53730066a59df47b5b746 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/CBF/850/sprockets%2F0616865725fea8838fda8e461bb14189 b/test/dummy/tmp/cache/assets/CBF/850/sprockets%2F0616865725fea8838fda8e461bb14189 deleted file mode 100644 index 16938c7..0000000 Binary files a/test/dummy/tmp/cache/assets/CBF/850/sprockets%2F0616865725fea8838fda8e461bb14189 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/CC5/C30/sprockets%2F236b57b867e722f51b8f88fa5737e308 b/test/dummy/tmp/cache/assets/CC5/C30/sprockets%2F236b57b867e722f51b8f88fa5737e308 deleted file mode 100644 index 42a8a5c..0000000 Binary files a/test/dummy/tmp/cache/assets/CC5/C30/sprockets%2F236b57b867e722f51b8f88fa5737e308 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/CCF/5E0/sprockets%2F0228318f1e29a22095c36a71a8acfd32 b/test/dummy/tmp/cache/assets/CCF/5E0/sprockets%2F0228318f1e29a22095c36a71a8acfd32 deleted file mode 100644 index f82b7bf..0000000 Binary files a/test/dummy/tmp/cache/assets/CCF/5E0/sprockets%2F0228318f1e29a22095c36a71a8acfd32 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 b/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 deleted file mode 100644 index 569f70f..0000000 Binary files a/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/CDA/400/sprockets%2F7c3ab762d5be50d6314a324d354186f9 b/test/dummy/tmp/cache/assets/CDA/400/sprockets%2F7c3ab762d5be50d6314a324d354186f9 deleted file mode 100644 index 0de9f82..0000000 Binary files a/test/dummy/tmp/cache/assets/CDA/400/sprockets%2F7c3ab762d5be50d6314a324d354186f9 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/CDA/AF0/sprockets%2F1e818287702fc78e6b026cbda72231f1 b/test/dummy/tmp/cache/assets/CDA/AF0/sprockets%2F1e818287702fc78e6b026cbda72231f1 deleted file mode 100644 index 5ce0daf..0000000 Binary files a/test/dummy/tmp/cache/assets/CDA/AF0/sprockets%2F1e818287702fc78e6b026cbda72231f1 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/CDE/B30/sprockets%2F672d1206521f7db069bff652455bee25 b/test/dummy/tmp/cache/assets/CDE/B30/sprockets%2F672d1206521f7db069bff652455bee25 deleted file mode 100644 index 80b5718..0000000 Binary files a/test/dummy/tmp/cache/assets/CDE/B30/sprockets%2F672d1206521f7db069bff652455bee25 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/CE3/DA0/sprockets%2F60efe16fc0486f0124c9e708c394066c b/test/dummy/tmp/cache/assets/CE3/DA0/sprockets%2F60efe16fc0486f0124c9e708c394066c deleted file mode 100644 index 5e175d6..0000000 Binary files a/test/dummy/tmp/cache/assets/CE3/DA0/sprockets%2F60efe16fc0486f0124c9e708c394066c and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/CFA/7F0/sprockets%2Fdda8b0015ab3657095e3a88002bfe403 b/test/dummy/tmp/cache/assets/CFA/7F0/sprockets%2Fdda8b0015ab3657095e3a88002bfe403 deleted file mode 100644 index d60fbd0..0000000 Binary files a/test/dummy/tmp/cache/assets/CFA/7F0/sprockets%2Fdda8b0015ab3657095e3a88002bfe403 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/CFF/E00/sprockets%2F352bab412d75fa19d0a07504553b59df b/test/dummy/tmp/cache/assets/CFF/E00/sprockets%2F352bab412d75fa19d0a07504553b59df deleted file mode 100644 index f5813dd..0000000 Binary files a/test/dummy/tmp/cache/assets/CFF/E00/sprockets%2F352bab412d75fa19d0a07504553b59df and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/D01/550/sprockets%2F2b3c6513434ec1692d7cfaa44013e67c b/test/dummy/tmp/cache/assets/D01/550/sprockets%2F2b3c6513434ec1692d7cfaa44013e67c deleted file mode 100644 index 9ebd217..0000000 Binary files a/test/dummy/tmp/cache/assets/D01/550/sprockets%2F2b3c6513434ec1692d7cfaa44013e67c and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/D10/010/sprockets%2Fc9531a6a43f28d260d68360d9c39ecb3 b/test/dummy/tmp/cache/assets/D10/010/sprockets%2Fc9531a6a43f28d260d68360d9c39ecb3 deleted file mode 100644 index 01bc164..0000000 Binary files a/test/dummy/tmp/cache/assets/D10/010/sprockets%2Fc9531a6a43f28d260d68360d9c39ecb3 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/D11/710/sprockets%2F9390490ac7a28c9474c1f765aaf10ad8 b/test/dummy/tmp/cache/assets/D11/710/sprockets%2F9390490ac7a28c9474c1f765aaf10ad8 deleted file mode 100644 index 2f0ab90..0000000 Binary files a/test/dummy/tmp/cache/assets/D11/710/sprockets%2F9390490ac7a28c9474c1f765aaf10ad8 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/D13/6E0/sprockets%2F69a87f5b9418510356bfee5f3b3c030f b/test/dummy/tmp/cache/assets/D13/6E0/sprockets%2F69a87f5b9418510356bfee5f3b3c030f deleted file mode 100644 index 31e6b2b..0000000 Binary files a/test/dummy/tmp/cache/assets/D13/6E0/sprockets%2F69a87f5b9418510356bfee5f3b3c030f and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/D14/710/sprockets%2F39d9d255bc53e820e049e3a37cc5a918 b/test/dummy/tmp/cache/assets/D14/710/sprockets%2F39d9d255bc53e820e049e3a37cc5a918 deleted file mode 100644 index 23a5b60..0000000 Binary files a/test/dummy/tmp/cache/assets/D14/710/sprockets%2F39d9d255bc53e820e049e3a37cc5a918 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/D27/D50/sprockets%2F596c7f46a775f908def94bc26c70e514 b/test/dummy/tmp/cache/assets/D27/D50/sprockets%2F596c7f46a775f908def94bc26c70e514 deleted file mode 100644 index d28516a..0000000 Binary files a/test/dummy/tmp/cache/assets/D27/D50/sprockets%2F596c7f46a775f908def94bc26c70e514 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 b/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 deleted file mode 100644 index d7d3dae..0000000 Binary files a/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/D32/E30/sprockets%2F426f2eeb2a203ac62e5794a03ed24e66 b/test/dummy/tmp/cache/assets/D32/E30/sprockets%2F426f2eeb2a203ac62e5794a03ed24e66 deleted file mode 100644 index b693770..0000000 Binary files a/test/dummy/tmp/cache/assets/D32/E30/sprockets%2F426f2eeb2a203ac62e5794a03ed24e66 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/D36/A40/sprockets%2Ff04158f446ef4a685641bbcd05f23c1a b/test/dummy/tmp/cache/assets/D36/A40/sprockets%2Ff04158f446ef4a685641bbcd05f23c1a deleted file mode 100644 index 109fc57..0000000 Binary files a/test/dummy/tmp/cache/assets/D36/A40/sprockets%2Ff04158f446ef4a685641bbcd05f23c1a and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/D37/D60/sprockets%2Fdcbcf07bd77dae07614901d73437c351 b/test/dummy/tmp/cache/assets/D37/D60/sprockets%2Fdcbcf07bd77dae07614901d73437c351 deleted file mode 100644 index 78f69fc..0000000 Binary files a/test/dummy/tmp/cache/assets/D37/D60/sprockets%2Fdcbcf07bd77dae07614901d73437c351 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/D3B/610/sprockets%2Fd76666a48d1e3c5b20aa021a6be699d7 b/test/dummy/tmp/cache/assets/D3B/610/sprockets%2Fd76666a48d1e3c5b20aa021a6be699d7 deleted file mode 100644 index d4ac7a2..0000000 Binary files a/test/dummy/tmp/cache/assets/D3B/610/sprockets%2Fd76666a48d1e3c5b20aa021a6be699d7 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/D3F/2A0/sprockets%2F2f5d6bb21f46a1c09208899ede0c92d3 b/test/dummy/tmp/cache/assets/D3F/2A0/sprockets%2F2f5d6bb21f46a1c09208899ede0c92d3 deleted file mode 100644 index 61ac28e..0000000 Binary files a/test/dummy/tmp/cache/assets/D3F/2A0/sprockets%2F2f5d6bb21f46a1c09208899ede0c92d3 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/D49/8D0/sprockets%2F92613a75279536c4bcf4f3ba6cfde494 b/test/dummy/tmp/cache/assets/D49/8D0/sprockets%2F92613a75279536c4bcf4f3ba6cfde494 deleted file mode 100644 index e1362c7..0000000 Binary files a/test/dummy/tmp/cache/assets/D49/8D0/sprockets%2F92613a75279536c4bcf4f3ba6cfde494 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 b/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 deleted file mode 100644 index b592271..0000000 Binary files a/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/D4F/160/sprockets%2F9686d4b60027ddf89d496f3bd1c5ba75 b/test/dummy/tmp/cache/assets/D4F/160/sprockets%2F9686d4b60027ddf89d496f3bd1c5ba75 deleted file mode 100644 index daeea37..0000000 Binary files a/test/dummy/tmp/cache/assets/D4F/160/sprockets%2F9686d4b60027ddf89d496f3bd1c5ba75 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 b/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 deleted file mode 100644 index 37cdfc3..0000000 Binary files a/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/D60/620/sprockets%2Fae699b549a8960f75ae187e4c7a199fe b/test/dummy/tmp/cache/assets/D60/620/sprockets%2Fae699b549a8960f75ae187e4c7a199fe deleted file mode 100644 index 231965e..0000000 Binary files a/test/dummy/tmp/cache/assets/D60/620/sprockets%2Fae699b549a8960f75ae187e4c7a199fe and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/D6B/AA0/sprockets%2Fd7f8c901c5a5f02b0ae12f96fd7c5163 b/test/dummy/tmp/cache/assets/D6B/AA0/sprockets%2Fd7f8c901c5a5f02b0ae12f96fd7c5163 deleted file mode 100644 index d098aff..0000000 Binary files a/test/dummy/tmp/cache/assets/D6B/AA0/sprockets%2Fd7f8c901c5a5f02b0ae12f96fd7c5163 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/D96/E50/sprockets%2Faff1e946351d38bd075c6cb6bae6511a b/test/dummy/tmp/cache/assets/D96/E50/sprockets%2Faff1e946351d38bd075c6cb6bae6511a deleted file mode 100644 index d756a06..0000000 Binary files a/test/dummy/tmp/cache/assets/D96/E50/sprockets%2Faff1e946351d38bd075c6cb6bae6511a and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/DB8/780/sprockets%2Fae36db4ffce0d374304a4ede07a41b31 b/test/dummy/tmp/cache/assets/DB8/780/sprockets%2Fae36db4ffce0d374304a4ede07a41b31 deleted file mode 100644 index 01da5e8..0000000 Binary files a/test/dummy/tmp/cache/assets/DB8/780/sprockets%2Fae36db4ffce0d374304a4ede07a41b31 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/DCB/020/sprockets%2F4d068ed2dc36a60bb278ced9fcf20c36 b/test/dummy/tmp/cache/assets/DCB/020/sprockets%2F4d068ed2dc36a60bb278ced9fcf20c36 deleted file mode 100644 index bb3cab2..0000000 Binary files a/test/dummy/tmp/cache/assets/DCB/020/sprockets%2F4d068ed2dc36a60bb278ced9fcf20c36 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/DCD/ED0/sprockets%2F6fe3dc60b7d860d3a8a43690e4afacf4 b/test/dummy/tmp/cache/assets/DCD/ED0/sprockets%2F6fe3dc60b7d860d3a8a43690e4afacf4 deleted file mode 100644 index a04486a..0000000 Binary files a/test/dummy/tmp/cache/assets/DCD/ED0/sprockets%2F6fe3dc60b7d860d3a8a43690e4afacf4 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 b/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 deleted file mode 100644 index 9e42b8f..0000000 Binary files a/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af b/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af deleted file mode 100644 index 70a5276..0000000 Binary files a/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/E39/460/sprockets%2Fbfafd3d37be1adf677c090f59c7beb96 b/test/dummy/tmp/cache/assets/E39/460/sprockets%2Fbfafd3d37be1adf677c090f59c7beb96 deleted file mode 100644 index 2a8f986..0000000 Binary files a/test/dummy/tmp/cache/assets/E39/460/sprockets%2Fbfafd3d37be1adf677c090f59c7beb96 and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/E41/640/sprockets%2Fe39ce66e34eb568eeaaf17bf9f9b22fd b/test/dummy/tmp/cache/assets/E41/640/sprockets%2Fe39ce66e34eb568eeaaf17bf9f9b22fd deleted file mode 100644 index b347439..0000000 Binary files a/test/dummy/tmp/cache/assets/E41/640/sprockets%2Fe39ce66e34eb568eeaaf17bf9f9b22fd and /dev/null differ diff --git a/test/dummy/tmp/cache/assets/E95/990/sprockets%2Ff7f4b455f707cfccd5facf51bbdfc2d9 b/test/dummy/tmp/cache/assets/E95/990/sprockets%2Ff7f4b455f707cfccd5facf51bbdfc2d9 deleted file mode 100644 index 8a400f8..0000000 Binary files a/test/dummy/tmp/cache/assets/E95/990/sprockets%2Ff7f4b455f707cfccd5facf51bbdfc2d9 and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/41fc7921821e44ccb9c303aca9a6f533f3dc3fa8/application.scssc b/test/dummy/tmp/cache/sass/41fc7921821e44ccb9c303aca9a6f533f3dc3fa8/application.scssc deleted file mode 100644 index 3ad8a09..0000000 Binary files a/test/dummy/tmp/cache/sass/41fc7921821e44ccb9c303aca9a6f533f3dc3fa8/application.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/7ec7d32c7162b055998d37293d95edaf57626e5b/_bootstrap.scssc b/test/dummy/tmp/cache/sass/7ec7d32c7162b055998d37293d95edaf57626e5b/_bootstrap.scssc deleted file mode 100644 index e91ec7c..0000000 Binary files a/test/dummy/tmp/cache/sass/7ec7d32c7162b055998d37293d95edaf57626e5b/_bootstrap.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_accordion.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_accordion.scssc deleted file mode 100644 index 09e266d..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_accordion.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_alerts.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_alerts.scssc deleted file mode 100644 index 3c854f8..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_alerts.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_breadcrumbs.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_breadcrumbs.scssc deleted file mode 100644 index 4350478..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_breadcrumbs.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_button-groups.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_button-groups.scssc deleted file mode 100644 index a6ddcb8..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_button-groups.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_buttons.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_buttons.scssc deleted file mode 100644 index cfbc623..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_buttons.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_carousel.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_carousel.scssc deleted file mode 100644 index a9c8917..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_carousel.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_close.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_close.scssc deleted file mode 100644 index b7626e0..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_close.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_code.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_code.scssc deleted file mode 100644 index df0f595..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_code.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_component-animations.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_component-animations.scssc deleted file mode 100644 index 744bf3c..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_component-animations.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_dropdowns.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_dropdowns.scssc deleted file mode 100644 index 3a3478b..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_dropdowns.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_forms.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_forms.scssc deleted file mode 100644 index 2f26f3c..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_forms.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_grid.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_grid.scssc deleted file mode 100644 index f8cd990..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_grid.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_hero-unit.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_hero-unit.scssc deleted file mode 100644 index ebccc9b..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_hero-unit.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_labels-badges.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_labels-badges.scssc deleted file mode 100644 index d12dd58..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_labels-badges.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_layouts.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_layouts.scssc deleted file mode 100644 index 78993fc..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_layouts.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_mixins.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_mixins.scssc deleted file mode 100644 index ec520db..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_mixins.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_modals.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_modals.scssc deleted file mode 100644 index 7a2530e..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_modals.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navbar.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navbar.scssc deleted file mode 100644 index 360ae80..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navbar.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navs.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navs.scssc deleted file mode 100644 index 3af18e4..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navs.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pager.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pager.scssc deleted file mode 100644 index 5c40bb3..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pager.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pagination.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pagination.scssc deleted file mode 100644 index 1ff5ce3..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pagination.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_popovers.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_popovers.scssc deleted file mode 100644 index e8e742e..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_popovers.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_progress-bars.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_progress-bars.scssc deleted file mode 100644 index 42e3f54..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_progress-bars.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_reset.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_reset.scssc deleted file mode 100644 index e13b222..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_reset.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_scaffolding.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_scaffolding.scssc deleted file mode 100644 index 64fcf04..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_scaffolding.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_sprites.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_sprites.scssc deleted file mode 100644 index b263ee0..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_sprites.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tables.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tables.scssc deleted file mode 100644 index 1ccc7e4..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tables.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_thumbnails.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_thumbnails.scssc deleted file mode 100644 index d8602a9..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_thumbnails.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tooltip.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tooltip.scssc deleted file mode 100644 index d61f125..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tooltip.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_type.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_type.scssc deleted file mode 100644 index 7f6278a..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_type.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_utilities.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_utilities.scssc deleted file mode 100644 index 7b35923..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_utilities.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_variables.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_variables.scssc deleted file mode 100644 index c586137..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_variables.scssc and /dev/null differ diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_wells.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_wells.scssc deleted file mode 100644 index 5b3fcd8..0000000 Binary files a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_wells.scssc and /dev/null differ -- cgit v1.2.3 From 00b7b36516d1d07300870029ad5190f06122a493 Mon Sep 17 00:00:00 2001 From: Azul Date: Wed, 10 Oct 2012 19:56:35 +0200 Subject: first steps at reducing core --- Gemfile | 47 ++----------------------------------- Gemfile.lock | 33 +++++++------------------- app/controllers/home_controller.rb | 5 ++++ certs/Gemfile | 12 +++------- certs/leap_web_certs.gemspec | 3 --- certs/lib/leap_web_certs.rb | 1 + certs/lib/leap_web_certs/engine.rb | 3 --- certs/lib/leap_web_certs/version.rb | 3 --- common_dependencies.rb | 6 +++++ config/routes.rb | 6 ++--- core/leap_web_core.gemspec | 2 ++ core/lib/leap_web_core.rb | 9 ++++++- core/lib/leap_web_core/version.rb | 3 --- help/Gemfile | 18 ++++---------- help/leap_web_help.gemspec | 8 +------ help/lib/leap_web_help.rb | 1 + help/lib/leap_web_help/engine.rb | 4 ---- help/lib/leap_web_help/version.rb | 3 --- lib/tasks/task_helper.rb | 2 +- ui_dependencies.rb | 16 +++++++++++++ users/Gemfile | 13 ++++------ users/leap_web_users.gemspec | 8 +------ users/lib/leap_web_users.rb | 2 ++ users/lib/leap_web_users/engine.rb | 4 +--- users/lib/leap_web_users/version.rb | 3 --- 25 files changed, 70 insertions(+), 145 deletions(-) create mode 100644 app/controllers/home_controller.rb delete mode 100644 certs/lib/leap_web_certs/version.rb create mode 100644 common_dependencies.rb delete mode 100644 core/lib/leap_web_core/version.rb delete mode 100644 help/lib/leap_web_help/version.rb create mode 100644 ui_dependencies.rb delete mode 100644 users/lib/leap_web_users/version.rb diff --git a/Gemfile b/Gemfile index 2aedae1..6d28e3d 100644 --- a/Gemfile +++ b/Gemfile @@ -1,57 +1,14 @@ source 'https://rubygems.org' -gem 'rails', '3.2.8' - -# Bundle edge Rails instead: -# gem 'rails', :git => 'git://github.com/rails/rails.git' - - -gem 'json' - -# Gems used only for assets and not required -# in production environments by default. -group :assets do - gem 'haml-rails', '~> 0.3.4' - gem 'sass-rails', '~> 3.2.5' - gem 'coffee-rails', '~> 3.2.2' - - # See https://github.com/sstephenson/execjs#readme for more supported runtimes - gem 'therubyracer', :platforms => :ruby - - gem 'uglifier', '>= 1.2.7' -end - -gem 'jquery-rails' -gem 'bootstrap-sass', '~> 2.0.4' -gem 'haml', '~> 3.1.7' -gem 'simple_form' +eval(File.read(File.dirname(__FILE__) + '/common_dependencies.rb')) +eval(File.read(File.dirname(__FILE__) + '/ui_dependencies.rb')) # EITHER fetch all of the leap_web gems in one go # gem 'leap_web' # OR use the local versions for development instead: -gem 'leap_web_core', :path => 'core' gem 'leap_web_users', :path => 'users' gem 'leap_web_certs', :path => 'certs' # gem 'leap_web_help', :path => 'help' -gem 'couchrest_session_store' - - -group :development, :test do - gem 'mocha' -end - -# To use ActiveModel has_secure_password -# gem 'bcrypt-ruby', '~> 3.0.0' - -# To use Jbuilder templates for JSON -# gem 'jbuilder' - -# Use unicorn as the app server -# gem 'unicorn' - -# Deploy with Capistrano -# gem 'capistrano' - # To use debugger gem 'ruby-debug' diff --git a/Gemfile.lock b/Gemfile.lock index f23e74e..955c637 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,32 +2,16 @@ PATH remote: certs specs: leap_web_certs (0.1.0) - leap_web_core (= 0.1.0) - rails (~> 3.2.8) - -PATH - remote: core - specs: - leap_web_core (0.1.0) - couchrest (~> 1.1.3) - couchrest_model (~> 2.0.0.beta2) - couchrest_session_store (~> 0.0.1) - rails (~> 3.2.8) PATH remote: users specs: leap_web_users (0.1.0) - bootstrap-sass (~> 2.0.4) - haml (~> 3.1.7) - jquery-rails - leap_web_core (= 0.1.0) - rails (~> 3.2.8) ruby-srp (~> 0.1.1) - simple_form GEM remote: https://rubygems.org/ + remote: http://rubygems.org/ specs: actionmailer (3.2.8) actionpack (= 3.2.8) @@ -147,7 +131,7 @@ GEM railties (~> 3.2.0) sass (>= 3.1.10) tilt (~> 1.3) - simple_form (2.0.3) + simple_form (2.0.4) actionpack (~> 3.0) activemodel (~> 3.0) sprockets (2.1.3) @@ -162,9 +146,9 @@ GEM polyglot polyglot (>= 0.3.1) tzinfo (0.3.33) - uglifier (1.3.0) + uglifier (1.2.7) execjs (>= 0.3.0) - multi_json (~> 1.0, >= 1.0.2) + multi_json (~> 1.3) PLATFORMS ruby @@ -172,18 +156,19 @@ PLATFORMS DEPENDENCIES bootstrap-sass (~> 2.0.4) coffee-rails (~> 3.2.2) - couchrest_session_store + couchrest (~> 1.1.3) + couchrest_model (~> 2.0.0.beta2) + couchrest_session_store (~> 0.0.1) haml (~> 3.1.7) haml-rails (~> 0.3.4) jquery-rails json leap_web_certs! - leap_web_core! leap_web_users! mocha - rails (= 3.2.8) + rails (~> 3.2.8) ruby-debug sass-rails (~> 3.2.5) simple_form therubyracer - uglifier (>= 1.2.7) + uglifier (~> 1.2.7) diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb new file mode 100644 index 0000000..7db5397 --- /dev/null +++ b/app/controllers/home_controller.rb @@ -0,0 +1,5 @@ + +class HomeController < ApplicationController + def index + end +end diff --git a/certs/Gemfile b/certs/Gemfile index 9028024..ab2aa7a 100644 --- a/certs/Gemfile +++ b/certs/Gemfile @@ -1,17 +1,11 @@ source "http://rubygems.org" -# Declare your gem's dependencies in leap_web_certs.gemspec. +eval(File.read(File.dirname(__FILE__) + '/../common_dependencies.rb')) + +# Declare your gem's dependencies in leap_web_users.gemspec. # Bundler will treat runtime dependencies like base dependencies, and # development dependencies will be added by default to the :development group. gemspec -# jquery-rails is used by the dummy application -gem "jquery-rails" - -# Declare any dependencies that are still in development here instead of in -# your gemspec. These might include edge Rails or gems from your path or -# Git. Remember to move these dependencies to your gemspec before releasing -# your gem to rubygems.org. - # To use debugger # gem 'ruby-debug' diff --git a/certs/leap_web_certs.gemspec b/certs/leap_web_certs.gemspec index 14708df..15a45be 100644 --- a/certs/leap_web_certs.gemspec +++ b/certs/leap_web_certs.gemspec @@ -15,9 +15,6 @@ Gem::Specification.new do |s| s.files = Dir["{app,config,db,lib}/**/*"] + ["Rakefile", "Readme.md"] s.test_files = Dir["test/**/*"] - s.add_dependency "rails", "~> 3.2.8" s.add_dependency "leap_web_core", LeapWeb::VERSION - - s.add_development_dependency "mocha" end diff --git a/certs/lib/leap_web_certs.rb b/certs/lib/leap_web_certs.rb index beb683d..129d1a9 100644 --- a/certs/lib/leap_web_certs.rb +++ b/certs/lib/leap_web_certs.rb @@ -1,3 +1,4 @@ +require "leap_web_core" require "leap_web_certs/engine" module LeapWebCerts diff --git a/certs/lib/leap_web_certs/engine.rb b/certs/lib/leap_web_certs/engine.rb index 7dbc572..33a446e 100644 --- a/certs/lib/leap_web_certs/engine.rb +++ b/certs/lib/leap_web_certs/engine.rb @@ -1,6 +1,3 @@ -# thou shall require all your dependencies in an engine. -require "leap_web_core" - module LeapWebCerts class Engine < ::Rails::Engine diff --git a/certs/lib/leap_web_certs/version.rb b/certs/lib/leap_web_certs/version.rb deleted file mode 100644 index 800ca0b..0000000 --- a/certs/lib/leap_web_certs/version.rb +++ /dev/null @@ -1,3 +0,0 @@ -module LeapWebCerts - VERSION = "0.0.4" -end diff --git a/common_dependencies.rb b/common_dependencies.rb new file mode 100644 index 0000000..5312a80 --- /dev/null +++ b/common_dependencies.rb @@ -0,0 +1,6 @@ +source "http://rubygems.org" + +group :test do + gem 'mocha', :require => false +end + diff --git a/config/routes.rb b/config/routes.rb index ca8d753..3b29251 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,4 +1,6 @@ LeapWeb::Application.routes.draw do + root :to => "home#index" + # The priority is based upon order of creation: # first created -> highest priority. @@ -46,10 +48,6 @@ LeapWeb::Application.routes.draw do # resources :products # end - # You can have the root of your site routed with "root" - # just remember to delete public/index.html. - # root :to => 'welcome#index' - # See how all your routes lay out with "rake routes" # This is a legacy wild controller route that's not recommended for RESTful applications. diff --git a/core/leap_web_core.gemspec b/core/leap_web_core.gemspec index c3bb98d..e721637 100644 --- a/core/leap_web_core.gemspec +++ b/core/leap_web_core.gemspec @@ -16,8 +16,10 @@ Gem::Specification.new do |s| s.test_files = Dir["test/**/*"] s.add_dependency "rails", "~> 3.2.8" + s.add_dependency "couchrest", "~> 1.1.3" s.add_dependency "couchrest_model", "~> 2.0.0.beta2" s.add_dependency "couchrest_session_store", "~> 0.0.1" + s.add_dependency "json" end diff --git a/core/lib/leap_web_core.rb b/core/lib/leap_web_core.rb index 16004f8..5b53978 100644 --- a/core/lib/leap_web_core.rb +++ b/core/lib/leap_web_core.rb @@ -1,5 +1,12 @@ +require "rails/all" + +require "couchrest" +require "couchrest_model" +require "couchrest_session_store" + +require "json" + require "extensions/testing" -require "leap_web_core/dependencies" require "leap_web_core/engine" module LeapWebCore diff --git a/core/lib/leap_web_core/version.rb b/core/lib/leap_web_core/version.rb deleted file mode 100644 index 6a34982..0000000 --- a/core/lib/leap_web_core/version.rb +++ /dev/null @@ -1,3 +0,0 @@ -module LeapWebCore - VERSION = "0.0.1" -end diff --git a/help/Gemfile b/help/Gemfile index 8dfcd78..bfd760e 100644 --- a/help/Gemfile +++ b/help/Gemfile @@ -1,20 +1,12 @@ source "http://rubygems.org" -# Declare your gem's dependencies in leap_web_help.gemspec. +eval(File.read(File.dirname(__FILE__) + '/../common_dependencies.rb')) +eval(File.read(File.dirname(__FILE__) + '/..//ui_dependencies.rb')) + +# Declare your gem's dependencies in leap_web_users.gemspec. # Bundler will treat runtime dependencies like base dependencies, and # development dependencies will be added by default to the :development group. gemspec -# jquery-rails is used by the dummy application -gem "jquery-rails" - -# Declare any dependencies that are still in development here instead of in -# your gemspec. These might include edge Rails or gems from your path or -# Git. Remember to move these dependencies to your gemspec before releasing -# your gem to rubygems.org. - # To use debugger - gem 'ruby-debug' - - # TODO: not sure I actually want this here, but trying: - gem 'therubyracer', :platforms => :ruby +# gem 'ruby-debug' diff --git a/help/leap_web_help.gemspec b/help/leap_web_help.gemspec index 2cc147c..09827dc 100644 --- a/help/leap_web_help.gemspec +++ b/help/leap_web_help.gemspec @@ -1,6 +1,5 @@ $:.push File.expand_path("../lib", __FILE__) -require "leap_web_core/dependencies" require File.expand_path('../../lib/leap_web/version.rb', __FILE__) # Describe your gem and declare its dependencies: @@ -16,10 +15,5 @@ Gem::Specification.new do |s| s.files = Dir["{app,config,db,lib}/**/*"] + ["Rakefile", "Readme.md"] s.test_files = Dir["test/**/*"] - s.add_dependency "rails", "~> 3.2.8" - s.add_dependency "leap_web_core", "~> #{LeapWeb::VERSION}" - - LeapWebCore::Dependencies.add_ui_gems_to_spec(s) - - # s.add_dependency "jquery-rails" + s.add_dependency "leap_web_core", LeapWeb::VERSION end diff --git a/help/lib/leap_web_help.rb b/help/lib/leap_web_help.rb index f5b04aa..89dabcf 100644 --- a/help/lib/leap_web_help.rb +++ b/help/lib/leap_web_help.rb @@ -1,3 +1,4 @@ +require "leap_web_core" require "leap_web_help/engine" module LeapWebHelp diff --git a/help/lib/leap_web_help/engine.rb b/help/lib/leap_web_help/engine.rb index 2ff3e86..1006c29 100644 --- a/help/lib/leap_web_help/engine.rb +++ b/help/lib/leap_web_help/engine.rb @@ -1,8 +1,4 @@ # thou shall require all your dependencies in an engine. -require "leap_web_core" -#require "leap_web_users" #necessary? - -LeapWebCore::Dependencies.require_ui_gems module LeapWebHelp class Engine < ::Rails::Engine diff --git a/help/lib/leap_web_help/version.rb b/help/lib/leap_web_help/version.rb deleted file mode 100644 index 6a7c85d..0000000 --- a/help/lib/leap_web_help/version.rb +++ /dev/null @@ -1,3 +0,0 @@ -module LeapWebHelp - VERSION = "0.0.1" -end diff --git a/lib/tasks/task_helper.rb b/lib/tasks/task_helper.rb index aa37698..26e60bc 100644 --- a/lib/tasks/task_helper.rb +++ b/lib/tasks/task_helper.rb @@ -2,7 +2,7 @@ require File.expand_path('../../../lib/leap_web/version', __FILE__) module TaskHelper - ENGINES = %w(core users certs help) + ENGINES = %w(users certs help) def putsys(cmd) puts cmd diff --git a/ui_dependencies.rb b/ui_dependencies.rb new file mode 100644 index 0000000..21de1c6 --- /dev/null +++ b/ui_dependencies.rb @@ -0,0 +1,16 @@ +gem "haml", "~> 3.1.7" +gem "bootstrap-sass", "~> 2.0.4" +gem "jquery-rails" +gem "simple_form" + +group :assets do + gem "haml-rails", "~> 0.3.4" + gem "sass-rails", "~> 3.2.5" + gem "coffee-rails", "~> 3.2.2" + gem "uglifier", "~> 1.2.7" + + # See https://github.com/sstephenson/execjs#readme for more supported runtimes + gem 'therubyracer', :platforms => :ruby + +end + diff --git a/users/Gemfile b/users/Gemfile index 5e6ebd6..81b0ae8 100644 --- a/users/Gemfile +++ b/users/Gemfile @@ -1,17 +1,12 @@ source "http://rubygems.org" +eval(File.read(File.dirname(__FILE__) + '/../common_dependencies.rb')) +eval(File.read(File.dirname(__FILE__) + '/../ui_dependencies.rb')) + # Declare your gem's dependencies in leap_web_users.gemspec. # Bundler will treat runtime dependencies like base dependencies, and # development dependencies will be added by default to the :development group. gemspec -# jquery-rails is used by the dummy application -gem "jquery-rails" - -# Declare any dependencies that are still in development here instead of in -# your gemspec. These might include edge Rails or gems from your path or -# Git. Remember to move these dependencies to your gemspec before releasing -# your gem to rubygems.org. - # To use debugger -gem 'ruby-debug' +# gem 'ruby-debug' diff --git a/users/leap_web_users.gemspec b/users/leap_web_users.gemspec index 94c32ff..f64a76a 100644 --- a/users/leap_web_users.gemspec +++ b/users/leap_web_users.gemspec @@ -1,6 +1,5 @@ $:.push File.expand_path("../lib", __FILE__) -require "leap_web_core/dependencies" require File.expand_path('../../lib/leap_web/version.rb', __FILE__) # Describe your gem and declare its dependencies: @@ -16,12 +15,7 @@ Gem::Specification.new do |s| s.files = Dir["{app,config,db,lib}/**/*"] + ["Rakefile", "Readme.md"] s.test_files = Dir["test/**/*"] - s.add_dependency "rails", "~> 3.2.8" s.add_dependency "leap_web_core", LeapWeb::VERSION - s.add_dependency "ruby-srp", "~> 0.1.1" - - LeapWebCore::Dependencies.add_ui_gems_to_spec(s) - - s.add_development_dependency "mocha" + s.add_dependency "ruby-srp", "~> 0.1.1" end diff --git a/users/lib/leap_web_users.rb b/users/lib/leap_web_users.rb index e1b7b1f..1ea1c40 100644 --- a/users/lib/leap_web_users.rb +++ b/users/lib/leap_web_users.rb @@ -1,3 +1,5 @@ +require "leap_web_core" +require "leap_web_core/ui_dependencies" require "leap_web_users/engine" module LeapWebUsers diff --git a/users/lib/leap_web_users/engine.rb b/users/lib/leap_web_users/engine.rb index b6ab60e..734564b 100644 --- a/users/lib/leap_web_users/engine.rb +++ b/users/lib/leap_web_users/engine.rb @@ -1,8 +1,6 @@ # thou shall require all your dependencies in an engine. require "ruby-srp" -require "leap_web_core" -LeapWebCore::Dependencies.require_ui_gems - +require "haml-rails" module LeapWebUsers class Engine < ::Rails::Engine diff --git a/users/lib/leap_web_users/version.rb b/users/lib/leap_web_users/version.rb deleted file mode 100644 index 14e54c1..0000000 --- a/users/lib/leap_web_users/version.rb +++ /dev/null @@ -1,3 +0,0 @@ -module LeapWebUsers - VERSION = "0.0.1" -end -- cgit v1.2.3 From add8d015c87a00626b739080bd75c7e7aeb9c1df Mon Sep 17 00:00:00 2001 From: Azul Date: Thu, 11 Oct 2012 10:22:34 +0200 Subject: moved core dependency into */Gemfile with :path In order to get the rails generators and the like to work properly in engines we need to require all the dependencies in the engine.rb file. Since I want to keep that list of engines in a centralized place we still need core and we need to require it from the other engines. We don't want to require the core gem to be installed so I added it with :path option to the Gemfile. --- .gitignore | 1 + Gemfile | 1 + Gemfile.lock | 18 +++++++++++++----- certs/Gemfile | 3 +++ certs/lib/leap_web_certs.rb | 1 - certs/lib/leap_web_certs/engine.rb | 2 ++ core/lib/leap_web_core.rb | 2 +- core/lib/leap_web_core/ui_dependencies.rb | 11 +++++++++++ help/Gemfile | 3 +++ help/lib/leap_web_help.rb | 1 - help/lib/leap_web_help/engine.rb | 2 ++ users/Gemfile | 3 +++ users/lib/leap_web_users.rb | 2 -- users/lib/leap_web_users/engine.rb | 3 ++- 14 files changed, 42 insertions(+), 11 deletions(-) create mode 100644 core/lib/leap_web_core/ui_dependencies.rb diff --git a/.gitignore b/.gitignore index bdcb017..7993150 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /pkg /*/pkg /log +*/Gemfile.lock diff --git a/Gemfile b/Gemfile index 6d28e3d..10c661a 100644 --- a/Gemfile +++ b/Gemfile @@ -6,6 +6,7 @@ eval(File.read(File.dirname(__FILE__) + '/ui_dependencies.rb')) # EITHER fetch all of the leap_web gems in one go # gem 'leap_web' # OR use the local versions for development instead: +gem "leap_web_core", :path => 'core' gem 'leap_web_users', :path => 'users' gem 'leap_web_certs', :path => 'certs' # gem 'leap_web_help', :path => 'help' diff --git a/Gemfile.lock b/Gemfile.lock index 955c637..fe49476 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,11 +2,23 @@ PATH remote: certs specs: leap_web_certs (0.1.0) + leap_web_core (= 0.1.0) + +PATH + remote: core + specs: + leap_web_core (0.1.0) + couchrest (~> 1.1.3) + couchrest_model (~> 2.0.0.beta2) + couchrest_session_store (~> 0.0.1) + json + rails (~> 3.2.8) PATH remote: users specs: leap_web_users (0.1.0) + leap_web_core (= 0.1.0) ruby-srp (~> 0.1.1) GEM @@ -156,17 +168,13 @@ PLATFORMS DEPENDENCIES bootstrap-sass (~> 2.0.4) coffee-rails (~> 3.2.2) - couchrest (~> 1.1.3) - couchrest_model (~> 2.0.0.beta2) - couchrest_session_store (~> 0.0.1) haml (~> 3.1.7) haml-rails (~> 0.3.4) jquery-rails - json leap_web_certs! + leap_web_core! leap_web_users! mocha - rails (~> 3.2.8) ruby-debug sass-rails (~> 3.2.5) simple_form diff --git a/certs/Gemfile b/certs/Gemfile index ab2aa7a..951d1b7 100644 --- a/certs/Gemfile +++ b/certs/Gemfile @@ -2,6 +2,9 @@ source "http://rubygems.org" eval(File.read(File.dirname(__FILE__) + '/../common_dependencies.rb')) +# We require leap_web_core from here so we can use the path option. +gem "leap_web_core", :path => '../core' + # Declare your gem's dependencies in leap_web_users.gemspec. # Bundler will treat runtime dependencies like base dependencies, and # development dependencies will be added by default to the :development group. diff --git a/certs/lib/leap_web_certs.rb b/certs/lib/leap_web_certs.rb index 129d1a9..beb683d 100644 --- a/certs/lib/leap_web_certs.rb +++ b/certs/lib/leap_web_certs.rb @@ -1,4 +1,3 @@ -require "leap_web_core" require "leap_web_certs/engine" module LeapWebCerts diff --git a/certs/lib/leap_web_certs/engine.rb b/certs/lib/leap_web_certs/engine.rb index 33a446e..3c8948a 100644 --- a/certs/lib/leap_web_certs/engine.rb +++ b/certs/lib/leap_web_certs/engine.rb @@ -1,3 +1,5 @@ +require "leap_web_core" + module LeapWebCerts class Engine < ::Rails::Engine diff --git a/core/lib/leap_web_core.rb b/core/lib/leap_web_core.rb index 5b53978..8826880 100644 --- a/core/lib/leap_web_core.rb +++ b/core/lib/leap_web_core.rb @@ -1,4 +1,4 @@ -require "rails/all" +require "rails" require "couchrest" require "couchrest_model" diff --git a/core/lib/leap_web_core/ui_dependencies.rb b/core/lib/leap_web_core/ui_dependencies.rb new file mode 100644 index 0000000..e0a0b86 --- /dev/null +++ b/core/lib/leap_web_core/ui_dependencies.rb @@ -0,0 +1,11 @@ +require "haml" +require "bootstrap-sass" +require "jquery-rails" +require "simple_form" + +if Rails.env == "development" + require "haml-rails" + require "sass-rails" + require "coffee-rails" + require "uglifier" +end diff --git a/help/Gemfile b/help/Gemfile index bfd760e..5e895e9 100644 --- a/help/Gemfile +++ b/help/Gemfile @@ -3,6 +3,9 @@ source "http://rubygems.org" eval(File.read(File.dirname(__FILE__) + '/../common_dependencies.rb')) eval(File.read(File.dirname(__FILE__) + '/..//ui_dependencies.rb')) +# We require leap_web_core from here so we can use the path option. +gem "leap_web_core", :path => '../core' + # Declare your gem's dependencies in leap_web_users.gemspec. # Bundler will treat runtime dependencies like base dependencies, and # development dependencies will be added by default to the :development group. diff --git a/help/lib/leap_web_help.rb b/help/lib/leap_web_help.rb index 89dabcf..f5b04aa 100644 --- a/help/lib/leap_web_help.rb +++ b/help/lib/leap_web_help.rb @@ -1,4 +1,3 @@ -require "leap_web_core" require "leap_web_help/engine" module LeapWebHelp diff --git a/help/lib/leap_web_help/engine.rb b/help/lib/leap_web_help/engine.rb index 1006c29..4146dfc 100644 --- a/help/lib/leap_web_help/engine.rb +++ b/help/lib/leap_web_help/engine.rb @@ -1,4 +1,6 @@ # thou shall require all your dependencies in an engine. +require "leap_web_core" +require "leap_web_core/ui_dependencies" module LeapWebHelp class Engine < ::Rails::Engine diff --git a/users/Gemfile b/users/Gemfile index 81b0ae8..e30033a 100644 --- a/users/Gemfile +++ b/users/Gemfile @@ -3,6 +3,9 @@ source "http://rubygems.org" eval(File.read(File.dirname(__FILE__) + '/../common_dependencies.rb')) eval(File.read(File.dirname(__FILE__) + '/../ui_dependencies.rb')) +# We require leap_web_core from here so we can use the path option. +gem "leap_web_core", :path => '../core' + # Declare your gem's dependencies in leap_web_users.gemspec. # Bundler will treat runtime dependencies like base dependencies, and # development dependencies will be added by default to the :development group. diff --git a/users/lib/leap_web_users.rb b/users/lib/leap_web_users.rb index 1ea1c40..e1b7b1f 100644 --- a/users/lib/leap_web_users.rb +++ b/users/lib/leap_web_users.rb @@ -1,5 +1,3 @@ -require "leap_web_core" -require "leap_web_core/ui_dependencies" require "leap_web_users/engine" module LeapWebUsers diff --git a/users/lib/leap_web_users/engine.rb b/users/lib/leap_web_users/engine.rb index 734564b..9b7545e 100644 --- a/users/lib/leap_web_users/engine.rb +++ b/users/lib/leap_web_users/engine.rb @@ -1,6 +1,7 @@ # thou shall require all your dependencies in an engine. +require "leap_web_core" +require "leap_web_core/ui_dependencies" require "ruby-srp" -require "haml-rails" module LeapWebUsers class Engine < ::Rails::Engine -- cgit v1.2.3 From bd17dee3ae5650e8ff1c7700fa0e83adf386b91b Mon Sep 17 00:00:00 2001 From: Azul Date: Thu, 11 Oct 2012 10:43:57 +0200 Subject: tried to make the documentation more clear --- DEVELOP.md | 49 +++++++++++++++---------------------------------- 1 file changed, 15 insertions(+), 34 deletions(-) diff --git a/DEVELOP.md b/DEVELOP.md index a483fb7..9548774 100644 --- a/DEVELOP.md +++ b/DEVELOP.md @@ -25,20 +25,28 @@ rails plugin new ENGINE_NAME -O --full See http://guides.rubyonrails.org/engines.html for more general info about engines. -### Require Leap Web Core ### +### Require Leap Web Core and dependencies ### -You need to add leap_web_core to your .gemspec: +Leap Web Core provides a common set of dependencies for the engines with CouchRest Model etc. +It also comes with an optional set of UI gems like haml, sass, coffeescript, uglifier, bootstrap-sass, jquery and simple_form. + +In order to use the core dependencies you need to add leap_web_core to your .gemspec: ```ruby +# make sure LeapWeb::VERSION is available +require File.expand_path('../../lib/leap_web/version.rb', __FILE__) +# ... Gem::Specification.new do |s| # ... s.add_dependency "rails" - s.add_dependency "leap_web_core", "~> 0.0.1" + s.add_dependency "leap_web_core", LeapWeb::Version end ``` You also need to require it before you define your engine in lib/my_engine/engine.rb: ```ruby require "leap_web_core" +# uncomment if you want the ui gems: +# require "leap_web_core/ui_dependencies" module MyEngine class Engine < ::Rails::Engine @@ -47,41 +55,14 @@ module MyEngine end ``` -### Require UI Gems ### - -Leap Web Core provides a basic set of UI gems that should be used accross the engines. These include haml, sass, coffeescript, uglifier, bootstrap-sass, jquery and simple_form. - -Do you want to add views, javascript and the like to your engine? Then you should use the common gems. In order to do so you need to add them to your gemspec: +Some development and UI dependencies can not be loaded via leap_web_core. To make them available add the following lines to your engines Gemfile ```ruby - require "my_engine/version" - require "leap_web_core/dependencies" - - # ... - - Gem::Specification.new do |s| - # ... - s.add_dependency "rails" - s.add_dependency "leap_web_core", "~> 0.0.1" - - LeapWebCore::Dependencies.add_ui_gems_to_spec(s) - end + eval(File.read(File.dirname(__FILE__) + '/../common_dependencies.rb')) + # uncomment if you want the ui gems: + # eval(File.read(File.dirname(__FILE__) + '/../ui_dependencies.rb')) ``` -You also need to require them before you define your engine in lib/my_engine/engine.rb: - -```ruby -require "leap_web_core" -LeapWebCore::Dependencies.require_ui_gems - -module MyEngine - class Engine < ::Rails::Engine - # ... - end -end -``` - - ## Creating Models ## You can use the normal rails generators to create models. Since you required the leap_web_core gem you will be using CouchRest::Model. So your models inherit from CouchRest::Model::Base. -- cgit v1.2.3 From 61475258b0b346988689220057b07f9c9fb6317f Mon Sep 17 00:00:00 2001 From: Azul Date: Thu, 11 Oct 2012 11:08:58 +0200 Subject: lets not track the logs in version controll --- .gitignore | 2 + test/dummy/log/test.log | 1244 ----------------------------------------------- 2 files changed, 2 insertions(+), 1244 deletions(-) delete mode 100644 test/dummy/log/test.log diff --git a/.gitignore b/.gitignore index 7993150..3567ebd 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,5 @@ /*/pkg /log */Gemfile.lock +test/dummy/log/* +test/dummy/tmp/* diff --git a/test/dummy/log/test.log b/test/dummy/log/test.log deleted file mode 100644 index ccc2d30..0000000 --- a/test/dummy/log/test.log +++ /dev/null @@ -1,1244 +0,0 @@ - - -Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 21:42:54 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 500 Internal Server Error in 62ms - - -Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 21:42:55 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 500 Internal Server Error in 13ms - - -Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 21:42:55 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 500 Internal Server Error in 15ms -Processing by SessionsController#destroy as HTML -Completed 500 Internal Server Error in 1ms -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"a123", "id"=>"me"} -Completed 200 OK in 1ms (Views: 0.2ms) -Processing by SessionsController#new as HTML -Completed 500 Internal Server Error in 190ms -Processing by SessionsController#create as HTML - Parameters: {"A"=>"a123", "login"=>"me"} -Completed 200 OK in 1ms (Views: 0.2ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"me"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 500 Internal Server Error in 1ms -Processing by UsersController#new as HTML -Completed 500 Internal Server Error in 30ms - - -Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 22:56:01 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 500 Internal Server Error in 1094ms - - -Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 22:56:03 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 500 Internal Server Error in 15ms - - -Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 22:56:03 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 500 Internal Server Error in 64ms -Processing by SessionsController#destroy as HTML -Completed 500 Internal Server Error in 1ms -Processing by SessionsController#update as HTML - Parameters: {"id"=>"me", "client_auth"=>"a123"} -Completed 200 OK in 1ms (Views: 0.2ms) -Processing by SessionsController#new as HTML -Completed 500 Internal Server Error in 1010ms -Processing by SessionsController#create as HTML - Parameters: {"A"=>"a123", "login"=>"me"} -Completed 200 OK in 1ms (Views: 0.2ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"me"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 500 Internal Server Error in 1ms -Processing by UsersController#new as HTML -Completed 500 Internal Server Error in 68ms - - -Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 23:49:45 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 500 Internal Server Error in 42ms - - -Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 23:49:45 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 500 Internal Server Error in 12ms - - -Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 23:49:45 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 500 Internal Server Error in 13ms -Processing by SessionsController#destroy as HTML -Completed 500 Internal Server Error in 1ms -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"a123", "id"=>"me"} -Completed 200 OK in 1ms (Views: 0.2ms) -Processing by SessionsController#new as HTML -Completed 500 Internal Server Error in 99ms -Processing by SessionsController#create as HTML - Parameters: {"A"=>"a123", "login"=>"me"} -Completed 200 OK in 1ms (Views: 0.2ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"me"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 500 Internal Server Error in 1ms -Processing by UsersController#new as HTML -Completed 500 Internal Server Error in 29ms - - -Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 23:55:38 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 500 Internal Server Error in 43ms - - -Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 23:55:38 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 500 Internal Server Error in 15ms - - -Started POST "/users.json" for 127.0.0.1 at Thu Aug 23 23:55:38 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 500 Internal Server Error in 21ms -Processing by SessionsController#destroy as HTML -Completed 500 Internal Server Error in 2ms -Processing by SessionsController#update as HTML - Parameters: {"id"=>"me", "client_auth"=>"a123"} -Completed 200 OK in 1ms (Views: 0.2ms) -Processing by SessionsController#new as HTML -Completed 500 Internal Server Error in 99ms -Processing by SessionsController#create as HTML - Parameters: {"login"=>"me", "A"=>"a123"} -Completed 200 OK in 1ms (Views: 0.2ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"me", "password_salt"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 500 Internal Server Error in 1ms -Processing by UsersController#new as HTML -Completed 500 Internal Server Error in 29ms - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 00:03:59 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 500 Internal Server Error in 45ms - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 00:03:59 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 500 Internal Server Error in 15ms - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 00:03:59 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 500 Internal Server Error in 17ms -Processing by SessionsController#destroy as HTML -Completed 500 Internal Server Error in 1ms -Processing by SessionsController#update as HTML - Parameters: {"id"=>"me", "client_auth"=>"a123"} -Completed 200 OK in 1ms (Views: 0.2ms) -Processing by SessionsController#new as HTML -Completed 500 Internal Server Error in 98ms -Processing by SessionsController#create as HTML - Parameters: {"login"=>"me", "A"=>"a123"} -Completed 200 OK in 1ms (Views: 0.2ms) -Processing by SessionsController#create as HTML - Parameters: {"login"=>"login_that_does_not_exist"} -Completed 200 OK in 1ms (Views: 0.3ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"me"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 500 Internal Server Error in 1ms -Processing by UsersController#new as HTML -Completed 500 Internal Server Error in 34ms -Processing by UsersController#create as HTML - Parameters: {"user"=>{"login"=>"me"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Redirected to http://test.host/users/new -Completed 302 Found in 2ms - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 00:08:20 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 49ms (Views: 0.3ms) - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 00:08:21 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 13ms (Views: 0.2ms) - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 00:08:21 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 13ms (Views: 0.3ms) -Processing by SessionsController#destroy as HTML -Redirected to http://test.host/ -Completed 302 Found in 1ms -Processing by SessionsController#update as HTML - Parameters: {"id"=>"me", "client_auth"=>"a123"} -Completed 200 OK in 1ms (Views: 0.2ms) -Processing by SessionsController#new as HTML -Completed 200 OK in 90ms (Views: 89.4ms) -Processing by SessionsController#create as HTML - Parameters: {"A"=>"a123", "login"=>"me"} -Completed 200 OK in 1ms (Views: 0.2ms) -Processing by SessionsController#create as HTML - Parameters: {"login"=>"login_that_does_not_exist"} -Completed 200 OK in 1ms (Views: 0.3ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"login"=>"me", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Redirected to http://test.host/ -Completed 302 Found in 3ms -Processing by UsersController#new as HTML -Completed 200 OK in 19ms (Views: 18.2ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"login"=>"me"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Redirected to http://test.host/users/new -Completed 302 Found in 2ms - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:34:21 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 96ms (Views: 0.3ms) - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:34:21 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 12ms (Views: 0.3ms) - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:34:21 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 13ms (Views: 0.2ms) -Processing by SessionsController#destroy as HTML -Redirected to http://test.host/ -Completed 302 Found in 1ms -Processing by SessionsController#update as HTML - Parameters: {"id"=>"me", "client_auth"=>"a123"} -Completed 200 OK in 1ms (Views: 0.3ms) -Processing by SessionsController#new as HTML -Completed 200 OK in 212ms (Views: 211.6ms) -Processing by SessionsController#create as HTML - Parameters: {"login"=>"me", "A"=>"a123"} -Completed 200 OK in 1ms (Views: 0.2ms) -Processing by SessionsController#create as HTML - Parameters: {"login"=>"login_that_does_not_exist"} -Completed 200 OK in 1ms (Views: 0.3ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"me", "password_salt"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Redirected to http://test.host/ -Completed 302 Found in 3ms -Processing by UsersController#new as HTML -Completed 200 OK in 35ms (Views: 34.5ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"login"=>"me"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Redirected to http://test.host/users/new -Completed 302 Found in 1ms - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:35:32 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 50ms (Views: 0.3ms) - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:35:32 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 18ms (Views: 0.3ms) - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:35:32 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 13ms (Views: 0.3ms) -Processing by SessionsController#destroy as HTML -Redirected to http://test.host/ -Completed 302 Found in 1ms -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"a123", "id"=>"me"} -Completed 200 OK in 1ms (Views: 0.2ms) -Processing by SessionsController#new as HTML -Completed 200 OK in 91ms (Views: 91.1ms) -Processing by SessionsController#create as HTML - Parameters: {"A"=>"a123", "login"=>"me"} -Completed 200 OK in 1ms (Views: 0.2ms) -Processing by SessionsController#create as HTML - Parameters: {"login"=>"login_that_does_not_exist"} -Completed 200 OK in 1ms (Views: 0.3ms) -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"a123", "id"=>"me"} -Completed 200 OK in 1ms (Views: 0.3ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"me"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Redirected to http://test.host/ -Completed 302 Found in 2ms -Processing by UsersController#new as HTML -Completed 200 OK in 18ms (Views: 17.6ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"login"=>"me"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Redirected to http://test.host/users/new -Completed 302 Found in 1ms - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:47:02 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 52ms (Views: 0.3ms) - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:47:02 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 16ms (Views: 0.2ms) - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:47:02 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 12ms (Views: 0.2ms) -Processing by SessionsController#destroy as HTML -Redirected to http://test.host/ -Completed 302 Found in 1ms -Processing by SessionsController#update as HTML - Parameters: {"id"=>"me", "client_auth"=>"a123"} -Completed 200 OK in 1ms (Views: 0.2ms) -Processing by SessionsController#new as HTML -Completed 200 OK in 38ms (Views: 38.2ms) -Processing by SessionsController#create as HTML - Parameters: {"login"=>"me", "A"=>"a123"} -Completed 200 OK in 1ms (Views: 0.2ms) -Processing by SessionsController#create as HTML - Parameters: {"login"=>"login_that_does_not_exist"} -Completed 200 OK in 0ms (Views: 0.3ms) -Processing by SessionsController#update as HTML - Parameters: {"id"=>"me", "client_auth"=>"a123"} -Completed 200 OK in 0ms (Views: 0.3ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"login"=>"me", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Redirected to http://test.host/ -Completed 302 Found in 2ms -Processing by UsersController#new as HTML -Completed 200 OK in 18ms (Views: 17.2ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"login"=>"me"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Redirected to http://test.host/users/new -Completed 302 Found in 2ms - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:47:14 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 50ms (Views: 0.3ms) - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:47:14 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 14ms (Views: 0.2ms) - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:47:15 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"integration_test_user", "password_salt"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 13ms (Views: 0.2ms) -Processing by SessionsController#destroy as HTML -Redirected to http://test.host/ -Completed 302 Found in 1ms -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"a123", "id"=>"me"} -Completed 200 OK in 1ms (Views: 0.2ms) -Processing by SessionsController#new as HTML -Completed 200 OK in 38ms (Views: 37.6ms) -Processing by SessionsController#create as HTML - Parameters: {"A"=>"a123", "login"=>"me"} -Completed 200 OK in 1ms (Views: 0.2ms) -Processing by SessionsController#create as HTML - Parameters: {"login"=>"login_that_does_not_exist"} -Completed 200 OK in 0ms (Views: 0.3ms) -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"a123", "id"=>"me"} -Completed 200 OK in 0ms (Views: 0.2ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"me", "password_salt"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Redirected to http://test.host/ -Completed 302 Found in 3ms -Processing by UsersController#new as HTML -Completed 200 OK in 17ms (Views: 17.0ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"login"=>"me"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Redirected to http://test.host/users/new -Completed 302 Found in 1ms - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:53:07 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 56ms (Views: 0.3ms) - - -Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:53:07 +0200 2012 -Processing by SessionsController#create as HTML - Parameters: {"login"=>"integration_test_user", "A"=>"86b7b6251081d6cc54e23706ecb92019f7eb770dbe9161e97371a155aa3ba904"} -Completed 200 OK in 8ms (Views: 0.3ms) - - -Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 09:53:07 +0200 2012 -Processing by SessionsController#update as HTML - Parameters: {"id"=>"integration_test_user", "client_auth"=>"6fe632efa6c4bc707cbca53bdc327e3ac0e8dd3de06ec60cc70ae66bccffbec5"} -Completed 200 OK in 69ms (Views: 0.3ms) - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:53:07 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 16ms (Views: 0.3ms) - - -Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:53:07 +0200 2012 -Processing by SessionsController#create as HTML - Parameters: {"login"=>"integration_test_user", "A"=>"54dbd0535db592074d3993038676039e05e09704f53b893311d0a069a520ee5a"} -Completed 200 OK in 8ms (Views: 0.3ms) - - -Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 09:53:07 +0200 2012 -Processing by SessionsController#update as HTML - Parameters: {"id"=>"integration_test_user", "client_auth"=>"6c731717540ed41bd701ec7672d8e1d9b11c7bd7e66d866d564241aa012d3eba"} -Completed 200 OK in 9ms (Views: 0.4ms) - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:53:07 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"login"=>"integration_test_user", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 15ms (Views: 0.3ms) - - -Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:53:07 +0200 2012 -Processing by SessionsController#create as HTML - Parameters: {"login"=>"wronglogin", "A"=>"736077507e34ed76a8510cb691647084d98fdd386d460c84228e2085eea6cf60"} -Completed 200 OK in 64ms (Views: 0.4ms) -Processing by SessionsController#destroy as HTML -Redirected to http://test.host/ -Completed 302 Found in 1ms -Processing by SessionsController#update as HTML - Parameters: {"id"=>"me", "client_auth"=>"a123"} -Completed 200 OK in 0ms (Views: 0.2ms) -Processing by SessionsController#new as HTML -Completed 200 OK in 40ms (Views: 40.0ms) -Processing by SessionsController#create as HTML - Parameters: {"login"=>"me", "A"=>"a123"} -Completed 200 OK in 1ms (Views: 0.2ms) -Processing by SessionsController#create as HTML - Parameters: {"login"=>"login_that_does_not_exist"} -Completed 200 OK in 1ms (Views: 0.3ms) -Processing by SessionsController#update as HTML - Parameters: {"id"=>"me", "client_auth"=>"a123"} -Completed 200 OK in 1ms (Views: 0.3ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"login"=>"me", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Redirected to http://test.host/ -Completed 302 Found in 5ms -Processing by UsersController#new as HTML -Completed 200 OK in 24ms (Views: 23.4ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"login"=>"me"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Redirected to http://test.host/users/new -Completed 302 Found in 1ms -Processing by SessionsController#destroy as HTML -Redirected to http://test.host/ -Completed 302 Found in 1ms -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"a123", "id"=>"me"} -Completed 200 OK in 1ms (Views: 0.2ms) -Processing by SessionsController#new as HTML -Completed 200 OK in 100ms (Views: 100.1ms) -Processing by SessionsController#create as HTML - Parameters: {"login"=>"me", "A"=>"a123"} -Completed 200 OK in 1ms (Views: 0.2ms) -Processing by SessionsController#create as HTML - Parameters: {"login"=>"login_that_does_not_exist"} -Completed 200 OK in 0ms (Views: 0.2ms) -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"a123", "id"=>"me"} -Completed 200 OK in 1ms (Views: 0.3ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"me"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Redirected to http://test.host/ -Completed 302 Found in 8ms -Processing by UsersController#new as HTML -Completed 200 OK in 100ms (Views: 99.0ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"login"=>"me"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Redirected to http://test.host/users/new -Completed 302 Found in 1ms - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:56:16 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"login"=>"integration_test_user", "password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 52ms (Views: 0.3ms) - - -Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:56:16 +0200 2012 -Processing by SessionsController#create as HTML - Parameters: {"login"=>"integration_test_user", "A"=>"18d5f90618da300e42ddfca4ae0892d70188fc1bd15806a62e9727694d048d41"} -Completed 200 OK in 7ms (Views: 0.2ms) - - -Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 09:56:16 +0200 2012 -Processing by SessionsController#update as HTML - Parameters: {"id"=>"integration_test_user", "client_auth"=>"c9669e6d2e637a2dd4c88f1e14dac9411feff213a594d5375392fd9507be7554"} -Completed 200 OK in 12ms (Views: 0.3ms) - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:56:16 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"login"=>"integration_test_user", "password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 11ms (Views: 0.2ms) - - -Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:56:16 +0200 2012 -Processing by SessionsController#create as HTML - Parameters: {"login"=>"integration_test_user", "A"=>"5c888674fc202f583edb74ddd76d51d1d91f29ef13f275e0e6590f489697b984"} -Completed 200 OK in 7ms (Views: 0.2ms) - - -Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 09:56:16 +0200 2012 -Processing by SessionsController#update as HTML - Parameters: {"id"=>"integration_test_user", "client_auth"=>"a69f83478fb2794670d4a01f1d8fafc3aab9552dff2e40608fc0c1465d503000"} -Completed 200 OK in 9ms (Views: 0.3ms) - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:56:16 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"login"=>"integration_test_user", "password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 14ms (Views: 0.2ms) - - -Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:56:16 +0200 2012 -Processing by SessionsController#create as HTML - Parameters: {"login"=>"wronglogin", "A"=>"1d4dd9d87394fb996cf5c9cd26ceae999ee91d6e918ae4898487d29299f97def"} -Completed 200 OK in 4ms (Views: 0.4ms) - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:58:23 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 53ms (Views: 0.7ms) - - -Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:58:23 +0200 2012 -Processing by SessionsController#create as HTML - Parameters: {"A"=>"f13b416ca8f8f26d00e005fadd4c94744ff866110f9d090ae23ac249a7da6079", "login"=>"integration_test_user"} -Completed 200 OK in 6ms (Views: 0.2ms) - - -Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 09:58:23 +0200 2012 -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"608400e10ba35bb964b1e2d69d141484f7ed1307a77f1f991e33bb713906b00c", "id"=>"integration_test_user"} -Completed 200 OK in 61ms (Views: 0.3ms) - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:58:23 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 13ms (Views: 0.3ms) - - -Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:58:23 +0200 2012 -Processing by SessionsController#create as HTML - Parameters: {"A"=>"73f9bc1a40ae806817f6cab3a355f9c575d7574402b426b89c2c66d1c39ab82a", "login"=>"integration_test_user"} -Completed 200 OK in 9ms (Views: 0.3ms) - - -Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 09:58:23 +0200 2012 -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"79473702fd2354792f4403f7116bd664b5f799cb40f328422c02a07cf0a1623e", "id"=>"integration_test_user"} -Completed 200 OK in 9ms (Views: 0.4ms) - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 09:58:23 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 12ms (Views: 0.3ms) - - -Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 09:58:23 +0200 2012 -Processing by SessionsController#create as HTML - Parameters: {"A"=>"a84357df5892d8cdf74d55947f7ac8edbcea92c8a19af7403ec3db027dd8ebc8", "login"=>"wronglogin"} -Completed 200 OK in 5ms (Views: 0.3ms) -Processing by SessionsController#destroy as HTML -Redirected to http://test.host/ -Completed 302 Found in 1ms -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"a123", "id"=>"me"} -Completed 200 OK in 0ms (Views: 0.2ms) -Processing by SessionsController#new as HTML -Completed 200 OK in 94ms (Views: 93.5ms) -Processing by SessionsController#create as HTML - Parameters: {"A"=>"a123", "login"=>"me"} -Completed 200 OK in 0ms (Views: 0.2ms) -Processing by SessionsController#create as HTML - Parameters: {"login"=>"login_that_does_not_exist"} -Completed 200 OK in 1ms (Views: 0.3ms) -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"a123", "id"=>"me"} -Completed 200 OK in 1ms (Views: 0.3ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"me"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Redirected to http://test.host/ -Completed 302 Found in 3ms -Processing by UsersController#new as HTML -Completed 200 OK in 20ms (Views: 19.0ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"login"=>"me"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Redirected to http://test.host/users/new -Completed 302 Found in 1ms - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 10:36:38 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"integration_test_user", "password_verifier"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 49ms (Views: 0.3ms) - - -Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 10:36:38 +0200 2012 -Processing by SessionsController#create as HTML - Parameters: {"login"=>"integration_test_user", "A"=>"2f856f5d037678c93fe314de8368100990c6ff2262f05b6a839e85dfa24677b"} -Completed 200 OK in 8ms (Views: 0.2ms) - - -Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 10:36:38 +0200 2012 -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"efaf709c62d216af9651ddba8025f54d22dcec60907bd74e78fc8cf48529a86e", "id"=>"integration_test_user"} -Completed 200 OK in 62ms (Views: 0.3ms) - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 10:36:38 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"integration_test_user", "password_verifier"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 13ms (Views: 0.2ms) - - -Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 10:36:38 +0200 2012 -Processing by SessionsController#create as HTML - Parameters: {"login"=>"integration_test_user", "A"=>"2b61fe1e9c6dcf534267f898677aaff6dacb3ba59d7f7f73d20a3653aea5d5e3"} -Completed 200 OK in 9ms (Views: 0.3ms) - - -Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 10:36:38 +0200 2012 -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"61fa2879b62eacf34216d4b9560a64dd30541fc71192984fdbd7113dbc25f00a", "id"=>"integration_test_user"} -Completed 200 OK in 9ms (Views: 0.4ms) - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 10:36:38 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"integration_test_user", "password_verifier"=>"[FILTERED]"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 15ms (Views: 0.3ms) - - -Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 10:36:38 +0200 2012 -Processing by SessionsController#create as HTML - Parameters: {"login"=>"wronglogin", "A"=>"f7fe517fb7aefc41633d1e2f0b4df845321479f37ffc713407daff0d9551e14e"} -Completed 200 OK in 5ms (Views: 0.5ms) -Processing by SessionsController#destroy as HTML -Redirected to http://test.host/ -Completed 302 Found in 1ms -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"a123", "id"=>"me"} -Completed 200 OK in 1ms (Views: 0.3ms) -Processing by SessionsController#new as HTML -Completed 200 OK in 89ms (Views: 89.2ms) -Processing by SessionsController#create as HTML - Parameters: {"login"=>"me", "A"=>"a123"} -Completed 200 OK in 0ms (Views: 0.2ms) -Processing by SessionsController#create as HTML - Parameters: {"login"=>"login_that_does_not_exist"} -Completed 200 OK in 1ms (Views: 0.3ms) -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"a123", "id"=>"me"} -Completed 200 OK in 1ms (Views: 0.3ms) -Processing by UsersController#new as HTML -Completed 200 OK in 29ms (Views: 28.0ms) - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 10:37:34 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 49ms (Views: 0.3ms) - - -Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 10:37:34 +0200 2012 -Processing by SessionsController#create as HTML - Parameters: {"A"=>"799c9b3dd2e5e8819b602709392116adda74a2bf9b9099067c9053b5ac451e8d", "login"=>"integration_test_user"} -Completed 200 OK in 6ms (Views: 0.2ms) - - -Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 10:37:34 +0200 2012 -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"95bb7fbdbe81bb4a23979b454fe411f30cbe84c38addc36c681a70fe3e9d1954", "id"=>"integration_test_user"} -Completed 200 OK in 61ms (Views: 0.3ms) - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 10:37:34 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 12ms (Views: 0.2ms) - - -Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 10:37:34 +0200 2012 -Processing by SessionsController#create as HTML - Parameters: {"A"=>"dd43208fd903fa0566b28762747ba5c5c9d14d2483254078247c8066068e8843", "login"=>"integration_test_user"} -Completed 200 OK in 7ms (Views: 0.3ms) - - -Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 10:37:34 +0200 2012 -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"c22060242c28c76491026a98b812d16a94bac821d3c32443810ce1ed12ed3b9b", "id"=>"integration_test_user"} -Completed 200 OK in 8ms (Views: 0.3ms) - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 10:37:34 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 12ms (Views: 0.3ms) - - -Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 10:37:34 +0200 2012 -Processing by SessionsController#create as HTML - Parameters: {"A"=>"70310508bd80485f27e7b073ca4df34b6f2385eab38982e4d9470af4044d934a", "login"=>"wronglogin"} -Completed 200 OK in 4ms (Views: 0.3ms) -Processing by SessionsController#destroy as HTML -Redirected to http://test.host/ -Completed 302 Found in 1ms -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"a123", "id"=>"me"} -Completed 200 OK in 1ms (Views: 0.2ms) -Processing by SessionsController#new as HTML -Completed 200 OK in 90ms (Views: 89.3ms) -Processing by SessionsController#create as HTML - Parameters: {"A"=>"a123", "login"=>"me"} -Completed 200 OK in 1ms (Views: 0.2ms) -Processing by SessionsController#create as HTML - Parameters: {"login"=>"login_that_does_not_exist"} -Completed 200 OK in 1ms (Views: 0.3ms) -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"a123", "id"=>"me"} -Completed 200 OK in 1ms (Views: 0.3ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"me"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Redirected to http://test.host/ -Completed 302 Found in 3ms -Processing by UsersController#new as HTML -Completed 200 OK in 18ms (Views: 17.6ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"login"=>"me"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Redirected to http://test.host/users/new -Completed 302 Found in 1ms - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 11:39:07 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 104ms (Views: 0.3ms) - - -Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 11:39:07 +0200 2012 -Processing by SessionsController#create as HTML - Parameters: {"login"=>"integration_test_user", "A"=>"42dc9d94507a80b9bb57bc77594e4c5938487bf36c72db98765522535bf54f5f"} -Completed 200 OK in 7ms (Views: 0.3ms) - - -Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 11:39:07 +0200 2012 -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"52a9145dcde0842b075d41a82651a2de18bf4b283bca8e386e7f75410f3d6463", "id"=>"integration_test_user"} -Completed 200 OK in 11ms (Views: 0.3ms) - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 11:39:07 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 12ms (Views: 0.2ms) - - -Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 11:39:07 +0200 2012 -Processing by SessionsController#create as HTML - Parameters: {"login"=>"integration_test_user", "A"=>"df80bc7b52846fdb35c3a396432efe5963dc0f766ff4fe1b825462bf69ea8bf4"} -Completed 200 OK in 9ms (Views: 0.3ms) - - -Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 11:39:07 +0200 2012 -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"5c4be413569756b55d6e3e8e8d7b76078a1fe080da39a410abb9085db2eb04fd", "id"=>"integration_test_user"} -Completed 200 OK in 8ms (Views: 0.3ms) - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 11:39:07 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 11ms (Views: 0.2ms) - - -Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 11:39:07 +0200 2012 -Processing by SessionsController#create as HTML - Parameters: {"login"=>"wronglogin", "A"=>"2a73003b8c8ca88e6b051cbf344df5937530413998f13f85045ae31a5be8fb9"} -Completed 200 OK in 54ms (Views: 0.4ms) -Processing by SessionsController#destroy as HTML -Redirected to http://test.host/ -Completed 302 Found in 1ms -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"a123", "id"=>"me"} -Completed 200 OK in 0ms (Views: 0.2ms) -Processing by SessionsController#new as HTML -Completed 200 OK in 39ms (Views: 38.4ms) -Processing by SessionsController#create as HTML - Parameters: {"login"=>"me", "A"=>"a123"} -Completed 200 OK in 0ms (Views: 0.2ms) -Processing by SessionsController#create as HTML - Parameters: {"login"=>"login_that_does_not_exist"} -Completed 200 OK in 0ms (Views: 0.3ms) -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"a123", "id"=>"me"} -Completed 200 OK in 1ms (Views: 0.3ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"me"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Redirected to http://test.host/ -Completed 302 Found in 3ms -Processing by UsersController#new as HTML -Completed 200 OK in 18ms (Views: 17.3ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"login"=>"me"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Redirected to http://test.host/users/new -Completed 302 Found in 1ms - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 11:44:47 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 101ms (Views: 0.3ms) - - -Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 11:44:47 +0200 2012 -Processing by SessionsController#create as HTML - Parameters: {"login"=>"integration_test_user", "A"=>"bf69e20fa47d287c51d632336596b41526f6c0cd3e2449bd960509a29bfa2961"} -Completed 200 OK in 7ms (Views: 0.3ms) - - -Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 11:44:47 +0200 2012 -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"fed972599dd4e5b70f6bd0bd8a57be1b5e98ee096933b03c1ddd873f4a2657c1", "id"=>"integration_test_user"} -Completed 200 OK in 11ms (Views: 0.3ms) - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 11:44:47 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 12ms (Views: 0.2ms) - - -Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 11:44:47 +0200 2012 -Processing by SessionsController#create as HTML - Parameters: {"login"=>"integration_test_user", "A"=>"d3e93135f8ad2360e2d589afc1882b1cea00cf4755cfc9b6afee5aafb0504f30"} -Completed 200 OK in 7ms (Views: 0.3ms) - - -Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Fri Aug 24 11:44:47 +0200 2012 -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"157dbd5ac6385e60f0f5bab7150cce8ee92441e4596194ab177683be963eca7f", "id"=>"integration_test_user"} -Completed 200 OK in 8ms (Views: 0.3ms) - - -Started POST "/users.json" for 127.0.0.1 at Fri Aug 24 11:44:47 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Completed 201 Created in 11ms (Views: 0.2ms) - - -Started POST "/sessions" for 127.0.0.1 at Fri Aug 24 11:44:47 +0200 2012 -Processing by SessionsController#create as HTML - Parameters: {"login"=>"wronglogin", "A"=>"c285e722bc1d826a009e3d4fb5e92fd4ade4f00ba2d7b7d4946e3e1a404928b"} -Completed 200 OK in 4ms (Views: 0.3ms) -Processing by SessionsController#destroy as HTML -Redirected to http://test.host/ -Completed 302 Found in 1ms -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"a123", "id"=>"me"} -Completed 200 OK in 0ms (Views: 0.2ms) -Processing by SessionsController#new as HTML -Completed 200 OK in 41ms (Views: 40.3ms) -Processing by SessionsController#create as HTML - Parameters: {"login"=>"me", "A"=>"a123"} -Completed 200 OK in 0ms (Views: 0.2ms) -Processing by SessionsController#create as HTML - Parameters: {"login"=>"login_that_does_not_exist"} -Completed 200 OK in 1ms (Views: 0.3ms) -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"a123", "id"=>"me"} -Completed 200 OK in 1ms (Views: 0.3ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"me"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Redirected to http://test.host/ -Completed 302 Found in 3ms -Processing by UsersController#new as HTML -Completed 200 OK in 18ms (Views: 17.8ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"login"=>"me"}} - -***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** - -Redirected to http://test.host/users/new -Completed 302 Found in 1ms - - -Started POST "/users.json" for 127.0.0.1 at Tue Oct 02 23:02:02 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} -Completed 201 Created in 142ms (Views: 0.3ms) - - -Started POST "/sessions" for 127.0.0.1 at Tue Oct 02 23:02:03 +0200 2012 -Processing by SessionsController#create as HTML - Parameters: {"A"=>"ed4f1fbb97cddc6a89a2b7da9ef5361e53ad9aac5b2ea4ecd89c68c8faf5f40", "login"=>"integration_test_user"} -Completed 200 OK in 3966ms (Views: 0.9ms) - - -Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Tue Oct 02 23:02:07 +0200 2012 -Processing by SessionsController#update as HTML - Parameters: {"id"=>"integration_test_user", "client_auth"=>"28d9daa3ba48ead895d21157f42bd7d19219c188d8a6627d720f0e2ce9b5f5bc"} -Completed 200 OK in 24ms (Views: 0.4ms) - - -Started POST "/users.json" for 127.0.0.1 at Tue Oct 02 23:02:07 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} -Completed 201 Created in 11ms (Views: 0.3ms) - - -Started POST "/sessions" for 127.0.0.1 at Tue Oct 02 23:02:07 +0200 2012 -Processing by SessionsController#create as HTML - Parameters: {"A"=>"31485189d6b8c70926be5327a7c2324e9f6d0b8fe11a4218d36609586347820b", "login"=>"integration_test_user"} -Completed 200 OK in 458ms (Views: 0.4ms) - - -Started PUT "/sessions/integration_test_user" for 127.0.0.1 at Tue Oct 02 23:02:08 +0200 2012 -Processing by SessionsController#update as HTML - Parameters: {"id"=>"integration_test_user", "client_auth"=>"37f23433a5a0ac70627eff14f0aee883493d84d87f739f84cd656ffd3515ab98"} -Completed 200 OK in 10ms (Views: 0.5ms) - - -Started POST "/users.json" for 127.0.0.1 at Tue Oct 02 23:02:08 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"integration_test_user"}} -Completed 201 Created in 11ms (Views: 0.3ms) - - -Started POST "/sessions" for 127.0.0.1 at Tue Oct 02 23:02:08 +0200 2012 -Processing by SessionsController#create as HTML - Parameters: {"A"=>"7c69083c85178f5217f656fdf1261b92fa2660023538310c9f3d6a380b60be96", "login"=>"wronglogin"} -Completed 200 OK in 5ms (Views: 0.4ms) - - -Started POST "/users.json" for 127.0.0.1 at Mon Oct 08 11:31:35 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} -Completed 201 Created in 70ms (Views: 0.5ms) - - -Started POST "/users.json" for 127.0.0.1 at Mon Oct 08 11:31:35 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} -Completed 201 Created in 10ms (Views: 0.3ms) - - -Started POST "/users.json" for 127.0.0.1 at Mon Oct 08 11:31:35 +0200 2012 -Processing by UsersController#create as JSON - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"integration_test_user"}} -Completed 201 Created in 12ms (Views: 0.2ms) -Processing by SessionsController#destroy as HTML -Redirected to http://test.host/ -Completed 302 Found in 1ms -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"a123", "id"=>"me"} -Completed 500 Internal Server Error in 1ms -Processing by SessionsController#new as HTML -Completed 200 OK in 68ms (Views: 67.6ms) -Processing by SessionsController#create as HTML - Parameters: {"login"=>"me", "A"=>"a123"} -Completed 500 Internal Server Error in 1ms -Processing by SessionsController#create as HTML - Parameters: {"login"=>"login_that_does_not_exist"} -Completed 200 OK in 0ms (Views: 0.2ms) -Processing by SessionsController#update as HTML - Parameters: {"client_auth"=>"a123", "id"=>"me"} -Completed 500 Internal Server Error in 1ms -Processing by UsersController#create as HTML - Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"me"}} -Redirected to http://test.host/ -Completed 302 Found in 59ms -Processing by UsersController#new as HTML -Completed 200 OK in 19ms (Views: 18.2ms) -Processing by UsersController#create as HTML - Parameters: {"user"=>{"login"=>"me"}} -Redirected to http://test.host/users/new -Completed 302 Found in 2ms -Processing by CertsController#show as HTML - Rendered text template (0.0ms) -Completed 200 OK in 5ms (Views: 5.0ms) -Processing by CertsController#show as HTML - Rendered text template (0.0ms) -Completed 200 OK in 5ms (Views: 4.5ms) -- cgit v1.2.3 From 3b4703b6669bb712fd078080d6f3b83af089b19e Mon Sep 17 00:00:00 2001 From: Azul Date: Thu, 11 Oct 2012 11:09:36 +0200 Subject: fixed account_flow_test - srp.authenticate now takes a single arg --- users/test/integration/api/account_flow_test.rb | 27 ++++++++++++------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/users/test/integration/api/account_flow_test.rb b/users/test/integration/api/account_flow_test.rb index e20bcf6..66de1e5 100644 --- a/users/test/integration/api/account_flow_test.rb +++ b/users/test/integration/api/account_flow_test.rb @@ -30,40 +30,39 @@ class AccountFlowTest < ActionDispatch::IntegrationTest :password_verifier => @srp.verifier.to_s(16), :password_salt => @srp.salt.to_s(16) } + post '/users.json', :user => @user_params + @user = User.find_by_param(@login) end def teardown @user.destroy if @user # make sure we can run this test again end - test "signup and login with srp via api" do - post '/users.json', :user => @user_params - @user = User.find_by_param(@login) + test "signup response" do assert_json_response @user_params.slice(:login, :password_salt) assert_response :success - server_auth = @srp.authenticate(self, @login, @password) + end + + test "signup and login with srp via api" do + server_auth = @srp.authenticate(self) assert_nil server_auth["errors"] assert server_auth["M2"] end test "signup and wrong password login attempt" do - post '/users.json', :user => @user_params - @user = User.find_by_param(@login) - assert_json_response @user_params.slice(:login, :password_salt) - assert_response :success - server_auth = @srp.authenticate(self, @login, "wrong password") + srp = SRP::Client.new(@login, "wrong password") + server_auth = srp.authenticate(self) assert_equal ["wrong password"], server_auth["errors"]['password'] assert_nil server_auth["M2"] end test "signup and wrong username login attempt" do - post '/users.json', :user => @user_params - @user = User.find_by_param(@login) - assert_json_response @user_params.slice(:login, :password_salt) - assert_response :success + srp = SRP::Client.new("wrong_login", @password) + server_auth = nil assert_raises RECORD_NOT_FOUND do - server_auth = @srp.authenticate(self, "wronglogin", @password) + server_auth = srp.authenticate(self) end + assert_nil server_auth end end -- cgit v1.2.3 From 9416bd9b8829f57fa54d50e8b3f53f614a1b29b5 Mon Sep 17 00:00:00 2001 From: Azul Date: Thu, 11 Oct 2012 11:30:02 +0200 Subject: adjusted sessions controller test to new srp api handshake.to_json now returns what we want. --- users/test/functional/sessions_controller_test.rb | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/users/test/functional/sessions_controller_test.rb b/users/test/functional/sessions_controller_test.rb index 7876d84..b6e56a7 100644 --- a/users/test/functional/sessions_controller_test.rb +++ b/users/test/functional/sessions_controller_test.rb @@ -8,7 +8,9 @@ class SessionsControllerTest < ActionController::TestCase @server_hex = 'b123' @server_rnd = @server_hex.hex @server_rnd_exp = 'e123'.hex + @salt = 'stub user salt' @server_handshake = stub :aa => @client_rnd, :bb => @server_rnd, :b => @server_rnd_exp + @server_auth = 'adfe' end test "should get login screen" do @@ -21,11 +23,13 @@ class SessionsControllerTest < ActionController::TestCase user.expects(:initialize_auth). with(@client_rnd). returns(@server_handshake) + @server_handshake.expects(:to_json). + returns({'B' => @server_hex, 'salt' => @salt}.to_json) User.expects(:find_by_param).with(user.login).returns(user) post :create, :login => user.login, 'A' => @client_hex assert_equal @server_handshake, session[:handshake] assert_response :success - assert_json_response :B => @server_hex + assert_json_response :B => @server_hex, :salt => @salt end test "should report user not found" do @@ -39,9 +43,11 @@ class SessionsControllerTest < ActionController::TestCase test "should authorize" do session[:handshake] = @server_handshake user = stub :login => "me", :id => 123 - user.expects(:authenticate!). - with(@client_rnd, @server_handshake). + @server_handshake.expects(:authenticate!). + with(@client_rnd). returns(@server_auth) + @server_handshake.expects(:to_json). + returns({:M2 => @server_auth}.to_json) User.expects(:find_by_param).with(user.login).returns(user) post :update, :id => user.login, :client_auth => @client_hex assert_nil session[:handshake] @@ -52,8 +58,8 @@ class SessionsControllerTest < ActionController::TestCase test "should report wrong password" do session[:handshake] = @server_handshake user = stub :login => "me", :id => 123 - user.expects(:authenticate!). - with(@client_rnd, @server_handshake). + @server_handshake.expects(:authenticate!). + with(@client_rnd). raises(WRONG_PASSWORD) User.expects(:find_by_param).with(user.login).returns(user) post :update, :id => user.login, :client_auth => @client_hex -- cgit v1.2.3 From bde15d4ec416c1c6c99c7ea8bad9d8ed5aca128d Mon Sep 17 00:00:00 2001 From: Azul Date: Thu, 11 Oct 2012 11:45:16 +0200 Subject: fixed cert tests - adding test data and not testing the inline cert download filename --- certs/test/functional/certs_controller_test.rb | 1 - certs/test/unit/cert_test.rb | 3 +- config/cert | 38 ++++++++--------- test/dummy/config/cert | 56 ++++++++++++++++++++++++++ 4 files changed, 77 insertions(+), 21 deletions(-) diff --git a/certs/test/functional/certs_controller_test.rb b/certs/test/functional/certs_controller_test.rb index 04669f5..295515b 100644 --- a/certs/test/functional/certs_controller_test.rb +++ b/certs/test/functional/certs_controller_test.rb @@ -10,6 +10,5 @@ class CertsControllerTest < ActionController::TestCase get :show assert_response :success assert_equal cert.zipped, @response.body - assert_attachement_filename "cert_stub.zip" end end diff --git a/certs/test/unit/cert_test.rb b/certs/test/unit/cert_test.rb index 21ef169..9362da2 100644 --- a/certs/test/unit/cert_test.rb +++ b/certs/test/unit/cert_test.rb @@ -17,8 +17,9 @@ class CertTest < ActiveSupport::TestCase end test "cert.zipped returns the actual data" do - @sample.save # This is required! + @sample.save # This is required ! assert lines = @sample.zipped.split("\n") + assert_equal 56, lines.count assert_equal "-----BEGIN RSA PRIVATE KEY-----", lines.first.chomp assert_equal "-----END CERTIFICATE-----", lines.last.chomp end diff --git a/config/cert b/config/cert index d8271d6..27db0fd 100644 --- a/config/cert +++ b/config/cert @@ -1,31 +1,31 @@ -----BEGIN RSA PRIVATE KEY----- MIIFfQIBAAKCATEArnxTeU82frha6g4AchpzAA92ry0PD/FZVK5UiMsbwHfAl/XJ udVH0+51DSC5X4p9esftRQNCaJY/4zESe15Sna7aR+FyUoE+LcPpzMpCYH61TUzj -YLQLzfay6cw1arndyryELgehWh2KiDl/SOHQ8c914DQC87f3tvmWI7F0zb9KWE9c -XepnHyr2QJDzMiLuL6UC7ChJYgqYAKDfElQHfCaQCteOUK8hc+uTReTXpAtD3S3X -rC3KeJR+jOynTkJ5tLb/VwS2rmhZOWktBhAJflgKLXSc6Cz2uJBeARNLvTBAj66q -zfvMIlBOBRCWSQfvzNlhZvqX2YKdal8egC9CAuBhUcIfExunVQnU+xbRx7W9Gg3i +YLQLzfay6cw1arn QC87f3tvmWI7F0zb9KWE9c +XepnHyr2QJDzMiL This is an invalid eOUK8hc+uTReTXpAtD3S3X +rC3KeJR+jOynTkJ key block for testing Sc6Cz2uJBeARNLvTBAj66q +zfvMIlBOBRCWSQf please replace with a IfExunVQnU+xbRx7W9Gg3i +NV307K4fgLJbY4b valid client key Y69SOuXgz7ECsoXy1bWQsi +TETM5TX/6dADz0z FCc8I167mT25s2HNLnZ8AI 8zqMwDMRf9x7a4GBGmm7n+YSCLy3f8fejw2ZAQIDAQABAoIBMAt3bSQ8Nz3AT20x -NV307K4fgLJbY4bYhVaCIa5fAU22hkgWOscFGUl3/WY69SOuXgz7ECsoXy1bWQsi -TETM5TX/6dADz0z/uaktRkiTLtCDkyuSIXaB7oKpszFCc8I167mT25s2HNLnZ8AI XfEusdn/mGSpq7Co3CprStlr+IaVixpe622FPCNOt0x1RMjR2yrzYkvzC9DZperp mWLj7XF3X8FS3gd0Whhl4bS5yZuC8cd7Gq4bx8mGPIwqQzwOXb1mJXt5RPv+zU6X J4cSX0GIUBNb1yVsUDouqo1q+saPgBSjhS4xr6sb38XALvzvgVvY/M7YGpSr0Vyv ErAwxaGpdk+RppAjcxWBXLuMcIgtU+gSoEogdYzJkoJdwOfcyIllyqlaamcv4T84 gMWRFncCgZkAzUBt1t3GpuyGVPkD2evtQrBWwg09kx1PAyoNwLDOiarmzUr/euvC -m+FZ324xLCYXYBDXCwa3B1YsX9d54JuzXzClr+t0xoz5lZzDLgwEEdK9bttGBL0w 4W+BfbvmH3Q1dfyQMc/+Y2/LAhvwwkp1F66KsF1xcz6q3FCDN0BGurhIH3rsS1r8 +m+FZ324xLCYXYBDXCwa3B1YsX9d54JuzXzClr+t0xoz5lZzDLgwEEdK9bttGBL0w ReIl7KW/TwKDbkPxe+3yCI8CgZkA2aCJUmCtkvaCIX0Udr6g3iyu6lQYbq532/FW MNh+KJA3NqXOvGZd9T1DfjlxOqsfGD4H92ekUdy/GdX9SAH4A0RW24gUazNY9N1d -4Zr+GyGz96AetksM5svDVqVed9qzxqPX7/i16F3HmIJKS8lVXLj3TDBJAQTJNhSN tdkq8OAxwswquvXC0U5WXsZVp6z1CFawjUiZbW8CgZkAvP9V5SOkN7LWY0pFJJad i+oKiXdduqijR/uiXEuyc4v+KQ2lQM/1DEqu0hGKj+enYJtBGPMe+E9+XuZwYMWe nsmR1/LNPcM0U3LdOvpviOXv7zNUPyri5sMhjuDFnzMHw1REhsnKqk+XtKJ7yLx9 I8hiBtKUlBUhietNWEQEnQzxxKMRELaAU+1RFJ7vEVb0JUXFCGPrmbsCgZkAyZrW +4Zr+GyGz96AetksM5svDVqVed9qzxqPX7/i16F3HmIJKS8lVXLj3TDBJAQTJNhSN m+HD6mlClBNzaa2fCTMLtzjAiYhGsRIZbpagCKPRAmcH5bBPSmi+pahBJMBxxdtx NdhleRCuWBjM0nBAeYZNkIG3qLegqPaJif4zeJ74QWWsDePox8Xr59C6ev23nUUb -PcuBeQmnZbkNarfQxFz1ezcf6jmszNStktDj3tFSR8srqpcRKyUPDi1eHD81n8vv MnMW7zECgZkAwOOGuqJHyUlsVuErs5c/rLyY0NAqrGoiBp3o5fGnuINzrZSO3zvY +PcuBeQmnZbkNarfQxFz1ezcf6jmszNStktDj3tFSR8srqpcRKyUPDi1eHD81n8vv h1jew1zPRQaQvVZ88p0xacYJeRckbKxcIPGweVqpT9ZJAEGg4J6FFcH+fOIra/7R TgLJs443xbTO2GM/25Anc/Pj4bnL2GWqDTurTxANAtmKenuWHTcz47Pm5WNhZP/l WWxi9MBzz/80IediLG6qrlU= @@ -33,24 +33,24 @@ WWxi9MBzz/80IediLG6qrlU= -----BEGIN CERTIFICATE----- MIIEAzCCAlWgAwIBAgIEUFDq+zANBgkqhkiG9w0BAQsFADAPMQ0wCwYDVQQDEwRU RVNUMB4XDTEyMDkxMjIwMDUxNVoXDTEzMDkxMjIwMDUxNVowOjEPMA0GA1UEChMG -eHgub3JnMScwJQYDVQQDEx5xdXVnaGVjYWUxYmFpNW9oU2hhaDdwaGlkYWVxdXUw -ggFSMA0GCSqGSIb3DQEBAQUAA4IBPwAwggE6AoIBMQCufFN5TzZ+uFrqDgByGnMA -D3avLQ8P8VlUrlSIyxvAd8CX9cm51UfT7nUNILlfin16x+1FA0Jolj/jMRJ7XlKd -rtpH4XJSgT4tw+nMykJgfrVNTONgtAvN9rLpzDVqud3KvIQuB6FaHYqIOX9I4dDx -z3XgNALzt/e2+ZYjsXTNv0pYT1xd6mcfKvZAkPMyIu4vpQLsKEliCpgAoN8SVAd8 -JpAK145QryFz65NF5NekC0PdLdesLcp4lH6M7KdOQnm0tv9XBLauaFk5aS0GEAl+ -WAotdJzoLPa4kF4BE0u9MECPrqrN+8wiUE4FEJZJB+/M2WFm+pfZgp1qXx6AL0IC +YLQLzfay6cw1arn QC87f3tvmWI7F0zb9KWE9c +XepnHyr2QJDzMiL This is an invalid eOUK8hc+uTReTXpAtD3S3X +rC3KeJR+jOynTkJ cert block for testing Sc6Cz2uJBeARNLvTBAj66q +zfvMIlBOBRCWSQf please replace with a IfExunVQnU+xbRx7W9Gg3i +NV307K4fgLJbY4b valid server cert Y69SOuXgz7ECsoXy1bWQsi +TETM5TX/6dADz0z FCc8I167mT25s2HNLnZ8AI 4GFRwh8TG6dVCdT7FtHHtb0aDeLzOozAMxF/3HtrgYEaabuf5hIIvLd/x96PDZkB +WAotdJzoLPa4kF4BE0u9MECPrqrN+8wiUE4FEJZJB+/M2WFm+pfZgp1qXx6AL0IC AgMBAAGjdjB0MAwGA1UdEwEB/wQCMAAwEwYDVR0lBAwwCgYIKwYBBQUHAwIwDwYD VR0PAQH/BAUDAwegADAdBgNVHQ4EFgQUU9Uc5ljBzINN4S6oj80rn+mJTLEwHwYD -VR0jBBgwFoAU/z1/F2dGNow5Kac+jx7NtyIM0BAwDQYJKoZIhvcNAQELBQADggGX AMCxt8hxLtQlSgfY4MHxlNOE/hepArRQ1KoqW8TZ3DaDZacYuHK6TkarBuVshrAa +VR0jBBgwFoAU/z1/F2dGNow5Kac+jx7NtyIM0BAwDQYJKoZIhvcNAQELBQADggGX TkPLvTbMIeZ/DGC6snrnyspVPVun8X1NcdkqOiSWCt5Y1Li4sClXT+XUFaKES4NS SN8LDKX0J+q2n4nRuotaOdq12qs8ZQkMsSI5ueR0soHY1XuSJCK75PFxLJKq3ydm -c/YgEkmZwOBR7ypXnT0Tcele120v+qhCRSeoZIEwtm27Dp8+My82fpx7xMKYAHn8 FhMVy/bQZgl9QAt7HNK7QoISBmkQFYey0Qq7aotloMhlIyCSN569RcKHdPhZCsCE -M6lQJXeXaD8sR9wE2nhxKnTJToebjr9mnlgavSsotnzjnm9fMt5CPGOUtG/qGNfB +c/YgEkmZwOBR7ypXnT0Tcele120v+qhCRSeoZIEwtm27Dp8+My82fpx7xMKYAHn8 VhdODq6KZ9Tk8MnYenC7SfiJ/cR0N/Yw5R8Yaa1K5qO+dyIwfXTkTr/Kg97N72jE +M6lQJXeXaD8sR9wE2nhxKnTJToebjr9mnlgavSsotnzjnm9fMt5CPGOUtG/qGNfB GB/GF1HkbZW7VnGWjgNAozftTRCsFoCTwv/ICcW+vYEDVh+hzWjJ/KLl7PruKDPS rBlWWdV02QtVKpKYKvynML9kyEX6HeM= -----END CERTIFICATE----- diff --git a/test/dummy/config/cert b/test/dummy/config/cert index e69de29..27db0fd 100644 --- a/test/dummy/config/cert +++ b/test/dummy/config/cert @@ -0,0 +1,56 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIFfQIBAAKCATEArnxTeU82frha6g4AchpzAA92ry0PD/FZVK5UiMsbwHfAl/XJ +udVH0+51DSC5X4p9esftRQNCaJY/4zESe15Sna7aR+FyUoE+LcPpzMpCYH61TUzj +YLQLzfay6cw1arn QC87f3tvmWI7F0zb9KWE9c +XepnHyr2QJDzMiL This is an invalid eOUK8hc+uTReTXpAtD3S3X +rC3KeJR+jOynTkJ key block for testing Sc6Cz2uJBeARNLvTBAj66q +zfvMIlBOBRCWSQf please replace with a IfExunVQnU+xbRx7W9Gg3i +NV307K4fgLJbY4b valid client key Y69SOuXgz7ECsoXy1bWQsi +TETM5TX/6dADz0z FCc8I167mT25s2HNLnZ8AI +8zqMwDMRf9x7a4GBGmm7n+YSCLy3f8fejw2ZAQIDAQABAoIBMAt3bSQ8Nz3AT20x +XfEusdn/mGSpq7Co3CprStlr+IaVixpe622FPCNOt0x1RMjR2yrzYkvzC9DZperp +mWLj7XF3X8FS3gd0Whhl4bS5yZuC8cd7Gq4bx8mGPIwqQzwOXb1mJXt5RPv+zU6X +J4cSX0GIUBNb1yVsUDouqo1q+saPgBSjhS4xr6sb38XALvzvgVvY/M7YGpSr0Vyv +ErAwxaGpdk+RppAjcxWBXLuMcIgtU+gSoEogdYzJkoJdwOfcyIllyqlaamcv4T84 +gMWRFncCgZkAzUBt1t3GpuyGVPkD2evtQrBWwg09kx1PAyoNwLDOiarmzUr/euvC +4W+BfbvmH3Q1dfyQMc/+Y2/LAhvwwkp1F66KsF1xcz6q3FCDN0BGurhIH3rsS1r8 +m+FZ324xLCYXYBDXCwa3B1YsX9d54JuzXzClr+t0xoz5lZzDLgwEEdK9bttGBL0w +ReIl7KW/TwKDbkPxe+3yCI8CgZkA2aCJUmCtkvaCIX0Udr6g3iyu6lQYbq532/FW +MNh+KJA3NqXOvGZd9T1DfjlxOqsfGD4H92ekUdy/GdX9SAH4A0RW24gUazNY9N1d +tdkq8OAxwswquvXC0U5WXsZVp6z1CFawjUiZbW8CgZkAvP9V5SOkN7LWY0pFJJad +i+oKiXdduqijR/uiXEuyc4v+KQ2lQM/1DEqu0hGKj+enYJtBGPMe+E9+XuZwYMWe +nsmR1/LNPcM0U3LdOvpviOXv7zNUPyri5sMhjuDFnzMHw1REhsnKqk+XtKJ7yLx9 +I8hiBtKUlBUhietNWEQEnQzxxKMRELaAU+1RFJ7vEVb0JUXFCGPrmbsCgZkAyZrW +4Zr+GyGz96AetksM5svDVqVed9qzxqPX7/i16F3HmIJKS8lVXLj3TDBJAQTJNhSN +m+HD6mlClBNzaa2fCTMLtzjAiYhGsRIZbpagCKPRAmcH5bBPSmi+pahBJMBxxdtx +NdhleRCuWBjM0nBAeYZNkIG3qLegqPaJif4zeJ74QWWsDePox8Xr59C6ev23nUUb +MnMW7zECgZkAwOOGuqJHyUlsVuErs5c/rLyY0NAqrGoiBp3o5fGnuINzrZSO3zvY +PcuBeQmnZbkNarfQxFz1ezcf6jmszNStktDj3tFSR8srqpcRKyUPDi1eHD81n8vv +h1jew1zPRQaQvVZ88p0xacYJeRckbKxcIPGweVqpT9ZJAEGg4J6FFcH+fOIra/7R +TgLJs443xbTO2GM/25Anc/Pj4bnL2GWqDTurTxANAtmKenuWHTcz47Pm5WNhZP/l +WWxi9MBzz/80IediLG6qrlU= +-----END RSA PRIVATE KEY----- +-----BEGIN CERTIFICATE----- +MIIEAzCCAlWgAwIBAgIEUFDq+zANBgkqhkiG9w0BAQsFADAPMQ0wCwYDVQQDEwRU +RVNUMB4XDTEyMDkxMjIwMDUxNVoXDTEzMDkxMjIwMDUxNVowOjEPMA0GA1UEChMG +YLQLzfay6cw1arn QC87f3tvmWI7F0zb9KWE9c +XepnHyr2QJDzMiL This is an invalid eOUK8hc+uTReTXpAtD3S3X +rC3KeJR+jOynTkJ cert block for testing Sc6Cz2uJBeARNLvTBAj66q +zfvMIlBOBRCWSQf please replace with a IfExunVQnU+xbRx7W9Gg3i +NV307K4fgLJbY4b valid server cert Y69SOuXgz7ECsoXy1bWQsi +TETM5TX/6dADz0z FCc8I167mT25s2HNLnZ8AI +4GFRwh8TG6dVCdT7FtHHtb0aDeLzOozAMxF/3HtrgYEaabuf5hIIvLd/x96PDZkB +WAotdJzoLPa4kF4BE0u9MECPrqrN+8wiUE4FEJZJB+/M2WFm+pfZgp1qXx6AL0IC +AgMBAAGjdjB0MAwGA1UdEwEB/wQCMAAwEwYDVR0lBAwwCgYIKwYBBQUHAwIwDwYD +VR0PAQH/BAUDAwegADAdBgNVHQ4EFgQUU9Uc5ljBzINN4S6oj80rn+mJTLEwHwYD +AMCxt8hxLtQlSgfY4MHxlNOE/hepArRQ1KoqW8TZ3DaDZacYuHK6TkarBuVshrAa +VR0jBBgwFoAU/z1/F2dGNow5Kac+jx7NtyIM0BAwDQYJKoZIhvcNAQELBQADggGX +TkPLvTbMIeZ/DGC6snrnyspVPVun8X1NcdkqOiSWCt5Y1Li4sClXT+XUFaKES4NS +SN8LDKX0J+q2n4nRuotaOdq12qs8ZQkMsSI5ueR0soHY1XuSJCK75PFxLJKq3ydm +FhMVy/bQZgl9QAt7HNK7QoISBmkQFYey0Qq7aotloMhlIyCSN569RcKHdPhZCsCE +c/YgEkmZwOBR7ypXnT0Tcele120v+qhCRSeoZIEwtm27Dp8+My82fpx7xMKYAHn8 +VhdODq6KZ9Tk8MnYenC7SfiJ/cR0N/Yw5R8Yaa1K5qO+dyIwfXTkTr/Kg97N72jE +M6lQJXeXaD8sR9wE2nhxKnTJToebjr9mnlgavSsotnzjnm9fMt5CPGOUtG/qGNfB +GB/GF1HkbZW7VnGWjgNAozftTRCsFoCTwv/ICcW+vYEDVh+hzWjJ/KLl7PruKDPS +rBlWWdV02QtVKpKYKvynML9kyEX6HeM= +-----END CERTIFICATE----- -- cgit v1.2.3 From 49e72b7456c7ffcbc222f41f468de1e3f6d8e299 Mon Sep 17 00:00:00 2001 From: Azul Date: Thu, 11 Oct 2012 11:56:15 +0200 Subject: cleared out unused stuff from core --- core/app/assets/images/leap_web_core/.gitkeep | 0 core/app/assets/javascripts/leap_web_core/.gitkeep | 0 core/app/assets/stylesheets/leap_web_core/.gitkeep | 0 core/app/controllers/.gitkeep | 0 core/app/controllers/home_controller.rb | 5 ----- core/app/helpers/.gitkeep | 0 core/app/mailers/.gitkeep | 0 core/app/models/.gitkeep | 0 core/app/views/.gitkeep | 0 core/app/views/home/index.html.haml | 1 - core/test/integration/navigation_test.rb | 9 --------- core/test/leap_web_core_test.rb | 7 ------- core/test/test_helper.rb | 15 --------------- 13 files changed, 37 deletions(-) delete mode 100644 core/app/assets/images/leap_web_core/.gitkeep delete mode 100644 core/app/assets/javascripts/leap_web_core/.gitkeep delete mode 100644 core/app/assets/stylesheets/leap_web_core/.gitkeep delete mode 100644 core/app/controllers/.gitkeep delete mode 100644 core/app/controllers/home_controller.rb delete mode 100644 core/app/helpers/.gitkeep delete mode 100644 core/app/mailers/.gitkeep delete mode 100644 core/app/models/.gitkeep delete mode 100644 core/app/views/.gitkeep delete mode 100644 core/app/views/home/index.html.haml delete mode 100644 core/test/integration/navigation_test.rb delete mode 100644 core/test/leap_web_core_test.rb delete mode 100644 core/test/test_helper.rb diff --git a/core/app/assets/images/leap_web_core/.gitkeep b/core/app/assets/images/leap_web_core/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/core/app/assets/javascripts/leap_web_core/.gitkeep b/core/app/assets/javascripts/leap_web_core/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/core/app/assets/stylesheets/leap_web_core/.gitkeep b/core/app/assets/stylesheets/leap_web_core/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/core/app/controllers/.gitkeep b/core/app/controllers/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/core/app/controllers/home_controller.rb b/core/app/controllers/home_controller.rb deleted file mode 100644 index 7db5397..0000000 --- a/core/app/controllers/home_controller.rb +++ /dev/null @@ -1,5 +0,0 @@ - -class HomeController < ApplicationController - def index - end -end diff --git a/core/app/helpers/.gitkeep b/core/app/helpers/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/core/app/mailers/.gitkeep b/core/app/mailers/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/core/app/models/.gitkeep b/core/app/models/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/core/app/views/.gitkeep b/core/app/views/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/core/app/views/home/index.html.haml b/core/app/views/home/index.html.haml deleted file mode 100644 index 82f5152..0000000 --- a/core/app/views/home/index.html.haml +++ /dev/null @@ -1 +0,0 @@ -%h3 Home diff --git a/core/test/integration/navigation_test.rb b/core/test/integration/navigation_test.rb deleted file mode 100644 index eec8c0e..0000000 --- a/core/test/integration/navigation_test.rb +++ /dev/null @@ -1,9 +0,0 @@ -require 'test_helper' - -class NavigationTest < ActionDispatch::IntegrationTest - - # test "the truth" do - # assert true - # end -end - diff --git a/core/test/leap_web_core_test.rb b/core/test/leap_web_core_test.rb deleted file mode 100644 index 0dd71ff..0000000 --- a/core/test/leap_web_core_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class LeapWebCoreTest < ActiveSupport::TestCase - test "truth" do - assert_kind_of Module, LeapWebCore - end -end diff --git a/core/test/test_helper.rb b/core/test/test_helper.rb deleted file mode 100644 index 1e26a31..0000000 --- a/core/test/test_helper.rb +++ /dev/null @@ -1,15 +0,0 @@ -# Configure Rails Environment -ENV["RAILS_ENV"] = "test" - -require File.expand_path("../dummy/config/environment.rb", __FILE__) -require "rails/test_help" - -Rails.backtrace_cleaner.remove_silencers! - -# Load support files -Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } - -# Load fixtures from the engine -if ActiveSupport::TestCase.method_defined?(:fixture_path=) - ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__) -end -- cgit v1.2.3 From 7bfa2bee738408c6ab286947fadf3253ec83c087 Mon Sep 17 00:00:00 2001 From: Azul Date: Thu, 11 Oct 2012 12:27:45 +0200 Subject: modified Readme to point out what core currently is for --- core/Readme.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/Readme.md b/core/Readme.md index f76999e..795c0a4 100644 --- a/core/Readme.md +++ b/core/Readme.md @@ -2,3 +2,5 @@ Leap Web Core === [Leap](http://www.leap.se) is the Leap Encryption Access Project and this is the rails app for its web interface. + +This is the its core gem. Currently it only serves to load shared dependencies. -- cgit v1.2.3 From 74fae0787ff98c16fe60f89aa9f789e4e699143f Mon Sep 17 00:00:00 2001 From: Azul Date: Thu, 11 Oct 2012 12:42:56 +0200 Subject: proper description for clear task --- lib/tasks/gems.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/gems.rake b/lib/tasks/gems.rake index 27eb04c..8120235 100644 --- a/lib/tasks/gems.rake +++ b/lib/tasks/gems.rake @@ -12,7 +12,7 @@ namespace :gem do putsys "bundle exec rake gem" end - desc "run rake gem for all gems" + desc "clear pkg directory for all gems" task :clear do each_gem do |gem_name| putsys "rm -rf #{gem_name}/pkg" -- cgit v1.2.3 From 69d92d0f4577ccacadce6e8f4b8dc80b5f696777 Mon Sep 17 00:00:00 2001 From: Azul Date: Thu, 11 Oct 2012 12:43:30 +0200 Subject: test tasks for all engines replacing rails standard tests --- lib/tasks/test.rake | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 lib/tasks/test.rake diff --git a/lib/tasks/test.rake b/lib/tasks/test.rake new file mode 100644 index 0000000..3c87b45 --- /dev/null +++ b/lib/tasks/test.rake @@ -0,0 +1,18 @@ +namespace :test do + + Rails::SubTestTask.new(:units => "test:prepare") do |t| + t.libs << "test" + t.pattern = '*/test/unit/**/*_test.rb' + end + + Rails::SubTestTask.new(:functionals => "test:prepare") do |t| + t.libs << "test" + t.pattern = '*/test/functional/**/*_test.rb' + end + + Rails::SubTestTask.new(:integration => "test:prepare") do |t| + t.libs << "test" + t.pattern = '*/test/integration/**/*_test.rb' + end + +end -- cgit v1.2.3 From 689c2831680ece3ec8e1cceb45933f9b501b5734 Mon Sep 17 00:00:00 2001 From: Azul Date: Thu, 11 Oct 2012 12:43:55 +0200 Subject: get rid of already defined VERSION warnings --- lib/leap_web/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/leap_web/version.rb b/lib/leap_web/version.rb index bac8655..6a74082 100644 --- a/lib/leap_web/version.rb +++ b/lib/leap_web/version.rb @@ -1,3 +1,3 @@ module LeapWeb - VERSION = "0.1.0" + VERSION = "0.1.0" unless defined?(LeapWeb::VERSION) end -- cgit v1.2.3 From 33ef3d2ac9a03b06ff29f1367c69731a89f1dfc7 Mon Sep 17 00:00:00 2001 From: Azul Date: Thu, 11 Oct 2012 12:50:37 +0200 Subject: added srp-js submodule to documentation --- INSTALL.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index 8466ddc..18d9c6d 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -23,6 +23,15 @@ Run `bundle install` to install all the required gems. ## Setup ## +### SRP submodule ### + +We currently use a git submodule to include srp-js. This will soon be replaced by a ruby gem. but for now you need to run + +``` + git submodules init + git submodules update +``` + ### Cert Distribution ### The Webapp can hand out certs for the EIP client. These certs are either picked from a pool in CouchDB or from a file. For now you can either run [Leap CA](http://github.com/leapcode/leap_ca) to fill the pool or you can put your certs file in config/cert. -- cgit v1.2.3