ar_schema_functions 0.1.0 → 1.0.0

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: 6cea6bd061b0022cd749cbaed3924dc53e6c10957ec03f0a58e59dd5ab352414
4
- data.tar.gz: '09e0c07f709115d6b8e75f092ce0d281b3a488e970837d4a693a6671f5c042f3'
3
+ metadata.gz: 1fda297a7b4f65b65e4375a13dca0377c9189d5b20fec9ea413021acd74640d7
4
+ data.tar.gz: 77d743bc886fd34714510dc352d3d55468228e555ef93e144f4fb5fd4c14a8d1
5
5
  SHA512:
6
- metadata.gz: 12ac604674a76566f4dde3286ab352df2626df7b1f27597d340c648049087cd87a2e255a30e6adff73656f8892a4fa5fc59f89d9f7ef77556e6234502d9822c8
7
- data.tar.gz: c812aaceadfe1b99e1c7901735b72727ec446589be3a74d0f88533060c6eef5c08ab86e7361694940dbd00d806968a755a9a7faa51e338a42cbb76b1e9c501cf
6
+ metadata.gz: bd8633bb17f37351fa1c34c89fa4e817bbcbe691eb14dca018c2f39a7411f349024ea679c08267f223fcb82742901ff54b80d070f0142051a4c432c5059308c4
7
+ data.tar.gz: 026fc55766535335e549f1355e1a723d5b20fdfce32c66ab0b5f13c0beecd670ce8885b11dfcae449bc25a871bd033eabd08fd106e4e9838c6756d8fa0636722
data/Gemfile CHANGED
@@ -5,4 +5,4 @@ source 'https://rubygems.org'
5
5
  # Specify your gem's dependencies in ar_schema_functions.gemspec
6
6
  gemspec
7
7
 
8
- gem 'rubocop', '~> 1.7'
8
+ gem 'rubocop', '~> 1.69'
@@ -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', '< 7.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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ArSchemaFunctions
4
- VERSION = '0.1.0'
4
+ VERSION = '1.0.0'
5
5
  end
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.1.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: 2021-09-30 00:00:00.000000000 Z
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: 7.0.0
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: 7.0.0
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
- post_install_message:
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.15
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: []