deep_dirty 1.0.1 → 1.0.2

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