spree_grid_feed 1.1.5 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ xml.rss(:version=>"2.0", "xmlns:g" => "http://base.google.com/ns/1.0") do
10
10
  xml.title(product.name)
11
11
  xml.description(product.description)
12
12
  xml.author('webmaster@alarmgrid.com (AlarmGrid.com)')
13
- xml.pubDate(product.created_at)
13
+ xml.pubDate(product.created_at.to_s(:rfc822))
14
14
  xml.link(product_url(product))
15
15
  xml.guid(product_url(product))
16
16
 
@@ -23,7 +23,7 @@ xml.rss(:version=>"2.0", "xmlns:g" => "http://base.google.com/ns/1.0") do
23
23
  xml.tag!('g:id', product.id)
24
24
  xml.tag!('g:brand', 'Honeywell') # Hard code for now... add in manufacturer
25
25
  # xml.tag!('g:availability', product.count_on_hand > 0 ? 'in stock' : 'out of stock')
26
- xml.tag!('g:availability', 'in stock')
26
+ # xml.tag!('g:availability', 'in stock')
27
27
  end
28
28
  end
29
29
  end
@@ -9,8 +9,8 @@ xml.rss(:version=>"2.0", "xmlns:g" => "http://base.google.com/ns/1.0") do
9
9
  xml.item do
10
10
  xml.title(product.name)
11
11
  xml.description(product.description)
12
- xml.author('webmaster@alarmgrid.com')
13
- xml.pubDate(product.created_at)
12
+ xml.author('webmaster@alarmgrid.com (AlarmGrid.com)')
13
+ xml.pubDate(product.created_at.to_s(:rfc822))
14
14
  xml.link(product_url(product))
15
15
  xml.guid(product_url(product))
16
16
 
@@ -23,7 +23,7 @@ xml.rss(:version=>"2.0", "xmlns:g" => "http://base.google.com/ns/1.0") do
23
23
  xml.tag!('g:id', product.id)
24
24
  xml.tag!('g:brand', 'Honeywell') # Hard code for now... add in manufacturer
25
25
  # xml.tag!('g:availability', product.count_on_hand > 0 ? 'in stock' : 'out of stock')
26
- xml.tag!('g:availability', 'in stock')
26
+ # xml.tag!('g:availability', 'in stock')
27
27
  end
28
28
  end
29
29
  end
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |s|
3
3
  s.platform = Gem::Platform::RUBY
4
4
  s.name = 'spree_grid_feed'
5
- s.version = '1.1.5'
5
+ s.version = '1.1.6'
6
6
  s.summary = 'Add a Google Base-optimized product rss to a spree store'
7
7
  s.description = 'Adds both /products.xml and /t/taxon.xml product feeds'
8
8
  s.required_ruby_version = '>= 1.8.7'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_grid_feed
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-06-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: spree_core
16
- requirement: &70240071660700 !ruby/object:Gem::Requirement
16
+ requirement: &70229929833660 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.1.1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70240071660700
24
+ version_requirements: *70229929833660
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: capybara
27
- requirement: &70240071660140 !ruby/object:Gem::Requirement
27
+ requirement: &70229929833080 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - =
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.0.1
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70240071660140
35
+ version_requirements: *70229929833080
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: factory_girl
38
- requirement: &70240071659600 !ruby/object:Gem::Requirement
38
+ requirement: &70229929832500 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 2.6.4
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70240071659600
46
+ version_requirements: *70229929832500
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: ffaker
49
- requirement: &70240071659040 !ruby/object:Gem::Requirement
49
+ requirement: &70229929831960 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70240071659040
57
+ version_requirements: *70229929831960
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: rspec-rails
60
- requirement: &70240071658060 !ruby/object:Gem::Requirement
60
+ requirement: &70229929831040 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '2.9'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70240071658060
68
+ version_requirements: *70229929831040
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: sqlite3
71
- requirement: &70240071673460 !ruby/object:Gem::Requirement
71
+ requirement: &70229929846440 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,7 +76,7 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *70240071673460
79
+ version_requirements: *70229929846440
80
80
  description: Adds both /products.xml and /t/taxon.xml product feeds
81
81
  email: eric@alarmgrid.com
82
82
  executables: []