BackupMan 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. data/.gitignore +1 -1
  2. data/Rakefile +13 -1
  3. data/VERSION +1 -1
  4. data/lib/backup_man/dsl.rb +0 -1
  5. metadata +1 -1
data/.gitignore CHANGED
@@ -19,5 +19,5 @@ rdoc
19
19
  pkg
20
20
  doc
21
21
  .yardoc
22
-
22
+ *.gemspec
23
23
  ## PROJECT::SPECIFIC
data/Rakefile CHANGED
@@ -16,8 +16,10 @@ begin
16
16
  gem.add_dependency "log4r", ">= 1.1.2"
17
17
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
18
18
  end
19
+ Jeweler::GemcutterTasks.new
19
20
  Jeweler::RubyforgeTasks.new do |rubyforge|
20
21
  rubyforge.doc_task = "yardoc"
22
+ # rubyforge.doc_task = "rdoc"
21
23
  end
22
24
  rescue LoadError
23
25
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
@@ -39,9 +41,19 @@ task :spec => :check_dependencies
39
41
 
40
42
  task :default => :spec
41
43
 
44
+ require 'rake/rdoctask'
45
+ Rake::RDocTask.new do |rdoc|
46
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
47
+
48
+ rdoc.rdoc_dir = 'rdoc'
49
+ rdoc.title = "BackupMan #{version}"
50
+ rdoc.rdoc_files.include('README*')
51
+ rdoc.rdoc_files.include('lib/**/*.rb')
52
+ end
53
+
42
54
  begin
43
55
  require 'yard'
44
- YARD::Rake::YardocTask.new
56
+ YARD::Rake::YardocTask.new( :yardoc )
45
57
  rescue LoadError
46
58
  task :yardoc do
47
59
  abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -29,7 +29,6 @@ module BackupMan
29
29
  def register_dsl( name, var )
30
30
  @dsl_methods = [] if @dsl_methods.nil?
31
31
  @dsl_methods << [name, var]
32
- puts "#{self} #{self.dsl_methods.join ","}"
33
32
  end
34
33
 
35
34
  # returns an array of all dsl methods of this and all superclasses
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: BackupMan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Markus Strauss