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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 193d5f9ed9d086c53469c338aa19251871b095d6
4
- data.tar.gz: 06b4468a591b944e2c62ae509c1832b049090573
3
+ metadata.gz: e4280e250943c172e3184080c915dc46e6ad5aa5
4
+ data.tar.gz: 8659f490105dec1cc16d4709942e6b29b850d158
5
5
  SHA512:
6
- metadata.gz: 4f4ea30f5539f4d680ffe29396923a404427d92e3d893f349ff7bfc53bcfdedaf1127d55feaf566c5501fd19ea67e133eb700a618fe09f4d43f3313a47fe116c
7
- data.tar.gz: e2350618d867fa41bcaa43488c8333617c7dc1b167039aaff8e732b454046e84425c6936b737b31aae8ba2d867f53a4a71535d5e966a90ab3b51cc9208ace720
6
+ metadata.gz: bb794423710a63ebfbc62192e8f91890634abebb84392e00daba98ef8fa7991a9387a7d14eb1669331e4018c6c1766f94a819d7425e9212b3a73ccff4225be99
7
+ data.tar.gz: 4939e39ee0fe7335ea6681431a722652034d09f8eb9d9cffa050efddc725188e0df90ddd4f787c54677acef633fbaaa5d5aef0273f69415c224a6cbb155df5b5
data/README.md CHANGED
@@ -1,6 +1,15 @@
1
1
  # ksk
2
2
 
3
- CMS for [bhf](http://antpaw.github.io/bhf/)
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
1
+ 0.4.2
@@ -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]
@@ -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.1 ruby lib
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.1"
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-13"
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.html.haml",
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.html.haml",
46
- "app/views/bhf/form/has_many/_assets.html.haml",
47
- "app/views/bhf/form/has_many/_upload.html.haml",
48
- "app/views/bhf/form/has_one/_asset.html.haml",
49
- "app/views/bhf/platform/_navi.html.haml",
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.1
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-13 00:00:00.000000000 Z
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.html.haml
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.html.haml
157
- - app/views/bhf/form/has_many/_assets.html.haml
158
- - app/views/bhf/form/has_many/_upload.html.haml
159
- - app/views/bhf/form/has_one/_asset.html.haml
160
- - app/views/bhf/platform/_navi.html.haml
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