discourse_subscription_client 0.1.0.pre4 → 0.1.0.pre5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 307c93dedfd3a85110f7ad12a1d7e6e91bb1aecaaffc7e6025fec54905aa0df7
4
- data.tar.gz: 11dd2c79ba1d825028cc32d2fabc31b0d889be2cb4d2f3c1ad1664c23025dad0
3
+ metadata.gz: c3754b250f1d7f886ad692fbca23aaf8d8201e392634d21c408574064022d521
4
+ data.tar.gz: bb5cd215e0d40c5b8f9f384731c63b181373ec105dbc603d139e921a59c775c9
5
5
  SHA512:
6
- metadata.gz: f22185915974d1abbc65ae2b0ed1b14022eb14ebdf7a9f8d12e03b3a00968d93ec69d39c25ad286149d95cec29e8e5035b4c52f38fbd362720664970f0044472
7
- data.tar.gz: 6f47325b66b776ac2485989006b7d63f3d6e389f5cf0c53b5c4eb8914d8cb16481dcc05d46eeecada45a9ecd620ca70bd64ea2f502af0d3fcfe09a1760c5cc4e
6
+ metadata.gz: 38b5f3b3202db51457f94c192e0067bd110605ea67f5f5655b5f17e1e7fad7935eab9175ef94a580e2141a83fd1b389e72a656ff2a10593f4d2ee61507f7ee47
7
+ data.tar.gz: 28b45aff5ff1a80bcd1d10e22d1424ad9bbd43645e00368af653221760b53c74a10c059bc787d3ee5d61c065847a38b6da369589310c83e04727a3aeb67d01b5
@@ -2,7 +2,7 @@
2
2
 
3
3
  class CreateSubscriptionClientSuppliers < ActiveRecord::Migration[7.0]
4
4
  def change
5
- create_table :subscription_client_suppliers do |t|
5
+ create_table :subscription_client_suppliers, if_not_exists: true do |t|
6
6
  t.string :name
7
7
  t.string :url, null: false
8
8
  t.string :api_key
@@ -2,7 +2,7 @@
2
2
 
3
3
  class CreateSubscriptionClientResources < ActiveRecord::Migration[7.0]
4
4
  def change
5
- create_table :subscription_client_resources do |t|
5
+ create_table :subscription_client_resources, if_not_exists: true do |t|
6
6
  t.references :supplier, foreign_key: { to_table: :subscription_client_suppliers }
7
7
  t.string :name, null: false
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  class CreateSubscriptionClientNotices < ActiveRecord::Migration[7.0]
4
4
  def change
5
- create_table :subscription_client_notices do |t|
5
+ create_table :subscription_client_notices, if_not_exists: true do |t|
6
6
  t.string :title, null: false
7
7
  t.string :message
8
8
  t.integer :notice_type, null: false
@@ -2,7 +2,7 @@
2
2
 
3
3
  class CreateSubscriptionClientSubscriptions < ActiveRecord::Migration[7.0]
4
4
  def change
5
- create_table :subscription_client_subscriptions do |t|
5
+ create_table :subscription_client_subscriptions, if_not_exists: true do |t|
6
6
  t.references :resource, foreign_key: { to_table: :subscription_client_resources }
7
7
  t.string :product_id, null: false
8
8
  t.string :product_name
@@ -2,7 +2,7 @@
2
2
 
3
3
  class CreateSubscriptionClientRequests < ActiveRecord::Migration[7.0]
4
4
  def change
5
- create_table :subscription_client_requests do |t|
5
+ create_table :subscription_client_requests, if_not_exists: true do |t|
6
6
  t.bigint :request_id
7
7
  t.string :request_type
8
8
  t.datetime :expired_at
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DiscourseSubscriptionClient
4
- VERSION = "0.1.0.pre4"
4
+ VERSION = "0.1.0.pre5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: discourse_subscription_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre4
4
+ version: 0.1.0.pre5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Angus McLeod