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 +4 -4
- data/db/migrate/20230510094545_create_emailbutler_tables.rb +23 -0
- data/lib/emailbutler/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fdaa7a5a1754566c770796a140eb54a56f0ed196ce83cfb4dca8e48a945b92ad
|
4
|
+
data.tar.gz: e07b13661f38516a53d143257ba9cb599a9bb3d4a373a01b558857fd66b88d1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.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:
|
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
|