-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgem-loaded.gemspec
More file actions
27 lines (19 loc) · 998 Bytes
/
gem-loaded.gemspec
File metadata and controls
27 lines (19 loc) · 998 Bytes
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
27
require 'date'
Gem::Specification.new do |spec|
spec.name = 'gem-loaded'
spec.rubyforge_project = 'gem-loaded'
spec.version = '1.0.0'
spec.summary = "Reports whether a given gem is loaded."
spec.description = "Provides Gem.loaded?."
spec.authors = [ 'Asher' ]
spec.email = 'asher@ridiculouspower.com'
spec.homepage = 'http://rubygems.org/gems/gem-loaded'
# just because we use it as an example
spec.add_development_dependency 'module-cluster'
spec.date = Date.today.to_s
# ensure the gem is built out of versioned files
# also make sure we include the bundle since we exclude it from git storage
spec.files = Dir[ '{lib,spec}/**/*',
'README*',
'LICENSE*' ] & `git ls-files -z`.split("\0")
end