cartoonist-blog 0.0.18 → 0.0.19

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
  SHA1:
3
- metadata.gz: 66c2a71d7a7c416025ad7f3a40dda5a9daf5bbe6
4
- data.tar.gz: 38404422fa18ac9435357d8345b4a1f75bd0d82e
3
+ metadata.gz: 79cc411e1894306b5cc921c1199a8938782259b9
4
+ data.tar.gz: 976d67900a0e1dcb9d2f3d4939209776ed519c77
5
5
  SHA512:
6
- metadata.gz: 82230abb0eb9fe33a8f072599de242a1622975f635740a90cecab5102a4dbb07bbdd823e6d067bc1dbdc55813ac5f2b77ea04a0afd0bebe77cef2191d2c82200
7
- data.tar.gz: 2fa4a00b37beae6c32a43dfdd685b7d7081ab8fb10ce03a69dc02623ade2983fcd613e6691ecff44b15e58688f45209772678af53f243cfb6796170fdf245e11
6
+ metadata.gz: e124b46685537340f1c2df34fa3090ff73d5c97615f337321621316484ab6a947ba0538af3e4e61e39c5ea696b1244ae9770958b1d841cda04a2fad0b01fe9f1
7
+ data.tar.gz: 63516d4ce17c8421c298216b2b2427bc24bf8dae65209977fe3920e6fdae527ee17f73c7a4f379f3b2663a101b25e1c7a803d1c58a3f7e663308ff574162935a
@@ -9,7 +9,6 @@ class BlogPost < ActiveRecord::Base
9
9
  entity_edit_url &:edit_url
10
10
  entity_description &:title
11
11
  attr_accessor :for_preview
12
- attr_accessible :title, :url_title, :author, :posted_at, :content, :locked
13
12
 
14
13
  def to_backup_entries
15
14
  post = Backup::Entry.new id, url_title, "markdown", content
@@ -189,7 +188,7 @@ class BlogPost < ActiveRecord::Base
189
188
  def archives(preview = false)
190
189
  context = BlogPost
191
190
  context = posted unless preview
192
- context.reverse_chronological.select([:url_title, :title, :posted_at]).all
191
+ context.reverse_chronological.select([:url_title, :title, :posted_at]).to_a
193
192
  end
194
193
 
195
194
  def feed
@@ -197,7 +196,7 @@ class BlogPost < ActiveRecord::Base
197
196
  end
198
197
 
199
198
  def sitemap
200
- posted.reverse_chronological.all
199
+ posted.reverse_chronological.to_a
201
200
  end
202
201
  end
203
202
  end
@@ -2,7 +2,7 @@ module CartoonistBlog
2
2
  class Version
3
3
  class << self
4
4
  def to_s
5
- "0.0.18"
5
+ "0.0.19"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cartoonist-blog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Virata-Stone
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-03 00:00:00.000000000 Z
11
+ date: 2013-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jquery-rails
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.0.18
47
+ version: 0.0.19
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.0.18
54
+ version: 0.0.19
55
55
  description: This core plugin for Cartoonist adds a simple blog.
56
56
  email: reasonnumber@gmail.com
57
57
  executables: []