time-travel 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -6
- data/lib/time_travel/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c275aa341d4e036d21aab6f474c47c461204dd5a5da1eb9a671ff56bd63eff70
|
4
|
+
data.tar.gz: 046ee8d0da49f7ff90274442f8df1491f2cdcaf0aee706d02490917f922e49d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d3edb7e314dc7f8c33d15bf02591ce322f630d7adc6dedb07e50519b45ca7285c21a0589087cac79b86cfdbca35097bc1e370ebe5e24323555df670262ef57a
|
7
|
+
data.tar.gz: 81fbf1d233463ccc2737668a4dfb4413d4899eac1cfac6f9ff262e14ce73d9bbed8ae41363b306e6db26ed5ec56ff0bc4c654d184e0e0eae88ebd9ad94e6faee
|
data/README.md
CHANGED
@@ -163,11 +163,9 @@ The customer feels satisfied that all the changes were tracked accurately, thank
|
|
163
163
|
|
164
164
|
## Installation
|
165
165
|
|
166
|
-
|
166
|
+
Install the gem with
|
167
167
|
|
168
|
-
|
169
|
-
gem 'time_travel'
|
170
|
-
end
|
168
|
+
gem 'time-travel'
|
171
169
|
|
172
170
|
Then run:
|
173
171
|
|
@@ -269,11 +267,11 @@ You might want to do this for fields which you don't want to track on the timeli
|
|
269
267
|
|
270
268
|
Avoid updating the time ranges directly though, unless you really know what you're doing.
|
271
269
|
|
272
|
-
We allow updates to the time ranges since you might need to migrate an existing model to
|
270
|
+
We allow updates to the time ranges since you might need to migrate an existing model to support `time_travel` functionality.
|
273
271
|
|
274
272
|
### SQL and Native modes
|
275
273
|
|
276
|
-
By default
|
274
|
+
By default time travel applies updates using native ruby logic.
|
277
275
|
|
278
276
|
For performance, the sql mode is also available with support for Postgres.
|
279
277
|
|
data/lib/time_travel/version.rb
CHANGED