deep_dirty 1.0.0 → 1.0.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 +4 -4
- data/deep_dirty.gemspec +7 -3
- data/lib/deep_dirty/version.rb +1 -1
- metadata +7 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b823ed4b38aadd4d9f2b6f4cc31ad5431934c841
|
4
|
+
data.tar.gz: 099dfb3ac6171eec03e463f53b8a7446bdf11cba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 348358da1bd68f650239b3400f165a5717d69739f0e712547599f54fd22ad22d49224e2a9c3ee88c584b55ba26c9cc351da400abb0f0d253582843c90e6f6271
|
7
|
+
data.tar.gz: 8cbcf7b832bbdc2ab6d326701d98352c593c862fdcd762ef3ddcf32e371d947a6b51a8cc3bd452f3c0a8c4eb2bb61ef09a7f04faf6344744a8de58dda394a14b
|
data/deep_dirty.gemspec
CHANGED
@@ -8,9 +8,13 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = DeepDirty::VERSION
|
9
9
|
spec.authors = ["Laas Toom"]
|
10
10
|
spec.email = ["laas.toom@gmail.com"]
|
11
|
-
spec.summary = %q{Dirty tracking that supports implicit
|
12
|
-
spec.description = %q{
|
13
|
-
|
11
|
+
spec.summary = %q{Dirty tracking that supports implicit changes (e.g. upcase! etc)}
|
12
|
+
spec.description = %q{Deep dirty checking that compares every attribute to it's value before type cast
|
13
|
+
and marks all changes detected as changed attributes. This makes possible detecting `user.name.upcase!`
|
14
|
+
and similar implicit changes.
|
15
|
+
|
16
|
+
To make it automatic on `save`, including this module sets up a `before_validation` callback.
|
17
|
+
}
|
14
18
|
spec.homepage = "https://github.com/borgand/deep_dirty"
|
15
19
|
spec.license = "MIT"
|
16
20
|
|
data/lib/deep_dirty/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deep_dirty
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Laas Toom
|
@@ -66,9 +66,11 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 3.0.0
|
69
|
-
description:
|
70
|
-
|
71
|
-
|
69
|
+
description: "Deep dirty checking that compares every attribute to it's value before
|
70
|
+
type cast\n and marks all changes detected as changed attributes. This makes
|
71
|
+
possible detecting `user.name.upcase!`\n and similar implicit changes.\n\n To
|
72
|
+
make it automatic on `save`, including this module sets up a `before_validation`
|
73
|
+
callback.\n "
|
72
74
|
email:
|
73
75
|
- laas.toom@gmail.com
|
74
76
|
executables: []
|
@@ -109,7 +111,7 @@ rubyforge_project:
|
|
109
111
|
rubygems_version: 2.2.2
|
110
112
|
signing_key:
|
111
113
|
specification_version: 4
|
112
|
-
summary: Dirty tracking that supports implicit
|
114
|
+
summary: Dirty tracking that supports implicit changes (e.g. upcase! etc)
|
113
115
|
test_files:
|
114
116
|
- spec/deep_dirty_spec.rb
|
115
117
|
- spec/spec_helper.rb
|