lib/gemline.rb in gemline-0.1.1 vs lib/gemline.rb in gemline-0.1.2
- old
+ new
@@ -1,11 +1,9 @@
-Encoding.default_external = Encoding::UTF_8
-
require 'crack/json'
require 'net/http'
require 'yaml'
-YAML::ENGINE.yamler = 'syck'
+YAML::ENGINE.yamler = 'syck' if RUBY_VERSION[0,3] == "1.9"
class Gemline
attr_accessor :gem, :gemline, :json, :response