Skip to content

Commit

Permalink
Add sample data for Tags and Taggings and remove Comments sample data
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay Mendoza committed Jan 19, 2010
1 parent dc74036 commit 3552dda
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 62 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.rdoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
0.2.0 (Jan 19, 2009)
0.2.1 (Jan 19, 2009)
* Add sample data for Tags and Taggings. Remove sample data for Comments.

* Rake tasks: update to work with edge Spree. fix outdated extension name.


0.2.0 (Jan 19, 2009)
* BACKWARDS INCOMPATIBLE: Update compatibility with Spree 0.9.99 by moving admin_tabs to hook

* Rewrite news archive widget - see issue #1
Expand All @@ -15,4 +20,4 @@

0.1.0 (Jan 18, 2009)

* initial release
* Initial release
2 changes: 1 addition & 1 deletion blogging_spree_extension.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# require_dependency 'application'

class BloggingSpreeExtension < Spree::Extension
version "0.2.0"
version "0.2.1"
description "BloggingSpree: A Spree blogging solution"
url "git://github.com/jaymendoza/spree-blogging-spree.git"

Expand Down
27 changes: 10 additions & 17 deletions db/sample/blog_entries.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
blog_1:
author: bill
---
blog_entry_001:
title: a first blog entry
body: some short text
blog_2:
author: joe
body: some text
permalink: a-first-blog-entry
blog_entry_002:
title: a second blog entry
body: some long text with code *RUB-00001* as sku
blog_3:
author: bill
body: some text
permalink: a-second-blog-entry
blog_entry_003:
title: a third blog entry
body: some long text with code *RUB-00001* as sku
blog_4:
author: joe
title: a fourth blog entry with a longer title
body: several references to *RUB-00001* and to *APC-00001* and to *ROR-00006* and why not to *ROR-00009*
blog_5:
author: joe
title: a fifth blog entry
body: several references to *RUB-00001* and to *APC-00001* and to *ROR-00006* and why not to *ROR-00009*
body: some text
permalink: a-third-blog-entry
42 changes: 0 additions & 42 deletions db/sample/comments.yml

This file was deleted.

30 changes: 30 additions & 0 deletions db/sample/taggings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
tagging_001:
tag: tag_001
taggable_type: BlogEntry
taggable: blog_entry_001

tagging_002:
tag: tag_001
taggable_type: BlogEntry
taggable: blog_entry_002

tagging_003:
tag: tag_002
taggable_type: BlogEntry
taggable: blog_entry_002

tagging_004:
tag: tag_001
taggable_type: BlogEntry
taggable: blog_entry_003

tagging_005:
tag: tag_002
taggable_type: BlogEntry
taggable: blog_entry_003

tagging_006:
tag: tag_003
taggable_type: BlogEntry
taggable: blog_entry_003
10 changes: 10 additions & 0 deletions db/sample/tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
tag_001:
name: foo
kind: tag
tag_002:
name: bar
kind: tag
tag_003:
name: baz
kind: tag

0 comments on commit 3552dda

Please sign in to comment.