annotaterb 4.10.0 → 4.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/VERSION +1 -1
- data/lib/annotate_rb/model_annotator/annotation_decider.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3439937ec29e9b23e7902464eab521443e5171b74cfa386bfc0f4a163eaf2ea3
|
4
|
+
data.tar.gz: de7e55a701dc842603467c64576f005c93dee653c3876baa0603906c380efaf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69243cd57c5c6f284cf06a12465cdfd5fc1bf98c5802e89e7bc44a1e9a7f1e3bc63f2af96dab36aae68406d97a4978e16213c7a63c72e902b33ada3a284a512d
|
7
|
+
data.tar.gz: 96680dd592b3d95825d657af8393b740119920907804f363b179f0199010ed11b03f89461720c099292ca70b71d85acca0005e8c913a8ce88b47e58667c3ca78
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v4.10.0](https://github.com/drwl/annotaterb/tree/v4.10.0) (2024-06-28)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/drwl/annotaterb/compare/v4.9.0...v4.10.0)
|
6
|
+
|
7
|
+
**Closed issues:**
|
8
|
+
|
9
|
+
- Feature Request: add support for arrays when using StoreModel [\#125](https://github.com/drwl/annotaterb/issues/125)
|
10
|
+
- Error on composite foreign key constraints [\#121](https://github.com/drwl/annotaterb/issues/121)
|
11
|
+
|
12
|
+
**Merged pull requests:**
|
13
|
+
|
14
|
+
- Bump version to v4.10.0 [\#128](https://github.com/drwl/annotaterb/pull/128) ([drwl](https://github.com/drwl))
|
15
|
+
- Support composite foreign keys [\#126](https://github.com/drwl/annotaterb/pull/126) ([drwl](https://github.com/drwl))
|
16
|
+
- Add files to improve other's ability to help the project [\#123](https://github.com/drwl/annotaterb/pull/123) ([drwl](https://github.com/drwl))
|
17
|
+
- Add database and adapter to issue template [\#122](https://github.com/drwl/annotaterb/pull/122) ([drwl](https://github.com/drwl))
|
18
|
+
- Generate changelog for v4.9.0 [\#120](https://github.com/drwl/annotaterb/pull/120) ([drwl](https://github.com/drwl))
|
19
|
+
|
3
20
|
## [v4.9.0](https://github.com/drwl/annotaterb/tree/v4.9.0) (2024-05-29)
|
4
21
|
|
5
22
|
[Full Changelog](https://github.com/drwl/annotaterb/compare/v4.8.0...v4.9.0)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.10.
|
1
|
+
4.10.1
|
@@ -23,8 +23,8 @@ module AnnotateRb
|
|
23
23
|
return false if !klass_is_a_class
|
24
24
|
|
25
25
|
klass_inherits_active_record_base = klass < ActiveRecord::Base
|
26
|
-
klass_is_not_abstract = klass.respond_to?(:abstract_class) && !klass.abstract_class?
|
27
|
-
klass_table_exists = klass.respond_to?(:
|
26
|
+
klass_is_not_abstract = klass.respond_to?(:abstract_class?) && !klass.abstract_class?
|
27
|
+
klass_table_exists = klass.respond_to?(:table_exists?) && klass.table_exists?
|
28
28
|
|
29
29
|
not_sure_this_conditional = (!@options[:exclude_sti_subclasses] || !(klass.superclass < ActiveRecord::Base && klass.table_name == klass.superclass.table_name))
|
30
30
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: annotaterb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.10.
|
4
|
+
version: 4.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew W. Lee
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Annotates Rails/ActiveRecord Models, routes, fixtures, and others based
|
14
14
|
on the database schema.
|