Sha256: 889a83818b3a8a73315de851713a2d1f09a9a5fd33aeef2a754023a4a13e0fca

Contents?: true

Size: 1.44 KB

Versions: 2

Compression:

Stored size: 1.44 KB

Contents

require 'tog/version'

DEVELOPERS = [
  ["Aitor GarcĂ­a", "aitor@linkingpaths.com"],
  ["Alberto Molpeceres", "alberto@linkingpaths.com"],
  ["Roberto Salicio", "roberto@linkingpaths.com"]
]

GEM_NAME = 'tog'
EXTRA_DEPENDENCIES = [
  ['mislav-will_paginate', '>= 2.3.2'],
  ['rubigen', '>= 1.3.2'],
  ['newgem', '>= 1.0.3'],
  ['desert', '>= 0.5.2'],
  ['RedCloth', '>= 3.0.4'],
  ['rubyzip', '>= 0.9.1'],
  ['oauth', '>= 0.2.7']
]

REV = nil
# UNCOMMENT IF REQUIRED:
# REV = YAML.load(`svn info`)['Revision']
VERS = Tog::Version::STRING + (REV ? ".#{REV}" : "")

class Hoe
  def extra_deps
    @extra_deps.reject! { |x| Array(x).first == 'hoe' }
    @extra_deps
  end
end

# Generate all the Rake tasks
# Run 'rake -T' to see list of generated tasks (from gem root directory)
$hoe = Hoe.new(GEM_NAME, VERS) do |p|
  DEVELOPERS.each{|dev|
    p.developer(dev[0], dev[1])
  }
  p.description = p.summary = "extensible open source social network platform"
  p.url = "http://github.com/tog/tog"
  p.test_globs = ["test/**/test_*.rb"]
  p.clean_globs |= ['**/.*.sw?', '*.gem', '.config', '**/.DS_Store']  #An array of file patterns to delete on clean.

  # == Optional
  p.post_install_message = File.open(File.dirname(__FILE__) + "/../POST_INSTALL").read rescue ""
  p.changes = p.paragraphs_of("CHANGELOG.md", 0..1).join("\n\n") rescue ""
  p.extra_deps = EXTRA_DEPENDENCIES
  #p.spec_extras = {}    # A hash of extra values to set in the gemspec.
end

require 'newgem/tasks'

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
tog-tog-0.5.4 config/hoe.rb
tog-0.5.4 config/hoe.rb