File: needle.gemspec

package info (click to toggle)
libneedle-ruby 1.2.0-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,436 kB
  • ctags: 886
  • sloc: ruby: 4,464; makefile: 52
file content (26 lines) | stat: -rw-r--r-- 1,035 bytes parent folder | download
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
26
require './lib/needle/version'

Gem::Specification.new do |s|

   s.name = 'needle'
   s.version = Needle::Version::STRING
   s.platform = Gem::Platform::RUBY
   s.summary = %q{Needle is a Dependency Injection/Inversion of Control container for Ruby. It supports both type-2 (setter) and type-3 (constructor) injection. It takes advantage of the dynamic nature of Ruby to provide a rich and flexible approach to injecting dependencies.}
   s.files = Dir.glob("{benchmarks,doc,examples,lib,test}/**/*").delete_if { |item| item.include?( "CVS" ) }
   s.files.concat [ "LICENSE", "Rakefile", "NEWS" ]
   s.files << "ChangeLog" if File.exist?( "ChangeLog" )
   s.require_path = 'lib'
   s.autorequire = 'needle'

   s.has_rdoc=true
   s.extra_rdoc_files = [ 'doc/README' ]
   s.rdoc_options << '--title' << 'Needle -- Dependency Injection for Ruby' << 
    '--main' << 'doc/README'

   s.test_suite_file = 'test/ALL-TESTS.rb'

   s.author = "Jamis Buck"
   s.email = "jgb3@email.byu.edu"
   s.homepage = "http://needle.rubyforge.org"

end