fullstack-admin 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.2.4
@@ -17,8 +17,8 @@ class Admin::ScaffoldController < Admin::BaseController
17
17
  def create
18
18
  set_object current_resource_class.new(params[:"#{resource_name}"])
19
19
 
20
- if current_resource.respond_to?(:author)
21
- current_resource.author ||= current_user
20
+ if current_resource.respond_to?("administrator=")
21
+ current_resource.administrator ||= current_administrator
22
22
  end
23
23
 
24
24
  current_resource.save
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "fullstack-admin"
8
- s.version = "0.2.3"
8
+ s.version = "0.2.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 = "2012-11-06"
12
+ s.date = "2012-11-09"
13
13
  s.description = "Administration interface framework for fullstack"
14
14
  s.email = "maurizio.cas@gmail.com"
15
15
  s.extra_rdoc_files = [
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.3
4
+ version: 0.2.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: 2012-11-06 00:00:00.000000000 Z
12
+ date: 2012-11-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -1279,7 +1279,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
1279
1279
  version: '0'
1280
1280
  segments:
1281
1281
  - 0
1282
- hash: -821323276577765542
1282
+ hash: 3654501658894322693
1283
1283
  required_rubygems_version: !ruby/object:Gem::Requirement
1284
1284
  none: false
1285
1285
  requirements: