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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e1fb5cec4127d4299b04bf9ad68c14e47d3282cf
4
- data.tar.gz: 070ebd28549770a4d24dc3efc6d4018d30639f74
3
+ metadata.gz: 6737f68c923e293cb0a8f34cc823bbd8a8720c86
4
+ data.tar.gz: b61c1e55d6bc2f5f36ee2888e8a58088d8ce1274
5
5
  SHA512:
6
- metadata.gz: 3492f96cb507140b6db74b62a742755b752b5c22f671c6514f39e7f73a07a524a34bf1d8982d34229e9c88df5fc8dc833cc97eb4a407fabf7a850baf8eacd2bd
7
- data.tar.gz: e8c2ec4d7d5b3c1298742414988686cbc15832fe4599531e06023e2466bad411a1695c2f6b3b57aa82b7157ffc6cec43a9f5ccaab18485eb93cb58aad67815dc
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 checksjson["open_trade_transfer_package"]["profiles"]["restricted"]["printed_circuits_fabrication_data"][key].is_a? Hash
298
- checksjson["open_trade_transfer_package"]["profiles"]["restricted"]["printed_circuits_fabrication_data"][key].each do |subkey, subvalue|
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 checksjson["open_trade_transfer_package"]["capabilities"]["printed_circuits_fabrication_data"][key].is_a? Hash
354
- checksjson["open_trade_transfer_package"]["capabilities"]["printed_circuits_fabrication_data"][key].each do |subkey, subvalue|
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
@@ -1,3 +1,3 @@
1
1
  module Circuitdata
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: circuitdata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Lydersen