pluggability 0.4.3 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data/History.md +87 -0
- data/{README.rdoc → README.md} +64 -48
- data/lib/pluggability.rb +47 -58
- data/spec/helpers.rb +1 -0
- data/spec/pluggability_spec.rb +65 -31
- data.tar.gz.sig +0 -0
- metadata +51 -130
- metadata.gz.sig +0 -0
- data/.gemtest +0 -0
- data/ChangeLog +0 -868
- data/History.rdoc +0 -54
- data/Manifest.txt +0 -8
- data/Rakefile +0 -86
data/History.rdoc
DELETED
@@ -1,54 +0,0 @@
|
|
1
|
-
== v0.4.3 [2015-03-04] Michael Granger <ged@FaerieMUD.org>
|
2
|
-
|
3
|
-
Bugfix:
|
4
|
-
|
5
|
-
- Add a workaround for older Rubygems to avoid Bundler problems.
|
6
|
-
|
7
|
-
|
8
|
-
== v0.4.2 [2015-03-04] Michael Granger <ged@FaerieMUD.org>
|
9
|
-
|
10
|
-
Bugfixes:
|
11
|
-
|
12
|
-
- Set the minimum Rubygems version for #find_latest_files support [#1].
|
13
|
-
|
14
|
-
|
15
|
-
== v0.4.1 [2015-03-03] Mahlon E. Smith <mahlon@martini.nu>
|
16
|
-
|
17
|
-
Bugfix:
|
18
|
-
|
19
|
-
- Only consider the latest versions of each installed gem
|
20
|
-
when finding files to load for .load_all.
|
21
|
-
|
22
|
-
|
23
|
-
== v0.4.0 [2014-01-08] Michael Granger <ged@FaerieMUD.org>
|
24
|
-
|
25
|
-
- Add a name attribute to plugins for introspection.
|
26
|
-
|
27
|
-
|
28
|
-
== v0.3.0 [2013-09-25] Michael Granger <ged@FaerieMUD.org>
|
29
|
-
|
30
|
-
- Add plugin exclusion patterns
|
31
|
-
|
32
|
-
|
33
|
-
== v0.2.0 [2013-03-28] Michael Granger <ged@FaerieMUD.org>
|
34
|
-
|
35
|
-
- Fix loading of grandchildren of plugins
|
36
|
-
- Rename Pluggability::FactoryError to
|
37
|
-
Pluggability::PluginError (with backward-compatibility aliases)
|
38
|
-
|
39
|
-
|
40
|
-
== v0.1.0 [2013-03-27] Michael Granger <ged@FaerieMUD.org>
|
41
|
-
|
42
|
-
- Add loading via underbarred name variants (CommaDelimitedThing ->
|
43
|
-
comma_delimited)
|
44
|
-
- Rename some stuff for consistency.
|
45
|
-
|
46
|
-
== v0.0.2 [2012-08-13] Michael Granger <ged@FaerieMUD.org>
|
47
|
-
|
48
|
-
Simplify Pluggability#derivatives.
|
49
|
-
|
50
|
-
|
51
|
-
== v0.0.1 [2012-08-03] Michael Granger <ged@FaerieMUD.org>
|
52
|
-
|
53
|
-
First release after renaming from PluginFactory.
|
54
|
-
|
data/Manifest.txt
DELETED
data/Rakefile
DELETED
@@ -1,86 +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
|
20
|
-
self.readme_file = 'README.rdoc'
|
21
|
-
self.history_file = 'History.rdoc'
|
22
|
-
self.extra_rdoc_files = Rake::FileList[ '*.rdoc' ]
|
23
|
-
self.spec_extras[:rdoc_options] = ['-t', 'Pluggability Toolkit']
|
24
|
-
# self.spec_extras[:required_rubygems_version] = '~> 2.1'
|
25
|
-
|
26
|
-
# Hoops to avoid adding a formatting to the gem's spec, but still build
|
27
|
-
# with a custom formatter locally
|
28
|
-
self.spec_extras[:rdoc_options] += [ '-f', 'fivefish' ] if
|
29
|
-
File.directory?( '.hg' ) && !(ARGV.include?('gem') || ARGV.include?('release'))
|
30
|
-
|
31
|
-
self.developer 'Martin Chase', 'stillflame@FaerieMUD.org'
|
32
|
-
self.developer 'Michael Granger', 'ged@FaerieMUD.org'
|
33
|
-
|
34
|
-
self.dependency 'loggability', '~> 0.8'
|
35
|
-
|
36
|
-
self.dependency 'hoe-deveiate', '~> 0.6', :development
|
37
|
-
self.dependency 'hoe-bundler', '~> 1.2', :development
|
38
|
-
|
39
|
-
self.license "BSD"
|
40
|
-
self.hg_sign_tags = true if self.respond_to?( :hg_sign_tags= )
|
41
|
-
self.check_history_on_release = true if self.respond_to?( :check_history_on_release= )
|
42
|
-
self.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 => GEMSPEC
|
74
|
-
file GEMSPEC => __FILE__
|
75
|
-
task GEMSPEC do |task|
|
76
|
-
spec = $hoespec.spec
|
77
|
-
spec.files.delete( '.gemtest' )
|
78
|
-
spec.signing_key = nil
|
79
|
-
spec.version = "#{spec.version.bump}.0.pre#{Time.now.strftime("%Y%m%d%H%M%S")}"
|
80
|
-
File.open( task.name, 'w' ) do |fh|
|
81
|
-
fh.write( spec.to_ruby )
|
82
|
-
end
|
83
|
-
end
|
84
|
-
|
85
|
-
CLOBBER.include( GEMSPEC.to_s )
|
86
|
-
|