discourse_subscription_client 0.1.0.pre15 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/subscription_client_notice.rb +0 -5
- data/app/models/subscription_client_request.rb +14 -0
- data/app/models/subscription_client_resource.rb +0 -9
- data/app/models/subscription_client_subscription.rb +0 -9
- data/app/models/subscription_client_supplier.rb +1 -5
- data/lib/discourse_subscription_client/engine.rb +1 -1
- data/lib/discourse_subscription_client/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a7d0408af8ff9e1033cb53aea9ba96aca355564151cbb7fc6b4511fde203a9f
|
4
|
+
data.tar.gz: 7bd98e0c45910de0a4c65f0acdd0e6b564c1a69636c008a6b5c68e2c0a82552c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d68041828afbae71fbec7c9306bd8748e60c829bd66e9699270b5549b676b6937283be069f0e9096ecff9c631b88db1ab442936de043667d474467db06bbb66
|
7
|
+
data.tar.gz: 92e2e435b92c11bd1c02513e360fe1006102bb38c72535309bb92d1efcdd83c33e387fac3cd79ee3f369278f96f2c05877f57d7b57e9aac40fa5d294e6bae04a
|
@@ -215,8 +215,3 @@ end
|
|
215
215
|
# created_at :datetime not null
|
216
216
|
# updated_at :datetime not null
|
217
217
|
#
|
218
|
-
# Indexes
|
219
|
-
#
|
220
|
-
# index_subscription_client_notices_on_notice_subject (notice_subject_type,notice_subject_id)
|
221
|
-
# sc_unique_notices (notice_type,notice_subject_type,notice_subject_id,changed_at) UNIQUE
|
222
|
-
#
|
@@ -1,4 +1,18 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
# == Schema Information
|
4
|
+
#
|
5
|
+
# Table name: subscription_client_requests
|
6
|
+
#
|
7
|
+
# id :bigint not null, primary key
|
8
|
+
# request_id :bigint
|
9
|
+
# request_type :string
|
10
|
+
# expired_at :datetime
|
11
|
+
# message :string
|
12
|
+
# count :integer
|
13
|
+
# response :json
|
14
|
+
# created_at :datetime not null
|
15
|
+
# updated_at :datetime not null
|
16
|
+
#
|
3
17
|
class SubscriptionClientRequest < ActiveRecord::Base
|
4
18
|
end
|
@@ -16,12 +16,3 @@ end
|
|
16
16
|
# created_at :datetime not null
|
17
17
|
# updated_at :datetime not null
|
18
18
|
#
|
19
|
-
# Indexes
|
20
|
-
#
|
21
|
-
# index_subscription_client_resources_on_supplier_id (supplier_id)
|
22
|
-
# index_subscription_client_resources_on_supplier_id_and_name (supplier_id,name) UNIQUE
|
23
|
-
#
|
24
|
-
# Foreign Keys
|
25
|
-
#
|
26
|
-
# fk_rails_... (supplier_id => subscription_client_suppliers.id)
|
27
|
-
#
|
@@ -48,12 +48,3 @@ end
|
|
48
48
|
# created_at :datetime not null
|
49
49
|
# updated_at :datetime not null
|
50
50
|
#
|
51
|
-
# Indexes
|
52
|
-
#
|
53
|
-
# index_subscription_client_subscriptions_on_resource_id (resource_id)
|
54
|
-
# sc_unique_subscriptions (resource_id,product_id,price_id) UNIQUE
|
55
|
-
#
|
56
|
-
# Foreign Keys
|
57
|
-
#
|
58
|
-
# fk_rails_... (resource_id => subscription_client_resources.id)
|
59
|
-
#
|
@@ -50,9 +50,5 @@ end
|
|
50
50
|
# authorized_at :datetime
|
51
51
|
# created_at :datetime not null
|
52
52
|
# updated_at :datetime not null
|
53
|
-
#
|
54
|
-
# Indexes
|
55
|
-
#
|
56
|
-
# index_subscription_client_suppliers_on_url (url) UNIQUE
|
57
|
-
# index_subscription_client_suppliers_on_user_id (user_id)
|
53
|
+
# products :json
|
58
54
|
#
|
@@ -24,7 +24,7 @@ module DiscourseSubscriptionClient
|
|
24
24
|
config.after_initialize do
|
25
25
|
gem_root = File.expand_path("../..", __dir__)
|
26
26
|
|
27
|
-
ActiveRecord::Tasks::DatabaseTasks.migrations_paths << "#{gem_root}/db/migrate" unless
|
27
|
+
ActiveRecord::Tasks::DatabaseTasks.migrations_paths << "#{gem_root}/db/migrate" unless ENV["DISCOURSE_SUBSCRIPTION_CLIENT_SKIP_MIGRATIONS"]
|
28
28
|
|
29
29
|
%w[
|
30
30
|
./request
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: discourse_subscription_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Angus McLeod
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_model_serializers
|
@@ -126,14 +126,14 @@ dependencies:
|
|
126
126
|
name: rails
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - "
|
129
|
+
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: 7.0.4.1
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- - "
|
136
|
+
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: 7.0.4.1
|
139
139
|
- !ruby/object:Gem::Dependency
|
@@ -278,7 +278,7 @@ metadata:
|
|
278
278
|
homepage_uri: https://github.com/paviliondev/discourse_subscription_client
|
279
279
|
source_code_uri: https://github.com/paviliondev/discourse_subscription_client
|
280
280
|
changelog_uri: https://github.com/paviliondev/discourse_subscription_client
|
281
|
-
post_install_message:
|
281
|
+
post_install_message:
|
282
282
|
rdoc_options: []
|
283
283
|
require_paths:
|
284
284
|
- lib
|
@@ -289,12 +289,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
289
289
|
version: 2.6.0
|
290
290
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
291
291
|
requirements:
|
292
|
-
- - "
|
292
|
+
- - ">="
|
293
293
|
- !ruby/object:Gem::Version
|
294
|
-
version:
|
294
|
+
version: '0'
|
295
295
|
requirements: []
|
296
|
-
rubygems_version: 3.
|
297
|
-
signing_key:
|
296
|
+
rubygems_version: 3.3.26
|
297
|
+
signing_key:
|
298
298
|
specification_version: 4
|
299
299
|
summary: Discourse plugin subscription client.
|
300
300
|
test_files: []
|