Sha256: 6a9272f2de035cd9f20b06c45d8213fceca99864269e3a9a22937c1af609766f

Contents?: true

Size: 1.89 KB

Versions: 6

Compression:

Stored size: 1.89 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"]

  spec.add_runtime_dependency "activesupport", ">= 6.0.0"

  # 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

6 entries across 6 versions & 1 rubygems

Version Path
current_session-0.1.8 current_session.gemspec
current_session-0.1.7 current_session.gemspec
current_session-0.1.6 current_session.gemspec
current_session-0.1.5 current_session.gemspec
current_session-0.1.4 current_session.gemspec
current_session-0.1.3 current_session.gemspec