apiotics 0.1.50 → 0.1.51

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 006c5f0304bd785db021131aebef23b266e742eb
4
- data.tar.gz: d045f6082b865340d3e216cecaaa4f1a50c2841f
3
+ metadata.gz: 9c805131c318703ce1da2c1db7023bf335a9623e
4
+ data.tar.gz: b322ad31edf7dae48eec0facc68c2ccebbc0e885
5
5
  SHA512:
6
- metadata.gz: 2a3bbb4961e0805e1e7a164f2653527856ae252e7635e218eeeb59e5fc5b9e0023e29d9f72eb50110c33efd5566102637aef76167a167a1f2fc20a78aac32566
7
- data.tar.gz: a40597c023ad2be4b442618e5a1c1c29d91002f2da067cda00c2f104e58347cad8b5b7eaed092de0abdbdea82ea1e6154234a3ba735ac1a382f5466c50981c16
6
+ metadata.gz: a2268eecb06baa66ed513138668ace8fd24328b3a9c565404583c1703b6be71956569ffcf02a9662cc16bb2e9b785481abf63a18b51d7a38ac4966ad4abfcd8d
7
+ data.tar.gz: b7d29372dbe3a22992850fe839aae963b6f5d31507854fa46268e0c52595a38e1a894c9133589b7112873323a5072ba892e9ff8493dc65360f71e65ee382a7ef
@@ -15,22 +15,23 @@ module Apiotics
15
15
  if interfaces != {}
16
16
  Extract.fire(object, interfaces, "set-request")
17
17
  if Apiotics.configuration.parents != {}
18
- interfaces.each do |k,v|
19
- if Apiotics.configuration.parents[object.class.parent.demodulize][object.class.demodulize][k] != nil
20
- m = "#{object.class.parent}".demodulize.underscore.gsub(" ","_").downcase
21
- target_class = Apiotics.configuration.parents[object.class.parent.demodulize][object.class.demodulize][k]["driver"].downcase.constantize
22
- target = object.m.target_class
23
- i = Apiotics.configuration.parents[object.class.parent.demodulize][object.class.demodulize][k]["interface"].downcase.constantize
24
- if Apiotics.configuration.parents[object.class.parent.demodulize][object.class.demodulize][k].keys < 3
25
- target.i = v
26
- target.skip_extract = true
27
- target.save
28
- target.skip_extract = false
29
- else
30
- target.i = Apiotics.configuration.parents[object.class.parent.demodulize][object.class.demodulize][k][v]
31
- target.skip_extract = true
32
- target.save
33
- target.skip_extract = false
18
+ interfaces.each do |k,v|
19
+ if Apiotics.configuration.parents[object.class.parent.demodulize][object.class.demodulize][k] != nil
20
+ m = "#{object.class.parent}".demodulize.underscore.gsub(" ","_").downcase
21
+ target_class = Apiotics.configuration.parents[object.class.parent.demodulize][object.class.demodulize][k]["driver"].downcase.constantize
22
+ target = object.m.target_class
23
+ i = Apiotics.configuration.parents[object.class.parent.demodulize][object.class.demodulize][k]["interface"].downcase.constantize
24
+ if Apiotics.configuration.parents[object.class.parent.demodulize][object.class.demodulize][k].keys < 3
25
+ target.i = v
26
+ target.skip_extract = true
27
+ target.save
28
+ target.skip_extract = false
29
+ else
30
+ target.i = Apiotics.configuration.parents[object.class.parent.demodulize][object.class.demodulize][k][v]
31
+ target.skip_extract = true
32
+ target.save
33
+ target.skip_extract = false
34
+ end
34
35
  end
35
36
  end
36
37
  end
@@ -1,3 +1,3 @@
1
1
  module Apiotics
2
- VERSION = '0.1.50'
2
+ VERSION = '0.1.51'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apiotics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.50
4
+ version: 0.1.51
5
5
  platform: ruby
6
6
  authors:
7
7
  - MicroArx Corporation