adeia 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 66ce37ecc369635104a9414c77d3211a8cf44f17
4
- data.tar.gz: a6d3b36ce560d07f44ec15356a866728dbdb2d51
3
+ metadata.gz: a04452976deb0ed81e72ff9faba3cf79c63e3b55
4
+ data.tar.gz: 57ca0dd172b4e475bf31b9da714b713cc81ccc21
5
5
  SHA512:
6
- metadata.gz: 75842f069596bc4999e6e2f56c4390e48c01cccc72de2deb26e41f09dde799031c4e075c430ddb8ad681ef083e7a868e3151596c23c3232e513c5d5a48652d66
7
- data.tar.gz: f11f62d18f0840aefe789984dbcd2e743b08c9c0a77a916a898e26d5db526b45a34b7a4b8bc221025f592e269ee0a26bb834c9ca012a7019137a968ec0429360
6
+ metadata.gz: e1083993dc6c5391a4d1b9bf62b78c56db5f64ecbb71b1824a089b5510631c81926a79961c53884cdda415b1be3aeed480305121d86e6098aec0d92cef4666ab
7
+ data.tar.gz: fb93a0ebef4cfd2454937065b722bd75f64f0805c3fc6e09fe3d7295097c44d77aad86c7b9a66ef12333dedd42c5969f53618cb8defdd46e6fc4a3ec2af87787
data/lib/adeia/engine.rb CHANGED
@@ -17,8 +17,10 @@ module Adeia
17
17
  end
18
18
 
19
19
  initializer 'Adeia.requirements' do |app|
20
- unless Rails.env.test?
21
- raise MissingUserModel unless defined? User
20
+ begin
21
+ User
22
+ rescue NameError
23
+ raise MissingUserModel
22
24
  end
23
25
  end
24
26
 
data/lib/adeia/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Adeia
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
@@ -65763,3 +65763,221 @@ Processing by AnonymousController#index as HTML
65763
65763
  Rendered text template (0.0ms)
65764
65764
  Completed 200 OK in 7ms (Views: 0.4ms | ActiveRecord: 0.6ms)
65765
65765
   (0.8ms) rollback transaction
65766
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
65767
+  (0.1ms) begin transaction
65768
+ Processing by AnonymousController#index as HTML
65769
+ User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1
65770
+ Completed 500 Internal Server Error in 27ms (ActiveRecord: 0.8ms)
65771
+  (0.1ms) rollback transaction
65772
+  (0.1ms) begin transaction
65773
+  (0.1ms) SAVEPOINT active_record_1
65774
+ SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$Mz/BI6mbdjkfUWwTaeuuF.yoEOLzuHrUEZcnEZKHh.R/fPV0LbEhC"], ["remember_token", "45FsZEbiWLohnLoTUm90XA"], ["created_at", "2015-11-04 17:58:15.578020"], ["updated_at", "2015-11-04 17:58:15.578020"]]
65775
+  (0.1ms) RELEASE SAVEPOINT active_record_1
65776
+ Processing by AnonymousController#index as HTML
65777
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "45FsZEbiWLohnLoTUm90XA"]]
65778
+ Rendered text template (0.0ms)
65779
+ Completed 200 OK in 13ms (Views: 9.6ms | ActiveRecord: 0.2ms)
65780
+  (0.5ms) rollback transaction
65781
+  (0.0ms) begin transaction
65782
+ Processing by AnonymousController#index as HTML
65783
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1
65784
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.2ms)
65785
+  (0.2ms) rollback transaction
65786
+  (0.1ms) begin transaction
65787
+  (0.1ms) SAVEPOINT active_record_1
65788
+ SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$rk89zWNJ6DyFiWxMjkOc0.5vlXD3XM/PkDlAQFu6wSDZiqm1polCy"], ["remember_token", "3pddpwT8J2c6tolXGc-_tQ"], ["created_at", "2015-11-04 17:58:15.617948"], ["updated_at", "2015-11-04 17:58:15.617948"]]
65789
+  (0.0ms) RELEASE SAVEPOINT active_record_1
65790
+ Processing by AnonymousController#index as HTML
65791
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "3pddpwT8J2c6tolXGc-_tQ"]]
65792
+ Rendered text template (0.0ms)
65793
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)
65794
+  (0.8ms) rollback transaction
65795
+  (0.2ms) begin transaction
65796
+ Processing by AnonymousController#index as HTML
65797
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1
65798
+ Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1
65799
+ Rendered text template (0.0ms)
65800
+ Completed 200 OK in 16ms (Views: 0.6ms | ActiveRecord: 0.9ms)
65801
+  (0.1ms) rollback transaction
65802
+  (0.1ms) begin transaction
65803
+ Processing by AnonymousController#index as HTML
65804
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1
65805
+ Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1
65806
+ Rendered text template (0.0ms)
65807
+ Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms)
65808
+  (0.1ms) rollback transaction
65809
+  (0.1ms) begin transaction
65810
+  (0.1ms) SAVEPOINT active_record_1
65811
+ SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$BT8xMffnOjNM5gCYpwYvlOyW6dYC7Fvn96kE1FQdFkKtNGad0YPum"], ["remember_token", "jOWm632JTbgrkxt_FBQTXQ"], ["created_at", "2015-11-04 17:58:15.669780"], ["updated_at", "2015-11-04 17:58:15.669780"]]
65812
+  (0.1ms) RELEASE SAVEPOINT active_record_1
65813
+ Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]
65814
+  (0.0ms) SAVEPOINT active_record_1
65815
+ SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:58:15.693288"], ["updated_at", "2015-11-04 17:58:15.693288"]]
65816
+  (0.1ms) RELEASE SAVEPOINT active_record_1
65817
+ Adeia::Action Load (0.5ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]
65818
+  (0.1ms) SAVEPOINT active_record_1
65819
+ SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-04 17:58:15.712909"], ["updated_at", "2015-11-04 17:58:15.712909"]]
65820
+  (0.1ms) RELEASE SAVEPOINT active_record_1
65821
+  (0.1ms) SAVEPOINT active_record_1
65822
+ SQL (1.8ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["created_at", "2015-11-04 17:58:15.744551"], ["updated_at", "2015-11-04 17:58:15.744551"]]
65823
+ SQL (1.6ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", "2015-11-04 17:58:15.747921"], ["updated_at", "2015-11-04 17:58:15.747921"]]
65824
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]
65825
+  (0.1ms) RELEASE SAVEPOINT active_record_1
65826
+ Processing by AnonymousController#index as HTML
65827
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "jOWm632JTbgrkxt_FBQTXQ"]]
65828
+ Adeia::Group Load (0.8ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1
65829
+  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]]
65830
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1
65831
+ Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]]
65832
+ Rendered text template (0.0ms)
65833
+ Completed 200 OK in 24ms (Views: 0.4ms | ActiveRecord: 1.6ms)
65834
+  (1.0ms) rollback transaction
65835
+  (0.1ms) begin transaction
65836
+ Processing by AnonymousController#index as HTML
65837
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1
65838
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1
65839
+ Rendered text template (0.0ms)
65840
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
65841
+  (0.1ms) rollback transaction
65842
+  (0.2ms) begin transaction
65843
+ Processing by AnonymousController#index as HTML
65844
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1
65845
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1
65846
+ Rendered text template (0.0ms)
65847
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.4ms)
65848
+  (0.1ms) rollback transaction
65849
+  (0.1ms) begin transaction
65850
+  (0.1ms) SAVEPOINT active_record_1
65851
+ SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$CQHcPrM9sHnTcOhTMGgzW.II.VjZZwYWmSmHTL18aMmcIdjaLCS1y"], ["remember_token", "iCSChaiS34rQ3cF-m-xgKA"], ["created_at", "2015-11-04 17:58:15.825388"], ["updated_at", "2015-11-04 17:58:15.825388"]]
65852
+  (0.3ms) RELEASE SAVEPOINT active_record_1
65853
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]
65854
+  (0.1ms) SAVEPOINT active_record_1
65855
+ SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:58:15.829992"], ["updated_at", "2015-11-04 17:58:15.829992"]]
65856
+  (0.0ms) RELEASE SAVEPOINT active_record_1
65857
+ Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]
65858
+  (0.0ms) SAVEPOINT active_record_1
65859
+ SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-04 17:58:15.832978"], ["updated_at", "2015-11-04 17:58:15.832978"]]
65860
+  (0.0ms) RELEASE SAVEPOINT active_record_1
65861
+  (0.1ms) SAVEPOINT active_record_1
65862
+ SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["created_at", "2015-11-04 17:58:15.836985"], ["updated_at", "2015-11-04 17:58:15.836985"]]
65863
+ SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", "2015-11-04 17:58:15.838428"], ["updated_at", "2015-11-04 17:58:15.838428"]]
65864
+ Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]
65865
+  (0.1ms) RELEASE SAVEPOINT active_record_1
65866
+ Processing by AnonymousController#index as HTML
65867
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "iCSChaiS34rQ3cF-m-xgKA"]]
65868
+ Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1
65869
+  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]]
65870
+ Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1
65871
+ Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]]
65872
+ Rendered text template (0.0ms)
65873
+ Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 0.6ms)
65874
+  (1.1ms) rollback transaction
65875
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
65876
+  (0.1ms) begin transaction
65877
+ Processing by AnonymousController#index as HTML
65878
+ User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1
65879
+ Completed 500 Internal Server Error in 22ms (ActiveRecord: 0.8ms)
65880
+  (0.1ms) rollback transaction
65881
+  (0.1ms) begin transaction
65882
+  (0.1ms) SAVEPOINT active_record_1
65883
+ SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$if/a5QXvHlCL2Z19KoSr3uYbqaRW16PsMcQ7eRuWVQe35.5Sj0w4y"], ["remember_token", "r2RcR6Hjyr90o-oTTTCELw"], ["created_at", "2015-11-04 17:59:56.861959"], ["updated_at", "2015-11-04 17:59:56.861959"]]
65884
+  (0.1ms) RELEASE SAVEPOINT active_record_1
65885
+ Processing by AnonymousController#index as HTML
65886
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "r2RcR6Hjyr90o-oTTTCELw"]]
65887
+ Rendered text template (0.0ms)
65888
+ Completed 200 OK in 12ms (Views: 8.4ms | ActiveRecord: 0.2ms)
65889
+  (0.5ms) rollback transaction
65890
+  (0.1ms) begin transaction
65891
+ Processing by AnonymousController#index as HTML
65892
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1
65893
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.3ms)
65894
+  (0.1ms) rollback transaction
65895
+  (0.1ms) begin transaction
65896
+  (0.1ms) SAVEPOINT active_record_1
65897
+ SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$Q//biKLqy0ICb3LG84do8eZJ8CHbY6P.9/bJ3ndhU.nspZy0WaNnO"], ["remember_token", "_J-1ND8LVVbEk-wxYl_dfQ"], ["created_at", "2015-11-04 17:59:56.905545"], ["updated_at", "2015-11-04 17:59:56.905545"]]
65898
+  (0.1ms) RELEASE SAVEPOINT active_record_1
65899
+ Processing by AnonymousController#index as HTML
65900
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "_J-1ND8LVVbEk-wxYl_dfQ"]]
65901
+ Rendered text template (0.0ms)
65902
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
65903
+  (0.5ms) rollback transaction
65904
+  (0.1ms) begin transaction
65905
+ Processing by AnonymousController#index as HTML
65906
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1
65907
+ Adeia::Token Load (0.8ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1
65908
+ Rendered text template (0.0ms)
65909
+ Completed 200 OK in 18ms (Views: 0.5ms | ActiveRecord: 1.2ms)
65910
+  (0.1ms) rollback transaction
65911
+  (0.1ms) begin transaction
65912
+ Processing by AnonymousController#index as HTML
65913
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1
65914
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1
65915
+ Rendered text template (0.0ms)
65916
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
65917
+  (0.1ms) rollback transaction
65918
+  (0.1ms) begin transaction
65919
+  (0.1ms) SAVEPOINT active_record_1
65920
+ SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$S.ZFN0KllyC5Pu1sDzaXjuEd30POQ4tZH0qCHQ/KhJ/LFSBMAuaM."], ["remember_token", "0Rb5xWS2HHkFfua0SfRHRg"], ["created_at", "2015-11-04 17:59:56.954303"], ["updated_at", "2015-11-04 17:59:56.954303"]]
65921
+  (0.0ms) RELEASE SAVEPOINT active_record_1
65922
+ Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]
65923
+  (0.1ms) SAVEPOINT active_record_1
65924
+ SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:59:56.973079"], ["updated_at", "2015-11-04 17:59:56.973079"]]
65925
+  (0.1ms) RELEASE SAVEPOINT active_record_1
65926
+ Adeia::Action Load (0.6ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]
65927
+  (0.1ms) SAVEPOINT active_record_1
65928
+ SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-04 17:59:56.992663"], ["updated_at", "2015-11-04 17:59:56.992663"]]
65929
+  (0.1ms) RELEASE SAVEPOINT active_record_1
65930
+  (0.1ms) SAVEPOINT active_record_1
65931
+ SQL (1.7ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["created_at", "2015-11-04 17:59:57.022356"], ["updated_at", "2015-11-04 17:59:57.022356"]]
65932
+ SQL (1.6ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", "2015-11-04 17:59:57.025536"], ["updated_at", "2015-11-04 17:59:57.025536"]]
65933
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]
65934
+  (0.1ms) RELEASE SAVEPOINT active_record_1
65935
+ Processing by AnonymousController#index as HTML
65936
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "0Rb5xWS2HHkFfua0SfRHRg"]]
65937
+ Adeia::Group Load (0.8ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1
65938
+  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]]
65939
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1
65940
+ Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]]
65941
+ Rendered text template (0.0ms)
65942
+ Completed 200 OK in 23ms (Views: 0.4ms | ActiveRecord: 1.7ms)
65943
+  (1.3ms) rollback transaction
65944
+  (0.1ms) begin transaction
65945
+ Processing by AnonymousController#index as HTML
65946
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1
65947
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1
65948
+ Rendered text template (0.0ms)
65949
+ Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
65950
+  (0.1ms) rollback transaction
65951
+  (0.1ms) begin transaction
65952
+ Processing by AnonymousController#index as HTML
65953
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1
65954
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1
65955
+ Rendered text template (0.0ms)
65956
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
65957
+  (0.1ms) rollback transaction
65958
+  (0.1ms) begin transaction
65959
+  (0.1ms) SAVEPOINT active_record_1
65960
+ SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$CIKVWgDSAqQQafPHu1cUpOa.Eh7eD2JDvsCoyr/EA9Zk7KQbZKfqO"], ["remember_token", "hGNN1v7COO9QL4vz2RbutQ"], ["created_at", "2015-11-04 17:59:57.093638"], ["updated_at", "2015-11-04 17:59:57.093638"]]
65961
+  (0.1ms) RELEASE SAVEPOINT active_record_1
65962
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]
65963
+  (0.1ms) SAVEPOINT active_record_1
65964
+ SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:59:57.099097"], ["updated_at", "2015-11-04 17:59:57.099097"]]
65965
+  (0.1ms) RELEASE SAVEPOINT active_record_1
65966
+ Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]
65967
+  (0.1ms) SAVEPOINT active_record_1
65968
+ SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-04 17:59:57.102290"], ["updated_at", "2015-11-04 17:59:57.102290"]]
65969
+  (0.0ms) RELEASE SAVEPOINT active_record_1
65970
+  (0.0ms) SAVEPOINT active_record_1
65971
+ SQL (0.1ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["created_at", "2015-11-04 17:59:57.105243"], ["updated_at", "2015-11-04 17:59:57.105243"]]
65972
+ SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", "2015-11-04 17:59:57.106889"], ["updated_at", "2015-11-04 17:59:57.106889"]]
65973
+ Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]
65974
+  (0.1ms) RELEASE SAVEPOINT active_record_1
65975
+ Processing by AnonymousController#index as HTML
65976
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "hGNN1v7COO9QL4vz2RbutQ"]]
65977
+ Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1
65978
+  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]]
65979
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1
65980
+ Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]]
65981
+ Rendered text template (0.0ms)
65982
+ Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.3ms)
65983
+  (0.8ms) rollback transaction
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adeia
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - khcr