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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 044bb261cd21bcd1818b20ea7f03b2c165683faceff65c4fd1af356f4a2da560
4
- data.tar.gz: 4d06cd0e53fd8450f8ed86b42cb801b3e8e79426bc56ee34a9bd2d61185f3e48
3
+ metadata.gz: 1fda297a7b4f65b65e4375a13dca0377c9189d5b20fec9ea413021acd74640d7
4
+ data.tar.gz: 77d743bc886fd34714510dc352d3d55468228e555ef93e144f4fb5fd4c14a8d1
5
5
  SHA512:
6
- metadata.gz: 537b1d542b7257136f4a72332e3575fd17aad2c25b0863916e2fe0c0eba035d1d6ec29b288aa360cdcbead06d15ec494d5536e4791d025a818d903daad98fef7
7
- data.tar.gz: f23fdd9b5ce97a8583b99d43560e1ce7cc0820759ef2292568075ed89c94b3ab0efee2f24f2994b8a7f5297cd962c351c2105508dd2acb233fe010a21a63da71
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', '< 8.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.1'
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.1
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: 2022-04-20 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: 8.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: 8.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.32
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: []