annotated 0.0.3 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 234cffd4332e9173022d1c644686205b444f88a6526cc7770ba25d4ca7d2bb0a
4
- data.tar.gz: 80e0347ce4b6ed394fa7a3768844f39e3f831b215dbfb638cd44855b1547295d
3
+ metadata.gz: 617bcb6838a7a3cdccab9486bafe8a9745a2d414d2c49076759458ad58e2958c
4
+ data.tar.gz: e6a06bf5d076255392244953e37cf8dbd5ee6125b04e6ddcf0352d07b62f72fa
5
5
  SHA512:
6
- metadata.gz: a50b1e0aa1e41c55ce7a95d8d97a00c621861f06130c8342269960913317cd1dbf456e9224507b79e0c78062bb0b398c936b7e45f7870060ca4bb1db46feb056
7
- data.tar.gz: cd129ad31470998d38d7973ae67364eeec25c1441562660d9762be36452baf2456c4c0eba6c0ac99eb5a5131b80263f8f27bea2f448d76165ce2a4a416262d52
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 minimal to their existing configuration or workflow.
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)
@@ -1,5 +1,5 @@
1
1
  module Annotated
2
2
  def self.version
3
- "0.0.3"
3
+ "0.1.1"
4
4
  end
5
5
  end
data/lib/annotated.rb CHANGED
@@ -143,3 +143,6 @@ module Annotated
143
143
  end
144
144
  end
145
145
  end
146
+
147
+ # Allow Annotate to refer to Annotated
148
+ Annotate = Annotated unless defined?(Annotate)
@@ -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 "annotate"
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.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: annotated
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Froelich