bhf 0.10.16 → 0.10.17
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.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/app/controllers/bhf/entries_controller.rb +4 -1
- data/bhf.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 08eead651a138cdfc4ecd590e8755d9fdff027fd
|
4
|
+
data.tar.gz: 08a6ac0773eb814c72aa85375a9c05af691be6a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01cf9f7ab6ab354564792b5cfb31bd2346387140d97fd1f925ca9e0e80a1ecde7a748b6e2b99c7242e37715a2133e10c3fc4de7edf90c934eee2262f5fcd1023
|
7
|
+
data.tar.gz: 5cb614a0515200c9f335db872fcb09e30695c0bde71eafcc5aab8df092b89620815162eeb41b707868fa8c902bdcaf40eea275bc2ddf713fcf9b7f82081a84c4
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.10.
|
1
|
+
0.10.17
|
@@ -54,6 +54,7 @@ class Bhf::EntriesController < Bhf::ApplicationController
|
|
54
54
|
|
55
55
|
before_save
|
56
56
|
if @object.update_attributes(@permited_params)
|
57
|
+
puts 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
|
57
58
|
manage_relations
|
58
59
|
after_save
|
59
60
|
|
@@ -149,7 +150,9 @@ class Bhf::EntriesController < Bhf::ApplicationController
|
|
149
150
|
|
150
151
|
def load_model
|
151
152
|
@model = @platform.model
|
152
|
-
|
153
|
+
if params[@platform.model_name.to_sym]
|
154
|
+
@permited_params = params.require(@platform.model_name.to_sym).permit!
|
155
|
+
end
|
153
156
|
end
|
154
157
|
|
155
158
|
def load_object
|
data/bhf.gemspec
CHANGED
@@ -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: bhf 0.10.
|
5
|
+
# stub: bhf 0.10.17 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "bhf"
|
9
|
-
s.version = "0.10.
|
9
|
+
s.version = "0.10.17"
|
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 = "
|
14
|
+
s.date = "2017-01-29"
|
15
15
|
s.description = "A simple to use Rails-Engine-Gem that offers an admin interface for trusted user. Easy integratable and highly configurable and agnostic. Works with ActiveRecord and Mongoid."
|
16
16
|
s.email = "anton.pawlik@gmail.com"
|
17
17
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bhf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anton Pawlik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|