apiotics-test 0.1.50 → 0.1.52

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
  SHA1:
3
- metadata.gz: 9426d07bc89c53ffaca81c8d6c800a639a5349cb
4
- data.tar.gz: 5525c45ad05bfc576dc98594f6d90b0664f016ee
3
+ metadata.gz: 0ff1f721ff437e3abbe56bded7583c57ca541d74
4
+ data.tar.gz: a49c1b007a74bdb454c03173fdbd76f3234b9663
5
5
  SHA512:
6
- metadata.gz: 74c049ab5aff10e6bca5e7f511457948afb14a14da1dcdb1ef4d3177fd4ed0ec67656a833588016e4ecf7a19538f0c094b79efeb412c39dabff259a4d4e3bea4
7
- data.tar.gz: 00446e089111885c98cfadea5ee63b4e0650c4201f93dd204fa66e9d840bac70f74955e388f61a9c3f0d2cd6caa9f6356dfd041318a32fb8f509ee245883a588
6
+ metadata.gz: 89fa9677a5416bd0d2ba8c99a9df0c8b7ff7ddf3e24887c2a4ece80077f5dce43337be79eb19d2177f2f0be552a5712cf9dea6e3e030ca83c2f40ecae02b46e6
7
+ data.tar.gz: bfdd4e123053814bfe67dc62200da4143a22a4eeed514e8b0684762f310414fe445c692f7d1e3c6c5143bba80aeafbf3161753139a48028e3af62822b92557bb
@@ -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.52'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apiotics-test
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.50
4
+ version: 0.1.52
5
5
  platform: ruby
6
6
  authors:
7
7
  - MicroArx Corporation