emailbutler 0.5.1 → 0.5.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de503f5188a4859bb2acc6c7d1ac39cc2234a53448996fadb983a7e163c0c81d
|
4
|
+
data.tar.gz: b3206449dae7f2a71fd9e9ef497aaadbe84ce6929172a5c62c277a7beee2b209
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7932d306f29d795bf21fee80d674b566c782b1c0b1cfdff15fcc7428a6d15e88eb4021ad0ffa7ca5561fc11bba42c61f75a208f44e389de298127d96ee7f8a4
|
7
|
+
data.tar.gz: 2bb6aec32c739377b9dd6e277c02292f86589e4393d56cd9b5be7605f7c42554060316e3c701f3dbd5cfc59922c381f28a84e7a901c458804605274f9d7a8e6e
|
@@ -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
|
data/lib/emailbutler/version.rb
CHANGED
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.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bogdanov Anton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
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
|