normalize_attributes 0.1.3 → 0.1.4

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.
data/Gemfile CHANGED
@@ -1,5 +1,5 @@
1
1
  source :rubygems
2
2
 
3
- gem "rspec", "2.0.0.rc"
4
- gem "activerecord", "3.0.0"
3
+ gem "rspec", "2.0.0"
4
+ gem "activerecord", "3.0.1"
5
5
  gem "sqlite3-ruby"
data/Gemfile.lock CHANGED
@@ -1,31 +1,31 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- activemodel (3.0.0)
5
- activesupport (= 3.0.0)
4
+ activemodel (3.0.1)
5
+ activesupport (= 3.0.1)
6
6
  builder (~> 2.1.2)
7
7
  i18n (~> 0.4.1)
8
- activerecord (3.0.0)
9
- activemodel (= 3.0.0)
10
- activesupport (= 3.0.0)
8
+ activerecord (3.0.1)
9
+ activemodel (= 3.0.1)
10
+ activesupport (= 3.0.1)
11
11
  arel (~> 1.0.0)
12
12
  tzinfo (~> 0.3.23)
13
- activesupport (3.0.0)
13
+ activesupport (3.0.1)
14
14
  arel (1.0.1)
15
15
  activesupport (~> 3.0.0)
16
16
  builder (2.1.2)
17
17
  diff-lcs (1.1.2)
18
18
  i18n (0.4.1)
19
- rspec (2.0.0.rc)
20
- rspec-core (= 2.0.0.rc)
21
- rspec-expectations (= 2.0.0.rc)
22
- rspec-mocks (= 2.0.0.rc)
23
- rspec-core (2.0.0.rc)
24
- rspec-expectations (2.0.0.rc)
19
+ rspec (2.0.0)
20
+ rspec-core (= 2.0.0)
21
+ rspec-expectations (= 2.0.0)
22
+ rspec-mocks (= 2.0.0)
23
+ rspec-core (2.0.0)
24
+ rspec-expectations (2.0.0)
25
25
  diff-lcs (>= 1.1.2)
26
- rspec-mocks (2.0.0.rc)
27
- rspec-core (= 2.0.0.rc)
28
- rspec-expectations (= 2.0.0.rc)
26
+ rspec-mocks (2.0.0)
27
+ rspec-core (= 2.0.0)
28
+ rspec-expectations (= 2.0.0)
29
29
  sqlite3-ruby (1.3.1)
30
30
  tzinfo (0.3.23)
31
31
 
@@ -33,6 +33,6 @@ PLATFORMS
33
33
  ruby
34
34
 
35
35
  DEPENDENCIES
36
- activerecord (= 3.0.0)
37
- rspec (= 2.0.0.rc)
36
+ activerecord (= 3.0.1)
37
+ rspec (= 2.0.0)
38
38
  sqlite3-ruby
@@ -4,7 +4,7 @@ module NormalizeAttributes
4
4
  base.instance_eval do
5
5
  extend ClassMethods
6
6
  include InstanceMethods
7
- before_save :normalize_attributes
7
+ before_validation :normalize_attributes
8
8
 
9
9
  class << self
10
10
  attr_accessor :normalize_attributes_options
@@ -2,7 +2,7 @@ module NormalizeAttributes
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- PATCH = 3
5
+ PATCH = 4
6
6
  STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
7
7
  end
8
8
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{normalize_attributes}
8
- s.version = "0.1.3"
8
+ s.version = "0.1.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Nando Vieira"]
12
- s.date = %q{2010-10-07}
12
+ s.date = %q{2010-10-18}
13
13
  s.description = %q{Normalize ActiveRecord attributes}
14
14
  s.email = %q{fnando.vieira@gmail.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 3
9
- version: 0.1.3
8
+ - 4
9
+ version: 0.1.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Nando Vieira
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-10-07 00:00:00 -03:00
17
+ date: 2010-10-18 00:00:00 -02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency