mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 13:15:40 +02:00
Remove lib
folder from autoload path
- Load extensions explicitly
This commit is contained in:
parent
9ea5b54f5c
commit
30ac973f96
12 changed files with 25 additions and 25 deletions
14
lib/gem_ext/builder.rb
Normal file
14
lib/gem_ext/builder.rb
Normal file
|
@ -0,0 +1,14 @@
|
|||
require 'builder'
|
||||
|
||||
class Builder::XmlMarkup
|
||||
def epp_head
|
||||
self.instruct!
|
||||
epp(
|
||||
'xmlns' => 'https://epp.tld.ee/schema/epp-ee-1.0.xsd',
|
||||
'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance',
|
||||
'xsi:schemaLocation' => 'lib/schemas/epp-ee-1.0.xsd'
|
||||
) do
|
||||
yield
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue