saseo 0.4.2 → 0.4.3
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 +4 -4
- data/db/saseo/migrate/20151116235958_allow_null_ids.rb +9 -0
- data/db/saseo/schema.rb +2 -2
- data/lib/saseo/models/version.rb +0 -1
- data/lib/saseo/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 365c9551971dcd5e511dd8bfceffbf60ead36c2f
|
|
4
|
+
data.tar.gz: 3cee7c15a02815d3c9fea3c92d6d85d61c21cd7c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 78ffd353c6977bba243eceed9794711449d62a0df65b593bbf25005eb41da2cde0e591f4ff65e070628dba305d2b0d9dbb7135ec111af721156b80a402bffc7a
|
|
7
|
+
data.tar.gz: e3f4d6356a9c3b117bc9e1eccc301e1456a1035612c2e5f590f1cba8fe2493ece7ef28fde3ee577854f0dcb67ab56f0a88bd0f1faca4af32dd18b7d94a96b1af
|
data/db/saseo/schema.rb
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
#
|
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
|
13
13
|
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
|
14
|
+
ActiveRecord::Schema.define(version: 20151116235958) do
|
|
15
15
|
|
|
16
16
|
# These are extensions that must be enabled in order to support this database
|
|
17
17
|
enable_extension "plpgsql"
|
|
@@ -19,7 +19,7 @@ ActiveRecord::Schema.define(version: 20151108210618) do
|
|
|
19
19
|
|
|
20
20
|
create_table "saseo_versions", id: :uuid, default: "uuid_generate_v4()", force: :cascade do |t|
|
|
21
21
|
t.integer "transaction_id", limit: 8, null: false
|
|
22
|
-
t.integer "item_id"
|
|
22
|
+
t.integer "item_id"
|
|
23
23
|
t.uuid "item_uuid"
|
|
24
24
|
t.string "table_name", null: false
|
|
25
25
|
t.string "action", null: false
|
data/lib/saseo/models/version.rb
CHANGED
|
@@ -8,7 +8,6 @@ module Saseo
|
|
|
8
8
|
|
|
9
9
|
validates :transaction_id, presence: true
|
|
10
10
|
validates :table_name, presence: true
|
|
11
|
-
validates :item_id, presence: true
|
|
12
11
|
validates :action_timestamp, presence: true
|
|
13
12
|
validates :action, presence: true, inclusion: {in: %w[INSERT UPDATE DELETE]}
|
|
14
13
|
validates :whodunnit, presence: true
|
data/lib/saseo/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: saseo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nathan Keyes
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-11-
|
|
11
|
+
date: 2015-11-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: awesome_print
|
|
@@ -202,6 +202,7 @@ files:
|
|
|
202
202
|
- bin/setup
|
|
203
203
|
- db/saseo/migrate/20151028181502_initial_schema.rb
|
|
204
204
|
- db/saseo/migrate/20151108210618_add_indexes.rb
|
|
205
|
+
- db/saseo/migrate/20151116235958_allow_null_ids.rb
|
|
205
206
|
- db/saseo/schema.rb
|
|
206
207
|
- db/saseo_source/migrate/20151028181502_initial_schema.rb
|
|
207
208
|
- db/saseo_source/schema.rb
|