iam 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ module IamHelper
10
10
  private
11
11
  def account_samples
12
12
  ROLE_CLASS.all.inject({}) do |account_groups, role|
13
- account_group = ACCOUNT_CLASS.where(ROLE_CLASS.to_s.foreign_key => role.id).limit(Iam::Configuration.accounts_for_each_role)
13
+ account_group = ACCOUNT_CLASS.where(ROLE_CLASS.to_s.foreign_key => role.id).order(:id).limit(Iam::Configuration.accounts_for_each_role)
14
14
  account_groups.merge role => account_group
15
15
  end
16
16
  end
data/lib/iam.rb CHANGED
@@ -1,3 +1,5 @@
1
1
  require 'iam/configuration'
2
2
  require 'iam/engine'
3
3
  require 'iam/version'
4
+
5
+ ActionView::Base.send :include, IamHelper
data/lib/iam/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Iam
2
- VERSION = '0.0.8'
2
+ VERSION = '0.0.9'
3
3
  end
@@ -13,6 +13,7 @@ $ ->
13
13
  $.post link, (data) ->
14
14
  $menu.hide()
15
15
  iamNotice data.notice
16
+ window.location.reload()
16
17
 
17
18
  log_in_by_input = ->
18
19
  if inputMode
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iam
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: