push_type_auth 0.9.0.beta.2 → 0.9.0.beta.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/lib/push_type/auth/engine.rb +24 -11
  3. data/test/dummy/config/initializers/push_type.rb +1 -1
  4. data/test/dummy/config/secrets.yml +2 -2
  5. data/test/dummy/db/migrate/{20160725104604_create_push_type_users.push_type.rb → 20160727140505_create_push_type_users.push_type.rb} +0 -0
  6. data/test/dummy/db/migrate/{20160725104605_create_push_type_nodes.push_type.rb → 20160727140506_create_push_type_nodes.push_type.rb} +0 -0
  7. data/test/dummy/db/migrate/{20160725104606_create_push_type_node_hierarchies.push_type.rb → 20160727140507_create_push_type_node_hierarchies.push_type.rb} +0 -0
  8. data/test/dummy/db/migrate/{20160725104607_create_push_type_assets.push_type.rb → 20160727140508_create_push_type_assets.push_type.rb} +0 -0
  9. data/test/dummy/db/migrate/{20160725104608_add_field_store_default_values.push_type.rb → 20160727140509_add_field_store_default_values.push_type.rb} +0 -0
  10. data/test/dummy/db/migrate/{20160725104609_drop_legacy_push_type_taxonomies.push_type.rb → 20160727140510_drop_legacy_push_type_taxonomies.push_type.rb} +0 -0
  11. data/test/dummy/db/migrate/{20160725104610_devise_extend_push_type_users.push_type_auth.rb → 20160727140511_devise_extend_push_type_users.push_type_auth.rb} +0 -0
  12. data/test/dummy/db/schema.rb +1 -1
  13. data/test/dummy/log/test.log +678 -678
  14. data/test/dummy/tmp/cache/assets/sprockets/v3.0/43/43-axooBwgATO2o8xLF_PxBDPnQ635xfbeARTUv7SGI.cache +0 -0
  15. data/test/dummy/tmp/cache/assets/sprockets/v3.0/8z/8zdemLLucSsQ46-iwDF2vdKsCf3Bz6f8_i0v23fT0oI.cache +0 -0
  16. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{9d → 9D}/9D0ey2PDcoDtRq52B7TaPT0vuzVbYEG8HZaNQ1F18HU.cache +0 -0
  17. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{9d → 9D}/9DSPfaB8ygiGwiajDsVAMG3AkGpjznEZia2WXzKGeWM.cache +0 -0
  18. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{OQ/OQqrOs8rVLWYgK44o_HO5exmSRzrIxZU41i93q_UQtU.cache → I9/I9iyE-qEwbhr6s3dyKBFTo7jHKKsq-NDJswx4OJtbuk.cache} +0 -0
  19. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ih/IhvhyCeob9YHSfuKuNbD0yVLCj39vop6ANsQUXqA2TA.cache +0 -0
  20. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Lj/lJuDmsbAPgoLERV1tqEuAw44tH_XPD0rdSNsjW2zW3g.cache +0 -0
  21. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{2r/2rB9TBgagz2bVJVNgtoRLoVCjclpTL1XDZAPsmnVzIw.cache → Oa/OaCPflWy619EZ3Q54UhEVxjsEn73D5PPpz970m3TL7Q.cache} +0 -0
  22. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{9d/9d-v7mm-yBRYH0Ci4Vjevq6rwg6lvjJsMO6Od1MN3lY.cache → QF/QFVbmmDphcJOpO83Kn3eso3tvTEf9VlC63gbX2Y4vl8.cache} +0 -0
  23. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{qn → Qn}/QnEnX2B5TnKy5eBQN00edQX6Nic_-ZYwGoWWUZu2ycM.cache +0 -0
  24. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{qn → Qn}/qNOz7Rvtjul20-XTH3jifHnv-ypnSVomm2Q1nckbmqQ.cache +0 -0
  25. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Uh/uhlIc96sr4CZ7rqx7zQznMBXf9hGmpdTaNdQzigutbA.cache +0 -0
  26. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{NG/NG8APov2tuD5ViIxvzl8ReHmczpA-9EdfAdifr9FfEE.cache → WK/WKvXEUQhqHYsjSy85HgLElXgqolRksvgvcDIrLMgtSQ.cache} +0 -0
  27. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Wu/Wu3D4YOppuuzcfnos1jInbKTRL-lEbEqkD_fgdI5ZLk.cache +0 -0
  28. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{qn/qnd-uf7hdLg1vyI1HiLygpdYClOMa_fy7JUbCN6f4_s.cache → br/bRnCFsdZrHP_7UGe5wEEr6TjdLvs17TkWJM__8Ls4GU.cache} +0 -0
  29. data/test/dummy/tmp/cache/assets/sprockets/v3.0/br/brEdmylym5Y0Jdn5iac53isVd3f53zgodIYmuJNckik.cache +0 -0
  30. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{PH/PHAm_CoF5TQJr8zPP7G6Yhom_yzQosOIz3LOdNZaphU.cache → en/en6UaZdnafQ32rQm8ZQRZuQlxHb70DlHBA8xo2svYa4.cache} +0 -0
  31. data/test/dummy/tmp/cache/assets/sprockets/v3.0/eu/eupft2-wafspZIamF3UoEUMZR78rwrPB3yjciVP2MiA.cache +0 -0
  32. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hx/HXEKnZVJhveZPQIKW66beQYofdmOYovkV63Wpt_q4Ww.cache +0 -0
  33. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{CU/CUUJuoB5rhGahOcB_7_wrE2aJguBo3yJo5WRCPPlY_I.cache → jr/jrNS71vrZL_8WjA6J6wR2KUlyFqPS0q1hpjmC-5xICU.cache} +0 -0
  34. data/test/dummy/tmp/cache/assets/sprockets/v3.0/mQ/MQI4EeiZ6l33LzlXstKseRAt4SmsfCXFVYVwoPP0maw.cache +0 -0
  35. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{PH → ph}/PH09N26aFeEpo0bv_bU9KiXcLwt1CHL0GVBFFCgdNgA.cache +0 -0
  36. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{PH → ph}/PhqukQGq4A7Rce70H4NQG56qJ3NglFgwhP1Zzt0-ruQ.cache +0 -0
  37. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{PH → ph}/phWjBWlt1MPXIvskQy6X4uUBLyRPQFat0ND_rL_D8XQ.cache +0 -0
  38. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vO/vOvUCwDqqaDHfJ5urP6uZtpJ4auHYbcEjGgO5KeNJx8.cache +0 -0
  39. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{cn/cn-RCoE80_cvNiBBedMqm9zZxFidQhFeGsj8PxEG8s8.cache → vY/vYeqA5rAv52N_fNS2uzKoHcgn9bxKuqldLkHBX70Omo.cache} +0 -0
  40. metadata +50 -50
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bbbbaa6c4345b721f351c59879495718c085f210
4
- data.tar.gz: c5ede67175d1a39c482fda6f03e23a086ab26159
3
+ metadata.gz: 0c795b9ab76e4bc01b46fd872a4ac5acacdcf62a
4
+ data.tar.gz: 1e923992c13e075d8fa56162fd692d53de59125f
5
5
  SHA512:
6
- metadata.gz: acc6711462e0221cdd60d3e0bd6b96af05289c4701e9fd11c458807462a4b6bc506a60aee1066e8511eb71407f8cf5a2f21c9d81be91a47611e0dff7b0892c70
7
- data.tar.gz: 980d94f1720f3f8ce1bd515baf8d01f78f32dc0fc0656445302bde1c89613888cc966d4d98b1b3f5e89174e32ebe750677c58b81525fcdd9404bdb8adefa3c89
6
+ metadata.gz: 7bca57b4a6928be5dfb158494030283a1275db44c332cac3011af7ee6df49a42df220d020ca4e8e1897688f1c7af10239f446e88e60d4bf913a223ce329f2760
7
+ data.tar.gz: ab6b05ae30ec48ddf1becb69806778b5f75c4ca622b3f414bc9fda1ae692bd78f1479acc8418b5df79013d0bded97fb0740c5e8038c9ca074de4338ff5c22fc3
@@ -10,17 +10,30 @@ module PushType
10
10
  g.test_framework :test_unit, fixture: false
11
11
  end
12
12
 
13
- config.to_prepare do
14
- # Make User authenticatable
15
- PushType::User.include PushType::Authenticatable
16
-
17
- # Extend controllers with auth/invitation methos
18
- PushType::AdminController.include PushType::AuthenticationMethods
19
- PushType::UsersController.include PushType::InvitationMethods
20
-
21
- # Configure devise with helpers and layout
22
- DeviseController.helper PushType::AdminHelper
23
- Devise::Mailer.layout 'push_type/email'
13
+ initializer 'push_type_auth.reloader' do |app|
14
+ reload_block = -> {
15
+ # Make User authenticatable
16
+ PushType::User.include PushType::Authenticatable
17
+
18
+ # Extend controllers with auth/invitation methos
19
+ PushType::AdminController.include PushType::AuthenticationMethods
20
+ PushType::UsersController.include PushType::InvitationMethods
21
+
22
+ # Configure devise with helpers and layout
23
+ DeviseController.helper PushType::AdminHelper
24
+ Devise::Mailer.layout 'push_type/email'
25
+
26
+ # Reload routes
27
+ app.reload_routes!
28
+ }
29
+
30
+ # Use ActiveSupport::Reloader if available in Rails 5
31
+ # Fall back to ActionDispatch::Reloader for earlier Rails
32
+ if defined? ActiveSupport::Reloader
33
+ app.reloader.to_prepare &reload_block
34
+ else
35
+ ActionDispatch::Reloader.to_prepare &reload_block
36
+ end
24
37
  end
25
38
 
26
39
  initializer 'push_type_auth.devise_config' do
@@ -45,6 +45,6 @@ PushType.setup do |config|
45
45
  # secret_access_key: ENV['SECRET_ACCESS_KEY_ID']
46
46
  # }
47
47
 
48
- # config.dragonfly_secret = '2bd2ef79872c5d49f90073add0d0d51b18b61dfbce9716f466e7695d366b3c8a'
48
+ # config.dragonfly_secret = 'a94e05be6ee787c901e0a34f17cebd0f8e02b3b5b7282f4f34bdc935d488b3af'
49
49
 
50
50
  end
@@ -11,10 +11,10 @@
11
11
  # if you're sharing your code publicly.
12
12
 
13
13
  development:
14
- secret_key_base: 5b1782484556451e3d8d7afaf6f6ff8032219730076794eb88505a16063767e59563542448fb5e549decf20b2b0d99d5e4c02bde584ab50ca67434228f33d8e8
14
+ secret_key_base: 2a5d105cd7ba3130f77146932de9b97056b2608cbc34fa42a2d0206dd03f407b46944ddc3b336cad0a42438f2918c0c857d340d911f08274b6c255e54fd2306f
15
15
 
16
16
  test:
17
- secret_key_base: 0bfa59724f42f599526dc50a430f02ee628be64444db2015bd51b0348527e067bf7a9c734a93026d4780b85b3150dec4930302b16b2c5cafa2f2c71a0a12eee4
17
+ secret_key_base: 4073cb8fa7649cc998212bfa421c08f42a22f9626d179c8fa27f31cfbebff34fcdd292c48a974f7a12b4900f98d0ce9fe52a7ecdceaba882b5d0455a8be7ac0b
18
18
 
19
19
  # Do not keep production secrets in the repository,
20
20
  # instead read values from the environment.
@@ -10,7 +10,7 @@
10
10
  #
11
11
  # It's strongly recommended that you check this file into your version control system.
12
12
 
13
- ActiveRecord::Schema.define(version: 20160725104610) do
13
+ ActiveRecord::Schema.define(version: 20160727140511) do
14
14
 
15
15
  # These are extensions that must be enabled in order to support this database
16
16
  enable_extension "plpgsql"