solidus_seo 1.0.1 → 1.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3d28b45731cba66bf2b612fd87528d7cf81d67f2
4
- data.tar.gz: c8343156d2597a4382c0649f58ee22ff496ceb53
3
+ metadata.gz: f2ed047bb60c0ad1b64c7c1823ca96cd485f88a5
4
+ data.tar.gz: a0a767ea9d5072c2d469a5ac20bf914f2b6acbf0
5
5
  SHA512:
6
- metadata.gz: c9da37cf8b2cb44cb56bab16543605c72f7c7f2d4ae7a4d7f1e0ed069afc30e7c31a87c5d3ee017fc5ba32b41da7df73b17f8b465a936e40232b45aced4f204a
7
- data.tar.gz: 77ae69ff0e9b97c6ebe819b2cd4bbe4b97855c5f2e2812f65d90b46227ec11993c181f6cb3aa40fdc4a4be130bd40a0385878275b5185adaff0d3a005e665026
6
+ metadata.gz: 389195c4f82a45f69297f370c9578e741be82c61b00f9de0d2e22a1185260bfa4355574c270cf48788d474b162b358d5074a6b9a728cd13f5f5628a70682409f
7
+ data.tar.gz: 8d5a5af86124d941881747451af2453a30635951f697479a96090ec687cd1496b27c76785ed1ab7d567adbae1acb9d308289d905fcac01f452d3ff100b69c8b3
data/README.md CHANGED
@@ -73,7 +73,7 @@ Practically speaking, what this means is that simply by setting your store's met
73
73
  ```json
74
74
  {
75
75
  "@context": "http://schema.org",
76
- "@type": "Organization",
76
+ "@type": "Store",
77
77
  "name": "Your Store Name",
78
78
  "logo": "https://yourstore.com/store_logo.jpg",
79
79
  "image": "https://yourstore.com/store_logo.jpg",
@@ -167,7 +167,7 @@ Again, even without any additional work beyond the initial installation, you get
167
167
  ```json
168
168
  {
169
169
  "@context": "http://schema.org",
170
- "@type": "Organization",
170
+ "@type": "Store",
171
171
  "name": "Your Store Name",
172
172
  "logo": "https://yourstore.com/store_logo.jpg",
173
173
  "image": "https://yourstore.com/store_logo.jpg",
@@ -275,7 +275,7 @@ Using the sample data above, the final output would look like this :
275
275
  ```json
276
276
  {
277
277
  "@context": "http://schema.org",
278
- "@type": "Organization",
278
+ "@type": "Store",
279
279
  "name": "Your Store Name",
280
280
  "logo": "https://yourstore.com/store_logo.jpg",
281
281
  "image": "https://yourstore.com/store_logo.jpg",
@@ -42,7 +42,7 @@ Spree::Store.class_eval do
42
42
  def jsonld_data
43
43
  base = {
44
44
  "@context": "http://schema.org",
45
- "@type": "Organization",
45
+ "@type": "Store",
46
46
  "name": name,
47
47
  "logo": seo_image,
48
48
  "image": seo_image,
@@ -59,7 +59,7 @@ module SolidusSeo
59
59
  end
60
60
 
61
61
  def same_as_prop
62
- # See https://schema.org/SameAs for details and examples
62
+ # See https://schema.org/sameAs for details and examples
63
63
  # [
64
64
  # 'https://facebook.com/mystore',
65
65
  # 'https://twitter.com/mystore',
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusSeo
4
- VERSION = '1.0.1'
4
+ VERSION = '1.0.2'
5
5
  end
@@ -18,9 +18,9 @@ describe "Homepage", type: :feature do
18
18
 
19
19
 
20
20
  context 'jsonld markup output' do
21
- it "contains organization" do
21
+ it "contains 'Store' entity type" do
22
22
  subject
23
- expect(page).to have_text :all, %{"@type": "Organization"}
23
+ expect(page).to have_text :all, %{"@type": "Store"}
24
24
  end
25
25
 
26
26
  it "contains store name" do
@@ -27,9 +27,9 @@ describe "Product page", type: :feature do
27
27
 
28
28
 
29
29
  context 'jsonld markup output' do
30
- it "contains organization" do
30
+ it "contains 'Store' entity type" do
31
31
  subject
32
- expect(page).to have_text :all, %{"@type": "Organization"}
32
+ expect(page).to have_text :all, %{"@type": "Store"}
33
33
  end
34
34
 
35
35
  it "contains product" do
@@ -22,9 +22,9 @@ describe "Taxon page", type: :feature do
22
22
 
23
23
 
24
24
  context 'jsonld markup output' do
25
- it "contains organization" do
25
+ it "contains 'Store' entity type" do
26
26
  subject
27
- expect(page).to have_text :all, %{"@type": "Organization"}
27
+ expect(page).to have_text :all, %{"@type": "Store"}
28
28
  end
29
29
 
30
30
  it "contains breadcrumb list" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_seo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karma Creative
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-09 00:00:00.000000000 Z
11
+ date: 2018-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_core