activerecord-database_validations 1.0.2 → 1.0.4

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
- SHA1:
3
- metadata.gz: 0c958d3e6f6b26b65f447062fc4926cdb73abb06
4
- data.tar.gz: 692ec667b6c095d03b6ac8231523be2a8988b6fc
2
+ SHA256:
3
+ metadata.gz: 70af70d91f3fd227e8485b04f1e0b03e9de79a8a51d9cb5368b8505dc9059f76
4
+ data.tar.gz: 17ddba10f22ca9c762b7efd88c63a9215912af5664324bdc98fc267a7e8cb4c5
5
5
  SHA512:
6
- metadata.gz: 356b01e77794783b83103e9ecc5834f340c28da556426ee3cb1db763cf69208a5800b857c1e0801c1bcddff98d2ec58812bd29feb2961a9bcd19bf34fe5351e1
7
- data.tar.gz: f85b060b667b300197ea3d86a466587a45b71cbd6fd6ff2b2af9b1971ea795190f5a04bbe9236151edda8425746998a406520ddb1e3aa4da800c4cbf6db6fcae
6
+ metadata.gz: 1d787bb6706bd7d7ea68b4f6061401bbba6fec758f50d9865cb4603d8ddc16467dfe84a5865a30295bae6138e3c5f0d8abead1147424d2442b6edb99c9976a86
7
+ data.tar.gz: 72a27c367e40334b3f0ead1fe72a4a5bd78d14b033165a86eff340562862849bdff4f7dc0dd65cc3c29ce829889548623658812986265510399018959ebf51e8
data/README.md CHANGED
@@ -145,6 +145,8 @@ As Postgresql root:
145
145
  CREATE USER gemtester;
146
146
  CREATE DATABASE activerecord_database_validations_test;
147
147
  GRANT ALL PRIVILEGES ON DATABASE activerecord_database_validations_test TO gemtester;
148
+ \c activerecord_database_validations_test postgres
149
+ GRANT ALL ON SCHEMA public TO gemtester;
148
150
  ```
149
151
 
150
152
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -19,15 +19,17 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.add_runtime_dependency "activerecord", "~> 4.2", ">= 4.2.0"
22
+ spec.required_ruby_version = ">= 3.0"
23
23
 
24
- spec.add_development_dependency "bundler", "~> 1.8"
25
- spec.add_development_dependency "rake", "~> 10.0"
26
- spec.add_development_dependency "byebug", "~> 3.5"
27
- spec.add_development_dependency "rspec", "~> 3.2"
24
+ spec.add_runtime_dependency "activerecord", "~> 6.1"
25
+
26
+ spec.add_development_dependency "bundler", "~> 2.5"
27
+ spec.add_development_dependency "rake", "~> 13.2"
28
+ spec.add_development_dependency "rspec", "~> 3.13"
29
+ spec.add_development_dependency "byebug", "~> 11.1"
28
30
  spec.add_development_dependency "simplecov", "~> 0.9"
29
31
  spec.add_development_dependency "database_cleaner", "~> 1.4"
30
32
 
31
- spec.add_development_dependency "mysql2", "~> 0.3"
32
- spec.add_development_dependency "pg", "~> 0.18"
33
+ spec.add_development_dependency "mysql2", "~> 0.5"
34
+ spec.add_development_dependency "pg", "~> 1.5"
33
35
  end
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module DatabaseValidations
3
- VERSION = "1.0.2"
3
+ VERSION = "1.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-database_validations
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oded Niv
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-31 00:00:00.000000000 Z
11
+ date: 2024-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -16,76 +16,70 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '4.2'
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 4.2.0
19
+ version: '6.1'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: '4.2'
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: 4.2.0
26
+ version: '6.1'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: bundler
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
31
  - - "~>"
38
32
  - !ruby/object:Gem::Version
39
- version: '1.8'
33
+ version: '2.5'
40
34
  type: :development
41
35
  prerelease: false
42
36
  version_requirements: !ruby/object:Gem::Requirement
43
37
  requirements:
44
38
  - - "~>"
45
39
  - !ruby/object:Gem::Version
46
- version: '1.8'
40
+ version: '2.5'
47
41
  - !ruby/object:Gem::Dependency
48
42
  name: rake
49
43
  requirement: !ruby/object:Gem::Requirement
50
44
  requirements:
51
45
  - - "~>"
52
46
  - !ruby/object:Gem::Version
53
- version: '10.0'
47
+ version: '13.2'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
51
  requirements:
58
52
  - - "~>"
59
53
  - !ruby/object:Gem::Version
60
- version: '10.0'
54
+ version: '13.2'
61
55
  - !ruby/object:Gem::Dependency
62
- name: byebug
56
+ name: rspec
63
57
  requirement: !ruby/object:Gem::Requirement
64
58
  requirements:
65
59
  - - "~>"
66
60
  - !ruby/object:Gem::Version
67
- version: '3.5'
61
+ version: '3.13'
68
62
  type: :development
69
63
  prerelease: false
70
64
  version_requirements: !ruby/object:Gem::Requirement
71
65
  requirements:
72
66
  - - "~>"
73
67
  - !ruby/object:Gem::Version
74
- version: '3.5'
68
+ version: '3.13'
75
69
  - !ruby/object:Gem::Dependency
76
- name: rspec
70
+ name: byebug
77
71
  requirement: !ruby/object:Gem::Requirement
78
72
  requirements:
79
73
  - - "~>"
80
74
  - !ruby/object:Gem::Version
81
- version: '3.2'
75
+ version: '11.1'
82
76
  type: :development
83
77
  prerelease: false
84
78
  version_requirements: !ruby/object:Gem::Requirement
85
79
  requirements:
86
80
  - - "~>"
87
81
  - !ruby/object:Gem::Version
88
- version: '3.2'
82
+ version: '11.1'
89
83
  - !ruby/object:Gem::Dependency
90
84
  name: simplecov
91
85
  requirement: !ruby/object:Gem::Requirement
@@ -120,28 +114,28 @@ dependencies:
120
114
  requirements:
121
115
  - - "~>"
122
116
  - !ruby/object:Gem::Version
123
- version: '0.3'
117
+ version: '0.5'
124
118
  type: :development
125
119
  prerelease: false
126
120
  version_requirements: !ruby/object:Gem::Requirement
127
121
  requirements:
128
122
  - - "~>"
129
123
  - !ruby/object:Gem::Version
130
- version: '0.3'
124
+ version: '0.5'
131
125
  - !ruby/object:Gem::Dependency
132
126
  name: pg
133
127
  requirement: !ruby/object:Gem::Requirement
134
128
  requirements:
135
129
  - - "~>"
136
130
  - !ruby/object:Gem::Version
137
- version: '0.18'
131
+ version: '1.5'
138
132
  type: :development
139
133
  prerelease: false
140
134
  version_requirements: !ruby/object:Gem::Requirement
141
135
  requirements:
142
136
  - - "~>"
143
137
  - !ruby/object:Gem::Version
144
- version: '0.18'
138
+ version: '1.5'
145
139
  description: Use database validations and convert ActiveRecord::StatementInvalid into
146
140
  ActiveRecord::RecordInvalid
147
141
  email:
@@ -169,7 +163,7 @@ homepage: https://github.com/odedniv/activerecord-database_validations
169
163
  licenses:
170
164
  - Unlicense
171
165
  metadata: {}
172
- post_install_message:
166
+ post_install_message:
173
167
  rdoc_options: []
174
168
  require_paths:
175
169
  - lib
@@ -177,16 +171,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
177
171
  requirements:
178
172
  - - ">="
179
173
  - !ruby/object:Gem::Version
180
- version: '0'
174
+ version: '3.0'
181
175
  required_rubygems_version: !ruby/object:Gem::Requirement
182
176
  requirements:
183
177
  - - ">="
184
178
  - !ruby/object:Gem::Version
185
179
  version: '0'
186
180
  requirements: []
187
- rubyforge_project:
188
- rubygems_version: 2.5.1
189
- signing_key:
181
+ rubygems_version: 3.5.9
182
+ signing_key:
190
183
  specification_version: 4
191
184
  summary: Handle database validations
192
185
  test_files: []