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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8afe970dee794317aa4e6219eb0f0cb435c1c331
4
- data.tar.gz: 962e808e99ac521bea079b088a72ae74f77732ac
3
+ metadata.gz: f6b0c99e88583182140ecba4ef3ed65dda30c742
4
+ data.tar.gz: 7ca515021f7b4b1a7c62106c9947b0726d66802c
5
5
  SHA512:
6
- metadata.gz: 080aa1a98c41639323b76924a5a10bc569f2288a8bf546d97c18d5bb0dc27654df3fc5dd03459b1b3b19721c0bb72de54217f11ab8a92ccdd0ea123d1cffc30b
7
- data.tar.gz: 9f8de21fbd3db36e5ff24e6484ebb81a7d27ef3beec49240aec83514cd593c742a8449610f5ff3fde7adb78fb5d02381f2818204ebeff26613b996bc6f508a74
6
+ metadata.gz: d3d2776aa50a70d0aa57fe5cfba46074b76db15ddbb95ace495cc4fc4126312a5ced37bef2969633b335774c23cd6598af9c0a7363541dcd9d778aaa7b41df18
7
+ data.tar.gz: 658058fb32633062419cf49b0409ab6cc9ff50429e7ce8915ad7dc182f5fd6f9434d0358c06fe2a7f39da91c9463f604bea49cd1f96162f8b2a24ba5e3e26809
@@ -1,3 +1,3 @@
1
1
  module Circuitdata
2
- VERSION = '0.2.9'
2
+ VERSION = '0.3.0'
3
3
  end
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
- checksjson["open_trade_transfer_package"]["profiles"]["restricted"]["printed_circuits_fabrication_data"].each do |key, value|
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
- checksjson["open_trade_transfer_package"]["capabilities"]["printed_circuits_fabrication_data"].each do |key, value|
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
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.2.9
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Lydersen