Sha256: 3117b902b9a9026512f26760acfafb85febe9f4078e79e11c4cc3c687b571066

Contents?: true

Size: 598 Bytes

Versions: 1

Compression:

Stored size: 598 Bytes

Contents

require 'stoor/logger'
require 'stoor/github_auth'
require 'stoor/git_config'
require 'stoor/decorate'
require 'stoor/add_after'
require 'stoor/views/layout'
require 'stoor/views/logout'

# In at least gollum 2.4.13 and later:
#   https://github.com/gollum/gollum/blob/master/lib/gollum/uri_encode_component.rb#L36
# seems to get scoped funny, and I see this:
#   NoMethodError - undefined method `URIEncodeComponent' for #<URI::Parser:0x007f91db50bd78>:
# This fixes it.
if RUBY_VERSION == '1.9.2'
  def encodeURIComponent(componentString)
    ::URI::URIEncodeComponent(componentString)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stoor-0.1.4 lib/stoor.rb