memento 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5f5e3eb83ff1fee7c5da0653d76fc14c4731c6d9b3a5550fe88af05f925513c4
4
- data.tar.gz: 9e973c84abc2ca42f51328892eafb7e699e8a28dd26d8dfe1f9d55532a8d16fe
3
+ metadata.gz: f19894c5e0f761d427f870ef788c38e3118f2a468c0607f0d7ea53bdcc4a30c6
4
+ data.tar.gz: cd3c89ab511c6583f512b2c090d4a38ff2552f96550fc38b04b119c646fbce36
5
5
  SHA512:
6
- metadata.gz: 0cfb199898af2ba779e3d916cc2d23933d3b7486f80da14fe608dcb917c2bb2377e0827c20c4ca2a26d4c019b2b951205c38bdb5a5b8c145affca4838393dd49
7
- data.tar.gz: 6f762712363b8235ce24e55496d55dc7bc317eee4132e9cb1678dce53ff57de6f63987608fd014d985ede85f1f0f693b5610f7bd65aa1a1f050b44ad66885e1d
6
+ metadata.gz: 9f190638d4cff502bf9f63a4ce191aaa6444010610a17fcb9acf4c186f6b3b2ca70de50cf81a02373dfddad4c9a82c488a56d0bcb8b95ff629eb10c9cd64b09f
7
+ data.tar.gz: d6d8a618bb8f3d9beae15d921ca77e67abc6b051b19f55fc8f56089274cd54837bd6b58d390580f37f6ff20eb490896d7463d037f9cac2e55d6f8c61177cc358
data/CHANGES.md CHANGED
@@ -1,8 +1,13 @@
1
1
  ### dev
2
2
 
3
- [full changelog](http://github.com/yolk/valvat/compare/v0.5.1...master)
3
+ [full changelog](http://github.com/yolk/valvat/compare/v0.5.2...master)
4
4
 
5
- ### 0.5.0 / 2019-07-04
5
+ ### 0.5.2 / 2020-07-02
6
+ [full changelog](http://github.com/yolk/valvat/compare/v0.5.1...v0.5.2)
7
+
8
+ * Defer patching of rails base classes for zeitwerk loading
9
+
10
+ ### 0.5.1 / 2019-07-04
6
11
  [full changelog](http://github.com/yolk/valvat/compare/v0.5.0...v0.5.1)
7
12
 
8
13
  * Check attribute_without_formatting method for current value
@@ -15,4 +15,6 @@ module Memento
15
15
  end
16
16
  end
17
17
 
18
- ActionController::Base.send(:include, Memento::ActionControllerMethods) if defined?(ActionController::Base)
18
+ ActiveSupport.on_load(:action_controller) do
19
+ include Memento::ActionControllerMethods
20
+ end
@@ -79,4 +79,6 @@ module Memento::ActiveRecordMethods
79
79
 
80
80
  end
81
81
 
82
- ActiveRecord::Base.send(:include, Memento::ActiveRecordMethods) if defined?(ActiveRecord::Base)
82
+ ActiveSupport.on_load(:active_record) do
83
+ include Memento::ActiveRecordMethods
84
+ end
@@ -1,3 +1,3 @@
1
1
  module Memento
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: memento
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yolk Sebastian Munz & Julia Soergel GbR
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-04 00:00:00.000000000 Z
11
+ date: 2020-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -108,7 +108,7 @@ files:
108
108
  homepage: http://github.com/yolk/memento
109
109
  licenses: []
110
110
  metadata: {}
111
- post_install_message:
111
+ post_install_message:
112
112
  rdoc_options: []
113
113
  require_paths:
114
114
  - lib
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  version: '0'
125
125
  requirements: []
126
126
  rubygems_version: 3.0.3
127
- signing_key:
127
+ signing_key:
128
128
  specification_version: 4
129
129
  summary: Undo for Rails/ActiveRecord - covers destroy, update and create
130
130
  test_files: