circuitdata 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/circuitdata.rb +4 -4
- data/lib/circuitdata/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6737f68c923e293cb0a8f34cc823bbd8a8720c86
|
4
|
+
data.tar.gz: b61c1e55d6bc2f5f36ee2888e8a58088d8ce1274
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90dbfb96febaa796148c4cc482ffebc0e86f3d9f7605bce7091f751886c50ceafe01a21d50d3fa36f4c68a24ec65c9252f5d42d5ab8571369bdada961a041128
|
7
|
+
data.tar.gz: efbc9ae9681288f4b8ada2791062cda1c9ff29ee2f0505145a97c9ac3c24431bf0f879fee47ebe0ac0ede169e251a01e57735283bf07c058c63df756ce5087d4
|
data/lib/circuitdata.rb
CHANGED
@@ -294,8 +294,8 @@ module Circuitdata
|
|
294
294
|
# RUN THROUGH THE RESTRICTED
|
295
295
|
if returnarray[:contains][:file2][:profile_restricted]
|
296
296
|
json_checksfile["open_trade_transfer_package"]["profiles"]["restricted"]["printed_circuits_fabrication_data"].each do |key, value|
|
297
|
-
if
|
298
|
-
|
297
|
+
if json_checksfile["open_trade_transfer_package"]["profiles"]["restricted"]["printed_circuits_fabrication_data"][key].is_a? Hash
|
298
|
+
json_checksfile["open_trade_transfer_package"]["profiles"]["restricted"]["printed_circuits_fabrication_data"][key].each do |subkey, subvalue|
|
299
299
|
restrictedschema[:properties][:open_trade_transfer_package][:properties][:products][:patternProperties][:"^(?!generic$).*"][:properties][:printed_circuits_fabrication_data][:properties][key.to_sym] = {:type => "object", :properties => {} } unless restrictedschema[:properties][:open_trade_transfer_package][:properties][:products][:patternProperties][:"^(?!generic$).*"][:properties][:printed_circuits_fabrication_data][:properties].has_key? key.to_sym
|
300
300
|
restrictedschema[:properties][:open_trade_transfer_package][:properties][:products][:patternProperties][:"^(?!generic$).*"][:properties][:printed_circuits_fabrication_data][:properties][:stackup][:properties][:specified][:properties][key.to_sym] = {:type => "object", :properties => {} } unless restrictedschema[:properties][:open_trade_transfer_package][:properties][:products][:patternProperties][:"^(?!generic$).*"][:properties][:printed_circuits_fabrication_data][:properties][:stackup][:properties][:specified][:properties].has_key? key.to_sym
|
301
301
|
if subvalue.is_a? String
|
@@ -350,8 +350,8 @@ module Circuitdata
|
|
350
350
|
# RUN THROUGH THE CAPABILITIES
|
351
351
|
if returnarray[:contains][:file2][:capabilities]
|
352
352
|
json_checksfile["open_trade_transfer_package"]["capabilities"]["printed_circuits_fabrication_data"].each do |key, value|
|
353
|
-
if
|
354
|
-
|
353
|
+
if json_checksfile["open_trade_transfer_package"]["capabilities"]["printed_circuits_fabrication_data"][key].is_a? Hash
|
354
|
+
json_checksfile["open_trade_transfer_package"]["capabilities"]["printed_circuits_fabrication_data"][key].each do |subkey, subvalue|
|
355
355
|
capabilityschema[:properties][:open_trade_transfer_package][:properties][:products][:patternProperties][:"^(?!generic$).*"][:properties][:printed_circuits_fabrication_data][:properties][key.to_sym] = {:type => "object", :properties => {} } unless capabilityschema[:properties][:open_trade_transfer_package][:properties][:products][:patternProperties][:"^(?!generic$).*"][:properties][:printed_circuits_fabrication_data][:properties].has_key? key.to_sym
|
356
356
|
capabilityschema[:properties][:open_trade_transfer_package][:properties][:products][:patternProperties][:"^(?!generic$).*"][:properties][:printed_circuits_fabrication_data][:properties][:stackup][:properties][:specified][:properties][key.to_sym] = {:type => "object", :properties => {} } unless capabilityschema[:properties][:open_trade_transfer_package][:properties][:products][:patternProperties][:"^(?!generic$).*"][:properties][:printed_circuits_fabrication_data][:properties][:stackup][:properties][:specified][:properties].has_key? key.to_sym
|
357
357
|
if subvalue.is_a? String
|
data/lib/circuitdata/version.rb
CHANGED