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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4c918cbeabec2b198218e84ff4258fba02a2637c
|
|
4
|
+
data.tar.gz: 71a3d24dca559b54065e57c12e4716461c294226
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a9ce296005aa90778c2f7779e11e772619e144bd15604be9aa1e18496a278f25ab8a7847c73268e567fc69d0746a3d41d7a4899b7c50c07b5fcc166d132c9110
|
|
7
|
+
data.tar.gz: a1c13e1d649d0f13e6b9696b2b20c46e2ed9b157319672d61df64ac8715c1d3d25b4bcc9b2512e173c3f14409956e54f617ea2a6160db557803c591425391c7e
|
data/README.markdown
CHANGED
|
@@ -3,11 +3,14 @@
|
|
|
3
3
|
Mountable blog engine for Ruby on Rails 4.
|
|
4
4
|
|
|
5
5
|
[](https://travis-ci.org/greyblake/blogo)
|
|
6
|
+
[](https://codeclimate.com/github/greyblake/blogo)
|
|
7
|
+
[](https://coveralls.io/r/greyblake/blogo)
|
|
6
8
|
[](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.
|
|
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')
|
data/lib/blogo/version.rb
CHANGED
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
|
|
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:
|
|
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
|
|
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
|
|
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.
|
|
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
|