foreman_users 0.0.25 → 0.0.26

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ class ForemanUsers::Syuser < ActiveRecord::Base
3
3
  attr_accessible :title, :body, :name, :ensure , :gid, :groups, :home , :password, :password_max_age, :password_min_age, :shell, :uid, :sygroups_attributes
4
4
 
5
5
 
6
- has_many :sygroups, class_name: "ForemanUsers::Sygroup", foreign_key: "user_id"
6
+ has_many :sygroups, class_name: "ForemanUsers::Sygroup"
7
7
  accepts_nested_attributes_for :sygroups, reject_if: proc { |attributes| attributes['gid'].blank?| attributes['name'].blank? | attributes['ensure'].blank? } , allow_destroy: true
8
8
 
9
9
  after_create :create_dir
@@ -1,3 +1,3 @@
1
1
  module ForemanUsers
2
- VERSION = '0.0.25'
2
+ VERSION = '0.0.26'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_users
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.25
4
+ version: 0.0.26
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: