vexile 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/vexile.rb +2 -2
  2. data/lib/vexile/version.rb +1 -1
  3. metadata +1 -1
@@ -13,12 +13,10 @@ module Vexile
13
13
  end
14
14
 
15
15
  class VexileProxy < Proxy
16
- attr_reader :__source__
17
16
  def __setobj__ value
18
17
  klass = @options[:owner_class].vexile_const_lookup(@options[:class_name])
19
18
  raise "#{@options[:class_name]} is not a vexile class" unless klass
20
19
  @target = klass.new
21
- @__source__ = value
22
20
  load_params value
23
21
  end
24
22
  end
@@ -28,6 +26,7 @@ module Vexile
28
26
  extend ActiveSupport::Concern
29
27
 
30
28
  included do
29
+ attr_reader :__source__
31
30
  Vexile.klasses ||= []
32
31
  Vexile.klasses << self
33
32
  include ActiveModel::Validations
@@ -40,6 +39,7 @@ module Vexile
40
39
  end
41
40
  end
42
41
  end
42
+ @__source__ = hsh
43
43
  end
44
44
  end
45
45
 
@@ -1,3 +1,3 @@
1
1
  module Vexile
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vexile
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: