intosql 0.2.1 → 0.3.1

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: e1bd39e307362f1004ebb0c6b2cafe15fd5048483237a1c4d4964bd09b4cea5f
4
- data.tar.gz: 9b8b6b32ff26c1f73ff8522b766162cd238ae6c8e817c5fb2ee3adae52170d58
3
+ metadata.gz: 5f02bad4bf61e9009764ccd9d24accfea76d37bfefd5c9bb5d6f7f7ad7984e9d
4
+ data.tar.gz: 1d5dab23a612c181b2cbd3340debb737f0a246ffc38f995d11c7c84469b2c8f6
5
5
  SHA512:
6
- metadata.gz: 58af7ac347d3f456b8c77a05fd1829111303fa3e1bea35b76193fecc2e41b0ad348052dba3a3258d5dcd05c23f329d3ff08e702cca863c855835d42057e2bcbd
7
- data.tar.gz: 8e85321133271a88a84dc97a3835f8038a551c4f3af6f4050f7094fce8db284be581a84da7e20144dafbcc6bd9b0b956e8656df11bd911caaed0d408a083cb96
6
+ metadata.gz: '089ea29a168349659b874d91c2140879f48a24e63882fc4a5347201a73303bb82a6e881f993f32f3d4953f0dbd7680b81d4740c164b6be3f4bebc3778546e12d'
7
+ data.tar.gz: dd156c0d309e377cd5872c210e79e944708d6c058646f3f3643c17a0ea3a253499ed311bbce8f34b186c524383226a7d2e0a1879da9cbae19242bd0f8dfbab21
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.1
4
+
5
+ - The README says a SQL Server script converts to any of the six databases, and its report carries the codes of each target.
6
+
7
+ ## 0.3.0
8
+
9
+ - `IntoSQL::ObjectKind` includes what PostgreSQL dumps leave out: `MATERIALIZED_VIEW`, `RULE`, `EXTENSION`, `POLICY`, `TYPE` and `OTHER`.
10
+
3
11
  ## 0.2.1
4
12
 
5
13
  - The README says a MySQL or MariaDB dump converts to any of the six databases, and its report carries the codes of each target.
data/README.md CHANGED
@@ -22,7 +22,7 @@ puts conversion.report[:rows][:converted], conversion.output.url
22
22
 
23
23
  The file streams to storage as it is; the output URL downloads the script for ten minutes. Read the conversion again (`intosql.conversions.retrieve(id)`) for a fresh one.
24
24
 
25
- A MySQL or MariaDB dump (`.sql`, `.sql.gz`) converts to any of the six databases like any file. `job_report` reads the report with each of its tables:
25
+ A MySQL, MariaDB, PostgreSQL or SQL Server dump (`.sql`, `.sql.gz`) converts to any of the six databases like any file. `job_report` reads the report with each of its tables:
26
26
 
27
27
  ```ruby
28
28
  conversion = intosql.convert("shop.sql.gz", spec: IntoSQL.spec(dialect: "postgresql"))
@@ -8,7 +8,13 @@ module IntoSQL
8
8
  PROCEDURE = "procedure"
9
9
  FUNCTION = "function"
10
10
  EVENT = "event"
11
- ALL = [VIEW, TRIGGER, PROCEDURE, FUNCTION, EVENT].freeze
11
+ MATERIALIZED_VIEW = "materialized_view"
12
+ RULE = "rule"
13
+ EXTENSION = "extension"
14
+ POLICY = "policy"
15
+ TYPE = "type"
16
+ OTHER = "other"
17
+ ALL = [VIEW, TRIGGER, PROCEDURE, FUNCTION, EVENT, MATERIALIZED_VIEW, RULE, EXTENSION, POLICY, TYPE, OTHER].freeze
12
18
  end
13
19
 
14
20
  # A correction the engine made, numbered like a proofreader's mark. `code` is a string.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IntoSQL
4
- VERSION = "0.2.1"
4
+ VERSION = "0.3.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: intosql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - IntoSQL