Skip to content

Commit

Permalink
Requiring only json_pure now instead of C-extension json. Will use la…
Browse files Browse the repository at this point in the history
…tter if available.
  • Loading branch information
drnic committed Apr 3, 2011
1 parent 7a1dbc0 commit 01cdaff
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PATH
specs:
github (0.6.1)
highline (~> 1.5.1)
json (~> 1.4.6)
json_pure (~> 1.5.1)
launchy (~> 0.3.7)
text-format (= 1.0.0)
text-hyphen (= 1.0.0)
Expand All @@ -26,7 +26,7 @@ GEM
configuration (1.2.0)
highline (1.5.2)
i18n (0.5.0)
json (1.4.6)
json_pure (1.5.1)
launchy (0.3.7)
configuration (>= 0.0.5)
rake (>= 0.8.1)
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ Run it:
$ github <command> <args>
$ gh <command> <args>

## Requirements

Only installs pure JSON gem `json_pure` by default. If you are able to install the C-extension `json` gem, it will use that instead.

Try:

gem install json github


## Pulling Upstream Changes

Let's say you just forked `github-gem` on GitHub from defunkt.
Expand Down
2 changes: 1 addition & 1 deletion github.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Gem::Specification.new do |s|
s.add_dependency "text-hyphen", "1.0.0"
s.add_dependency "text-format", "1.0.0"
s.add_dependency "highline", "~> 1.5.1"
s.add_dependency "json", "~> 1.4.6"
s.add_dependency "json_pure", "~> 1.5.1"
s.add_dependency "launchy", "~> 0.3.7"

s.add_development_dependency "rake"
Expand Down

0 comments on commit 01cdaff

Please sign in to comment.