./lib/wwdc/helpers.rb in wwdc-1.0.0 vs ./lib/wwdc/helpers.rb in wwdc-1.1.0
- old
+ new
@@ -1,11 +1,11 @@
require 'excon'
require 'json'
require 'rubygems/text'
module WWDC
- YEARS = (2010..2014)
+ YEARS = (2010..2018)
module Helpers
include Gem::Text
def get(options = {}, &block)
@@ -45,9 +45,9 @@
@query = args.join(" ")
say_error "Missing query" and abort if @query.empty?
end
def client
- @client ||= Excon.new('http://asciiwwdc.com', headers: {'Accept' => "application/json"})
+ @client ||= Excon.new('https://asciiwwdc.com', headers: {'Accept' => "application/json"})
end
end
end