diff --git a/README.md b/README.md index a0c33fa..94171e2 100644 --- a/README.md +++ b/README.md @@ -140,6 +140,7 @@ Use the `column_defaults` method to specify the value to set when the correspond - `column_defaults 0 => 0.0, 1 => 0.0, 3 => "UNKNOWN"` - `column_defaults [0.0, 0.0, "UNKNOWN"]` - `column_defaults 0.0, 0.0, "UNKNOWN"` + The `column_defaults` macro overwrite the read/validate `:force_nil` option. Aside from define the columns settings, into block you define the validation rules. diff --git a/goodsheet.gemspec b/goodsheet.gemspec index b274536..e8b2286 100644 --- a/goodsheet.gemspec +++ b/goodsheet.gemspec @@ -23,7 +23,8 @@ Gem::Specification.new do |spec| # spec.add_development_dependency "bundler", "~> 1.4" spec.add_development_dependency "rake" - spec.add_dependency('roo', '>= 1.12.1') # https://github.com/Empact/roo + spec.add_dependency('roo', '~> 1.12.1') # https://github.com/Empact/roo + spec.add_dependency('spreadsheet', '~> 0.9.6') # https://github.com/Empact/roo spec.add_dependency('activemodel', '~> 3.2') spec.add_dependency('google_drive') end diff --git a/lib/goodsheet/version.rb b/lib/goodsheet/version.rb index dd2bda1..2378f15 100644 --- a/lib/goodsheet/version.rb +++ b/lib/goodsheet/version.rb @@ -1,3 +1,3 @@ module Goodsheet - VERSION = "0.4.0" + VERSION = "0.4.1" end