forked from silviorelli/bitly
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changing JSON parser to use Crack::JSON. Currently the gem used by Tw…
…itter/HTTParty and pilfered from Rails. Only reason is it runs in JRuby whereas standard json gem does not.
- Loading branch information
1 parent
96784f7
commit 3703cd4
Showing
5 changed files
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ Echoe.new('bitly', Bitly::VERSION) do |p| | |
p.url = "http://github.com/philnash/bitly" | ||
p.author = "Phil Nash" | ||
p.email = "[email protected]" | ||
p.runtime_dependencies = ['json'] | ||
p.extra_deps = [['crack', '>= 0.1.1']] | ||
p.development_dependencies = [] | ||
end | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
require 'rubygems' | ||
require 'net/http' | ||
require 'uri' | ||
require 'json' | ||
|
||
module Bitly | ||
API_URL = 'http://api.bit.ly/' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters