search-engine-optimization 1.1.0 → 1.1.1

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
  SHA256:
3
- metadata.gz: fedb0aaf2120d413614f86c659a0c2591e23da47514861bf88acaceb672b4dbf
4
- data.tar.gz: 10a7e6052e49b2dae7ead06009dd1deb1b85ede40864b65794db1ab339c4f59a
3
+ metadata.gz: 10ad4b38bbca44daa9a5035633b2ae92a97317f5160aecab482f551409b6d4f3
4
+ data.tar.gz: da252026e6605c307a6f6198b335ff147463792a0660b12e1dc6e0c90b844198
5
5
  SHA512:
6
- metadata.gz: b0f00c90ad0f99ae2383aee00c7079612f42960c2f5f42e3d068ae34319732d83e1a2493ad2dd762e103d8a11737b59af0c3d3697948639eaf2b5d20773a35b8
7
- data.tar.gz: 263a79f5a0aea7d66ed55c0fbba9df0ff92335ae65e16b4e004b2bba91a816e7bb4047aeedaaad3e6ec4c843b5788a6e3c412f0bffdb79eb67d697226c0e8452
6
+ metadata.gz: 3c6e9e6c3b572c33604d745ee4f2b8c089d752c3b3bbf80e86b56c05235657e6e86f90b7679e0e02c892f0fa70f7e06ac9015829f8cff9ffd5c60efb672d6655
7
+ data.tar.gz: d1385357e954a75af9b0be2cab87861f750b6953bd898c593734909ee17699ef8e25c1551b110c4e6ccfb1064a0d2b2a0a487d9e66ed3af3f0a9161728d00348
@@ -4,6 +4,11 @@
4
4
 
5
5
  * nothing yet
6
6
 
7
+ ### 1.1.1 - 2018/02/17
8
+
9
+ * bugfixes
10
+ * fixed `undefined method 'render' for nil`
11
+
7
12
  ### 1.1.0 - 2018/02/17
8
13
 
9
14
  * features
@@ -16,7 +21,7 @@
16
21
  ### 1.0.2 - 2018/02/17
17
22
 
18
23
  * bugfixes
19
- * fixed `undefined method 'underscore for symbol'`
24
+ * fixed `undefined method 'underscore' for symbol`
20
25
 
21
26
  ### 1.0.1 - 2018/02/08
22
27
 
@@ -1,6 +1,6 @@
1
1
  <script type="application/ld+json">
2
2
  {
3
3
  "@context" : "http://schema.org",
4
- <%= component 'seo/schema/type', options %>
4
+ <%= component "seo/schema/type", options %>
5
5
  }
6
6
  </script>
@@ -1 +1 @@
1
- <% if options[:value].is_a?(Array) %><% options[:value].each do |value| %><% if value.is_a?(Hash) %>"<%= options[:property] %>" : { <%= component "seo/schema/#{value.delete(:type)}", value %> }<% else %><% if value.is_a?(String) %>"<%= options[:property] %>" : "<%= value %>"<% elsif value.is_a?(Integer) %>"<%= options[:property] %>" : <%= value %><% end %><% end %><% end %><% else %><% if options[:value].is_a?(Hash) %>"<%= options[:property] %>" : { <%= component "seo/schema/#{options[:value].delete(:type)}", options[:value] %> }<% else %><% if options[:value].is_a?(String) %>"<%= options[:property] %>" : "<%= options[:value] %>"<% elsif options[:value].is_a?(Integer) %>"<%= options[:property] %>" : <%= options[:value] %><% end %><% end %><% end %>
1
+ <% if options[:value].is_a?(Array) %><% options[:value].each do |value| %><% if value.is_a?(Hash) %>,"<%= options[:property] %>" : { <%= component "seo/schema/#{value.delete(:type)}", value %> }<% else %><% if value.is_a?(String) %>,"<%= options[:property] %>" : "<%= value %>"<% elsif value.is_a?(Integer) %>,"<%= options[:property] %>" : <%= value %><% end %><% end %><% end %><% else %><% if options[:value].is_a?(Hash) %>,"<%= options[:property] %>" : { <%= component "seo/schema/#{options[:value].delete(:type)}", options[:value] %> }<% else %><% if options[:value].is_a?(String) %>,"<%= options[:property] %>" : "<%= options[:value] %>"<% elsif options[:value].is_a?(Integer) %>,"<%= options[:property] %>" : <%= options[:value] %><% end %><% end %><% end %>
@@ -1,2 +1,2 @@
1
- <% type = options.delete(:type).to_s.camelize %>"@type" : "<%= type %>",
2
- <%= component "seo/schema/types/<%= type %>", options %>
1
+ <% type = options.delete(:type).to_s.camelize %>"@type" : "<%= type %>"
2
+ <%= component "seo/schema/types/#{type.underscore}", options %>
@@ -1,5 +1,5 @@
1
- <%= component 'seo/schema/property', property: 'itemReviewed', value: options.delete(:item_reviewed) %>,
2
- <%= component 'seo/schema/property', property: 'ratingCount', value: options.delete(:rating_count) %>,
3
- <%= component 'seo/schema/property', property: 'reviewCount', value: options.delete(:review_count) %>,
1
+ <%= component 'seo/schema/property', property: 'itemReviewed', value: options.delete(:item_reviewed) if options[:item_reviewed] %>
2
+ <%= component 'seo/schema/property', property: 'ratingCount', value: options.delete(:rating_count) if options[:rating_count] %>
3
+ <%= component 'seo/schema/property', property: 'reviewCount', value: options.delete(:review_count) if options[:review_count] %>
4
4
 
5
- <%= component 'seo/schema/types/rating', options %>
5
+ <%= component 'seo/schema/types/rating', options if options.length > 0 %>
@@ -1,9 +1,9 @@
1
- <%= component 'seo/schema/property', property: 'articleBody', value: options.delete(:article_body) %>,
2
- <%= component 'seo/schema/property', property: 'articleSection', value: options.delete(:article_section) %>,
3
- <%= component 'seo/schema/property', property: 'pageEnd', value: options.delete(:page_end) %>,
4
- <%= component 'seo/schema/property', property: 'pageStart', value: options.delete(:page_start) %>,
5
- <%= component 'seo/schema/property', property: 'pagination', value: options.delete(:pagination) %>,
6
- <%= component 'seo/schema/property', property: 'speakable', value: options.delete(:speakable) %>,
7
- <%= component 'seo/schema/property', property: 'wordCount', value: options.delete(:word_count) %>,
1
+ <%= component 'seo/schema/property', property: 'articleBody', value: options.delete(:article_body) if options[:article_body] %>
2
+ <%= component 'seo/schema/property', property: 'articleSection', value: options.delete(:article_section) if options[:article_section] %>
3
+ <%= component 'seo/schema/property', property: 'pageEnd', value: options.delete(:page_end) if options[:page_end] %>
4
+ <%= component 'seo/schema/property', property: 'pageStart', value: options.delete(:page_start) if options[:page_start] %>
5
+ <%= component 'seo/schema/property', property: 'pagination', value: options.delete(:pagination) if options[:pagination] %>
6
+ <%= component 'seo/schema/property', property: 'speakable', value: options.delete(:speakable) if options[:speakable] %>
7
+ <%= component 'seo/schema/property', property: 'wordCount', value: options.delete(:word_count) if options[:word_count] %>
8
8
 
9
- <%= component 'seo/schema/types/creative_work', options %>
9
+ <%= component 'seo/schema/types/creative_work', options if options.length > 0 %>
@@ -1,5 +1,5 @@
1
- <%= component 'seo/schema/property', property: 'aggregateRating', value: options.delete(:aggregate_rating) %>,
2
- <%= component 'seo/schema/property', property: 'logo', value: options.delete(:logo) %>,
3
- <%= component 'seo/schema/property', property: 'review', value: options.delete(:review) %>,
1
+ <%= component 'seo/schema/property', property: 'aggregateRating', value: options.delete(:aggregate_rating) if options[:aggregate_rating] %>
2
+ <%= component 'seo/schema/property', property: 'logo', value: options.delete(:logo) if options[:logo] %>
3
+ <%= component 'seo/schema/property', property: 'review', value: options.delete(:review) if options[:review] %>
4
4
 
5
- <%= component 'seo/schema/types/thing', options %>
5
+ <%= component 'seo/schema/types/thing', options if options.length > 0 %>
@@ -1,83 +1,83 @@
1
- <%= component 'seo/schema/property', property: 'about', value: options.delete(:about) %>,
2
- <%= component 'seo/schema/property', property: 'accessMode', value: options.delete(:access_mode) %>,
3
- <%= component 'seo/schema/property', property: 'accessModeSufficient', value: options.delete(:access_mode_sufficient) %>,
4
- <%= component 'seo/schema/property', property: 'accessibilityAPI', value: options.delete(:accessibility_api) %>,
5
- <%= component 'seo/schema/property', property: 'accessiblitiyControl', value: options.delete(:accessibility_control) %>,
6
- <%= component 'seo/schema/property', property: 'accessiblitiyFeature', value: options.delete(:accessibility_feature) %>,
7
- <%= component 'seo/schema/property', property: 'accessiblitiyHazard', value: options.delete(:accessibility_hazard) %>,
8
- <%= component 'seo/schema/property', property: 'accessiblitiySummary', value: options.delete(:accessibility_summary) %>,
9
- <%= component 'seo/schema/property', property: 'accountablePerson', value: options.delete(:accountable_person) %>,
10
- <%= component 'seo/schema/property', property: 'aggregateRating', value: options.delete(:aggregate_rating) %>,
11
- <%= component 'seo/schema/property', property: 'alternativeHeadline', value: options.delete(:alternative_headline) %>,
12
- <%= component 'seo/schema/property', property: 'associatedMedia', value: options.delete(:associatedMedia) %>,
13
- <%= component 'seo/schema/property', property: 'audience', value: options.delete(:audience) %>,
14
- <%= component 'seo/schema/property', property: 'audio', value: options.delete(:audio) %>,
15
- <%= component 'seo/schema/property', property: 'author', value: options.delete(:author) %>,
16
- <%= component 'seo/schema/property', property: 'award', value: options.delete(:award) %>,
17
- <%= component 'seo/schema/property', property: 'character', value: options.delete(:character) %>,
18
- <%= component 'seo/schema/property', property: 'citation', value: options.delete(:citation) %>,
19
- <%= component 'seo/schema/property', property: 'comment', value: options.delete(:comment) %>,
20
- <%= component 'seo/schema/property', property: 'commentCount', value: options.delete(:comment_count) %>,
21
- <%= component 'seo/schema/property', property: 'contentLoaction', value: options.delete(:content_loaction) %>,
22
- <%= component 'seo/schema/property', property: 'contentRating', value: options.delete(:content_rating) %>,
23
- <%= component 'seo/schema/property', property: 'contentReferenceTime', value: options.delete(:content_reference_time) %>,
24
- <%= component 'seo/schema/property', property: 'contributor', value: options.delete(:contributor) %>,
25
- <%= component 'seo/schema/property', property: 'copyrightHolder', value: options.delete(:copyright_holder) %>,
26
- <%= component 'seo/schema/property', property: 'copyrightYear', value: options.delete(:copyright_year) %>,
27
- <%= component 'seo/schema/property', property: 'creator', value: options.delete(:creator) %>,
28
- <%= component 'seo/schema/property', property: 'dateCreated', value: options.delete(:date_created) %>,
29
- <%= component 'seo/schema/property', property: 'dateModified', value: options.delete(:date_modified) %>,
30
- <%= component 'seo/schema/property', property: 'datePublished', value: options.delete(:date_published) %>,
31
- <%= component 'seo/schema/property', property: 'discussionUrl', value: options.delete(:discussion_url) %>,
32
- <%= component 'seo/schema/property', property: 'editor', value: options.delete(:editor) %>,
33
- <%= component 'seo/schema/property', property: 'educationalAlignement', value: options.delete(:educational_alignement) %>,
34
- <%= component 'seo/schema/property', property: 'educationalUse', value: options.delete(:educational_use) %>,
35
- <%= component 'seo/schema/property', property: 'encoding', value: options.delete(:encoding) %>,
36
- <%= component 'seo/schema/property', property: 'exampleOfWork', value: options.delete(:example_of_work) %>,
37
- <%= component 'seo/schema/property', property: 'expires', value: options.delete(:expires) %>,
38
- <%= component 'seo/schema/property', property: 'fileFormat', value: options.delete(:file_format) %>,
39
- <%= component 'seo/schema/property', property: 'funder', value: options.delete(:funder) %>,
40
- <%= component 'seo/schema/property', property: 'genre', value: options.delete(:genre) %>,
41
- <%= component 'seo/schema/property', property: 'hasPart', value: options.delete(:has_part) %>,
42
- <%= component 'seo/schema/property', property: 'headline', value: options.delete(:headline) %>,
43
- <%= component 'seo/schema/property', property: 'inLanguage', value: options.delete(:in_language) %>,
44
- <%= component 'seo/schema/property', property: 'interactionStatistic', value: options.delete(:interaction_statistic) %>,
45
- <%= component 'seo/schema/property', property: 'interactivityType', value: options.delete(:interactivity_type) %>,
46
- <%= component 'seo/schema/property', property: 'isAccessibleForFree', value: options.delete(:is_accessible_for_free) %>,
47
- <%= component 'seo/schema/property', property: 'isBasedOn', value: options.delete(:is_based_on) %>,
48
- <%= component 'seo/schema/property', property: 'isFamilyFriendly', value: options.delete(:is_family_friendly) %>,
49
- <%= component 'seo/schema/property', property: 'isPartOf', value: options.delete(:is_part_of) %>,
50
- <%= component 'seo/schema/property', property: 'keywords', value: options.delete(:keywords) %>,
51
- <%= component 'seo/schema/property', property: 'learningResourceType', value: options.delete(:learning_resource_type) %>,
52
- <%= component 'seo/schema/property', property: 'license', value: options.delete(:license) %>,
53
- <%= component 'seo/schema/property', property: 'locationCreated', value: options.delete(:location_created) %>,
54
- <%= component 'seo/schema/property', property: 'mainEntity', value: options.delete(:main_entity) %>,
55
- <%= component 'seo/schema/property', property: 'material', value: options.delete(:material) %>,
56
- <%= component 'seo/schema/property', property: 'mentions', value: options.delete(:mentions) %>,
57
- <%= component 'seo/schema/property', property: 'offers', value: options.delete(:offers) %>,
58
- <%= component 'seo/schema/property', property: 'position', value: options.delete(:position) %>,
59
- <%= component 'seo/schema/property', property: 'producer', value: options.delete(:producer) %>,
60
- <%= component 'seo/schema/property', property: 'provider', value: options.delete(:provider) %>,
61
- <%= component 'seo/schema/property', property: 'publication', value: options.delete(:publication) %>,
62
- <%= component 'seo/schema/property', property: 'publisher', value: options.delete(:publisher) %>,
63
- <%= component 'seo/schema/property', property: 'publisherImprint', value: options.delete(:publisher_imprint) %>,
64
- <%= component 'seo/schema/property', property: 'publishingPrinciples', value: options.delete(:publishing_principles) %>,
65
- <%= component 'seo/schema/property', property: 'recordedAt', value: options.delete(:recorded_at) %>,
66
- <%= component 'seo/schema/property', property: 'releasedEvent', value: options.delete(:released_event) %>,
67
- <%= component 'seo/schema/property', property: 'review', value: options.delete(:review) %>,
68
- <%= component 'seo/schema/property', property: 'sourceOrganization', value: options.delete(:source_organization) %>,
69
- <%= component 'seo/schema/property', property: 'spacialCoverage', value: options.delete(:spatial_coverage) %>,
70
- <%= component 'seo/schema/property', property: 'sponsor', value: options.delete(:sponsor) %>,
71
- <%= component 'seo/schema/property', property: 'temporalCoverage', value: options.delete(:temporal_coverage) %>,
72
- <%= component 'seo/schema/property', property: 'text', value: options.delete(:text) %>,
73
- <%= component 'seo/schema/property', property: 'thumbnailURL', value: options.delete(:thumbnail_url) %>,
74
- <%= component 'seo/schema/property', property: 'timeRequired', value: options.delete(:timeRequired) %>,
75
- <%= component 'seo/schema/property', property: 'translationOfWork', value: options.delete(:translation_of_work) %>,
76
- <%= component 'seo/schema/property', property: 'translator', value: options.delete(:translator) %>,
77
- <%= component 'seo/schema/property', property: 'typicalAgeRange', value: options.delete(:typical_age_range) %>,
78
- <%= component 'seo/schema/property', property: 'version', value: options.delete(:version) %>,
79
- <%= component 'seo/schema/property', property: 'video', value: options.delete(:video) %>,
80
- <%= component 'seo/schema/property', property: 'workExample', value: options.delete(:work_example) %>,
81
- <%= component 'seo/schema/property', property: 'workTranslation', value: options.delete(:work_translation) %>,
1
+ <%= component 'seo/schema/property', property: 'about', value: options.delete(:about) if options[:about] %>
2
+ <%= component 'seo/schema/property', property: 'accessMode', value: options.delete(:access_mode) if options[:access_mode] %>
3
+ <%= component 'seo/schema/property', property: 'accessModeSufficient', value: options.delete(:access_mode_sufficient) if options[:access_mode_sufficient] %>
4
+ <%= component 'seo/schema/property', property: 'accessibilityAPI', value: options.delete(:accessibility_api) if options[:accessibility_api] %>
5
+ <%= component 'seo/schema/property', property: 'accessiblitiyControl', value: options.delete(:accessibility_control) if options[:accessibility_control] %>
6
+ <%= component 'seo/schema/property', property: 'accessiblitiyFeature', value: options.delete(:accessibility_feature) if options[:accessibility_feature] %>
7
+ <%= component 'seo/schema/property', property: 'accessiblitiyHazard', value: options.delete(:accessibility_hazard) if options[:accessibility_hazard] %>
8
+ <%= component 'seo/schema/property', property: 'accessiblitiySummary', value: options.delete(:accessibility_summary) if options[:accessibility_summary] %>
9
+ <%= component 'seo/schema/property', property: 'accountablePerson', value: options.delete(:accountable_person) if options[:accountable_person] %>
10
+ <%= component 'seo/schema/property', property: 'aggregateRating', value: options.delete(:aggregate_rating) if options[:aggregate_rating] %>
11
+ <%= component 'seo/schema/property', property: 'alternativeHeadline', value: options.delete(:alternative_headline) if options[:alternative_headline] %>
12
+ <%= component 'seo/schema/property', property: 'associatedMedia', value: options.delete(:associatedMedia) if options[:associatedMedia] %>
13
+ <%= component 'seo/schema/property', property: 'audience', value: options.delete(:audience) if options[:audience] %>
14
+ <%= component 'seo/schema/property', property: 'audio', value: options.delete(:audio) if options[:audio] %>
15
+ <%= component 'seo/schema/property', property: 'author', value: options.delete(:author) if options[:author] %>
16
+ <%= component 'seo/schema/property', property: 'award', value: options.delete(:award) if options[:award] %>
17
+ <%= component 'seo/schema/property', property: 'character', value: options.delete(:character) if options[:character] %>
18
+ <%= component 'seo/schema/property', property: 'citation', value: options.delete(:citation) if options[:citation] %>
19
+ <%= component 'seo/schema/property', property: 'comment', value: options.delete(:comment) if options[:comment] %>
20
+ <%= component 'seo/schema/property', property: 'commentCount', value: options.delete(:comment_count) if options[:comment_count] %>
21
+ <%= component 'seo/schema/property', property: 'contentLoaction', value: options.delete(:content_loaction) if options[:content_loaction] %>
22
+ <%= component 'seo/schema/property', property: 'contentRating', value: options.delete(:content_rating) if options[:content_rating] %>
23
+ <%= component 'seo/schema/property', property: 'contentReferenceTime', value: options.delete(:content_reference_time) if options[:content_reference_time] %>
24
+ <%= component 'seo/schema/property', property: 'contributor', value: options.delete(:contributor) if options[:contributor] %>
25
+ <%= component 'seo/schema/property', property: 'copyrightHolder', value: options.delete(:copyright_holder) if options[:copyright_holder] %>
26
+ <%= component 'seo/schema/property', property: 'copyrightYear', value: options.delete(:copyright_year) if options[:copyright_year] %>
27
+ <%= component 'seo/schema/property', property: 'creator', value: options.delete(:creator) if options[:creator] %>
28
+ <%= component 'seo/schema/property', property: 'dateCreated', value: options.delete(:date_created) if options[:date_created] %>
29
+ <%= component 'seo/schema/property', property: 'dateModified', value: options.delete(:date_modified) if options[:date_modified] %>
30
+ <%= component 'seo/schema/property', property: 'datePublished', value: options.delete(:date_published) if options[:date_published] %>
31
+ <%= component 'seo/schema/property', property: 'discussionUrl', value: options.delete(:discussion_url) if options[:discussion_url] %>
32
+ <%= component 'seo/schema/property', property: 'editor', value: options.delete(:editor) if options[:editor] %>
33
+ <%= component 'seo/schema/property', property: 'educationalAlignement', value: options.delete(:educational_alignement) if options[:educational_alignement] %>
34
+ <%= component 'seo/schema/property', property: 'educationalUse', value: options.delete(:educational_use) if options[:educational_use] %>
35
+ <%= component 'seo/schema/property', property: 'encoding', value: options.delete(:encoding) if options[:encoding] %>
36
+ <%= component 'seo/schema/property', property: 'exampleOfWork', value: options.delete(:example_of_work) if options[:example_of_work] %>
37
+ <%= component 'seo/schema/property', property: 'expires', value: options.delete(:expires) if options[:expires] %>
38
+ <%= component 'seo/schema/property', property: 'fileFormat', value: options.delete(:file_format) if options[:file_format] %>
39
+ <%= component 'seo/schema/property', property: 'funder', value: options.delete(:funder) if options[:funder] %>
40
+ <%= component 'seo/schema/property', property: 'genre', value: options.delete(:genre) if options[:genre] %>
41
+ <%= component 'seo/schema/property', property: 'hasPart', value: options.delete(:has_part) if options[:has_part] %>
42
+ <%= component 'seo/schema/property', property: 'headline', value: options.delete(:headline) if options[:headline] %>
43
+ <%= component 'seo/schema/property', property: 'inLanguage', value: options.delete(:in_language) if options[:in_language] %>
44
+ <%= component 'seo/schema/property', property: 'interactionStatistic', value: options.delete(:interaction_statistic) if options[:interaction_statistic] %>
45
+ <%= component 'seo/schema/property', property: 'interactivityType', value: options.delete(:interactivity_type) if options[:interactivity_type] %>
46
+ <%= component 'seo/schema/property', property: 'isAccessibleForFree', value: options.delete(:is_accessible_for_free) if options[:is_accessible_for_free] %>
47
+ <%= component 'seo/schema/property', property: 'isBasedOn', value: options.delete(:is_based_on) if options[:is_based_on] %>
48
+ <%= component 'seo/schema/property', property: 'isFamilyFriendly', value: options.delete(:is_family_friendly) if options[:is_family_friendly] %>
49
+ <%= component 'seo/schema/property', property: 'isPartOf', value: options.delete(:is_part_of) if options[:is_part_of] %>
50
+ <%= component 'seo/schema/property', property: 'keywords', value: options.delete(:keywords) if options[:keywords] %>
51
+ <%= component 'seo/schema/property', property: 'learningResourceType', value: options.delete(:learning_resource_type) if options[:learning_resource_type] %>
52
+ <%= component 'seo/schema/property', property: 'license', value: options.delete(:license) if options[:license] %>
53
+ <%= component 'seo/schema/property', property: 'locationCreated', value: options.delete(:location_created) if options[:location_created] %>
54
+ <%= component 'seo/schema/property', property: 'mainEntity', value: options.delete(:main_entity) if options[:main_entity] %>
55
+ <%= component 'seo/schema/property', property: 'material', value: options.delete(:material) if options[:material] %>
56
+ <%= component 'seo/schema/property', property: 'mentions', value: options.delete(:mentions) if options[:mentions] %>
57
+ <%= component 'seo/schema/property', property: 'offers', value: options.delete(:offers) if options[:offers] %>
58
+ <%= component 'seo/schema/property', property: 'position', value: options.delete(:position) if options[:position] %>
59
+ <%= component 'seo/schema/property', property: 'producer', value: options.delete(:producer) if options[:producer] %>
60
+ <%= component 'seo/schema/property', property: 'provider', value: options.delete(:provider) if options[:provider] %>
61
+ <%= component 'seo/schema/property', property: 'publication', value: options.delete(:publication) if options[:publication] %>
62
+ <%= component 'seo/schema/property', property: 'publisher', value: options.delete(:publisher) if options[:publisher] %>
63
+ <%= component 'seo/schema/property', property: 'publisherImprint', value: options.delete(:publisher_imprint) if options[:publisher_imprint] %>
64
+ <%= component 'seo/schema/property', property: 'publishingPrinciples', value: options.delete(:publishing_principles) if options[:publishing_principles] %>
65
+ <%= component 'seo/schema/property', property: 'recordedAt', value: options.delete(:recorded_at) if options[:recorded_at] %>
66
+ <%= component 'seo/schema/property', property: 'releasedEvent', value: options.delete(:released_event) if options[:released_event] %>
67
+ <%= component 'seo/schema/property', property: 'review', value: options.delete(:review) if options[:review] %>
68
+ <%= component 'seo/schema/property', property: 'sourceOrganization', value: options.delete(:source_organization) if options[:source_organization] %>
69
+ <%= component 'seo/schema/property', property: 'spacialCoverage', value: options.delete(:spatial_coverage) if options[:spatial_coverage] %>
70
+ <%= component 'seo/schema/property', property: 'sponsor', value: options.delete(:sponsor) if options[:sponsor] %>
71
+ <%= component 'seo/schema/property', property: 'temporalCoverage', value: options.delete(:temporal_coverage) if options[:temporal_coverage] %>
72
+ <%= component 'seo/schema/property', property: 'text', value: options.delete(:text) if options[:text] %>
73
+ <%= component 'seo/schema/property', property: 'thumbnailURL', value: options.delete(:thumbnail_url) if options[:thumbnail_url] %>
74
+ <%= component 'seo/schema/property', property: 'timeRequired', value: options.delete(:timeRequired) if options[:timeRequired] %>
75
+ <%= component 'seo/schema/property', property: 'translationOfWork', value: options.delete(:translation_of_work) if options[:translation_of_work] %>
76
+ <%= component 'seo/schema/property', property: 'translator', value: options.delete(:translator) if options[:translator] %>
77
+ <%= component 'seo/schema/property', property: 'typicalAgeRange', value: options.delete(:typical_age_range) if options[:typical_age_range] %>
78
+ <%= component 'seo/schema/property', property: 'version', value: options.delete(:version) if options[:version] %>
79
+ <%= component 'seo/schema/property', property: 'video', value: options.delete(:video) if options[:video] %>
80
+ <%= component 'seo/schema/property', property: 'workExample', value: options.delete(:work_example) if options[:work_example] %>
81
+ <%= component 'seo/schema/property', property: 'workTranslation', value: options.delete(:work_translation) if options[:work_translation] %>
82
82
 
83
- <%= component 'seo/schema/types/thing', options %>
83
+ <%= component 'seo/schema/types/thing', options if options.length > 0 %>
@@ -1 +1 @@
1
- <%= component 'seo/schema/types/thing', options %>
1
+ <%= component 'seo/schema/types/thing', options if options.length > 0 %>
@@ -1,48 +1,48 @@
1
- <%= component 'seo/schema/property', property: 'actionableFeedbackPolicy', value: options.delete(:actionable_feedback_policy) %>,
2
- <%= component 'seo/schema/property', property: 'address', value: options.delete(:address) %>,
3
- <%= component 'seo/schema/property', property: 'aggregateRating', value: options.delete(:aggregate_rating) %>,
4
- <%= component 'seo/schema/property', property: 'alumni', value: options.delete(:alumni) %>,
5
- <%= component 'seo/schema/property', property: 'areaServed', value: options.delete(:area_served) %>,
6
- <%= component 'seo/schema/property', property: 'award', value: options.delete(:award) %>,
7
- <%= component 'seo/schema/property', property: 'brand', value: options.delete(:brand) %>,
8
- <%= component 'seo/schema/property', property: 'contactPoint', value: options.delete(:contact_point) %>,
9
- <%= component 'seo/schema/property', property: 'correctionsPolicy', value: options.delete(:corrections_policy) %>,
10
- <%= component 'seo/schema/property', property: 'department', value: options.delete(:department) %>,
11
- <%= component 'seo/schema/property', property: 'dissolutionRate', value: options.delete(:dissolution_rate) %>,
12
- <%= component 'seo/schema/property', property: 'diversityPolicy', value: options.delete(:diversity_policy) %>,
13
- <%= component 'seo/schema/property', property: 'duns', value: options.delete(:duns) %>,
14
- <%= component 'seo/schema/property', property: 'email', value: options.delete(:email) %>,
15
- <%= component 'seo/schema/property', property: 'employee', value: options.delete(:employee) %>,
16
- <%= component 'seo/schema/property', property: 'ethicsPolicy', value: options.delete(:ethics_policy) %>,
17
- <%= component 'seo/schema/property', property: 'event', value: options.delete(:event) %>,
18
- <%= component 'seo/schema/property', property: 'faxNumber', value: options.delete(:fax_number) %>,
19
- <%= component 'seo/schema/property', property: 'founder', value: options.delete(:founder) %>,
20
- <%= component 'seo/schema/property', property: 'foundingDate', value: options.delete(:founding_date) %>,
21
- <%= component 'seo/schema/property', property: 'foundingLocation', value: options.delete(:founding_location) %>,
22
- <%= component 'seo/schema/property', property: 'funder', value: options.delete(:funder) %>,
23
- <%= component 'seo/schema/property', property: 'globalLocationNumber', value: options.delete(:global_location_number) %>,
24
- <%= component 'seo/schema/property', property: 'hasOfferCatalog', value: options.delete(:has_offer_catalog) %>,
25
- <%= component 'seo/schema/property', property: 'hasPOS', value: options.delete(:has_pos) %>,
26
- <%= component 'seo/schema/property', property: 'isicV4', value: options.delete(:isic_v4) %>,
27
- <%= component 'seo/schema/property', property: 'legalName', value: options.delete(:legal_name) %>,
28
- <%= component 'seo/schema/property', property: 'leiCode', value: options.delete(:lei_code) %>,
29
- <%= component 'seo/schema/property', property: 'location', value: options.delete(:location) %>,
30
- <%= component 'seo/schema/property', property: 'logo', value: options.delete(:logo) %>,
31
- <%= component 'seo/schema/property', property: 'makesOffer', value: options.delete(:makesOffer) %>,
32
- <%= component 'seo/schema/property', property: 'member', value: options.delete(:member) %>,
33
- <%= component 'seo/schema/property', property: 'memberOf', value: options.delete(:memberOf) %>,
34
- <%= component 'seo/schema/property', property: 'naics', value: options.delete(:naics) %>,
35
- <%= component 'seo/schema/property', property: 'numberOfEmployees', value: options.delete(:number_of_employees) %>,
36
- <%= component 'seo/schema/property', property: 'owns', value: options.delete(:owns) %>,
37
- <%= component 'seo/schema/property', property: 'parentOrganization', value: options.delete(:parent_organization) %>,
38
- <%= component 'seo/schema/property', property: 'publishingPrinciples', value: options.delete(:publishing_principles) %>,
39
- <%= component 'seo/schema/property', property: 'review', value: options.delete(:review) %>,
40
- <%= component 'seo/schema/property', property: 'seeks', value: options.delete(:seeks) %>,
41
- <%= component 'seo/schema/property', property: 'sponsor', value: options.delete(:sponsor) %>,
42
- <%= component 'seo/schema/property', property: 'subOrganization', value: options.delete(:sub_organization) %>,
43
- <%= component 'seo/schema/property', property: 'taxID', value: options.delete(:tax_id) %>,
44
- <%= component 'seo/schema/property', property: 'telephone', value: options.delete(:telephone) %>,
45
- <%= component 'seo/schema/property', property: 'unnamedSourcesPolicy', value: options.delete(:unnamed_sources_policy) %>,
46
- <%= component 'seo/schema/property', property: 'vatID', value: options.delete(:vat_id) %>,
1
+ <%= component 'seo/schema/property', property: 'actionableFeedbackPolicy', value: options.delete(:actionable_feedback_policy) if options[:actionable_feedback_policy] %>
2
+ <%= component 'seo/schema/property', property: 'address', value: options.delete(:address) if options[:address] %>
3
+ <%= component 'seo/schema/property', property: 'aggregateRating', value: options.delete(:aggregate_rating) if options[:aggregate_rating] %>
4
+ <%= component 'seo/schema/property', property: 'alumni', value: options.delete(:alumni) if options[:alumni] %>
5
+ <%= component 'seo/schema/property', property: 'areaServed', value: options.delete(:area_served) if options[:area_served] %>
6
+ <%= component 'seo/schema/property', property: 'award', value: options.delete(:award) if options[:award] %>
7
+ <%= component 'seo/schema/property', property: 'brand', value: options.delete(:brand) if options[:brand] %>
8
+ <%= component 'seo/schema/property', property: 'contactPoint', value: options.delete(:contact_point) if options[:contact_point] %>
9
+ <%= component 'seo/schema/property', property: 'correctionsPolicy', value: options.delete(:corrections_policy) if options[:corrections_policy] %>
10
+ <%= component 'seo/schema/property', property: 'department', value: options.delete(:department) if options[:department] %>
11
+ <%= component 'seo/schema/property', property: 'dissolutionRate', value: options.delete(:dissolution_rate) if options[:dissolution_rate] %>
12
+ <%= component 'seo/schema/property', property: 'diversityPolicy', value: options.delete(:diversity_policy) if options[:diversity_policy] %>
13
+ <%= component 'seo/schema/property', property: 'duns', value: options.delete(:duns) if options[:duns] %>
14
+ <%= component 'seo/schema/property', property: 'email', value: options.delete(:email) if options[:email] %>
15
+ <%= component 'seo/schema/property', property: 'employee', value: options.delete(:employee) if options[:employee] %>
16
+ <%= component 'seo/schema/property', property: 'ethicsPolicy', value: options.delete(:ethics_policy) if options[:ethics_policy] %>
17
+ <%= component 'seo/schema/property', property: 'event', value: options.delete(:event) if options[:event] %>
18
+ <%= component 'seo/schema/property', property: 'faxNumber', value: options.delete(:fax_number) if options[:fax_number] %>
19
+ <%= component 'seo/schema/property', property: 'founder', value: options.delete(:founder) if options[:founder] %>
20
+ <%= component 'seo/schema/property', property: 'foundingDate', value: options.delete(:founding_date) if options[:founding_date] %>
21
+ <%= component 'seo/schema/property', property: 'foundingLocation', value: options.delete(:founding_location) if options[:founding_location] %>
22
+ <%= component 'seo/schema/property', property: 'funder', value: options.delete(:funder) if options[:funder] %>
23
+ <%= component 'seo/schema/property', property: 'globalLocationNumber', value: options.delete(:global_location_number) if options[:global_location_number] %>
24
+ <%= component 'seo/schema/property', property: 'hasOfferCatalog', value: options.delete(:has_offer_catalog) if options[:has_offer_catalog] %>
25
+ <%= component 'seo/schema/property', property: 'hasPOS', value: options.delete(:has_pos) if options[:has_pos] %>
26
+ <%= component 'seo/schema/property', property: 'isicV4', value: options.delete(:isic_v4) if options[:isic_v4] %>
27
+ <%= component 'seo/schema/property', property: 'legalName', value: options.delete(:legal_name) if options[:legal_name] %>
28
+ <%= component 'seo/schema/property', property: 'leiCode', value: options.delete(:lei_code) if options[:lei_code] %>
29
+ <%= component 'seo/schema/property', property: 'location', value: options.delete(:location) if options[:location] %>
30
+ <%= component 'seo/schema/property', property: 'logo', value: options.delete(:logo) if options[:logo] %>
31
+ <%= component 'seo/schema/property', property: 'makesOffer', value: options.delete(:makesOffer) if options[:makesOffer] %>
32
+ <%= component 'seo/schema/property', property: 'member', value: options.delete(:member) if options[:member] %>
33
+ <%= component 'seo/schema/property', property: 'memberOf', value: options.delete(:memberOf) if options[:memberOf] %>
34
+ <%= component 'seo/schema/property', property: 'naics', value: options.delete(:naics) if options[:naics] %>
35
+ <%= component 'seo/schema/property', property: 'numberOfEmployees', value: options.delete(:number_of_employees) if options[:number_of_employees] %>
36
+ <%= component 'seo/schema/property', property: 'owns', value: options.delete(:owns) if options[:owns] %>
37
+ <%= component 'seo/schema/property', property: 'parentOrganization', value: options.delete(:parent_organization) if options[:parent_organization] %>
38
+ <%= component 'seo/schema/property', property: 'publishingPrinciples', value: options.delete(:publishing_principles) if options[:publishing_principles] %>
39
+ <%= component 'seo/schema/property', property: 'review', value: options.delete(:review) if options[:review] %>
40
+ <%= component 'seo/schema/property', property: 'seeks', value: options.delete(:seeks) if options[:seeks] %>
41
+ <%= component 'seo/schema/property', property: 'sponsor', value: options.delete(:sponsor) if options[:sponsor] %>
42
+ <%= component 'seo/schema/property', property: 'subOrganization', value: options.delete(:sub_organization) if options[:sub_organization] %>
43
+ <%= component 'seo/schema/property', property: 'taxID', value: options.delete(:tax_id) if options[:tax_id] %>
44
+ <%= component 'seo/schema/property', property: 'telephone', value: options.delete(:telephone) if options[:telephone] %>
45
+ <%= component 'seo/schema/property', property: 'unnamedSourcesPolicy', value: options.delete(:unnamed_sources_policy) if options[:unnamed_sources_policy] %>
46
+ <%= component 'seo/schema/property', property: 'vatID', value: options.delete(:vat_id) if options[:vat_id] %>
47
47
 
48
- <%= component 'seo/schema/types/thing', options %>
48
+ <%= component 'seo/schema/types/thing', options if options.length > 0 %>
@@ -1,54 +1,54 @@
1
- <%= component 'seo/schema/property', property: 'additionalName', value: options.delete(:additional_name) %>,
2
- <%= component 'seo/schema/property', property: 'address', value: options.delete(:address) %>,
3
- <%= component 'seo/schema/property', property: 'affiliation', value: options.delete(:affiliation) %>,
4
- <%= component 'seo/schema/property', property: 'alumniOf', value: options.delete(:alumni_of) %>,
5
- <%= component 'seo/schema/property', property: 'award', value: options.delete(:award) %>,
6
- <%= component 'seo/schema/property', property: 'birthDate', value: options.delete(:birth_date) %>,
7
- <%= component 'seo/schema/property', property: 'birthPlace', value: options.delete(:birth_place) %>,
8
- <%= component 'seo/schema/property', property: 'brand', value: options.delete(:brand) %>,
9
- <%= component 'seo/schema/property', property: 'children', value: options.delete(:children) %>,
10
- <%= component 'seo/schema/property', property: 'colleague', value: options.delete(:colleague) %>,
11
- <%= component 'seo/schema/property', property: 'contactPoint', value: options.delete(:contact_point) %>,
12
- <%= component 'seo/schema/property', property: 'deathDate', value: options.delete(:death_date) %>,
13
- <%= component 'seo/schema/property', property: 'deathPlace', value: options.delete(:death_place) %>,
14
- <%= component 'seo/schema/property', property: 'duns', value: options.delete(:duns) %>,
15
- <%= component 'seo/schema/property', property: 'email', value: options.delete(:email) %>,
16
- <%= component 'seo/schema/property', property: 'familyName', value: options.delete(:family_name) %>,
17
- <%= component 'seo/schema/property', property: 'faxNumber', value: options.delete(:fax_number) %>,
18
- <%= component 'seo/schema/property', property: 'follows', value: options.delete(:follows) %>,
19
- <%= component 'seo/schema/property', property: 'funder', value: options.delete(:funder) %>,
20
- <%= component 'seo/schema/property', property: 'gender', value: options.delete(:gender) %>,
21
- <%= component 'seo/schema/property', property: 'givenName', value: options.delete(:given_name) %>,
22
- <%= component 'seo/schema/property', property: 'globalLocationNumber', value: options.delete(:global_location_number) %>,
23
- <%= component 'seo/schema/property', property: 'hasOccupation', value: options.delete(:has_occupation) %>,
24
- <%= component 'seo/schema/property', property: 'hasOfferCatalog', value: options.delete(:has_offer_catalog) %>,
25
- <%= component 'seo/schema/property', property: 'hasPOS', value: options.delete(:has_pos) %>,
26
- <%= component 'seo/schema/property', property: 'height', value: options.delete(:height) %>,
27
- <%= component 'seo/schema/property', property: 'homeLocation', value: options.delete(:home_location) %>,
28
- <%= component 'seo/schema/property', property: 'honorificPrefix', value: options.delete(:honorific_prefix) %>,
29
- <%= component 'seo/schema/property', property: 'honorificSuffix', value: options.delete(:honorific_suffix) %>,
30
- <%= component 'seo/schema/property', property: 'isicV4', value: options.delete(:isic_v4) %>,
31
- <%= component 'seo/schema/property', property: 'jobTitle', value: options.delete(:job_title) %>,
32
- <%= component 'seo/schema/property', property: 'knows', value: options.delete(:knows) %>,
33
- <%= component 'seo/schema/property', property: 'makesOffer', value: options.delete(:makes_offer) %>,
34
- <%= component 'seo/schema/property', property: 'memberOf', value: options.delete(:memberOf) %>,
35
- <%= component 'seo/schema/property', property: 'naics', value: options.delete(:naics) %>,
36
- <%= component 'seo/schema/property', property: 'nationality', value: options.delete(:nationality) %>,
37
- <%= component 'seo/schema/property', property: 'netWorth', value: options.delete(:net_worth) %>,
38
- <%= component 'seo/schema/property', property: 'owns', value: options.delete(:owns) %>,
39
- <%= component 'seo/schema/property', property: 'parent', value: options.delete(:parent) %>,
40
- <%= component 'seo/schema/property', property: 'performerIn', value: options.delete(:performer_in) %>,
41
- <%= component 'seo/schema/property', property: 'publishingPrinciples', value: options.delete(:publishing_principles) %>,
42
- <%= component 'seo/schema/property', property: 'relatedTo', value: options.delete(:related_to) %>,
43
- <%= component 'seo/schema/property', property: 'seeks', value: options.delete(:seeks) %>,
44
- <%= component 'seo/schema/property', property: 'sibling', value: options.delete(:sibling) %>,
45
- <%= component 'seo/schema/property', property: 'sponsor', value: options.delete(:sponsor) %>,
46
- <%= component 'seo/schema/property', property: 'spouse', value: options.delete(:spouse) %>,
47
- <%= component 'seo/schema/property', property: 'taxID', value: options.delete(:tax_id) %>,
48
- <%= component 'seo/schema/property', property: 'telephone', value: options.delete(:telephone) %>,
49
- <%= component 'seo/schema/property', property: 'vatID', value: options.delete(:vat_id) %>,
50
- <%= component 'seo/schema/property', property: 'weight', value: options.delete(:weight) %>,
51
- <%= component 'seo/schema/property', property: 'workLocation', value: options.delete(:work_location) %>,
52
- <%= component 'seo/schema/property', property: 'worksFor', value: options.delete(:works_for) %>,
1
+ <%= component 'seo/schema/property', property: 'additionalName', value: options.delete(:additional_name) if options[:additional_name] %>
2
+ <%= component 'seo/schema/property', property: 'address', value: options.delete(:address) if options[:address] %>
3
+ <%= component 'seo/schema/property', property: 'affiliation', value: options.delete(:affiliation) if options[:affiliation] %>
4
+ <%= component 'seo/schema/property', property: 'alumniOf', value: options.delete(:alumni_of) if options[:alumni_of] %>
5
+ <%= component 'seo/schema/property', property: 'award', value: options.delete(:award) if options[:award] %>
6
+ <%= component 'seo/schema/property', property: 'birthDate', value: options.delete(:birth_date) if options[:birth_date] %>
7
+ <%= component 'seo/schema/property', property: 'birthPlace', value: options.delete(:birth_place) if options[:birth_place] %>
8
+ <%= component 'seo/schema/property', property: 'brand', value: options.delete(:brand) if options[:brand] %>
9
+ <%= component 'seo/schema/property', property: 'children', value: options.delete(:children) if options[:children] %>
10
+ <%= component 'seo/schema/property', property: 'colleague', value: options.delete(:colleague) if options[:colleague] %>
11
+ <%= component 'seo/schema/property', property: 'contactPoint', value: options.delete(:contact_point) if options[:contact_point] %>
12
+ <%= component 'seo/schema/property', property: 'deathDate', value: options.delete(:death_date) if options[:death_date] %>
13
+ <%= component 'seo/schema/property', property: 'deathPlace', value: options.delete(:death_place) if options[:death_place] %>
14
+ <%= component 'seo/schema/property', property: 'duns', value: options.delete(:duns) if options[:duns] %>
15
+ <%= component 'seo/schema/property', property: 'email', value: options.delete(:email) if options[:email] %>
16
+ <%= component 'seo/schema/property', property: 'familyName', value: options.delete(:family_name) if options[:family_name] %>
17
+ <%= component 'seo/schema/property', property: 'faxNumber', value: options.delete(:fax_number) if options[:fax_number] %>
18
+ <%= component 'seo/schema/property', property: 'follows', value: options.delete(:follows) if options[:follows] %>
19
+ <%= component 'seo/schema/property', property: 'funder', value: options.delete(:funder) if options[:funder] %>
20
+ <%= component 'seo/schema/property', property: 'gender', value: options.delete(:gender) if options[:gender] %>
21
+ <%= component 'seo/schema/property', property: 'givenName', value: options.delete(:given_name) if options[:given_name] %>
22
+ <%= component 'seo/schema/property', property: 'globalLocationNumber', value: options.delete(:global_location_number) if options[:global_location_number] %>
23
+ <%= component 'seo/schema/property', property: 'hasOccupation', value: options.delete(:has_occupation) if options[:has_occupation] %>
24
+ <%= component 'seo/schema/property', property: 'hasOfferCatalog', value: options.delete(:has_offer_catalog) if options[:has_offer_catalog] %>
25
+ <%= component 'seo/schema/property', property: 'hasPOS', value: options.delete(:has_pos) if options[:has_pos] %>
26
+ <%= component 'seo/schema/property', property: 'height', value: options.delete(:height) if options[:height] %>
27
+ <%= component 'seo/schema/property', property: 'homeLocation', value: options.delete(:home_location) if options[:home_location] %>
28
+ <%= component 'seo/schema/property', property: 'honorificPrefix', value: options.delete(:honorific_prefix) if options[:honorific_prefix] %>
29
+ <%= component 'seo/schema/property', property: 'honorificSuffix', value: options.delete(:honorific_suffix) if options[:honorific_suffix] %>
30
+ <%= component 'seo/schema/property', property: 'isicV4', value: options.delete(:isic_v4) if options[:isic_v4] %>
31
+ <%= component 'seo/schema/property', property: 'jobTitle', value: options.delete(:job_title) if options[:job_title] %>
32
+ <%= component 'seo/schema/property', property: 'knows', value: options.delete(:knows) if options[:knows] %>
33
+ <%= component 'seo/schema/property', property: 'makesOffer', value: options.delete(:makes_offer) if options[:makes_offer] %>
34
+ <%= component 'seo/schema/property', property: 'memberOf', value: options.delete(:memberOf) if options[:memberOf] %>
35
+ <%= component 'seo/schema/property', property: 'naics', value: options.delete(:naics) if options[:naics] %>
36
+ <%= component 'seo/schema/property', property: 'nationality', value: options.delete(:nationality) if options[:nationality] %>
37
+ <%= component 'seo/schema/property', property: 'netWorth', value: options.delete(:net_worth) if options[:net_worth] %>
38
+ <%= component 'seo/schema/property', property: 'owns', value: options.delete(:owns) if options[:owns] %>
39
+ <%= component 'seo/schema/property', property: 'parent', value: options.delete(:parent) if options[:parent] %>
40
+ <%= component 'seo/schema/property', property: 'performerIn', value: options.delete(:performer_in) if options[:performer_in] %>
41
+ <%= component 'seo/schema/property', property: 'publishingPrinciples', value: options.delete(:publishing_principles) if options[:publishing_principles] %>
42
+ <%= component 'seo/schema/property', property: 'relatedTo', value: options.delete(:related_to) if options[:related_to] %>
43
+ <%= component 'seo/schema/property', property: 'seeks', value: options.delete(:seeks) if options[:seeks] %>
44
+ <%= component 'seo/schema/property', property: 'sibling', value: options.delete(:sibling) if options[:sibling] %>
45
+ <%= component 'seo/schema/property', property: 'sponsor', value: options.delete(:sponsor) if options[:sponsor] %>
46
+ <%= component 'seo/schema/property', property: 'spouse', value: options.delete(:spouse) if options[:spouse] %>
47
+ <%= component 'seo/schema/property', property: 'taxID', value: options.delete(:tax_id) if options[:tax_id] %>
48
+ <%= component 'seo/schema/property', property: 'telephone', value: options.delete(:telephone) if options[:telephone] %>
49
+ <%= component 'seo/schema/property', property: 'vatID', value: options.delete(:vat_id) if options[:vat_id] %>
50
+ <%= component 'seo/schema/property', property: 'weight', value: options.delete(:weight) if options[:weight] %>
51
+ <%= component 'seo/schema/property', property: 'workLocation', value: options.delete(:work_location) if options[:work_location] %>
52
+ <%= component 'seo/schema/property', property: 'worksFor', value: options.delete(:works_for) if options[:works_for] %>
53
53
 
54
- <%= component 'seo/schema/types/thing', options %>
54
+ <%= component 'seo/schema/types/thing', options if options.length > 0 %>
@@ -1,7 +1,7 @@
1
- <%= component 'seo/schema/property', property: 'author', value: options.delete(:author) %>,
2
- <%= component 'seo/schema/property', property: 'bestRating', value: options.delete(:best_rating) %>,
3
- <%= component 'seo/schema/property', property: 'ratingValue', value: options.delete(:rating_value) %>,
4
- <%= component 'seo/schema/property', property: 'reviewAspect', value: options.delete(:review_aspect) %>,
5
- <%= component 'seo/schema/property', property: 'worstRating', value: options.delete(:worst_rating) %>,
1
+ <%= component 'seo/schema/property', property: 'author', value: options.delete(:author) if options[:author] %>
2
+ <%= component 'seo/schema/property', property: 'bestRating', value: options.delete(:best_rating) if options[:best_rating] %>
3
+ <%= component 'seo/schema/property', property: 'ratingValue', value: options.delete(:rating_value) if options[:rating_value] %>
4
+ <%= component 'seo/schema/property', property: 'reviewAspect', value: options.delete(:review_aspect) if options[:review_aspect] %>
5
+ <%= component 'seo/schema/property', property: 'worstRating', value: options.delete(:worst_rating) if options[:worst_rating] %>
6
6
 
7
- <%= component 'seo/schema/types/intangible', options %>
7
+ <%= component 'seo/schema/types/intangible', options if options.length > 0 %>
@@ -1,12 +1,12 @@
1
- <%= component 'seo/schema/property', property: 'additionalType', value: options.delete(:additional_type) %>,
2
- <%= component 'seo/schema/property', property: 'additionalName', value: options.delete(:additional_name) %>,
3
- <%= component 'seo/schema/property', property: 'description', value: options.delete(:description) %>,
4
- <%= component 'seo/schema/property', property: 'disambiguatingDescription', value: options.delete(:disambiguating_description) %>,
5
- <%= component 'seo/schema/property', property: 'identifier', value: options.delete(:identifier) %>,
6
- <%= component 'seo/schema/property', property: 'image', value: options.delete(:image) %>,
7
- <%= component 'seo/schema/property', property: 'mainEntityOfPage', value: options.delete(:main_entity_of_page) %>,
8
- <%= component 'seo/schema/property', property: 'name', value: options.delete(:name) %>,
9
- <%= component 'seo/schema/property', property: 'potentialAction', value: options.delete(:potential_action) %>,
10
- <%= component 'seo/schema/property', property: 'sameAs', value: options.delete(:same_as) %>,
11
- <%= component 'seo/schema/property', property: 'subjectOf', value: options.delete(:subject_of) %>,
12
- <%= component 'seo/schema/property', property: 'url', value: options.delete(:url) %>
1
+ <%= component 'seo/schema/property', property: 'additionalType', value: options.delete(:additional_type) if options[:additional_type] %>
2
+ <%= component 'seo/schema/property', property: 'additionalName', value: options.delete(:additional_name) if options[:additional_name] %>
3
+ <%= component 'seo/schema/property', property: 'description', value: options.delete(:description) if options[:description] %>
4
+ <%= component 'seo/schema/property', property: 'disambiguatingDescription', value: options.delete(:disambiguating_description) if options[:disambiguating_description] %>
5
+ <%= component 'seo/schema/property', property: 'identifier', value: options.delete(:identifier) if options[:identifier] %>
6
+ <%= component 'seo/schema/property', property: 'image', value: options.delete(:image) if options[:image] %>
7
+ <%= component 'seo/schema/property', property: 'mainEntityOfPage', value: options.delete(:main_entity_of_page) if options[:main_entity_of_page] %>
8
+ <%= component 'seo/schema/property', property: 'name', value: options.delete(:name) if options[:name] %>
9
+ <%= component 'seo/schema/property', property: 'potentialAction', value: options.delete(:potential_action) if options[:potential_action] %>
10
+ <%= component 'seo/schema/property', property: 'sameAs', value: options.delete(:same_as) if options[:same_as] %>
11
+ <%= component 'seo/schema/property', property: 'subjectOf', value: options.delete(:subject_of) if options[:subject_of] %>
12
+ <%= component 'seo/schema/property', property: 'url', value: options.delete(:url) if options[:url] %>
@@ -1,5 +1,5 @@
1
1
  module SearchEngineOptimization
2
2
 
3
- VERSION = '1.1.0'
3
+ VERSION = '1.1.1'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: search-engine-optimization
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Hübotter