From 22c25e42847d41924d43d31f3ef67be1ae4a155e Mon Sep 17 00:00:00 2001 From: Seb Bacon Date: Fri, 25 Mar 2011 12:37:59 +0000 Subject: include json gem (for tests to pass) --- vendor/gems/json-1.5.1/bin/edit_json.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 vendor/gems/json-1.5.1/bin/edit_json.rb (limited to 'vendor/gems/json-1.5.1/bin/edit_json.rb') diff --git a/vendor/gems/json-1.5.1/bin/edit_json.rb b/vendor/gems/json-1.5.1/bin/edit_json.rb new file mode 100755 index 000000000..04a8189d2 --- /dev/null +++ b/vendor/gems/json-1.5.1/bin/edit_json.rb @@ -0,0 +1,9 @@ +#!/usr/bin/env ruby +require 'json/editor' + +filename, encoding = ARGV +JSON::Editor.start(encoding) do |window| + if filename + window.file_open(filename) + end +end -- cgit v1.2.3