pluggability 0.6.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
data/Manifest.txt DELETED
@@ -1,8 +0,0 @@
1
- ChangeLog
2
- History.md
3
- Manifest.txt
4
- README.md
5
- Rakefile
6
- lib/pluggability.rb
7
- spec/helpers.rb
8
- spec/pluggability_spec.rb
data/Rakefile DELETED
@@ -1,87 +0,0 @@
1
- #!/usr/bin/env rake
2
-
3
- require 'rake/clean'
4
-
5
- begin
6
- require 'hoe'
7
- rescue LoadError
8
- abort "This Rakefile requires 'hoe' (gem install hoe)"
9
- end
10
-
11
- GEMSPEC = 'pluggability.gemspec'
12
-
13
- Hoe.plugin :mercurial
14
- Hoe.plugin :signing
15
- Hoe.plugin :deveiate
16
-
17
- Hoe.plugins.delete :rubyforge
18
-
19
- hoespec = Hoe.spec 'pluggability' do |spec|
20
- spec.readme_file = 'README.md'
21
- spec.history_file = 'History.md'
22
- spec.extra_rdoc_files = Rake::FileList[ '*.rdoc', '*.md' ]
23
- spec.license 'BSD-3-Clause'
24
- spec.urls = {
25
- home: 'http://bitbucket.org/ged/pluggability',
26
- code: 'http://bitbucket.org/ged/pluggability',
27
- docs: 'http://deveiate.org/code/pluggability',
28
- github: 'http://github.com/ged/pluggability',
29
- }
30
-
31
- spec.developer 'Martin Chase', 'stillflame@FaerieMUD.org'
32
- spec.developer 'Michael Granger', 'ged@FaerieMUD.org'
33
-
34
- spec.dependency 'loggability', '~> 0.12'
35
- spec.dependency 'hoe-deveiate', '~> 0.9', :development
36
- spec.dependency 'rdoc', '~> 5.1', :development
37
-
38
- spec.require_ruby_version( '>=2.3.4' )
39
- spec.hg_sign_tags = true if spec.respond_to?( :hg_sign_tags= )
40
- spec.check_history_on_release = true if spec.respond_to?( :check_history_on_release= )
41
-
42
- spec.rdoc_locations << "deveiate:/usr/local/www/public/code/#{remote_rdoc_dir}"
43
- end
44
-
45
- ENV['VERSION'] ||= hoespec.spec.version.to_s
46
-
47
- # Ensure the specs pass before checking in
48
- task 'hg:precheckin' => [ :check_history, :check_manifest, :gemspec, :spec ]
49
-
50
-
51
- desc "Build a coverage report"
52
- task :coverage do
53
- ENV["COVERAGE"] = 'yes'
54
- Rake::Task[:spec].invoke
55
- end
56
- CLOBBER.include( 'coverage' )
57
-
58
-
59
- # Use the fivefish formatter for docs generated from development checkout
60
- if File.directory?( '.hg' )
61
- require 'rdoc/task'
62
-
63
- Rake::Task[ 'docs' ].clear
64
- RDoc::Task.new( 'docs' ) do |rdoc|
65
- rdoc.main = "README.rdoc"
66
- rdoc.rdoc_files.include( "*.rdoc", "ChangeLog", "lib/**/*.rb" )
67
- rdoc.generator = :fivefish
68
- rdoc.title = "Pluggability"
69
- rdoc.rdoc_dir = 'doc'
70
- end
71
- end
72
-
73
- task :gemspec => [ 'ChangeLog', __FILE__, 'Manifest.txt', GEMSPEC ]
74
- task GEMSPEC do |task|
75
- spec = $hoespec.spec
76
- spec.files.delete( '.gemtest' )
77
- spec.signing_key = nil
78
- spec.version = "#{spec.version.bump}.0.pre#{Time.now.strftime("%Y%m%d%H%M%S")}"
79
- File.open( task.name, 'w' ) do |fh|
80
- fh.write( spec.to_ruby )
81
- end
82
- end
83
-
84
- CLOBBER.include( GEMSPEC.to_s )
85
-
86
- task :default => :gemspec
87
-