Sha256: f2a3d8004e0c78ceee38bc4b58208b1cdcb9cf8345134579a31e6943dcd51eff

Contents?: true

Size: 1.29 KB

Versions: 3

Compression:

Stored size: 1.29 KB

Contents

# -*- encoding : utf-8 -*-

version = File.open(File.expand_path("../../card/VERSION", __FILE__)).read.chomp

vbits = version.split('.').map &:to_i
vplus = { 0 => 90, 1 => 100 } # can remove and hardcode after 1.0
vminor = vplus[ vbits[0] ] + vbits[1]
card_version = [1, vminor, vbits[2]].compact.map(&:to_s).join "."
# see card.gemspec for explanation of all of this, which has been ham-handedly
# cut and pasted here.


Gem::Specification.new do |s|
  s.name          = "decko"
  s.version       = version
  s.authors       = ["Ethan McCutchen", "Lewis Hoffman",
                     "Gerry Gleason", "Philipp Kühl"]
  s.email         = ["info@decko.org"]

  #  s.date          = '2013-12-20'
  s.summary       = "structured wiki web platform"
  s.description   = "a wiki approach to stuctured data, dynamic interaction, "\
                    " and web design"
  s.homepage      = "http://decko.org"
  s.licenses      = ["GPL-2.0", "GPL-3.0"]

  s.files         = `git ls-files`.split($INPUT_RECORD_SEPARATOR)

  s.bindir        = "bin"
  s.executables   = ["decko"]
  s.test_files    = s.files.grep(%r{^(test|spec|features)/})
  s.require_paths = ["lib"]

  s.required_ruby_version = ">= 2.2.2"

  [
    ["rails", "~> 5.1"],
    ["card",   card_version]
  ].each do |dep|
    s.add_runtime_dependency(*dep)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decko-0.2.2 decko.gemspec
decko-0.2.1 decko.gemspec
decko-0.2 decko.gemspec