ar_schema_functions 0.1.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/ar_schema_functions.gemspec +2 -1
- data/lib/ar_schema_functions/extensions.rb +1 -1
- data/lib/ar_schema_functions/version.rb +1 -1
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fda297a7b4f65b65e4375a13dca0377c9189d5b20fec9ea413021acd74640d7
|
4
|
+
data.tar.gz: 77d743bc886fd34714510dc352d3d55468228e555ef93e144f4fb5fd4c14a8d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd8633bb17f37351fa1c34c89fa4e817bbcbe691eb14dca018c2f39a7411f349024ea679c08267f223fcb82742901ff54b80d070f0142051a4c432c5059308c4
|
7
|
+
data.tar.gz: 026fc55766535335e549f1355e1a723d5b20fdfce32c66ab0b5f13c0beecd670ce8885b11dfcae449bc25a871bd033eabd08fd106e4e9838c6756d8fa0636722
|
data/Gemfile
CHANGED
data/ar_schema_functions.gemspec
CHANGED
@@ -16,9 +16,10 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.metadata['homepage_uri'] = spec.homepage
|
17
17
|
spec.metadata['source_code_uri'] = 'https://github.com/visibuild/ar_schema_functions'
|
18
18
|
spec.metadata['changelog_uri'] = 'https://github.com/visibuild/ar_schema_functions/blob/master/CHANGELOG.md'
|
19
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
19
20
|
|
20
21
|
spec.files = Dir['lib/**/*'] + %w[Gemfile ar_schema_functions.gemspec]
|
21
22
|
spec.require_paths = ['lib']
|
22
23
|
|
23
|
-
spec.add_dependency 'activerecord', '>= 4.0.0', '<
|
24
|
+
spec.add_dependency 'activerecord', '>= 4.0.0', '< 9.0.0'
|
24
25
|
end
|
@@ -38,7 +38,7 @@ module ArSchemaFunctions
|
|
38
38
|
end
|
39
39
|
|
40
40
|
module PostgreSQLAdapter
|
41
|
-
def functions
|
41
|
+
def functions # rubocop:disable Metrics/MethodLength
|
42
42
|
# From https://dataedo.com/kb/query/postgresql/list-user-defined-functions
|
43
43
|
exec_query(<<~SQL.squish, 'SCHEMA').cast_values
|
44
44
|
select case when l.lanname = 'internal' then p.prosrc
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ar_schema_functions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dave Allie
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-07 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: activerecord
|
@@ -19,7 +18,7 @@ dependencies:
|
|
19
18
|
version: 4.0.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
21
|
+
version: 9.0.0
|
23
22
|
type: :runtime
|
24
23
|
prerelease: false
|
25
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,8 +28,7 @@ dependencies:
|
|
29
28
|
version: 4.0.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
33
|
-
description:
|
31
|
+
version: 9.0.0
|
34
32
|
email:
|
35
33
|
- dave@visibuild.com.au
|
36
34
|
executables: []
|
@@ -50,7 +48,7 @@ metadata:
|
|
50
48
|
homepage_uri: https://github.com/visibuild/ar_schema_functions
|
51
49
|
source_code_uri: https://github.com/visibuild/ar_schema_functions
|
52
50
|
changelog_uri: https://github.com/visibuild/ar_schema_functions/blob/master/CHANGELOG.md
|
53
|
-
|
51
|
+
rubygems_mfa_required: 'true'
|
54
52
|
rdoc_options: []
|
55
53
|
require_paths:
|
56
54
|
- lib
|
@@ -65,8 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
65
63
|
- !ruby/object:Gem::Version
|
66
64
|
version: '0'
|
67
65
|
requirements: []
|
68
|
-
rubygems_version: 3.2
|
69
|
-
signing_key:
|
66
|
+
rubygems_version: 3.6.2
|
70
67
|
specification_version: 4
|
71
68
|
summary: Populate schema.rb with stored SQL functions
|
72
69
|
test_files: []
|