Sha256: b5a7de8841b68223f8661a5f29844ecb7c8a88cbbfc3fc972131a29b2734a502

Contents?: true

Size: 635 Bytes

Versions: 1

Compression:

Stored size: 635 Bytes

Contents

require 'stoor/logger'
require 'stoor/github_auth'
require 'stoor/git_config'
require 'stoor/read_only'
require 'stoor/transform_content'
require 'stoor/views/layout'
require 'stoor/views/logout'
require 'stoor/views/sorry'

# 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.9 lib/stoor.rb