clear_empty_attributes 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,7 +18,7 @@ Install
18
18
  =======
19
19
  ` script/plugin install git://github.com/collectiveidea/clear_empty_attributes.git `
20
20
  OR
21
- ` sudo gem install clear_empty_attributes -s http://gemcutter.org `
21
+ ` sudo gem install clear_empty_attributes `
22
22
 
23
23
 
24
24
  Migration
data/Rakefile CHANGED
@@ -1,9 +1,6 @@
1
- desc "Run all specs in spec directory"
2
- task :default do |t|
3
- options = "--colour --format progress --loadby --reverse"
4
- files = FileList['spec/**/*_spec.rb']
5
- system("spec #{options} #{files}")
6
- end
1
+ task :default => :spec
2
+ require 'spec/rake/spectask'
3
+ Spec::Rake::SpecTask.new {|t| t.spec_opts = ['--color']}
7
4
 
8
5
  begin
9
6
  require 'jeweler'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{clear_empty_attributes}
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 = ["Brandon Keepers"]
12
- s.date = %q{2009-11-13}
12
+ s.date = %q{2009-12-13}
13
13
  s.description = %q{Save empty strings as nil to avoid lots of problems}
14
14
  s.email = %q{brandon@opensoul.org}
15
15
  s.extra_rdoc_files = [
@@ -1,4 +1,4 @@
1
- require 'activerecord'
1
+ require 'active_record'
2
2
 
3
3
  class ActiveRecord::Base
4
4
 
@@ -1,4 +1,4 @@
1
+ require 'rubygems'
1
2
  $LOAD_PATH << 'lib'
2
-
3
3
  require "init"
4
4
  require "spec/setup_test_model.rb"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clear_empty_attributes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Keepers
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-13 00:00:00 +01:00
12
+ date: 2009-12-13 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency