crowdblog 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
data/.rbenv-version ADDED
@@ -0,0 +1 @@
1
+ 1.9.3-p194
data/Gemfile.lock CHANGED
@@ -9,7 +9,7 @@ GIT
9
9
  PATH
10
10
  remote: .
11
11
  specs:
12
- crowdblog (0.0.13)
12
+ crowdblog (0.0.14)
13
13
  backbone-rails
14
14
  carrierwave
15
15
  devise
@@ -21,7 +21,7 @@ $ ->
21
21
  edit_post_view = new PostsApp.EditPostView({model: post})
22
22
  $('#posts').html(edit_post_view.render().el)
23
23
  $('#uploader').uploadify
24
- 'uploader' : '/uploadify.swf'
24
+ 'uploader' : '/assets/uploadify.swf'
25
25
  'cancelImg' : '/assets/cancel.png'
26
26
  'auto' : true
27
27
  'script' : '/admin/posts/' + post.id + '/assets'
@@ -40,7 +40,8 @@ module Crowdblog
40
40
  # CLASS METHODS
41
41
  class << self
42
42
  def all_posts_json
43
- order_by_publish_date.to_json only: [:id, :title, :state, :published_at],
43
+ includes(:author).
44
+ order_by_publish_date.to_json only: [:id, :title, :state, :published_at],
44
45
  methods: [:author_email, :published?]
45
46
  end
46
47
 
@@ -1,3 +1,3 @@
1
1
  module Crowdblog
2
- VERSION = '0.0.13'
2
+ VERSION = '0.0.14'
3
3
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crowdblog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2012-04-19 00:00:00.000000000 Z
16
+ date: 2012-05-03 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: rails
@@ -427,6 +427,7 @@ extensions: []
427
427
  extra_rdoc_files: []
428
428
  files:
429
429
  - .gitignore
430
+ - .rbenv-version
430
431
  - .rspec
431
432
  - .rvmrc
432
433
  - .simplecov
@@ -542,6 +543,7 @@ files:
542
543
  - vendor/assets/javascripts/jquery.uploadify.js
543
544
  - vendor/assets/javascripts/markdown.js
544
545
  - vendor/assets/javascripts/swfobject.js
546
+ - vendor/assets/swf/uploadify.swf
545
547
  homepage: http://github.com/crowdint/crowdblog
546
548
  licenses: []
547
549
  post_install_message:
@@ -557,7 +559,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
557
559
  version: '0'
558
560
  segments:
559
561
  - 0
560
- hash: 1205236112165757920
562
+ hash: 2966274262529964148
561
563
  required_rubygems_version: !ruby/object:Gem::Requirement
562
564
  none: false
563
565
  requirements:
@@ -566,10 +568,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
566
568
  version: '0'
567
569
  segments:
568
570
  - 0
569
- hash: 1205236112165757920
571
+ hash: 2966274262529964148
570
572
  requirements: []
571
573
  rubyforge_project:
572
- rubygems_version: 1.8.21
574
+ rubygems_version: 1.8.23
573
575
  signing_key:
574
576
  specification_version: 3
575
577
  summary: CrowdBlog base functionality and backend