blogo 0.0.10 → 0.1.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bae3c50cc1f794a7fa8ca499c20b7aaa72978ae9
4
- data.tar.gz: fa99d51038c77515076dcd660c8ba77e9b132cf3
3
+ metadata.gz: 4c918cbeabec2b198218e84ff4258fba02a2637c
4
+ data.tar.gz: 71a3d24dca559b54065e57c12e4716461c294226
5
5
  SHA512:
6
- metadata.gz: 790f179eedbc869a429d816e044734d32bf49ce2156052bda9885b05647a82f6ebebc088dd1d346f65ff9fd280482fd349866dddab5bcc3df04db458a8e3f80f
7
- data.tar.gz: bffc48e54f3410466117b5a7525f4646fdfacfdfa05a245502ce5bf0a3543b402bd143eaca54a16f0c477288e4789f3e064caffe0bc9d72747c37830009d1e7b
6
+ metadata.gz: a9ce296005aa90778c2f7779e11e772619e144bd15604be9aa1e18496a278f25ab8a7847c73268e567fc69d0746a3d41d7a4899b7c50c07b5fcc166d132c9110
7
+ data.tar.gz: a1c13e1d649d0f13e6b9696b2b20c46e2ed9b157319672d61df64ac8715c1d3d25b4bcc9b2512e173c3f14409956e54f617ea2a6160db557803c591425391c7e
@@ -3,11 +3,14 @@
3
3
  Mountable blog engine for Ruby on Rails 4.
4
4
 
5
5
  [![Build Status](https://travis-ci.org/greyblake/blogo.png?branch=master)](https://travis-ci.org/greyblake/blogo)
6
+ [![Code Climate](https://codeclimate.com/github/greyblake/blogo/badges/gpa.svg)](https://codeclimate.com/github/greyblake/blogo)
7
+ [![Coverage Status](https://coveralls.io/repos/greyblake/blogo/badge.png)](https://coveralls.io/r/greyblake/blogo)
6
8
  [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/greyblake/blogo/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
7
9
 
8
10
  ## Who uses Blogo?
9
11
 
10
12
  * [Brainv2 - online brain tranings](http://brainv2.com/blog)
13
+ * [Travel or die](http://travel-or-die.com/blog)
11
14
 
12
15
  ## Quick start
13
16
 
@@ -56,6 +59,10 @@ Run the rails application and go to `http://localhost:3000/blog/admin` to create
56
59
 
57
60
  Go to `http://localhost::3000/blog` to take a look at your posts.
58
61
 
62
+ ## More information?
63
+
64
+ Please see [wiki](https://github.com/greyblake/blogo/wiki).
65
+
59
66
  ## Features
60
67
 
61
68
  * Mountable rails engine
@@ -52,7 +52,7 @@ module Blogo::Admin
52
52
  # DELETE /admin/posts/:id
53
53
  #
54
54
  def destroy
55
- post = Blogo::Post.find(params[:id])
55
+ post = Blogo::Post.where(permalink: params[:id]).first!
56
56
  Blogo::DestroyPostService.new(post).destroy!
57
57
 
58
58
  flash[:notice] = I18n.translate('blogo.admin.post_removed')
@@ -1,5 +1,5 @@
1
1
  module Blogo
2
- # Creates new model of posts applying post params on it so ti can be previewed.
2
+ # Creates new model of posts applying post params on it so it can be previewed.
3
3
  class PreviewPostService < BasePostService
4
4
 
5
5
  # @param user [Blogo::User]
@@ -1,3 +1,3 @@
1
1
  module Blogo
2
- VERSION = "0.0.10"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blogo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Potapov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-27 00:00:00.000000000 Z
11
+ date: 2015-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -70,16 +70,16 @@ dependencies:
70
70
  name: sass-rails
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '4.0'
75
+ version: '4'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: '4.0'
82
+ version: '4'
83
83
  description: Mountable blog engine for Ruby on Rails. It allows you to quickly add
84
84
  a featured blog to an existing rails application.
85
85
  email:
@@ -447,7 +447,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
447
447
  version: '0'
448
448
  requirements: []
449
449
  rubyforge_project:
450
- rubygems_version: 2.2.0
450
+ rubygems_version: 2.4.5
451
451
  signing_key:
452
452
  specification_version: 4
453
453
  summary: Mountable blog engine for Ruby on Rails