Sha256: 93dcd9cd5a9d932ee233742144163635727977ab8eac2404b2bea7ed1cce2f23

Contents?: true

Size: 1.34 KB

Versions: 3

Compression:

Stored size: 1.34 KB

Contents

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

# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
  s.name        = 'monarchy'
  s.version     = Monarchy::VERSION
  s.authors     = ['Exelord']
  s.email       = ['']
  s.homepage    = 'https://github.com/Exelord/Monarchy'
  s.summary     = 'Hierarchical access management system with roles inheritance.'
  s.description = s.summary
  s.license     = 'MIT'

  s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  s.test_files = Dir['test/**/*']

  raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.' unless s.respond_to?(:metadata)
  s.metadata['allowed_push_host'] = 'https://rubygems.org'

  s.bindir        = 'exe'
  s.executables   = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
  s.require_paths = ['lib']

  s.add_runtime_dependency 'rails', '~> 4.2', '>= 4.2.4'
  s.add_dependency 'closure_tree', '6.1.0'
  s.add_dependency 'configurations', '2.2.0'
  s.add_dependency 'active_record_union', '1.2.0'
  s.add_dependency 'tqdm', '0.3.0'

  s.add_development_dependency 'bundler', '~> 1.12'
  s.add_development_dependency 'rake', '~> 11.1'
  s.add_development_dependency 'rspec', '3.5.0'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
monarchy-1.1.5 monarchy.gemspec
monarchy-1.1.4 monarchy.gemspec
monarchy-1.1.3 monarchy.gemspec