Sha256: ce6d3b7a171b59944bd516bbca47e92783cb6a5bc6427cc44ce6ce700ecd8282

Contents?: true

Size: 658 Bytes

Versions: 2

Compression:

Stored size: 658 Bytes

Contents

require 'stoor/logger'
require 'stoor/config'
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

2 entries across 2 versions & 1 rubygems

Version Path
stoor-0.1.12 lib/stoor.rb
stoor-0.1.11 lib/stoor.rb