circuitdata 0.2.9 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/circuitdata/version.rb +1 -1
- data/lib/circuitdata.rb +2 -2
- 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: f6b0c99e88583182140ecba4ef3ed65dda30c742
|
4
|
+
data.tar.gz: 7ca515021f7b4b1a7c62106c9947b0726d66802c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3d2776aa50a70d0aa57fe5cfba46074b76db15ddbb95ace495cc4fc4126312a5ced37bef2969633b335774c23cd6598af9c0a7363541dcd9d778aaa7b41df18
|
7
|
+
data.tar.gz: 658058fb32633062419cf49b0409ab6cc9ff50429e7ce8915ad7dc182f5fd6f9434d0358c06fe2a7f39da91c9463f604bea49cd1f96162f8b2a24ba5e3e26809
|
data/lib/circuitdata/version.rb
CHANGED
data/lib/circuitdata.rb
CHANGED
@@ -293,7 +293,7 @@ module Circuitdata
|
|
293
293
|
end
|
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
297
|
if checksjson["open_trade_transfer_package"]["profiles"]["restricted"]["printed_circuits_fabrication_data"][key].is_a? Hash
|
298
298
|
checksjson["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
|
@@ -349,7 +349,7 @@ module Circuitdata
|
|
349
349
|
end
|
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
353
|
if checksjson["open_trade_transfer_package"]["capabilities"]["printed_circuits_fabrication_data"][key].is_a? Hash
|
354
354
|
checksjson["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
|