Sha256: 84755ed9385c73e85c013caa32c69bea840f897b77fbb771f8d484b93a9f6ad2

Contents?: true

Size: 1.28 KB

Versions: 1

Compression:

Stored size: 1.28 KB

Contents

# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'cloudflare/rails/version'

Gem::Specification.new do |spec|
  spec.name          = "cloudflare-rails"
  spec.version       = Cloudflare::Rails::VERSION
  spec.authors       = ["jonathan schatz"]
  spec.email         = ["modosc@users.noreply.github.com"]

  spec.summary       = "This gem configures Rails for CloudFlare so that request.ip and request.remote_ip and work correctly."
  spec.description   = ""
  spec.homepage      = "https://github.com/modosc/cloudflare-rails"


  spec.files         = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_development_dependency "bundler", "~> 1.10"
  spec.add_development_dependency "rake", "~> 10.0"
  spec.add_development_dependency "rspec"
  spec.add_development_dependency "rspec-rails"

  spec.add_development_dependency "webmock"

  # TODO - no idea if this is 4.x specific, should test with older versions
  spec.add_dependency "rails", ">= 4.0"
  spec.add_dependency 'httparty'

  # we need Module#prepend
  spec.required_ruby_version = '>= 2.0'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cloudflare-rails-0.1.1 cloudflare-rails.gemspec