logic_pro 1.0 → 1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e39d0315970503a400579582036f7b473cf690edd10d071a107564a76248af81
4
- data.tar.gz: 81f0767b3c9b3054b384da1c9fbc5c3e3056c8cbcaf9db3d647b2a3ed87722d3
3
+ metadata.gz: 5109635393d541398056947ff85c5e7daef1864e889ec7c3ebbef78d7af52a8b
4
+ data.tar.gz: 1c76b1f3df0632c1c61a28dadaebe8cc08449f2b568f11ae664b23665616db62
5
5
  SHA512:
6
- metadata.gz: cff05ffa4a46f15c628441160af3ce502e14691947c878209964e749615d50138d35531e026b59f1ceb4321925e9f9a36bf89be5b0d37d726e34a01bd66bd787
7
- data.tar.gz: f8e915851d6a170575c11cc5407071e8715962a89fe9449ece33bfec1d7d657a073dc5894af20f904a884ebd172f0e1995e23eaf9c3dea380dd0e05949fba4f5
6
+ metadata.gz: 016dff018da0fc260bc147a7fb00338351c6efca715c5fe8e060624555f45f9d0266ad0a3b03e8a490597991b9a1a106a5820ec12570bcc65fab4f109d1455fa
7
+ data.tar.gz: b72b30d3c2929414972f55600ca1b61c9969c5869bce172a1e0e6074d208c6daf757e098f3aa968feb8d06ef0d128231fa7374d5e74712130564b7c1ac5935bf
@@ -9,7 +9,7 @@ module LogicPro
9
9
  @context_form ||= begin
10
10
  new_class = Class.new(LogicPro::Form)
11
11
 
12
- self.const_set('ContextForm', new_class)
12
+ const_set('ContextForm', new_class)
13
13
  end
14
14
  end
15
15
 
@@ -35,7 +35,7 @@ module LogicPro
35
35
  end
36
36
 
37
37
  def context_form
38
- @context_form ||= ContextForm.new(context.to_h)
38
+ @context_form ||= self.class.context_form.new(context.to_h)
39
39
  end
40
40
  end
41
41
  end
@@ -1,3 +1,3 @@
1
1
  module LogicPro
2
- VERSION = '1.0'.freeze
2
+ VERSION = '1.1'.freeze
3
3
  end
data/logic_pro-1.0.gem ADDED
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logic_pro
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: '1.1'
5
5
  platform: ruby
6
6
  authors:
7
7
  - bezrukavyi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-08-22 00:00:00.000000000 Z
11
+ date: 2022-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -81,6 +81,7 @@ files:
81
81
  - logic_pro-0.2.gem
82
82
  - logic_pro-0.4.1.gem
83
83
  - logic_pro-0.4.2.gem
84
+ - logic_pro-1.0.gem
84
85
  - logic_pro.gemspec
85
86
  homepage: https://github.com/bezrukavyi/logic_pro
86
87
  licenses: