iab-InsuranceBizLogic 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/processengine/engine.rb +2 -1
  2. metadata +1 -1
@@ -132,9 +132,10 @@ class PEngine
132
132
  prepareModels(session[:product],xml)
133
133
 
134
134
  when "Authenticate"
135
+ session[:user_email] = params[:User][:User] if params[:User] and params[:User][:User]
135
136
  eval(deriveActiveRecordDefinitionOfProduct(session[:product]))
136
137
  open("#{File.dirname(__FILE__)}/../bizLogic/xquery2") {|f| @query = f.read }
137
- results = persist.find(@query.gsub('EMAIL',"#{params[:User][:User]}"))
138
+ results = persist.find(@query.gsub('EMAIL',session[:user_email]))
138
139
  prepareModels(session[:product],results[0]) if results and results[0]
139
140
 
140
141
  when "SectionRating"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iab-InsuranceBizLogic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gary Mawdsley