iab-InsuranceBizLogic 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/processengine/engine.rb +1 -9
  2. metadata +1 -1
@@ -36,15 +36,7 @@ class PEngine
36
36
  if (PRODUCTMODELS.has_key?(product))
37
37
  productModel = PRODUCTMODELS[product.to_sym]
38
38
  else
39
- require 'ProductInterpreter'
40
- oilfile = File.join("#{DY_MODELS}/#{product}/DSL/product.oil")
41
- open(oilfile) {|f| @contents = f.read }
42
- dsl = @contents.to_s
43
- if (!dsl.include?("product :#{product}"))
44
- raise "#{DY_MODELS}/#{product}/DSL/product.oil does NOT contain a product defintion for #{product}"
45
- end
46
- productModel = ProductInterpreter.execute(dsl)
47
- PRODUCTMODELS[product.to_sym] = productModel
39
+ PRODUCTMODELS[product.to_sym] = getRAILSClassRequiresForProductModelFromOilDef(product)
48
40
  end
49
41
  productModel
50
42
  end
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.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gary Mawdsley