Skip to content

Commit

Permalink
Fix problem with long schema name
Browse files Browse the repository at this point in the history
Also fixes issue with the file_list function in gemspec
  • Loading branch information
halfbyte committed Dec 4, 2024
1 parent 33c0aff commit 45ba1cf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion schemas/factur-x_1/Factur-X_1.07.2_EN16931.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
targetNamespace="urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100"
elementFormDefault="qualified">
<xs:import namespace="urn:un:unece:uncefact:data:standard:QualifiedDataType:100" schemaLocation="Factur-X_1.07.2_EN16931_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd"/>
<xs:import namespace="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100" schemaLocation="Factur-X_1.07.2_EN16931_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd"/>
<xs:import namespace="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100" schemaLocation="Factur-X_1.07.2_EN16931_urn_un_unece_uncefact_data_standard_RABIE_100.xsd"/>
<xs:import namespace="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100" schemaLocation="Factur-X_1.07.2_EN16931_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd"/>
<xs:element name="CrossIndustryInvoice" type="rsm:CrossIndustryInvoiceType"/>
<xs:complexType name="CrossIndustryInvoiceType">
Expand Down
2 changes: 1 addition & 1 deletion secretariat.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require_relative 'lib/secretariat/version'
# as this breaks ruby-setup on GitHub actions
# This should be good enough for now, even though
# FileList does a lot more.
def file_list(*patterns)
def self.file_list(*patterns)
patterns.map do |pattern|
Dir.glob(pattern)
end.flatten.reject do |file|
Expand Down

0 comments on commit 45ba1cf

Please sign in to comment.