Sha256: d9a3055efb25359dab233c06e0f90971ba79c5cb35926496ec5031098c5488a0

Contents?: true

Size: 1.94 KB

Versions: 2

Compression:

Stored size: 1.94 KB

Contents

# frozen_string_literal: true

require_relative "lib/current_session/version"

Gem::Specification.new do |spec|
  spec.name          = "current_session"
  spec.version       = CurrentSession::VERSION
  spec.authors       = ["Masa (Aileron inc)"]
  spec.email         = ["masa@aileron.cc"]

  spec.summary       = "Library for current_user using ActiveSupport::CurrentAttributes"
  spec.description   = "This is a minimal implementation to provide the current_user method in the action controller, assuming login with omniauth."
  spec.homepage      = "https://github.com/aileron-inc/current_session"
  spec.license       = "MIT"
  spec.required_ruby_version = ">= 3.0"

  spec.metadata["homepage_uri"] = spec.homepage
  spec.metadata["source_code_uri"] = "https://github.com/aileron-inc/current_session"
  spec.metadata["changelog_uri"] = "https://github.com/aileron-inc/current_session/blob/master/CHANGELOG.md"

  # Specify which files should be added to the gem when it is released.
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
  end
  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  # Uncomment to register a new dependency of your gem
  spec.add_runtime_dependency "activesupport"

  # For more information and examples about making a new gem, checkout our
  # guide at: https://bundler.io/guides/creating_gem.html
  spec.add_development_dependency "activerecord"
  spec.add_development_dependency "ffaker"
  spec.add_development_dependency "omniauth"
  spec.add_development_dependency "pry"
  spec.add_development_dependency "rspec", "~> 3.0"
  spec.add_development_dependency "simplecov"
  spec.add_development_dependency "sqlite3"

  spec.metadata = {
    "rubygems_mfa_required" => "true"
  }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
current_session-0.1.2 current_session.gemspec
current_session-0.1.0 current_session.gemspec