emailbutler 0.5.1 → 0.5.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: 1eb31c6bd045e24372c9f4ee97a9e4d0a5733b0a4b4cdcb65bb8356abc3baad9
4
- data.tar.gz: 15ca91f2f3bdb5dcc290c4bb58937fbcd7d1d806398ce47a463dcd549c340dea
3
+ metadata.gz: fdaa7a5a1754566c770796a140eb54a56f0ed196ce83cfb4dca8e48a945b92ad
4
+ data.tar.gz: e07b13661f38516a53d143257ba9cb599a9bb3d4a373a01b558857fd66b88d1d
5
5
  SHA512:
6
- metadata.gz: 6134d2e2557c39b5f70e15148f3ad58bc22456719a241839e248547ee8076d3a78ede9e38f4969da50b6532e6a1a24e119e04f8cd918a5370e8fe3603c8ed048
7
- data.tar.gz: 95b54cb7fc3401e279d96fe997bbd15f938ddfc29795a45f42e689465c295aed701db4c8dcd0a2bdc365b0c192007c3882df11502f7615d30aa8118d57df6fe0
6
+ metadata.gz: 99e2ad7eb0b994e40d58128d193555c099583aebe36cbbd228f5c1d6b9cf00b707ef70ef38efd9d85377c08ff9e0714b8ca750b48d5b2d9365476ed72c496821
7
+ data.tar.gz: 4462af0614e3aaf052174cbb9e529e83580e4773a40e449e69ec3d8d3fb6d0a9ff9391f04b0bc19f58af05c06b529b7fe226893e49ba67e4e7abc0d7892afd52
@@ -0,0 +1,23 @@
1
+ class CreateEmailbutlerTables < ActiveRecord::Migration[7.0]
2
+ def self.up
3
+ enable_extension 'pgcrypto' unless extensions.include?('pgcrypto')
4
+ enable_extension 'uuid-ossp' unless extensions.include?('uuid-ossp')
5
+
6
+ create_table :emailbutler_messages do |t|
7
+ t.uuid :uuid, null: false, default: ''
8
+ t.string :mailer, null: false
9
+ t.string :action, null: false
10
+ t.jsonb :params, null: false, default: {}
11
+ t.string :send_to, array: true
12
+ t.integer :status, null: false, default: 0
13
+ t.datetime :timestamp
14
+ t.integer :lock_version
15
+ t.timestamps
16
+ end
17
+ add_index :emailbutler_messages, :uuid, unique: true
18
+ end
19
+
20
+ def self.down
21
+ drop_table :emailbutler_messages
22
+ end
23
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Emailbutler
4
- VERSION = '0.5.1'
4
+ VERSION = '0.5.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emailbutler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bogdanov Anton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-24 00:00:00.000000000 Z
11
+ date: 2023-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pagy
@@ -192,6 +192,7 @@ files:
192
192
  - app/views/emailbutler/ui/show.html.erb
193
193
  - app/views/layouts/emailbutler/application.html.erb
194
194
  - config/routes.rb
195
+ - db/migrate/20230510094545_create_emailbutler_tables.rb
195
196
  - lib/emailbutler.rb
196
197
  - lib/emailbutler/adapters/active_record.rb
197
198
  - lib/emailbutler/configuration.rb