Skip to content

Commit

Permalink
various
Browse files Browse the repository at this point in the history
  • Loading branch information
iwan committed Dec 10, 2013
1 parent 003488e commit 750457c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 2 additions & 1 deletion goodsheet.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion lib/goodsheet/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Goodsheet
VERSION = "0.4.0"
VERSION = "0.4.1"
end

0 comments on commit 750457c

Please sign in to comment.