annotated 0.0.3 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/annotated/version.rb +1 -1
- data/lib/annotated.rb +3 -0
- data/lib/generators/annotated/templates/auto_annotate_models.rake +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 617bcb6838a7a3cdccab9486bafe8a9745a2d414d2c49076759458ad58e2958c
|
4
|
+
data.tar.gz: e6a06bf5d076255392244953e37cf8dbd5ee6125b04e6ddcf0352d07b62f72fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b75d17511b733d64ba2aa3aa05d451841c5d6c16f0d25fbb5b77f5986a129c7961ce11089a0e52b8a83720393e17e2c988472be5ecb4c04b7f9d737f7c999f8a
|
7
|
+
data.tar.gz: 81a3b9ee8ade3f171bd2ea7607e45c5154739b1c88423f74f6ef141e44f2f79d8b1f440081fcea769999f06838b726fc18126c8a37c1eaba16d6557282913618
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
> This is a fork of the [annotate](https://github.com/ctran/annotate_models) gem, created to provide ongoing maintenance and updates while maintaining drop-in compatibility. This fork was created in response to the original gem's maintenance status (see [discussion](https://github.com/ctran/annotate_models/issues/1028)) and serves as an alternative to [annotaterb](https://github.com/drwl/annotaterb) which introduces breaking changes.
|
4
4
|
>
|
5
|
-
> Unlike annotaterb, this gem aims to be a direct drop-in replacement for the original annotate gem, allowing users to migrate without any
|
5
|
+
> Unlike annotaterb, this gem aims to be a direct drop-in replacement for the original annotate gem, allowing users to migrate without any changes to their existing configuration or workflow.
|
6
6
|
|
7
7
|
|
8
8
|
[![Gem Version](https://badge.fury.io/rb/annotated.svg)](http://badge.fury.io/rb/annotated)
|
data/lib/annotated/version.rb
CHANGED
data/lib/annotated.rb
CHANGED
@@ -2,7 +2,8 @@
|
|
2
2
|
# NOTE: are sensitive to local FS writes, and besides -- it's just not proper
|
3
3
|
# NOTE: to have a dev-mode tool do its thing in production.
|
4
4
|
if Rails.env.development?
|
5
|
-
require "
|
5
|
+
require "annotated"
|
6
|
+
|
6
7
|
task :set_annotation_options do
|
7
8
|
# You can override any of these by setting an environment variable of the
|
8
9
|
# same name.
|