sequel_bitemporal 0.7.0 → 0.7.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: 2ba7a32d43c79c445e1e16d04211bd92fef7859a
4
- data.tar.gz: b3843cf42e0923c0db13d5032a7d5a797706f969
3
+ metadata.gz: 554909923b667984c848e6f59286a6aead7de665
4
+ data.tar.gz: 553118fd0855faac909058590ef73120cc22ea8b
5
5
  SHA512:
6
- metadata.gz: 4e01ff6312719f3c62f400e1e2f7d73266a02664a4fd6fdce68071a4b837c686d8263eb615b22693ae233e479a69caf65cb3a337b4c4ded0ebba6d412f7d5b57
7
- data.tar.gz: 389ad9ac4318a3a4054985966c8378403ed6f6d2ad24806fad895d1d7ca01b08fde85d3ce803da88286b9e071e96e38006ff9760fca14645e7278866e6689fa0
6
+ metadata.gz: f5a296a67f9f23e0d36cfc59508caaa111a9713180feca7528cd1be46b3fcb9e2a8f561a810d4bad5b3fcb3f3b2a89a59ab9d15ee632fa0f46c6427a231132e3
7
+ data.tar.gz: af80c33d324037c0c54b18c171fc00a9aa6d1c20a699980272f676478af715bd65ae1880815fd5ab442baee54620ba6bac062e0ea558e8e3b563ee625629c5b9
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.0.0-p247
1
+ 2.1.0
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  sequel_bitemporal
2
2
  =================
3
3
 
4
+ [![Build Status](https://travis-ci.org/TalentBox/sequel_bitemporal.png?branch=master)](https://travis-ci.org/TalentBox/sequel_bitemporal)
5
+
4
6
  Bitemporal versioning for sequel.
5
7
 
6
8
  Dependencies
@@ -36,11 +38,6 @@ Usage
36
38
 
37
39
  * Look at the specs for more usage patterns.
38
40
 
39
- Build Status
40
- ------------
41
-
42
- [![Build Status](https://travis-ci.org/TalentBox/sequel_bitemporal.png?branch=master)](https://travis-ci.org/TalentBox/sequel_bitemporal)
43
-
44
41
  License
45
42
  -------
46
43
 
@@ -292,7 +292,6 @@ module Sequel
292
292
  def update_attributes(attributes={})
293
293
  self.attributes = attributes
294
294
  if save raise_on_failure: false
295
- _refresh_set_values @values
296
295
  self
297
296
  else
298
297
  false
@@ -320,6 +319,11 @@ module Sequel
320
319
  super
321
320
  end
322
321
 
322
+ def after_save
323
+ super
324
+ _refresh_set_values @values
325
+ end
326
+
323
327
  def destroy
324
328
  point_in_time = ::Sequel::Plugins::Bitemporal.point_in_time
325
329
  versions_dataset.where(expired_at: nil).where("valid_to>valid_from").update expired_at: point_in_time
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "sequel_bitemporal"
6
- s.version = "0.7.0"
6
+ s.version = "0.7.1"
7
7
  s.authors = ["Joseph HALTER", "Jonathan TRON"]
8
8
  s.email = ["joseph.halter@thetalentbox.com", "jonathan.tron@thetalentbox.com"]
9
9
  s.homepage = "https://github.com/TalentBox/sequel_bitemporal"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sequel_bitemporal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joseph HALTER
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-01-30 00:00:00.000000000 Z
12
+ date: 2014-02-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sequel
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  version: '0'
121
121
  requirements: []
122
122
  rubyforge_project:
123
- rubygems_version: 2.2.1
123
+ rubygems_version: 2.2.0
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Bitemporal versioning for sequel.