time-travel 1.0.2 → 1.0.3
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/README.md +3 -2
- data/lib/time_travel/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 78b487f253f5967d7de63a2a354156f6ce236f703abaa094ee50bcef62747ef2
|
|
4
|
+
data.tar.gz: 07516f6ced913100a2ecc5ac9ee860a5f0d131ac9c1c47c5802b93810717c669
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d02cfbb24e25f6088e8d443f641175d6238e41fd5ac989076d19251d377ae31ebe288c3899393b01224f1333c3d7ef220a6f7d3b9b9975d2fba97cbfea42ecf5
|
|
7
|
+
data.tar.gz: 83c092f59a765aef5f25c5fac254407d72e1cd7dc37d817a1dc5d8020f499f2acbf24c4917c0cde6c88700a44b0343407d89636b00f42215e3f8703ee862e4a0
|
data/README.md
CHANGED
|
@@ -40,10 +40,11 @@ We record this info with
|
|
|
40
40
|
> timeline.create(amount: 500, effective_from: Time.now - 5.days)
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
After a few minutes, they ping us again and tells us that the customer also submitted an
|
|
43
|
+
After a few minutes, they ping us again and tells us that the customer also submitted an additional $200 two days ago,
|
|
44
44
|
so we record that as well with
|
|
45
45
|
|
|
46
46
|
```
|
|
47
|
+
# the new balance is 500+200, which is $700
|
|
47
48
|
> timeline.update(amount: 700, effective_from: Time.now - 2.days)
|
|
48
49
|
```
|
|
49
50
|
|
|
@@ -157,7 +158,7 @@ From the time ranges, they understand that the balance dates were correct and no
|
|
|
157
158
|
|
|
158
159
|
They inform the customer about exactly what happened with his accounts in the last two days.
|
|
159
160
|
|
|
160
|
-
The customer, wanting to ensure that everything is right, asks them when the additional $300 was recorded. and they inform the customer that the date of the second deposit is 4 days
|
|
161
|
+
The customer, wanting to ensure that everything is right, asks them when the additional $300 was recorded. and they inform the customer that the date of the second deposit is 4 days ago, but the correct amount was updated yesterday.
|
|
161
162
|
|
|
162
163
|
The customer feels satisfied that all the changes were tracked accurately, thanks us and leaves
|
|
163
164
|
|
data/lib/time_travel/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: time-travel
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- Mahadevan K, Ramkumar K, Vayu Teja Amarnath Navuluri
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-09-
|
|
11
|
+
date: 2021-09-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -68,7 +68,7 @@ dependencies:
|
|
|
68
68
|
version: '0'
|
|
69
69
|
description: The time travel gem adds in-table version control to models.
|
|
70
70
|
email:
|
|
71
|
-
-
|
|
71
|
+
- mahadevan@weinvest.net
|
|
72
72
|
executables: []
|
|
73
73
|
extensions: []
|
|
74
74
|
extra_rdoc_files: []
|