refinerycms-products 1.0.3 → 1.0.4

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.
Files changed (2) hide show
  1. data/db/seeds/categories.rb +12 -12
  2. metadata +2 -2
@@ -7,15 +7,15 @@ if defined?(User)
7
7
  end
8
8
  end
9
9
 
10
- if defined?(Page)
11
- page = Page.create(
12
- :title => 'Categories',
13
- :link_url => '/categories',
14
- :deletable => false,
15
- :position => ((Page.maximum(:position, :conditions => {:parent_id => nil}) || -1)+1),
16
- :menu_match => '^/categories(\/|\/.+?|)$'
17
- )
18
- Page.default_parts.each do |default_page_part|
19
- page.parts.create(:title => default_page_part, :body => nil)
20
- end
21
- end
10
+ #if defined?(Page)
11
+ # page = Page.create(
12
+ # :title => 'Categories',
13
+ # :link_url => '/categories',
14
+ # :deletable => false,
15
+ # :position => ((Page.maximum(:position, :conditions => {:parent_id => nil}) || -1)+1),
16
+ # :menu_match => '^/categories(\/|\/.+?|)$'
17
+ # )
18
+ # Page.default_parts.each do |default_page_part|
19
+ # page.parts.create(:title => default_page_part, :body => nil)
20
+ # end
21
+ #end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-products
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-03-23 00:00:00.000000000Z
13
+ date: 2012-03-26 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: acts-as-taggable-on