Skip to content

Commit

Permalink
Fix hash key name
Browse files Browse the repository at this point in the history
  • Loading branch information
dewski committed Nov 27, 2011
1 parent aeaf996 commit f22e5eb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Gemfile.lock
Expand Up @@ -2,6 +2,7 @@ PATH
remote: .
specs:
json_builder (3.0.0)
activesupport (>= 2.0.0)

GEM
remote: http://rubygems.org/
Expand Down Expand Up @@ -116,5 +117,6 @@ DEPENDENCIES
capybara (>= 0.4.0)
json_builder!
rails (= 3.0.10)
rspec
rspec-rails (>= 2.0.0.beta)
sqlite3
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -21,7 +21,7 @@ json = JSONBuilder::Compiler.generate do
ruby true
asp false
end
hash do
longstring do
# Could be a highly intensive process that only returns a string
"12345" * 25
end
Expand All @@ -46,7 +46,7 @@ Which will generate:
"ruby": true,
"asp": false
},
"hash": "1234512345123451234512345..."
"longstring": "1234512345123451234512345..."
}
```

Expand Down
1 change: 1 addition & 0 deletions Rakefile
Expand Up @@ -2,6 +2,7 @@
require 'rubygems'
begin
require 'bundler/setup'
Bundler::GemHelper.install_tasks
rescue LoadError
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
Expand Down
2 changes: 1 addition & 1 deletion lib/json_builder/version.rb
@@ -1,3 +1,3 @@
module JSONBuilder
VERSION = '3.0.0'.freeze
VERSION = '3.0.0'
end

0 comments on commit f22e5eb

Please sign in to comment.