Sha256: e78b8aa2202ce3cb6ded9f63a5ea294d64a7c66fb7dc0cec7fcf291b1ee9297f

Contents?: true

Size: 1.26 KB

Versions: 6

Compression:

Stored size: 1.26 KB

Contents

require 'date'
version_path = %w[VERSION ../VERSION].detect{|v| File.exist?(v)}
version      = File.read(version_path).strip
extra_files  = []
extra_files << 'VERSION' if File.exist?('VERSION')
extra_files << 'LICENSE' if File.exist?('LICENSE')

Gem::Specification.new do |s|
  s.name                      = 'elastics-models'
  s.summary                   = 'Transparently integrates your models with one or more elasticsearch indices.'
  s.description               = 'Provides ActiveRecord, Mongoid, ActiveModel and elasticsearch-mapper-attachment integrations, cross syncing, parent/child relationships, bulk-import, live-reindex of models, ...'
  s.homepage                  = 'http://elastics.github.io/elastics'
  s.authors                   = ["Domizio Demichelis"]
  s.email                     = 'dd.nexus@gmail.com'
  s.files                     = `git ls-files -z`.split("\0") + extra_files
  s.version                   = version
  s.date                      = Date.today.to_s
  s.required_rubygems_version = ">= 1.3.6"
  s.rdoc_options              = %w[--charset=UTF-8]
  s.license                   = 'MIT'

  s.add_runtime_dependency 'elastics-client', version
  s.add_runtime_dependency 'elastics-scopes', version

  s.add_runtime_dependency 'active_attr', '>= 0.6.0'
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
elastics-models-1.3.3 elastics-models.gemspec
elastics-models-1.3.2 elastics-models.gemspec
elastics-models-1.3.1 elastics-models.gemspec
elastics-models-1.3.0 elastics-models.gemspec
elastics-models-1.2.1 elastics-models.gemspec
elastics-models-1.2.0 elastics-models.gemspec