fullstack-admin 0.2.11 → 0.2.12
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/Gemfile.lock
CHANGED
|
@@ -60,7 +60,6 @@ GEM
|
|
|
60
60
|
bootstrap-helpers (0.1.8)
|
|
61
61
|
rails
|
|
62
62
|
builder (3.0.0)
|
|
63
|
-
checkin (0.5.1)
|
|
64
63
|
chosen-rails (0.9.8.1)
|
|
65
64
|
railties (~> 3.0)
|
|
66
65
|
thor (~> 0.14)
|
|
@@ -92,7 +91,6 @@ GEM
|
|
|
92
91
|
fullstack (0.1.26)
|
|
93
92
|
active_record_schema
|
|
94
93
|
auto_strip_attributes
|
|
95
|
-
checkin
|
|
96
94
|
coffeebeans
|
|
97
95
|
devise
|
|
98
96
|
devise-i18n
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.12
|
|
@@ -369,4 +369,18 @@ cursor: pointer;
|
|
|
369
369
|
|
|
370
370
|
.filter-inputs {
|
|
371
371
|
margin: 0;
|
|
372
|
-
}
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
/* ================== */
|
|
375
|
+
/* = Rotation icons = */
|
|
376
|
+
/* ================== */
|
|
377
|
+
|
|
378
|
+
.icon-rotate-left {
|
|
379
|
+
background: url('/img/rotate-left.png');
|
|
380
|
+
width: 12px;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.icon-rotate-right {
|
|
384
|
+
background: url('/img/rotate-right.png');
|
|
385
|
+
width: 12px;
|
|
386
|
+
}
|
|
@@ -4,14 +4,15 @@
|
|
|
4
4
|
|
|
5
5
|
.thumbnail {
|
|
6
6
|
position: relative;
|
|
7
|
+
background: #FCFCFC;
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
.thumbnail .thumbnail-toolbar {
|
|
10
11
|
position: absolute;
|
|
11
|
-
bottom:
|
|
12
|
-
|
|
12
|
+
bottom: 6px;
|
|
13
|
+
left: 50%;
|
|
13
14
|
display: none;
|
|
14
|
-
|
|
15
|
+
margin-left: -65px;
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
.thumbnail:hover .thumbnail-toolbar {
|
|
@@ -19,7 +20,6 @@
|
|
|
19
20
|
display: block;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
|
-
|
|
23
23
|
.thumbnail img[data-zoom-url] {
|
|
24
24
|
cursor: -moz-zoom-in;
|
|
25
25
|
cursor: -webkit-zoom-in;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
class Admin::ScaffoldController < Admin::BaseController
|
|
2
2
|
respond_to :html, :js
|
|
3
3
|
before_filter :prepend_resource_views_prefix
|
|
4
|
+
before_filter :fetch_object
|
|
4
5
|
|
|
5
6
|
def index
|
|
6
7
|
@search = current_resource_class.search(params[:search])
|
|
@@ -38,7 +39,6 @@ class Admin::ScaffoldController < Admin::BaseController
|
|
|
38
39
|
|
|
39
40
|
protected
|
|
40
41
|
|
|
41
|
-
# overrides checkin default
|
|
42
42
|
def fetch_object
|
|
43
43
|
if params[:id]
|
|
44
44
|
set_object(current_resource_class.find(params[:id]))
|
data/fullstack-admin.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "fullstack-admin"
|
|
8
|
-
s.version = "0.2.
|
|
8
|
+
s.version = "0.2.12"
|
|
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 = "2012-12-
|
|
12
|
+
s.date = "2012-12-27"
|
|
13
13
|
s.description = "Administration interface framework for fullstack"
|
|
14
14
|
s.email = "maurizio.cas@gmail.com"
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -14,13 +14,8 @@ module Fullstack
|
|
|
14
14
|
Ckeditor.setup do |config|
|
|
15
15
|
require "ckeditor/orm/active_record"
|
|
16
16
|
end
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
Ckeditor::ApplicationController.class_eval do
|
|
21
|
-
authorize(:scope => :admin)
|
|
22
|
-
end
|
|
23
|
-
|
|
17
|
+
Ckeditor::ApplicationController.class_eval do
|
|
18
|
+
before_filter :authenticate_administrator!
|
|
24
19
|
end
|
|
25
20
|
end
|
|
26
21
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fullstack-admin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.12
|
|
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: 2012-12-
|
|
12
|
+
date: 2012-12-27 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
@@ -1280,7 +1280,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
1280
1280
|
version: '0'
|
|
1281
1281
|
segments:
|
|
1282
1282
|
- 0
|
|
1283
|
-
hash: -
|
|
1283
|
+
hash: -3768173799675375238
|
|
1284
1284
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1285
1285
|
none: false
|
|
1286
1286
|
requirements:
|