sequel_bitemporal 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -124,7 +124,7 @@ module Sequel
124
124
  end
125
125
 
126
126
  def attributes=(attributes)
127
- if !new? && attributes.delete(:partial_update) && current_version && !@pending_version
127
+ if attributes.delete(:partial_update) && !@pending_version && !new? && current_version
128
128
  current_attributes = current_version.keys.inject({}) do |hash, key|
129
129
  hash[key] = current_version.send key
130
130
  hash
@@ -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.4.3"
6
+ s.version = "0.4.4"
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.4.3
4
+ version: 0.4.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2011-12-15 00:00:00.000000000 Z
13
+ date: 2011-12-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: sequel
17
- requirement: &2151863060 !ruby/object:Gem::Requirement
17
+ requirement: &2151862960 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 3.30.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2151863060
25
+ version_requirements: *2151862960
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: sqlite3
28
- requirement: &2151878500 !ruby/object:Gem::Requirement
28
+ requirement: &2151878220 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
- version_requirements: *2151878500
36
+ version_requirements: *2151878220
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: rspec
39
- requirement: &2151877040 !ruby/object:Gem::Requirement
39
+ requirement: &2151875140 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 2.8.0.rc1
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *2151877040
47
+ version_requirements: *2151875140
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: timecop
50
- requirement: &2151875060 !ruby/object:Gem::Requirement
50
+ requirement: &2151874200 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: '0'
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *2151875060
58
+ version_requirements: *2151874200
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: rake
61
- requirement: &2151873020 !ruby/object:Gem::Requirement
61
+ requirement: &2151872120 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ! '>='
@@ -66,7 +66,7 @@ dependencies:
66
66
  version: '0'
67
67
  type: :development
68
68
  prerelease: false
69
- version_requirements: *2151873020
69
+ version_requirements: *2151872120
70
70
  description: Bitemporal versioning for sequel, fully tested.
71
71
  email:
72
72
  - joseph.halter@thetalentbox.com
@@ -101,7 +101,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
101
101
  version: '0'
102
102
  segments:
103
103
  - 0
104
- hash: -3234336508156434675
104
+ hash: 1322715100702099733
105
105
  required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  none: false
107
107
  requirements:
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  version: '0'
111
111
  segments:
112
112
  - 0
113
- hash: -3234336508156434675
113
+ hash: 1322715100702099733
114
114
  requirements: []
115
115
  rubyforge_project:
116
116
  rubygems_version: 1.8.10