File: shoulda-context.gemspec

package info (click to toggle)
ruby-shoulda-context 2.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 476 kB
  • sloc: ruby: 1,712; sh: 200; makefile: 4
file content (25 lines) | stat: -rw-r--r-- 1,023 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# -*- encoding: utf-8 -*-

$LOAD_PATH << File.join(File.dirname(__FILE__), "lib")
require "shoulda/context/version"

Gem::Specification.new do |s|
  s.name        = "shoulda-context"
  s.version     = Shoulda::Context::VERSION.dup
  s.platform    = Gem::Platform::RUBY
  s.authors     = ["thoughtbot, inc.", "Tammer Saleh", "Joe Ferris",
                   "Ryan McGeary", "Dan Croak", "Matt Jankowski"]
  s.email       = "support@thoughtbot.com"
  s.homepage    = "http://thoughtbot.com/community/"
  s.summary     = "Context framework extracted from Shoulda"
  s.description = "Context framework extracted from Shoulda"
  s.license     = "MIT"

  all_files          = Dir.glob("**/*").select {|v| v !~ /^debian/}
  test_files         = all_files.select {|v| v =~ /^(test|spec|features)/}
  s.files            = all_files - test_files
  s.test_files       = test_files
  s.executables      = all_files.select {|v| v =~ /^exe\//}.map { |f| File.basename(f) }
  s.bindir           = "exe"
  s.require_paths    = ["lib"]
end