reso 0.1.6.5 → 0.1.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/models/import.rb +2 -1
- data/lib/reso/version.rb +1 -1
- 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: 48fe3139f5c00f4b4c98237f83d99a8effc9bd13
|
4
|
+
data.tar.gz: 91b5c7d9625448632434255f7c8378311469a4c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5b95dea35d99837c4312f704b6f8e20d2ce48c5a114ab8c52ff5996f71c74975207ea2ab6eb75cd431146b918d23170a7e920cc4d041e740a2796f24be9b207
|
7
|
+
data.tar.gz: 3344eeac6bae624efa9f09a9c94db208c2ffc31a827f1a23cf14abbdc6518dd57783313de354eb050b4afb53498966658bc57ec283e801ca6966bf7bc3a74381
|
data/app/models/import.rb
CHANGED
@@ -3,6 +3,7 @@ class Import < ActiveRecord::Base
|
|
3
3
|
require 'nokogiri'
|
4
4
|
require 'open-uri'
|
5
5
|
require 'open_uri_redirections'
|
6
|
+
include ActionView::Helpers::TagHelper
|
6
7
|
|
7
8
|
before_save :set_import_format
|
8
9
|
belongs_to :import_format
|
@@ -107,7 +108,7 @@ class Import < ActiveRecord::Base
|
|
107
108
|
end
|
108
109
|
|
109
110
|
def get_open_and_closing_tag_for repeating_element
|
110
|
-
|
111
|
+
content_tag(repeating_element, "\n").split
|
111
112
|
end
|
112
113
|
|
113
114
|
def get_xml_header filepath, repeating_element
|
data/lib/reso/version.rb
CHANGED