api-blocks 0.4.1 → 0.4.2

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
  SHA256:
3
- metadata.gz: c597b0ee019493ef5caab57e59e9f98969b11a1607eb6aec5cabb820dad745da
4
- data.tar.gz: 9be1acca3c6b2da1d524e45292e2310e9a99628f03ee7ec254ed84090bb9152c
3
+ metadata.gz: 8234f3255752ba4fcf458c4f2c4db40bb30f44e954d4e52f6b73f8f6177febf6
4
+ data.tar.gz: 47cefbcbb7ef44b7ea8759e965f3dae7dae2b60738a125c746c0bb8a51e474f4
5
5
  SHA512:
6
- metadata.gz: 1bdccac98b0a7ada0426660b7e71f44ae39458d11646d2fde3a1a6b214c4e6e960342ccd27bd386c783f5f745f2d03b44cd39900d784b407231443198d9174ee
7
- data.tar.gz: ef4d26821ec4d01d4902c6e989649c14532082163c244d230e4e66ee820069ca44460ba571cc98d4cfb41a2ce5814cdead17adf4749afd0888df2cc8f1411122
6
+ metadata.gz: c9c51728f642fca5c4d7bcc96528a3ce35cfce6c813fb21b27a31cc9d2dfc233f52099fe968c45b3f6d7b647f556a4ae27b6329ade077c6d97b4025b98a05e80
7
+ data.tar.gz: 4615a045ca9f03406f8c53a306cced6a84d04d83ada1426270dc758a174c807212321c68a2cf5664148fa9888dc159e4e742284a3d46add59959e1005188d3f9
@@ -7,40 +7,6 @@ require "problem_details-rails"
7
7
  # @private
8
8
  #
9
9
  class ApiBlocks::Railtie < Rails::Railtie
10
- initializer 'api_blocks.doorkeeper' do
11
- next unless defined?(Doorkeeper)
12
-
13
- Doorkeeper::Orm::ActiveRecord.initialize_models!
14
-
15
- ActiveSupport.on_load(:active_record) do
16
- # do not load the Doorkeeper::Application extensions if migrations have
17
- # not been setup.
18
- has_reset_password_uri = Doorkeeper::Application.columns.find do |col|
19
- col.name == 'reset_password_uri'
20
- end
21
-
22
- next unless has_reset_password_uri
23
-
24
- Doorkeeper::Application.include(
25
- ApiBlocks::Doorkeeper::Passwords::Application
26
- )
27
- end
28
-
29
- ActiveSupport.on_load(:active_record) do
30
- # do not load the Doorkeeper::Application extensions if migrations have
31
- # not been setup.
32
- invitation_uri = Doorkeeper::Application.columns.find do |col|
33
- col.name == 'invitation_uri'
34
- end
35
-
36
- next unless invitation_uri
37
-
38
- Doorkeeper::Application.include(
39
- ApiBlocks::Doorkeeper::Invitations::Application
40
- )
41
- end
42
- end
43
-
44
10
  generators do
45
11
  require_relative 'doorkeeper/passwords/migration_generator'
46
12
  require_relative 'doorkeeper/invitations/migration_generator'
@@ -2,5 +2,5 @@
2
2
 
3
3
  module ApiBlocks
4
4
  # Current version of ApiBlocks
5
- VERSION = '0.4.1'
5
+ VERSION = '0.4.2'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api-blocks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul d'Hubert