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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aa08f99165db0f0e0859e69ff59e42770a386749
4
- data.tar.gz: 7140bae29f2ab14f146d09aebfd0f1c8292f4f09
3
+ metadata.gz: b823ed4b38aadd4d9f2b6f4cc31ad5431934c841
4
+ data.tar.gz: 099dfb3ac6171eec03e463f53b8a7446bdf11cba
5
5
  SHA512:
6
- metadata.gz: 3aa52d60188245c4b20788e31a051f32b89b94febd9b3c9229f06adc1d25e27be1d118da7664e140fbda4969d9de804d9d1f091cd83ea152eb4d5c914a069ac1
7
- data.tar.gz: 2fa0f5ea60ad001ad9a90d0ec152899d658944340079d52cbeb61705d850d672164c8a8115eebc1c8dce650f5e1a6bf76fedb05e016846e71f60359d105a0964
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 destructive changes}
12
- spec.description = %q{Sets up `before_validation` callback that compares every attribute to it's before
13
- type cast value and marks all changes detected.}
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
 
@@ -1,3 +1,3 @@
1
1
  module DeepDirty
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
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.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
- Sets up `before_validation` callback that compares every attribute to it's before
71
- type cast value and marks all changes detected.
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 destructive changes
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