deprecated_attributes 0.1.0 → 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/Gemfile.lock +1 -1
- data/README.md +5 -5
- data/lib/deprecated_attributes/version.rb +1 -1
- 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: 1c08b3005a036827e6c38fcb194358be675484f4007905150faf31d0c8ffbe31
|
4
|
+
data.tar.gz: 23d2bda0761e4ce3535f06f0a3f98a434dd06c15ff18618a037d38f648da80b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0418394804f8ca79a316cce9403ea813da1bf8c1e2fd006cb350c5c8d86ff6ddbfa7558dbfb61565c2af08ee4dfb495612a0998b21cc0632b39d17a12a74decd'
|
7
|
+
data.tar.gz: 5b45d938ca28f67c54340ba2d8266ac89ea7bb3d98e4793227e468096a5e41169f9f7b897e404fd83549807f94e57c915e63f26d083ada61d572c3c44d54d026
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
# DeprecatedAttributes (WIP)
|
2
2
|
|
3
|
-
**This is a work in progress and learning exercise**
|
3
|
+
**This is a work in progress and learning exercise**
|
4
4
|
|
5
|
-
|
5
|
+
DeprecatedAttributes provides a straightforward and unobtrusive method for flagging deprecated attributes in your model. When these attributes are accessed, a deprecation warning message will be logged. Additionally, an exception can be raised if desired along with a trace of where the deprecated attribute was called.
|
6
6
|
|
7
|
-
|
7
|
+
## Installation
|
8
8
|
|
9
9
|
Install the gem and add to the application's Gemfile by executing:
|
10
10
|
|
11
|
-
$ bundle add
|
11
|
+
$ bundle add deprecated_attributes
|
12
12
|
|
13
13
|
If bundler is not being used to manage dependencies, install the gem by executing:
|
14
14
|
|
15
|
-
$ gem install
|
15
|
+
$ gem install deprecated_attributes
|
16
16
|
|
17
17
|
## Configuration
|
18
18
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deprecated_attributes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nora Alvarado
|
@@ -139,7 +139,7 @@ homepage: https://github.com/aromaron/deprecated_attributes
|
|
139
139
|
licenses:
|
140
140
|
- MIT
|
141
141
|
metadata:
|
142
|
-
homepage_uri: https://
|
142
|
+
homepage_uri: https://github.com/aromaron/deprecated_attributes
|
143
143
|
source_code_uri: https://github.com/aromaron/deprecated_attributes
|
144
144
|
changelog_uri: https://github.com/aromaron/deprecated_attributes/blob/main/CHANGELOG.md
|
145
145
|
post_install_message:
|