File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1- source ' https://rubygems.org'
1+ source " https://rubygems.org"
22
3- # Specify your gem's dependencies in kmdata.gemspec
43gemspec
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ require "rspec/core/rake_task"
55RSpec ::Core ::RakeTask . new ( :spec ) do |spec |
66 spec . fail_on_error = false
77 spec . rspec_opts = "--color"
8- spec . pattern = FileList [ ' spec/**/*_spec.rb' ]
8+ spec . pattern = FileList [ " spec/**/*_spec.rb" ]
99end
1010
1111task :default => "spec"
Original file line number Diff line number Diff line change 11# coding: utf-8
2- lib = File . expand_path ( '../lib' , __FILE__ )
2+
3+ lib = File . expand_path ( "../lib" , __FILE__ )
34$LOAD_PATH. unshift ( lib ) unless $LOAD_PATH. include? ( lib )
4- require ' kmdata/version'
5+ require " kmdata/version"
56
67Gem ::Specification . new do |spec |
78 spec . name = "kmdata"
Original file line number Diff line number Diff line change 11require "kmdata/version"
2- require ' net/http'
3- require ' json'
4- require ' ostruct'
2+ require " net/http"
3+ require " json"
4+ require " ostruct"
55
66module KMData
77 class << self
@@ -58,7 +58,7 @@ def process(json)
5858 end
5959
6060 def path_with_params ( path , params )
61- [ path , URI . encode_www_form ( params ) ] . join ( '?' )
61+ [ path , URI . encode_www_form ( params ) ] . join ( "?" )
6262 end
6363
6464 end
You can’t perform that action at this time.
0 commit comments