my_admin 0.0.3 → 0.0.4

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZDhhNjhjNzQzOGEzZjM2ZjJiZmJkMTFkNmI1MWVhNDgzZDgyOWZiMg==
4
+ OGJjMDhlNTQxM2NkYWY4ZDQxODYwZTUzOGMxNThiNjA1MDBlZjEyZA==
5
5
  data.tar.gz: !binary |-
6
- MmNhOTE3YmY1ZjVjZWQ0NWVkYWYxZWFhYTMxZWU3YWM0NjQxYjJiYw==
6
+ YTQ0ZWVhYTE0Y2RmOGYyYTExMDdhOWI4OWNlNjY5NDg5MjEwZTI3MA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ODYwNWFjNDUwNTA1YTA4NmU0NzI4Njg4NjU1ZWM3YmM0YjA3N2VmOWVlMWQx
10
- Njg1ZWI2NGQyMmVlNDA0ODc3MDViZmZhMjU4MjdhMTUzMzJiODdiY2NlMWU2
11
- Y2NmZjRhMTFhNjEyNTYxNmQ1YWZiZGNlMzFlNDE5ZmE2YmI3YmM=
9
+ NzZhYTUxZDk1M2I2ZjZiMWEwMGU3ZDA2Y2ZjZDVkMzYxNDg2OWZjYTQwMDQ4
10
+ Y2ZlNGEzOTBhYWQ4MDVmNWZiOTUxMzYxNmU2N2ExNzEzMGM4NWZjNjg4M2Ey
11
+ ZWU1MzJiYThmY2NkODAwOTUwNGI2MTVkMWVhMGFjMzhjZTk4YWM=
12
12
  data.tar.gz: !binary |-
13
- NTg2YmI3ZTFkZDBmYWM0OGI2NzMyZTE2OThmMjRjMDRhMGZjNTQ2NWNhZTll
14
- YTdjZDMxYmIwYTI2NThiYzYxNTQ2ZGQ4NTVmZjljNTVmYjVlZmU2ZWUzNDY0
15
- MjRkM2QyYzI3NTQxYTI2ZDRkYTFkMzc5ZGY3MmNmYWNhNGU2ZmM=
13
+ M2UxY2Y1MTA3YjAwZDE2MDE3ZTYwMjIyMjA3Njg0ZTRjODA2NWQzNzAzNTNi
14
+ NWIwMmE5MGQxZDdhM2U4Yjc5ZDJhYWZiMTQyNDQzZGJmMDkxZDAxZDMwMjIw
15
+ N2I5M2E3NDhhNDM1NGRjMTg3MjdkZWY2ZTA3YWFlMWMwMzM3ZjU=
@@ -110,7 +110,7 @@
110
110
  opacity: 0;
111
111
  }
112
112
  }
113
- .pg-pulse-frames 0% {
113
+ /*.pg-pulse-frames 0% {
114
114
  -webkit-transform: rotate(0) scale(1) skew(0) translate(0);
115
115
  -moz-transform: rotate(0) scale(1) skew(0) translate(0);
116
116
  -o-transform: rotate(0) scale(1) skew(0) translate(0);
@@ -129,7 +129,7 @@
129
129
  -o-border-radius: 20px;
130
130
  border-radius: 20px;
131
131
  opacity: 0;
132
- }
132
+ }*/
133
133
  /* Mixins
134
134
  ================================================== */
135
135
  .pg-disable-select {
@@ -12,6 +12,7 @@ class MyAdmin::Group < ActiveRecord::Base
12
12
 
13
13
 
14
14
  config_my_admin do |admin|
15
+ admin.application = "authentication"
15
16
  admin.list_display = [:name, :description]
16
17
  admin.fieldsets = [{:fields => [:name, :description]},
17
18
  {:name => :permissions,
@@ -10,6 +10,7 @@ class MyAdmin::Log < ActiveRecord::Base
10
10
  }
11
11
 
12
12
  config_my_admin do |admin|
13
+ admin.application = "authentication"
13
14
  admin.list_display = [:user, :application_name, :model_name, :action_name, :object, :created_at]
14
15
  admin.filters = []
15
16
  admin.permissions = [:list]
@@ -34,6 +34,7 @@ class MyAdmin::User < ActiveRecord::Base
34
34
  validates_attachment_content_type :photo, :content_type => ['image/jpg', 'image/jpeg', 'image/pjpeg', 'image/gif', 'image/png', 'image/x-png'], :allow_nil => true
35
35
 
36
36
  config_my_admin do |admin|
37
+ admin.application = "authentication"
37
38
  admin.list_display = [:full_name, :username, :email, :superuser, :active]
38
39
  admin.filters = [:full_name, :username, :email]
39
40
  admin.export_display = [:full_name, :username, :email, :superuser_export, :active_export ]
@@ -4,6 +4,7 @@ class Engine < Rails::Engine
4
4
 
5
5
  # paths.app << File.join(path, "app")
6
6
 
7
+ config.assets.precompile += %w( ckeditor/* )
7
8
  config.assets.precompile += %w( my_admin/application.css, my_admin/application_locked.css, my_admin/application_off.css )
8
9
  config.assets.precompile += %w( my_admin/application.js, my_admin/application_locked.js, my_admin/application_off.js )
9
10
 
@@ -6,7 +6,7 @@ module MyAdmin
6
6
  def initialize(klass)
7
7
  begin
8
8
  @class = klass
9
- @application = "authentication"
9
+ @application = "content"
10
10
  @permissions = [:list, :create, :update, :destroy, :export]
11
11
  if @class.table_exists?
12
12
  @list_display = (klass.columns.map{ |c| c.name } - ['id', 'created_at', 'updated_at']) #, 'created_at', 'updated_at'])
@@ -1,3 +1,3 @@
1
1
  module MyAdmin
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcos Vinicius von Gal dos Santos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-26 00:00:00.000000000 Z
11
+ date: 2015-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails