wallaby-active_record 0.3.0.beta2 → 0.3.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: c0ffcff5694a2b37982d0e752e4208f026d09afd5f04f652a0e929ca4d7e56d1
4
- data.tar.gz: 1bafa98bdb7c0c0d8a9cbcde34ee3adf395602e114c7eab7cd453220739208e8
3
+ metadata.gz: 03f5967aca28af5990d234b365d6ca0bd25cc4f997ff3f46626528f8408534d5
4
+ data.tar.gz: d54094df9feffc22a6c0e96a4bf6603edb89739bbc431765b0953ef6bea857bf
5
5
  SHA512:
6
- metadata.gz: acf252735ca164597c15324ec2addacfa080ebe763e99e0830d8e7194acf69844e7b7daeaa8387fe9efe746d5d9a70a7d9a49ac26b608a34cb0c5fb9d6ea9dd7
7
- data.tar.gz: d6357260a030a20f5a1300eed8836ee3907cc326c2a02d005e0f66e21afe954a4803af02f209de38de0c2f1f2ae3c881ae3d64a005fa910c813215a1941788d7
6
+ metadata.gz: f1c7bbcce9cb0131706f56ad6d929f3457ce793019d4df3ab9ab9fd57aa3a7433703cccba4c5e164d1320409297d1c235e1f8feccde141eeff96f3a690811aa5
7
+ data.tar.gz: 633a73990fa2d56756e96d661a84877624fe00a158543b0b0a6bc59136ddf0ca234fa16ed4a887fbf929ecdb7e9eb9a56f013aefecb9ababe0c5ceb0805fef44
@@ -45,7 +45,7 @@ module Wallaby
45
45
  # @param column [ActiveRecord::ConnectionAdapters::Column]
46
46
  # @return [String] field type
47
47
  def to_type(column)
48
- return 'active_storage' if @model_class.respond_to?("with_attached_#{column.name}")
48
+ return 'active_storage' if @model_class.respond_to?(:"with_attached_#{column.name}")
49
49
 
50
50
  column.type.to_s
51
51
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Wallaby
4
4
  module ActiveRecordGem
5
- VERSION = '0.3.0.beta2' # :nodoc:
5
+ VERSION = '0.3.0' # :nodoc:
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wallaby-active_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0.beta2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
- - Tian Chen
7
+ - Tianwen Chen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-21 00:00:00.000000000 Z
11
+ date: 2024-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -17,6 +17,9 @@ dependencies:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 6.0.0
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 8.0.0
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -24,20 +27,23 @@ dependencies:
24
27
  - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: 6.0.0
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: 8.0.0
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: wallaby-core
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - '='
32
38
  - !ruby/object:Gem::Version
33
- version: 0.3.0.beta2
39
+ version: 0.3.0
34
40
  type: :runtime
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
44
  - - '='
39
45
  - !ruby/object:Gem::Version
40
- version: 0.3.0.beta2
46
+ version: 0.3.0
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: cancancan
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -125,13 +131,13 @@ files:
125
131
  - lib/adapters/wallaby/active_record/pundit_provider.rb
126
132
  - lib/wallaby/active_record.rb
127
133
  - lib/wallaby/active_record/version.rb
128
- homepage: https://github.com/wallaby-rails/wallaby-active_record
134
+ homepage: https://github.com/wallaby-rails/wallaby-rails/blob/main/wallaby-active_record
129
135
  licenses:
130
136
  - MIT
131
137
  metadata:
132
- homepage_uri: https://github.com/wallaby-rails/wallaby-active_record
133
- source_code_uri: https://github.com/wallaby-rails/wallaby-active_record
134
- changelog_uri: https://github.com/wallaby-rails/wallaby-active_record/blob/master/CHANGELOG.md
138
+ homepage_uri: https://github.com/wallaby-rails/wallaby-rails/blob/main/wallaby-active_record
139
+ source_code_uri: https://github.com/wallaby-rails/wallaby-rails/blob/main/wallaby-active_record
140
+ changelog_uri: https://github.com/wallaby-rails/wallaby-rails/blob/main/wallaby-active_record/CHANGELOG.md
135
141
  rubygems_mfa_required: 'true'
136
142
  post_install_message:
137
143
  rdoc_options: []
@@ -144,11 +150,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
144
150
  version: '0'
145
151
  required_rubygems_version: !ruby/object:Gem::Requirement
146
152
  requirements:
147
- - - ">"
153
+ - - ">="
148
154
  - !ruby/object:Gem::Version
149
- version: 1.3.1
155
+ version: '0'
150
156
  requirements: []
151
- rubygems_version: 3.3.7
157
+ rubygems_version: 3.5.5
152
158
  signing_key:
153
159
  specification_version: 4
154
160
  summary: Wallaby's ActiveRecord ORM adapter