rhino_project_subscriptions 0.20.0.beta.84 → 0.20.0.beta.85
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rhino_subscriptions/engine.rb +10 -6
- data/lib/rhino_subscriptions/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33cad60396a5ba71907942d024c2a6733738f467a0e84e24d52bb2cb56846a6a
|
4
|
+
data.tar.gz: 7fcb45dad6cd96ec98b1851e2c826da65828df7fe98ba7c5c72a5941c2623ad9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ffa3425c0943eb5b11c1b141384c8eb781d8f661d71e1e02252d63794bf773dd6fade17a12cf0d30af10d9aecc03c042997825884b4bb77672ae5016d4c68bc
|
7
|
+
data.tar.gz: 79e1b732af85789aee62ab23efd9cb9dc411cd5acfd3b55b092f86f78c84daa22e2e2c41e6b49082024aee25f3ac758c7dd1f0a1e44e453d1d65c92abc016c2e
|
@@ -1,15 +1,19 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require
|
4
|
-
require
|
5
|
-
require
|
3
|
+
require "active_support"
|
4
|
+
require "rhino/engine"
|
5
|
+
require "rhino_subscriptions/version"
|
6
|
+
|
7
|
+
# https://guides.rubyonrails.org/engines.html#other-gem-dependencies
|
8
|
+
require "stripe"
|
9
|
+
|
6
10
|
module RhinoSubscriptions
|
7
11
|
class Engine < ::Rails::Engine
|
8
|
-
config.autoload_paths << File.expand_path(
|
12
|
+
config.autoload_paths << File.expand_path("../../lib", __dir__)
|
9
13
|
|
10
|
-
initializer
|
14
|
+
initializer "rhino_subscriptions.register_module" do
|
11
15
|
config.after_initialize do
|
12
|
-
if ENV[
|
16
|
+
if ENV["STRIPE_SECRET_KEY"]
|
13
17
|
Rhino.registered_modules[:rhino_subscriptions] = {
|
14
18
|
version: RhinoSubscriptions::VERSION::STRING
|
15
19
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rhino_project_subscriptions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.20.0.beta.
|
4
|
+
version: 0.20.0.beta.85
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JP Rosevear
|
@@ -36,26 +36,26 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - '='
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.20.0.beta.
|
39
|
+
version: 0.20.0.beta.85
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - '='
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.20.0.beta.
|
46
|
+
version: 0.20.0.beta.85
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: stripe
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
|
-
- -
|
51
|
+
- - '='
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: 5.28.0
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
|
-
- -
|
58
|
+
- - '='
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: 5.28.0
|
61
61
|
description: ''
|