ksk 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +15 -3
- data/VERSION +1 -1
- data/app/views/bhf/form/column/{_crop_thumbs.html.haml → _crop_thumbs.haml} +0 -0
- data/app/views/bhf/form/column/{_select_file_assets.html.haml → _select_file_assets.haml} +0 -0
- data/app/views/bhf/form/has_many/{_assets.html.haml → _assets.haml} +0 -0
- data/app/views/bhf/form/has_many/{_upload.html.haml → _upload.haml} +0 -0
- data/app/views/bhf/form/has_one/{_asset.html.haml → _asset.haml} +0 -0
- data/app/views/bhf/platform/{_navi.html.haml → _navigation_tree.haml} +0 -0
- data/config/bhf/ksk.yml +55 -0
- data/ksk.gemspec +10 -9
- data/lib/ksk.rb +2 -1
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4280e250943c172e3184080c915dc46e6ad5aa5
|
4
|
+
data.tar.gz: 8659f490105dec1cc16d4709942e6b29b850d158
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb794423710a63ebfbc62192e8f91890634abebb84392e00daba98ef8fa7991a9387a7d14eb1669331e4018c6c1766f94a819d7425e9212b3a73ccff4225be99
|
7
|
+
data.tar.gz: 4939e39ee0fe7335ea6681431a722652034d09f8eb9d9cffa050efddc725188e0df90ddd4f787c54677acef633fbaaa5d5aef0273f69415c224a6cbb155df5b5
|
data/README.md
CHANGED
@@ -1,6 +1,15 @@
|
|
1
1
|
# ksk
|
2
2
|
|
3
|
-
|
3
|
+
Blog/Website management plugin for [bhf](http://antpaw.github.io/bhf/).
|
4
|
+
|
5
|
+
|
6
|
+
## Usage
|
7
|
+
|
8
|
+
* The abstract [settings `.yml`](https://github.com/antpaw/ksk/tree/master/config/bhf/ksk.yml)
|
9
|
+
([learn how to use it in your own settings `.yml`](x))
|
10
|
+
* Include this [concerns](https://github.com/antpaw/ksk/tree/master/app/models/concerns/ksk) to your models.
|
11
|
+
* Use this [partials](https://github.com/antpaw/ksk/tree/master/app/views/bhf), for example to crop paperclip images.
|
12
|
+
|
4
13
|
|
5
14
|
## Contributing to ksk
|
6
15
|
|
@@ -9,11 +18,14 @@ CMS for [bhf](http://antpaw.github.io/bhf/)
|
|
9
18
|
* Fork the project.
|
10
19
|
* Start a feature/bugfix branch.
|
11
20
|
* Commit and push until you are happy with your contribution.
|
12
|
-
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
13
21
|
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
14
22
|
|
23
|
+
## Support
|
24
|
+
|
25
|
+
<p><a href='https://pledgie.com/campaigns/25956'><img alt='Click here to lend your support to: bhf and make a donation at pledgie.com !' src='https://pledgie.com/campaigns/25956.png?skin_name=chrome' border='0' ></a></p>
|
26
|
+
|
27
|
+
|
15
28
|
## Copyright
|
16
29
|
|
17
30
|
Copyright (c) 2014 Anton Pawlik. See LICENSE.txt for
|
18
31
|
further details.
|
19
|
-
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.2
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/config/bhf/ksk.yml
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
pages:
|
2
|
+
- abstract:
|
3
|
+
- posts:
|
4
|
+
table:
|
5
|
+
source: all_posts
|
6
|
+
columns: [id, headline, published, updated_at, created_at]
|
7
|
+
types:
|
8
|
+
comments: blog_comments_link
|
9
|
+
form:
|
10
|
+
display: [id, headline, subheadline, category, content, published, assets]
|
11
|
+
multipart: true
|
12
|
+
types:
|
13
|
+
assets: assets
|
14
|
+
content: markdown
|
15
|
+
|
16
|
+
- category:
|
17
|
+
table:
|
18
|
+
columns: [id, title, updated_at, created_at]
|
19
|
+
|
20
|
+
- statics:
|
21
|
+
table:
|
22
|
+
columns: [id, title, content, updated_at, created_at]
|
23
|
+
per_page: 30
|
24
|
+
form:
|
25
|
+
display: [id, title, content, assets]
|
26
|
+
multipart: true
|
27
|
+
types:
|
28
|
+
assets: assets
|
29
|
+
content: markdown
|
30
|
+
|
31
|
+
- navigation:
|
32
|
+
table:
|
33
|
+
partial: navigation_tree
|
34
|
+
form:
|
35
|
+
display: [id, slug, title, link, static, children, hidden]
|
36
|
+
links:
|
37
|
+
children: navigation
|
38
|
+
types:
|
39
|
+
link: static
|
40
|
+
|
41
|
+
- previews:
|
42
|
+
table:
|
43
|
+
columns: [id, asset, name, updated_at, created_at]
|
44
|
+
per_page: 30
|
45
|
+
form:
|
46
|
+
display: [id, select_file_assets, name, assets]
|
47
|
+
multipart: true
|
48
|
+
types:
|
49
|
+
assets: assets
|
50
|
+
|
51
|
+
- assets:
|
52
|
+
table:
|
53
|
+
columns: [id, file_file_name, file_content_type, updated_at]
|
54
|
+
form:
|
55
|
+
display: [id, crop_thumbs]
|
data/ksk.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: ksk 0.4.
|
5
|
+
# stub: ksk 0.4.2 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "ksk"
|
9
|
-
s.version = "0.4.
|
9
|
+
s.version = "0.4.2"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Anton Pawlik"]
|
14
|
-
s.date = "2014-07-
|
14
|
+
s.date = "2014-07-14"
|
15
15
|
s.description = "Fast and friendly"
|
16
16
|
s.email = "anton.pawlik@gmail.com"
|
17
17
|
s.extra_rdoc_files = [
|
@@ -40,14 +40,15 @@ Gem::Specification.new do |s|
|
|
40
40
|
"app/models/concerns/ksk/preview.rb",
|
41
41
|
"app/models/concerns/ksk/static.rb",
|
42
42
|
"app/views/bhf/form/column/_crop_style.haml",
|
43
|
-
"app/views/bhf/form/column/_crop_thumbs.
|
43
|
+
"app/views/bhf/form/column/_crop_thumbs.haml",
|
44
44
|
"app/views/bhf/form/column/_file.html.haml",
|
45
|
-
"app/views/bhf/form/column/_select_file_assets.
|
46
|
-
"app/views/bhf/form/has_many/_assets.
|
47
|
-
"app/views/bhf/form/has_many/_upload.
|
48
|
-
"app/views/bhf/form/has_one/_asset.
|
49
|
-
"app/views/bhf/platform/
|
45
|
+
"app/views/bhf/form/column/_select_file_assets.haml",
|
46
|
+
"app/views/bhf/form/has_many/_assets.haml",
|
47
|
+
"app/views/bhf/form/has_many/_upload.haml",
|
48
|
+
"app/views/bhf/form/has_one/_asset.haml",
|
49
|
+
"app/views/bhf/platform/_navigation_tree.haml",
|
50
50
|
"app/views/bhf/table/column/_extern_link.haml",
|
51
|
+
"config/bhf/ksk.yml",
|
51
52
|
"config/locales/de.yml",
|
52
53
|
"config/locales/en.yml",
|
53
54
|
"config/routes.rb",
|
data/lib/ksk.rb
CHANGED
@@ -2,10 +2,11 @@ module Ksk
|
|
2
2
|
class Engine < Rails::Engine
|
3
3
|
|
4
4
|
isolate_namespace Ksk
|
5
|
-
|
5
|
+
|
6
6
|
Bhf.configure do |config|
|
7
7
|
config.css << 'ksk/application'
|
8
8
|
config.js << 'ksk/application'
|
9
|
+
config.abstract_settings << "#{File.expand_path("../..", __FILE__)}/config/bhf/ksk"
|
9
10
|
end
|
10
11
|
|
11
12
|
initializer 'ksk.helper' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ksk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anton Pawlik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bhf
|
@@ -151,14 +151,15 @@ files:
|
|
151
151
|
- app/models/concerns/ksk/preview.rb
|
152
152
|
- app/models/concerns/ksk/static.rb
|
153
153
|
- app/views/bhf/form/column/_crop_style.haml
|
154
|
-
- app/views/bhf/form/column/_crop_thumbs.
|
154
|
+
- app/views/bhf/form/column/_crop_thumbs.haml
|
155
155
|
- app/views/bhf/form/column/_file.html.haml
|
156
|
-
- app/views/bhf/form/column/_select_file_assets.
|
157
|
-
- app/views/bhf/form/has_many/_assets.
|
158
|
-
- app/views/bhf/form/has_many/_upload.
|
159
|
-
- app/views/bhf/form/has_one/_asset.
|
160
|
-
- app/views/bhf/platform/
|
156
|
+
- app/views/bhf/form/column/_select_file_assets.haml
|
157
|
+
- app/views/bhf/form/has_many/_assets.haml
|
158
|
+
- app/views/bhf/form/has_many/_upload.haml
|
159
|
+
- app/views/bhf/form/has_one/_asset.haml
|
160
|
+
- app/views/bhf/platform/_navigation_tree.haml
|
161
161
|
- app/views/bhf/table/column/_extern_link.haml
|
162
|
+
- config/bhf/ksk.yml
|
162
163
|
- config/locales/de.yml
|
163
164
|
- config/locales/en.yml
|
164
165
|
- config/routes.rb
|