scenic-oracle_adapter 1.3.4 → 1.3.5

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: 453bc175d2fa922a314a781064fb63a6415dc3be36aa096baa9d52c77f1542ed
4
- data.tar.gz: 3d5ed519bc3ce673c934bc32d310b298c8d525e12fd089abf8a1201674036d4e
3
+ metadata.gz: deca022db8759f5e92910b10e1c9174717499054ca3d35f3036cc33ee621163c
4
+ data.tar.gz: bc8288c1ca2955e36eaa3005ecd2d46458e1efa7038124c076d2b9dc353aa3cd
5
5
  SHA512:
6
- metadata.gz: cb0722b1989112a9b5f48c7fdbd7b303d4fd7baf5b577dc002bcd9d174e795b120715b725ffdd72cc562f7522b09a9eea13cc8e4984dccd53d929bdea2b1b0c4
7
- data.tar.gz: df2366ae4965f197b205f7148ecef307f17695f3c05815b17ee681bf230b53c2bb1edfc7831b854d590022422fbfc42c3ce00e526ff7d14f719ecc8399ae5ce6
6
+ metadata.gz: 530586109add300de30c1752f84ab28f568aa94cc262209a65881c408e3341b79e5f4ebab753b8610adf2c110645602a58442853dc42a67a47787e5e3081ae66
7
+ data.tar.gz: f632cc5e34fe412fca3d3dc5255177109bb5e2f2ca71aad84659e1c7ae1dae5dadc600bef3884423803e58d5c1d521f5ed33790e44ac463030a54d7424dd322b
@@ -13,4 +13,4 @@ jobs:
13
13
  steps:
14
14
  - uses: actions/checkout@v2
15
15
  - name: Run tests
16
- run: docker-compose run gem rspec
16
+ run: docker compose run gem rspec
data/CHANGELOG.md ADDED
@@ -0,0 +1,75 @@
1
+ # Changelog
2
+
3
+ ## v1.3.5 - Oct 9, 2024
4
+
5
+ - Silence ActiveRecord output while running specs. Clean green dots! (@eeklund, @dlagerro)
6
+ - Fix growing indentation issue in schema.rb after `schema:dump`/`schema:load` (@eeklund, @dlagerro)
7
+
8
+ ## v1.3.4 - Jul 22, 2024
9
+
10
+ - Fixes a syntax issue in pre-3.1 rubies
11
+ - Fixes SchemaDumper error when all view objects aren't present in Oracle's user_dependencies
12
+ - Reduce git churn in schema.rb by ordering views before they're handed to SchemaDumper
13
+ - Strip newlines and trailing semicolons from view definitions
14
+
15
+ ## v1.3.3 - Jul 18, 2024
16
+
17
+ - Fixes an issue with dependency sorting where mviews will sometimes be classified as a tables in user_dependencies (@whit0694)
18
+
19
+ ## v1.3.2 - Jul 3, 2024
20
+
21
+ - Fixes a bug in the dependency-ordered views logic when Scenic views depend on external objects (@whit0694)
22
+
23
+ ## v1.3.1 - Jul 3, 2024
24
+
25
+ - Ensures views in schema.rb are correctly ordered based on dependencies
26
+
27
+ ## v1.3.0 - Mar 29, 2024
28
+
29
+ - Update to scenic version 1.8.0
30
+ - Adds support for the #populated? model method
31
+
32
+ ## v1.2.2 - Apr 27, 2023
33
+
34
+ - This fixes the botched publishing of 1.2.1 (#14).
35
+ - The 1.2.1 gem file that was published to rubygems.org didn't contain any source code in the tarball. It was yanked and replaced with 1.2.2.
36
+
37
+ ## v1.2.1 - Apr 20, 2023
38
+
39
+ - Fixes a bug where update_view fails on materialized views (#13)
40
+
41
+ ## v1.2.0 - Dec 16, 2022
42
+
43
+ - Update to scenic version 1.7.0
44
+ - Update Oracle docker container to 21 XE for testing and local development
45
+
46
+ ## v1.1.1 - Sep 10, 2021
47
+
48
+ - Fixes issue with schema dumping in pre-1.7.0 versions of activerecord-oracle_enhanced-adapter.
49
+
50
+ ## v1.1.0 - Apr 23, 2021
51
+
52
+ - Added support for unpopulated materialized views (build deferrred) via scenic's no_data option.
53
+ - Move CI from Travis CI to Github Actions.
54
+
55
+ ## v1.0.3 - Apr 22, 2021
56
+
57
+ - Update scenic dependency to 1.5.4 to provide support for Ruby 3
58
+
59
+ ## v1.0.2 - May 11, 2020
60
+
61
+ - Remove ruby-oci as a direct dependency for jruby users (it was moved to a development dependency)
62
+ - Drop ruby 2.4 from the CI matrix. 2.4 is no longer supported.
63
+
64
+ ## v1.0.1 - Apr 7, 2020
65
+
66
+ - Update rake development dependency to address CVE-2020-8130
67
+ - Default to docker/docker-compose for development and specs
68
+
69
+ ## v1.0.0 - Nov 25, 2018
70
+
71
+ - This release adds cascading materialized view refreshes.
72
+
73
+ ## v0.2.0 Pre-release - Oct 24, 2018
74
+
75
+ - Initial release with feature parity with Scenic::Adapters::Postgres with the exception of cascading materialized view refreshes.
@@ -3,6 +3,7 @@
3
3
  require_relative "oracle/index_reapplication"
4
4
  require_relative "oracle/indexes"
5
5
  require_relative "oracle/refresh_dependencies"
6
+ require "active_support/core_ext/string/strip"
6
7
  require "tsortable_hash"
7
8
 
8
9
  module Scenic
@@ -138,7 +139,7 @@ module Scenic
138
139
  end
139
140
 
140
141
  def trimmed_definition(sql)
141
- sql.strip.sub(/;$/, "").strip
142
+ sql.rstrip.sub(/;$/, "").rstrip.strip_heredoc
142
143
  end
143
144
  end
144
145
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Scenic
4
4
  module OracleAdapter
5
- VERSION = "1.3.4"
5
+ VERSION = "1.3.5"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scenic-oracle_adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.4
4
+ version: 1.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Dinger
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-22 00:00:00.000000000 Z
11
+ date: 2024-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: scenic
@@ -119,6 +119,7 @@ files:
119
119
  - ".gitignore"
120
120
  - ".rspec"
121
121
  - ".rubocop.yml"
122
+ - CHANGELOG.md
122
123
  - CODE_OF_CONDUCT.md
123
124
  - Dockerfile
124
125
  - Gemfile
@@ -158,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
159
  - !ruby/object:Gem::Version
159
160
  version: '0'
160
161
  requirements: []
161
- rubygems_version: 3.5.4
162
+ rubygems_version: 3.5.17
162
163
  signing_key:
163
164
  specification_version: 4
164
165
  summary: Oracle adapter for thoughtbot/scenic