fullstack-cms 0.4.3 → 0.4.4
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.
- data/VERSION +1 -1
- data/app/models/photo.rb +2 -2
- data/fullstack-cms.gemspec +4 -3
- data/lib/tasks/cms.rake +10 -0
- metadata +4 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.4.
|
|
1
|
+
0.4.4
|
data/app/models/photo.rb
CHANGED
|
@@ -2,8 +2,8 @@ class Photo < ActiveRecord::Base
|
|
|
2
2
|
include Positionable
|
|
3
3
|
default_scope order(:position)
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
:
|
|
5
|
+
validates :image, :attachment_presence => true,
|
|
6
|
+
:attachment_size => { :in => 0..5.megabytes }
|
|
7
7
|
|
|
8
8
|
has_attached :image
|
|
9
9
|
|
data/fullstack-cms.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "fullstack-cms"
|
|
8
|
-
s.version = "0.4.
|
|
8
|
+
s.version = "0.4.4"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["mcasimir"]
|
|
12
|
-
s.date = "2013-
|
|
12
|
+
s.date = "2013-06-01"
|
|
13
13
|
s.description = "CMS system built on fullstack"
|
|
14
14
|
s.email = "maurizio.cas@gmail.com"
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -164,7 +164,8 @@ Gem::Specification.new do |s|
|
|
|
164
164
|
"lib/generators/fullstack/cms/templates/rails/public/img/lightbox/next.png",
|
|
165
165
|
"lib/generators/fullstack/cms/templates/rails/public/img/lightbox/prev.png",
|
|
166
166
|
"lib/generators/fullstack/cms/templates/rails/public/js/modernizr-2.5.3.min.js",
|
|
167
|
-
"lib/generators/fullstack/cms/templates/rails/public/robots.txt"
|
|
167
|
+
"lib/generators/fullstack/cms/templates/rails/public/robots.txt",
|
|
168
|
+
"lib/tasks/cms.rake"
|
|
168
169
|
]
|
|
169
170
|
s.homepage = "http://github.com/mcasimir/kaminari-bootstrap"
|
|
170
171
|
s.licenses = ["MIT"]
|
data/lib/tasks/cms.rake
ADDED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fullstack-cms
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.4
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
12
|
+
date: 2013-06-01 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: fullstack-admin
|
|
@@ -279,6 +279,7 @@ files:
|
|
|
279
279
|
- lib/generators/fullstack/cms/templates/rails/public/img/lightbox/prev.png
|
|
280
280
|
- lib/generators/fullstack/cms/templates/rails/public/js/modernizr-2.5.3.min.js
|
|
281
281
|
- lib/generators/fullstack/cms/templates/rails/public/robots.txt
|
|
282
|
+
- lib/tasks/cms.rake
|
|
282
283
|
homepage: http://github.com/mcasimir/kaminari-bootstrap
|
|
283
284
|
licenses:
|
|
284
285
|
- MIT
|
|
@@ -294,7 +295,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
294
295
|
version: '0'
|
|
295
296
|
segments:
|
|
296
297
|
- 0
|
|
297
|
-
hash:
|
|
298
|
+
hash: 1861628974926663465
|
|
298
299
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
299
300
|
none: false
|
|
300
301
|
requirements:
|