ksk 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/lib/actives/post.rb +0 -3
- metadata +5 -11
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
Y2YzM2ViNTZkYmNkOWYyZjFkZDVmZTI3OGIxMjQ5OWNlYjlmYTE2Mg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
YzljZDBmNzQyOTc0Zjc4MDkyNzg1YzY2ODFjMzEwMjg4NjFhYWJlNQ==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MWM0ZThhNTI2YTc0M2VmMGFlZjBkMTljNGZmMWQ2MWY2NDBhNzY4OGQxZWMx
|
10
|
+
NWE4NGY0YWQ4MGYyMzRhZGU0MmNjNzQ1NGVkMmVlMTkxMGVhNjcyM2VkYTY5
|
11
|
+
YzE4ZmMwNWEwZjZkZTYxNWVmNTY4ZTJlODZiYjJiYTg2NWZjMTY=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MDUzNDU5NTE0Y2RiYTQ0NWI2MGExNGEyY2JlZDE2NzExMzRkNTBiNWEwNTEx
|
14
|
+
M2RhZjFkNTBjNjI2ZTc1ZDlkYjRkOGRmZTMyODNjNDM3NTMxYTk1YjU5MjNh
|
15
|
+
MWQyMTZkOWI4NDE0NzBlY2JjOTczMTYwZGMyOGJlZTIxM2JjMzE=
|
data/lib/actives/post.rb
CHANGED
@@ -11,9 +11,6 @@ module Ksk
|
|
11
11
|
has_many :assets, as: :fileable
|
12
12
|
accepts_nested_attributes_for :assets, allow_destroy: true
|
13
13
|
|
14
|
-
default_scope -> {order 'created_at DESC'}
|
15
|
-
default_scope -> {where(published: true)}
|
16
|
-
|
17
14
|
scope :all_posts, -> {except(:where)}
|
18
15
|
scope :top, -> {where(top_news: true)}
|
19
16
|
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ksk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.6
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Anton Pawlik
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-08-20 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: bhf
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ! '>='
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ! '>='
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,7 +27,6 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: stringex
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ! '>='
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ! '>='
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -80,26 +75,25 @@ files:
|
|
80
75
|
- README.md
|
81
76
|
homepage: http://github.com/antpaw/ksk
|
82
77
|
licenses: []
|
78
|
+
metadata: {}
|
83
79
|
post_install_message:
|
84
80
|
rdoc_options: []
|
85
81
|
require_paths:
|
86
82
|
- lib
|
87
83
|
required_ruby_version: !ruby/object:Gem::Requirement
|
88
|
-
none: false
|
89
84
|
requirements:
|
90
85
|
- - ! '>='
|
91
86
|
- !ruby/object:Gem::Version
|
92
87
|
version: '0'
|
93
88
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
94
|
-
none: false
|
95
89
|
requirements:
|
96
90
|
- - ! '>='
|
97
91
|
- !ruby/object:Gem::Version
|
98
92
|
version: '0'
|
99
93
|
requirements: []
|
100
94
|
rubyforge_project: nowarning
|
101
|
-
rubygems_version:
|
95
|
+
rubygems_version: 2.0.6
|
102
96
|
signing_key:
|
103
|
-
specification_version:
|
97
|
+
specification_version: 4
|
104
98
|
summary: CMS for bhf
|
105
99
|
test_files: []
|