diff options
150 files changed, 4902 insertions, 151 deletions
@@ -13,4 +13,8 @@ # Ignore all logfiles and tempfiles. /log/*.log /tmp -*~
\ No newline at end of file +*~ +/pkg +/*/pkg +/log + diff --git a/CUSTOM.md b/CUSTOM.md new file mode 100644 index 0000000..67fdac0 --- /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..8424c68 --- /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/Development.md b/DEVELOP.md index 53942bb..a483fb7 100644 --- a/Development.md +++ b/DEVELOP.md @@ -1,85 +1,88 @@ -Leap Web Core -============ +# Development # -This gem provides the generic helpers shared across the different engines that make up leap_web. +## 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. -Creating a new engine -=================== +Currently Leap Web consists of 4 Engines: -Rails plugin new ----------------- +* [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 -<code> +``` rails plugin new ENGINE_NAME -O --full -</code> +``` -'''-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 ---------------------- +### Require Leap Web Core ### You need to add leap_web_core to your .gemspec: -<code> +```ruby Gem::Specification.new do |s| - ... - s.add_dependency "rails" ... + # ... + s.add_dependency "rails" s.add_dependency "leap_web_core", "~> 0.0.1" end -</code> +``` You also need to require it before you define your engine in lib/my_engine/engine.rb: -<code> +```ruby require "leap_web_core" module MyEngine class Engine < ::Rails::Engine - ... + # ... end end -</code> +``` -Require UI Gems ---------------- +### 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: -<code> +```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 -</code> +``` You also need to require them before you define your engine in lib/my_engine/engine.rb: -<code> + +```ruby require "leap_web_core" LeapWebCore::Dependencies.require_ui_gems module MyEngine class Engine < ::Rails::Engine - ... + # ... end end -</code> +``` -Creating Models -=============== +## 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. diff --git a/Gemfile.lock b/Gemfile.lock index e9994f9..f23e74e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,27 +1,27 @@ 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) + couchrest_session_store (~> 0.0.1) rails (~> 3.2.8) 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 @@ -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 @@ -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. @@ -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__) -LeapWebDemo::Application.load_tasks +LeapWeb::Application.load_tasks @@ -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. + 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 @@ <!DOCTYPE html> <html> <head> - <title>LeapWebDemo</title> + <title>LeapWeb</title> <%= stylesheet_link_tag "application", :media => "all" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> 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..14708df 100644 --- a/certs/leap_web_certs.gemspec +++ b/certs/leap_web_certs.gemspec @@ -1,23 +1,22 @@ $:.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" 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" - 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/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' @@ -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/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/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. 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..c3bb98d 100644 --- a/core/leap_web_core.gemspec +++ b/core/leap_web_core.gemspec @@ -1,23 +1,23 @@ $:.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" 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/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/Readme.md b/help/Readme.md new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/help/Readme.md diff --git a/help/leap_web_help.gemspec b/help/leap_web_help.gemspec index 19b59d7..2cc147c 100644 --- a/help/leap_web_help.gemspec +++ b/help/leap_web_help.gemspec @@ -1,24 +1,23 @@ $:.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.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.version = LeapWeb::VERSION + 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" - 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/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/leap_web.gemspec b/leap_web.gemspec index 569abc8..44a30e0 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 @@ -10,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' @@ -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/lib/tasks/gems.rake b/lib/tasks/gems.rake new file mode 100644 index 0000000..27eb04c --- /dev/null +++ b/lib/tasks/gems.rake @@ -0,0 +1,40 @@ +require File.expand_path('../task_helper', __FILE__) +include TaskHelper + + +namespace :gem do + + desc "run rake gem for all gems" + 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 + putsys "rm -rf pkg" + end + + desc "run gem install for all gems" + task :install => :build do + + each_gem do |gem_name| + putsys "cd #{gem_name}/pkg && gem install leap_web_#{gem_name}-#{LeapWeb::VERSION}.gem" + end + 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 + + each_gem do |gem_name| + putsys "cd #{gem_name}/pkg && gem push leap_web_#{gem_name}-#{LeapWeb::VERSION}.gem" + end + 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 + 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"]} + ] +} 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: + <tt>rails new myapp</tt> (where <tt>myapp</tt> is the application name) + +2. Change directory to <tt>myapp</tt> and start the web server: + <tt>cd myapp; rails server</tt> (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 <tt>sudo gem install ruby-debug</tt>. 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 + => "[#<Post:0x14a6be8 + @attributes={"title"=>nil, "body"=>nil, "id"=>"1"}>, + #<Post:0x14a6620 + @attributes={"title"=>"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 + => #<Post:0x13630c4 @attributes={"title"=>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 <tt>rails console</tt> from the application +directory. + +Options: + +* Passing the <tt>-s, --sandbox</tt> argument will rollback any modifications + made to the database. +* Passing an environment name as an argument will load the corresponding + environment. Example: <tt>rails console production</tt>. + +To reload your controllers and models after launching the console run +<tt>reload!</tt> + +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 <tt>rails +dbconsole</tt>. 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 <tt>rails dbconsole production</tt>. 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 <tt>layout :default</tt> 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 <tt>rake doc:app</tt> + +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 --- /dev/null +++ b/test/dummy/app/mailers/.gitkeep diff --git a/test/dummy/app/models/.gitkeep b/test/dummy/app/models/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/dummy/app/models/.gitkeep 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 @@ +<!DOCTYPE html> +<html> +<head> + <title>Dummy</title> + <%= stylesheet_link_tag "application", :media => "all" %> + <%= javascript_include_tag "application" %> + <%= csrf_meta_tags %> +</head> +<body> + +<%= yield %> + +</body> +</html> 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 --- /dev/null +++ b/test/dummy/config/cert 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 --- /dev/null +++ b/test/dummy/lib/assets/.gitkeep diff --git a/test/dummy/log/.gitkeep b/test/dummy/log/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/dummy/log/.gitkeep 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: <html> + 3: <head> + 4: <title>Dummy</title> + 5: <%= stylesheet_link_tag "application", :media => "all" %> + 6: <%= javascript_include_tag "application" %> + 7: <%= csrf_meta_tags %> + 8: </head> + 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 @@ +<!DOCTYPE html> +<html> +<head> + <title>The page you were looking for doesn't exist (404)</title> + <style type="text/css"> + body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; } + div.dialog { + width: 25em; + padding: 0 4em; + margin: 4em auto 0 auto; + border: 1px solid #ccc; + border-right-color: #999; + border-bottom-color: #999; + } + h1 { font-size: 100%; color: #f00; line-height: 1.5em; } + </style> +</head> + +<body> + <!-- This file lives in public/404.html --> + <div class="dialog"> + <h1>The page you were looking for doesn't exist.</h1> + <p>You may have mistyped the address or the page may have moved.</p> + </div> +</body> +</html> 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 @@ +<!DOCTYPE html> +<html> +<head> + <title>The change you wanted was rejected (422)</title> + <style type="text/css"> + body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; } + div.dialog { + width: 25em; + padding: 0 4em; + margin: 4em auto 0 auto; + border: 1px solid #ccc; + border-right-color: #999; + border-bottom-color: #999; + } + h1 { font-size: 100%; color: #f00; line-height: 1.5em; } + </style> +</head> + +<body> + <!-- This file lives in public/422.html --> + <div class="dialog"> + <h1>The change you wanted was rejected.</h1> + <p>Maybe you tried to change something you didn't have access to.</p> + </div> +</body> +</html> 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 @@ +<!DOCTYPE html> +<html> +<head> + <title>We're sorry, but something went wrong (500)</title> + <style type="text/css"> + body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; } + div.dialog { + width: 25em; + padding: 0 4em; + margin: 4em auto 0 auto; + border: 1px solid #ccc; + border-right-color: #999; + border-bottom-color: #999; + } + h1 { font-size: 100%; color: #f00; line-height: 1.5em; } + </style> +</head> + +<body> + <!-- This file lives in public/500.html --> + <div class="dialog"> + <h1>We're sorry, but something went wrong.</h1> + </div> +</body> +</html> diff --git a/test/dummy/public/favicon.ico b/test/dummy/public/favicon.ico new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/dummy/public/favicon.ico 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 Binary files differnew file mode 100644 index 0000000..c71968e --- /dev/null +++ b/test/dummy/tmp/cache/assets/C9A/A50/sprockets%2F983ce99613edf03729c8c574059b4583 diff --git a/test/dummy/tmp/cache/assets/CB1/FD0/sprockets%2F6e1bd95023705b5529e7ccc754a02867 b/test/dummy/tmp/cache/assets/CB1/FD0/sprockets%2F6e1bd95023705b5529e7ccc754a02867 Binary files differnew file mode 100644 index 0000000..050ee63 --- /dev/null +++ b/test/dummy/tmp/cache/assets/CB1/FD0/sprockets%2F6e1bd95023705b5529e7ccc754a02867 diff --git a/test/dummy/tmp/cache/assets/CB5/950/sprockets%2F90abd297266441e364737cd8b3747ad2 b/test/dummy/tmp/cache/assets/CB5/950/sprockets%2F90abd297266441e364737cd8b3747ad2 Binary files differnew file mode 100644 index 0000000..fc27d82 --- /dev/null +++ b/test/dummy/tmp/cache/assets/CB5/950/sprockets%2F90abd297266441e364737cd8b3747ad2 diff --git a/test/dummy/tmp/cache/assets/CBF/550/sprockets%2F88a854d2b8e53730066a59df47b5b746 b/test/dummy/tmp/cache/assets/CBF/550/sprockets%2F88a854d2b8e53730066a59df47b5b746 Binary files differnew file mode 100644 index 0000000..050e227 --- /dev/null +++ b/test/dummy/tmp/cache/assets/CBF/550/sprockets%2F88a854d2b8e53730066a59df47b5b746 diff --git a/test/dummy/tmp/cache/assets/CBF/850/sprockets%2F0616865725fea8838fda8e461bb14189 b/test/dummy/tmp/cache/assets/CBF/850/sprockets%2F0616865725fea8838fda8e461bb14189 Binary files differnew file mode 100644 index 0000000..16938c7 --- /dev/null +++ b/test/dummy/tmp/cache/assets/CBF/850/sprockets%2F0616865725fea8838fda8e461bb14189 diff --git a/test/dummy/tmp/cache/assets/CC5/C30/sprockets%2F236b57b867e722f51b8f88fa5737e308 b/test/dummy/tmp/cache/assets/CC5/C30/sprockets%2F236b57b867e722f51b8f88fa5737e308 Binary files differnew file mode 100644 index 0000000..42a8a5c --- /dev/null +++ b/test/dummy/tmp/cache/assets/CC5/C30/sprockets%2F236b57b867e722f51b8f88fa5737e308 diff --git a/test/dummy/tmp/cache/assets/CCF/5E0/sprockets%2F0228318f1e29a22095c36a71a8acfd32 b/test/dummy/tmp/cache/assets/CCF/5E0/sprockets%2F0228318f1e29a22095c36a71a8acfd32 Binary files differnew file mode 100644 index 0000000..f82b7bf --- /dev/null +++ b/test/dummy/tmp/cache/assets/CCF/5E0/sprockets%2F0228318f1e29a22095c36a71a8acfd32 diff --git a/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 b/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 Binary files differnew file mode 100644 index 0000000..569f70f --- /dev/null +++ b/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 diff --git a/test/dummy/tmp/cache/assets/CDA/400/sprockets%2F7c3ab762d5be50d6314a324d354186f9 b/test/dummy/tmp/cache/assets/CDA/400/sprockets%2F7c3ab762d5be50d6314a324d354186f9 Binary files differnew file mode 100644 index 0000000..0de9f82 --- /dev/null +++ b/test/dummy/tmp/cache/assets/CDA/400/sprockets%2F7c3ab762d5be50d6314a324d354186f9 diff --git a/test/dummy/tmp/cache/assets/CDA/AF0/sprockets%2F1e818287702fc78e6b026cbda72231f1 b/test/dummy/tmp/cache/assets/CDA/AF0/sprockets%2F1e818287702fc78e6b026cbda72231f1 Binary files differnew file mode 100644 index 0000000..5ce0daf --- /dev/null +++ b/test/dummy/tmp/cache/assets/CDA/AF0/sprockets%2F1e818287702fc78e6b026cbda72231f1 diff --git a/test/dummy/tmp/cache/assets/CDE/B30/sprockets%2F672d1206521f7db069bff652455bee25 b/test/dummy/tmp/cache/assets/CDE/B30/sprockets%2F672d1206521f7db069bff652455bee25 Binary files differnew file mode 100644 index 0000000..80b5718 --- /dev/null +++ b/test/dummy/tmp/cache/assets/CDE/B30/sprockets%2F672d1206521f7db069bff652455bee25 diff --git a/test/dummy/tmp/cache/assets/CE3/DA0/sprockets%2F60efe16fc0486f0124c9e708c394066c b/test/dummy/tmp/cache/assets/CE3/DA0/sprockets%2F60efe16fc0486f0124c9e708c394066c Binary files differnew file mode 100644 index 0000000..5e175d6 --- /dev/null +++ b/test/dummy/tmp/cache/assets/CE3/DA0/sprockets%2F60efe16fc0486f0124c9e708c394066c diff --git a/test/dummy/tmp/cache/assets/CFA/7F0/sprockets%2Fdda8b0015ab3657095e3a88002bfe403 b/test/dummy/tmp/cache/assets/CFA/7F0/sprockets%2Fdda8b0015ab3657095e3a88002bfe403 Binary files differnew file mode 100644 index 0000000..d60fbd0 --- /dev/null +++ b/test/dummy/tmp/cache/assets/CFA/7F0/sprockets%2Fdda8b0015ab3657095e3a88002bfe403 diff --git a/test/dummy/tmp/cache/assets/CFF/E00/sprockets%2F352bab412d75fa19d0a07504553b59df b/test/dummy/tmp/cache/assets/CFF/E00/sprockets%2F352bab412d75fa19d0a07504553b59df Binary files differnew file mode 100644 index 0000000..f5813dd --- /dev/null +++ b/test/dummy/tmp/cache/assets/CFF/E00/sprockets%2F352bab412d75fa19d0a07504553b59df diff --git a/test/dummy/tmp/cache/assets/D01/550/sprockets%2F2b3c6513434ec1692d7cfaa44013e67c b/test/dummy/tmp/cache/assets/D01/550/sprockets%2F2b3c6513434ec1692d7cfaa44013e67c Binary files differnew file mode 100644 index 0000000..9ebd217 --- /dev/null +++ b/test/dummy/tmp/cache/assets/D01/550/sprockets%2F2b3c6513434ec1692d7cfaa44013e67c diff --git a/test/dummy/tmp/cache/assets/D10/010/sprockets%2Fc9531a6a43f28d260d68360d9c39ecb3 b/test/dummy/tmp/cache/assets/D10/010/sprockets%2Fc9531a6a43f28d260d68360d9c39ecb3 Binary files differnew file mode 100644 index 0000000..01bc164 --- /dev/null +++ b/test/dummy/tmp/cache/assets/D10/010/sprockets%2Fc9531a6a43f28d260d68360d9c39ecb3 diff --git a/test/dummy/tmp/cache/assets/D11/710/sprockets%2F9390490ac7a28c9474c1f765aaf10ad8 b/test/dummy/tmp/cache/assets/D11/710/sprockets%2F9390490ac7a28c9474c1f765aaf10ad8 Binary files differnew file mode 100644 index 0000000..2f0ab90 --- /dev/null +++ b/test/dummy/tmp/cache/assets/D11/710/sprockets%2F9390490ac7a28c9474c1f765aaf10ad8 diff --git a/test/dummy/tmp/cache/assets/D13/6E0/sprockets%2F69a87f5b9418510356bfee5f3b3c030f b/test/dummy/tmp/cache/assets/D13/6E0/sprockets%2F69a87f5b9418510356bfee5f3b3c030f Binary files differnew file mode 100644 index 0000000..31e6b2b --- /dev/null +++ b/test/dummy/tmp/cache/assets/D13/6E0/sprockets%2F69a87f5b9418510356bfee5f3b3c030f diff --git a/test/dummy/tmp/cache/assets/D14/710/sprockets%2F39d9d255bc53e820e049e3a37cc5a918 b/test/dummy/tmp/cache/assets/D14/710/sprockets%2F39d9d255bc53e820e049e3a37cc5a918 Binary files differnew file mode 100644 index 0000000..23a5b60 --- /dev/null +++ b/test/dummy/tmp/cache/assets/D14/710/sprockets%2F39d9d255bc53e820e049e3a37cc5a918 diff --git a/test/dummy/tmp/cache/assets/D27/D50/sprockets%2F596c7f46a775f908def94bc26c70e514 b/test/dummy/tmp/cache/assets/D27/D50/sprockets%2F596c7f46a775f908def94bc26c70e514 Binary files differnew file mode 100644 index 0000000..d28516a --- /dev/null +++ b/test/dummy/tmp/cache/assets/D27/D50/sprockets%2F596c7f46a775f908def94bc26c70e514 diff --git a/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 b/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 Binary files differnew file mode 100644 index 0000000..d7d3dae --- /dev/null +++ b/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 diff --git a/test/dummy/tmp/cache/assets/D32/E30/sprockets%2F426f2eeb2a203ac62e5794a03ed24e66 b/test/dummy/tmp/cache/assets/D32/E30/sprockets%2F426f2eeb2a203ac62e5794a03ed24e66 Binary files differnew file mode 100644 index 0000000..b693770 --- /dev/null +++ b/test/dummy/tmp/cache/assets/D32/E30/sprockets%2F426f2eeb2a203ac62e5794a03ed24e66 diff --git a/test/dummy/tmp/cache/assets/D36/A40/sprockets%2Ff04158f446ef4a685641bbcd05f23c1a b/test/dummy/tmp/cache/assets/D36/A40/sprockets%2Ff04158f446ef4a685641bbcd05f23c1a Binary files differnew file mode 100644 index 0000000..109fc57 --- /dev/null +++ b/test/dummy/tmp/cache/assets/D36/A40/sprockets%2Ff04158f446ef4a685641bbcd05f23c1a diff --git a/test/dummy/tmp/cache/assets/D37/D60/sprockets%2Fdcbcf07bd77dae07614901d73437c351 b/test/dummy/tmp/cache/assets/D37/D60/sprockets%2Fdcbcf07bd77dae07614901d73437c351 Binary files differnew file mode 100644 index 0000000..78f69fc --- /dev/null +++ b/test/dummy/tmp/cache/assets/D37/D60/sprockets%2Fdcbcf07bd77dae07614901d73437c351 diff --git a/test/dummy/tmp/cache/assets/D3B/610/sprockets%2Fd76666a48d1e3c5b20aa021a6be699d7 b/test/dummy/tmp/cache/assets/D3B/610/sprockets%2Fd76666a48d1e3c5b20aa021a6be699d7 Binary files differnew file mode 100644 index 0000000..d4ac7a2 --- /dev/null +++ b/test/dummy/tmp/cache/assets/D3B/610/sprockets%2Fd76666a48d1e3c5b20aa021a6be699d7 diff --git a/test/dummy/tmp/cache/assets/D3F/2A0/sprockets%2F2f5d6bb21f46a1c09208899ede0c92d3 b/test/dummy/tmp/cache/assets/D3F/2A0/sprockets%2F2f5d6bb21f46a1c09208899ede0c92d3 Binary files differnew file mode 100644 index 0000000..61ac28e --- /dev/null +++ b/test/dummy/tmp/cache/assets/D3F/2A0/sprockets%2F2f5d6bb21f46a1c09208899ede0c92d3 diff --git a/test/dummy/tmp/cache/assets/D49/8D0/sprockets%2F92613a75279536c4bcf4f3ba6cfde494 b/test/dummy/tmp/cache/assets/D49/8D0/sprockets%2F92613a75279536c4bcf4f3ba6cfde494 Binary files differnew file mode 100644 index 0000000..e1362c7 --- /dev/null +++ b/test/dummy/tmp/cache/assets/D49/8D0/sprockets%2F92613a75279536c4bcf4f3ba6cfde494 diff --git a/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 b/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 Binary files differnew file mode 100644 index 0000000..b592271 --- /dev/null +++ b/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 diff --git a/test/dummy/tmp/cache/assets/D4F/160/sprockets%2F9686d4b60027ddf89d496f3bd1c5ba75 b/test/dummy/tmp/cache/assets/D4F/160/sprockets%2F9686d4b60027ddf89d496f3bd1c5ba75 Binary files differnew file mode 100644 index 0000000..daeea37 --- /dev/null +++ b/test/dummy/tmp/cache/assets/D4F/160/sprockets%2F9686d4b60027ddf89d496f3bd1c5ba75 diff --git a/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 b/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 Binary files differnew file mode 100644 index 0000000..37cdfc3 --- /dev/null +++ b/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 diff --git a/test/dummy/tmp/cache/assets/D60/620/sprockets%2Fae699b549a8960f75ae187e4c7a199fe b/test/dummy/tmp/cache/assets/D60/620/sprockets%2Fae699b549a8960f75ae187e4c7a199fe Binary files differnew file mode 100644 index 0000000..231965e --- /dev/null +++ b/test/dummy/tmp/cache/assets/D60/620/sprockets%2Fae699b549a8960f75ae187e4c7a199fe diff --git a/test/dummy/tmp/cache/assets/D6B/AA0/sprockets%2Fd7f8c901c5a5f02b0ae12f96fd7c5163 b/test/dummy/tmp/cache/assets/D6B/AA0/sprockets%2Fd7f8c901c5a5f02b0ae12f96fd7c5163 Binary files differnew file mode 100644 index 0000000..d098aff --- /dev/null +++ b/test/dummy/tmp/cache/assets/D6B/AA0/sprockets%2Fd7f8c901c5a5f02b0ae12f96fd7c5163 diff --git a/test/dummy/tmp/cache/assets/D96/E50/sprockets%2Faff1e946351d38bd075c6cb6bae6511a b/test/dummy/tmp/cache/assets/D96/E50/sprockets%2Faff1e946351d38bd075c6cb6bae6511a Binary files differnew file mode 100644 index 0000000..d756a06 --- /dev/null +++ b/test/dummy/tmp/cache/assets/D96/E50/sprockets%2Faff1e946351d38bd075c6cb6bae6511a diff --git a/test/dummy/tmp/cache/assets/DB8/780/sprockets%2Fae36db4ffce0d374304a4ede07a41b31 b/test/dummy/tmp/cache/assets/DB8/780/sprockets%2Fae36db4ffce0d374304a4ede07a41b31 Binary files differnew file mode 100644 index 0000000..01da5e8 --- /dev/null +++ b/test/dummy/tmp/cache/assets/DB8/780/sprockets%2Fae36db4ffce0d374304a4ede07a41b31 diff --git a/test/dummy/tmp/cache/assets/DCB/020/sprockets%2F4d068ed2dc36a60bb278ced9fcf20c36 b/test/dummy/tmp/cache/assets/DCB/020/sprockets%2F4d068ed2dc36a60bb278ced9fcf20c36 Binary files differnew file mode 100644 index 0000000..bb3cab2 --- /dev/null +++ b/test/dummy/tmp/cache/assets/DCB/020/sprockets%2F4d068ed2dc36a60bb278ced9fcf20c36 diff --git a/test/dummy/tmp/cache/assets/DCD/ED0/sprockets%2F6fe3dc60b7d860d3a8a43690e4afacf4 b/test/dummy/tmp/cache/assets/DCD/ED0/sprockets%2F6fe3dc60b7d860d3a8a43690e4afacf4 Binary files differnew file mode 100644 index 0000000..a04486a --- /dev/null +++ b/test/dummy/tmp/cache/assets/DCD/ED0/sprockets%2F6fe3dc60b7d860d3a8a43690e4afacf4 diff --git a/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 b/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 Binary files differnew file mode 100644 index 0000000..9e42b8f --- /dev/null +++ b/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 diff --git a/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af b/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af Binary files differnew file mode 100644 index 0000000..70a5276 --- /dev/null +++ b/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af diff --git a/test/dummy/tmp/cache/assets/E39/460/sprockets%2Fbfafd3d37be1adf677c090f59c7beb96 b/test/dummy/tmp/cache/assets/E39/460/sprockets%2Fbfafd3d37be1adf677c090f59c7beb96 Binary files differnew file mode 100644 index 0000000..2a8f986 --- /dev/null +++ b/test/dummy/tmp/cache/assets/E39/460/sprockets%2Fbfafd3d37be1adf677c090f59c7beb96 diff --git a/test/dummy/tmp/cache/assets/E41/640/sprockets%2Fe39ce66e34eb568eeaaf17bf9f9b22fd b/test/dummy/tmp/cache/assets/E41/640/sprockets%2Fe39ce66e34eb568eeaaf17bf9f9b22fd Binary files differnew file mode 100644 index 0000000..b347439 --- /dev/null +++ b/test/dummy/tmp/cache/assets/E41/640/sprockets%2Fe39ce66e34eb568eeaaf17bf9f9b22fd diff --git a/test/dummy/tmp/cache/assets/E95/990/sprockets%2Ff7f4b455f707cfccd5facf51bbdfc2d9 b/test/dummy/tmp/cache/assets/E95/990/sprockets%2Ff7f4b455f707cfccd5facf51bbdfc2d9 Binary files differnew file mode 100644 index 0000000..8a400f8 --- /dev/null +++ b/test/dummy/tmp/cache/assets/E95/990/sprockets%2Ff7f4b455f707cfccd5facf51bbdfc2d9 diff --git a/test/dummy/tmp/cache/sass/41fc7921821e44ccb9c303aca9a6f533f3dc3fa8/application.scssc b/test/dummy/tmp/cache/sass/41fc7921821e44ccb9c303aca9a6f533f3dc3fa8/application.scssc Binary files differnew file mode 100644 index 0000000..3ad8a09 --- /dev/null +++ b/test/dummy/tmp/cache/sass/41fc7921821e44ccb9c303aca9a6f533f3dc3fa8/application.scssc diff --git a/test/dummy/tmp/cache/sass/7ec7d32c7162b055998d37293d95edaf57626e5b/_bootstrap.scssc b/test/dummy/tmp/cache/sass/7ec7d32c7162b055998d37293d95edaf57626e5b/_bootstrap.scssc Binary files differnew file mode 100644 index 0000000..e91ec7c --- /dev/null +++ b/test/dummy/tmp/cache/sass/7ec7d32c7162b055998d37293d95edaf57626e5b/_bootstrap.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_accordion.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_accordion.scssc Binary files differnew file mode 100644 index 0000000..09e266d --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_accordion.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_alerts.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_alerts.scssc Binary files differnew file mode 100644 index 0000000..3c854f8 --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_alerts.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_breadcrumbs.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_breadcrumbs.scssc Binary files differnew file mode 100644 index 0000000..4350478 --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_breadcrumbs.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_button-groups.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_button-groups.scssc Binary files differnew file mode 100644 index 0000000..a6ddcb8 --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_button-groups.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_buttons.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_buttons.scssc Binary files differnew file mode 100644 index 0000000..cfbc623 --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_buttons.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_carousel.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_carousel.scssc Binary files differnew file mode 100644 index 0000000..a9c8917 --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_carousel.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_close.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_close.scssc Binary files differnew file mode 100644 index 0000000..b7626e0 --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_close.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_code.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_code.scssc Binary files differnew file mode 100644 index 0000000..df0f595 --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_code.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_component-animations.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_component-animations.scssc Binary files differnew file mode 100644 index 0000000..744bf3c --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_component-animations.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_dropdowns.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_dropdowns.scssc Binary files differnew file mode 100644 index 0000000..3a3478b --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_dropdowns.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_forms.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_forms.scssc Binary files differnew file mode 100644 index 0000000..2f26f3c --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_forms.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_grid.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_grid.scssc Binary files differnew file mode 100644 index 0000000..f8cd990 --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_grid.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_hero-unit.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_hero-unit.scssc Binary files differnew file mode 100644 index 0000000..ebccc9b --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_hero-unit.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_labels-badges.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_labels-badges.scssc Binary files differnew file mode 100644 index 0000000..d12dd58 --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_labels-badges.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_layouts.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_layouts.scssc Binary files differnew file mode 100644 index 0000000..78993fc --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_layouts.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_mixins.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_mixins.scssc Binary files differnew file mode 100644 index 0000000..ec520db --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_mixins.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_modals.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_modals.scssc Binary files differnew file mode 100644 index 0000000..7a2530e --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_modals.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navbar.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navbar.scssc Binary files differnew file mode 100644 index 0000000..360ae80 --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navbar.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navs.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navs.scssc Binary files differnew file mode 100644 index 0000000..3af18e4 --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_navs.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pager.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pager.scssc Binary files differnew file mode 100644 index 0000000..5c40bb3 --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pager.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pagination.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pagination.scssc Binary files differnew file mode 100644 index 0000000..1ff5ce3 --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_pagination.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_popovers.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_popovers.scssc Binary files differnew file mode 100644 index 0000000..e8e742e --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_popovers.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_progress-bars.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_progress-bars.scssc Binary files differnew file mode 100644 index 0000000..42e3f54 --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_progress-bars.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_reset.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_reset.scssc Binary files differnew file mode 100644 index 0000000..e13b222 --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_reset.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_scaffolding.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_scaffolding.scssc Binary files differnew file mode 100644 index 0000000..64fcf04 --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_scaffolding.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_sprites.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_sprites.scssc Binary files differnew file mode 100644 index 0000000..b263ee0 --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_sprites.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tables.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tables.scssc Binary files differnew file mode 100644 index 0000000..1ccc7e4 --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tables.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_thumbnails.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_thumbnails.scssc Binary files differnew file mode 100644 index 0000000..d8602a9 --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_thumbnails.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tooltip.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tooltip.scssc Binary files differnew file mode 100644 index 0000000..d61f125 --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_tooltip.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_type.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_type.scssc Binary files differnew file mode 100644 index 0000000..7f6278a --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_type.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_utilities.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_utilities.scssc Binary files differnew file mode 100644 index 0000000..7b35923 --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_utilities.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_variables.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_variables.scssc Binary files differnew file mode 100644 index 0000000..c586137 --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_variables.scssc diff --git a/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_wells.scssc b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_wells.scssc Binary files differnew file mode 100644 index 0000000..5b3fcd8 --- /dev/null +++ b/test/dummy/tmp/cache/sass/8428c01c7e51b4abd987f2973625b18cda137330/_wells.scssc 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/Readme.md b/users/Readme.md new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/users/Readme.md diff --git a/users/app/models/user.rb b/users/app/models/user.rb index 33c77ce..8b7c0b3 100644 --- a/users/app/models/user.rb +++ b/users/app/models/user.rb @@ -5,8 +5,19 @@ 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 + + validates :login, + :format => { :with => /\A[A-Za-z\d_]+\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! @@ -22,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/leap_web_users.gemspec b/users/leap_web_users.gemspec index 90aa4df..94c32ff 100644 --- a/users/leap_web_users.gemspec +++ b/users/leap_web_users.gemspec @@ -1,25 +1,23 @@ $:.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" 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" - s.add_dependency "leap_web_core", "~> 0.0.1" - s.add_dependency "couchrest_session_store", "~> 0.0.1" + s.add_dependency "leap_web_core", LeapWeb::VERSION s.add_dependency "ruby-srp", "~> 0.1.1" 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 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)}) 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' 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 |