mycroseconds 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -9,12 +9,12 @@ module Mycroseconds
9
9
 
10
10
  private
11
11
  def create_without_timestamps_with_precision
12
- set_updated_at_precision if precise_updated_at?
12
+ set_updated_at_precision if precise_updated_at? && record_timestamps && (!partial_updates? || changed?)
13
13
  create_without_timestamps_without_precision
14
14
  end
15
15
 
16
16
  def update_without_timestamps_with_precision
17
- set_updated_at_precision if precise_updated_at?
17
+ set_updated_at_precision if precise_updated_at? && record_timestamps && (!partial_updates? || changed?)
18
18
  update_without_timestamps_without_precision
19
19
  end
20
20
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{mycroseconds}
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Steve Richert"]
12
- s.date = %q{2010-01-22}
12
+ s.date = %q{2010-06-16}
13
13
  s.description = %q{Enjoy microsecond precision in your MySQL updated_at timestamp}
14
14
  s.email = %q{steve.richert@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -37,7 +37,7 @@ Gem::Specification.new do |s|
37
37
  s.homepage = %q{http://github.com/laserlemon/mycroseconds}
38
38
  s.rdoc_options = ["--charset=UTF-8"]
39
39
  s.require_paths = ["lib"]
40
- s.rubygems_version = %q{1.3.5}
40
+ s.rubygems_version = %q{1.3.6}
41
41
  s.summary = %q{Enjoy microsecond precision in your MySQL updated_at timestamp}
42
42
  s.test_files = [
43
43
  "spec/mycroseconds_spec.rb",
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mycroseconds
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 2
8
+ - 1
9
+ version: 0.2.1
5
10
  platform: ruby
6
11
  authors:
7
12
  - Steve Richert
@@ -9,19 +14,23 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-01-22 00:00:00 -05:00
17
+ date: 2010-06-16 00:00:00 -04:00
13
18
  default_executable:
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: rspec
17
- type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ segments:
28
+ - 1
29
+ - 2
30
+ - 9
23
31
  version: 1.2.9
24
- version:
32
+ type: :development
33
+ version_requirements: *id001
25
34
  description: Enjoy microsecond precision in your MySQL updated_at timestamp
26
35
  email: steve.richert@gmail.com
27
36
  executables: []
@@ -61,18 +70,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
61
70
  requirements:
62
71
  - - ">="
63
72
  - !ruby/object:Gem::Version
73
+ segments:
74
+ - 0
64
75
  version: "0"
65
- version:
66
76
  required_rubygems_version: !ruby/object:Gem::Requirement
67
77
  requirements:
68
78
  - - ">="
69
79
  - !ruby/object:Gem::Version
80
+ segments:
81
+ - 0
70
82
  version: "0"
71
- version:
72
83
  requirements: []
73
84
 
74
85
  rubyforge_project:
75
- rubygems_version: 1.3.5
86
+ rubygems_version: 1.3.6
76
87
  signing_key:
77
88
  specification_version: 3
78
89
  summary: Enjoy microsecond precision in your MySQL updated_at timestamp