rugui 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +17 -3
  2. data/VERSION.yml +1 -1
  3. metadata +1 -1
data/Rakefile CHANGED
@@ -6,9 +6,7 @@
6
6
  require 'rake'
7
7
  require 'rake/testtask'
8
8
  require 'rake/rdoctask'
9
-
10
9
  require 'rubygems'
11
- require 'rugui/tasks/rugui_framework'
12
10
 
13
11
  begin
14
12
  require 'jeweler'
@@ -21,14 +19,30 @@ begin
21
19
  gemspec.authors = ["Vicente Mundim", "Felipe Mesquita", "Claudio Escudero"]
22
20
  gemspec.add_dependency(%q<activesupport>, [">= 2.1.1"])
23
21
  gemspec.add_dependency(%q<rubigen>, [">= 1.5.1"])
24
- gemspec.version = "1.2.0"
22
+ gemspec.version = "1.2.1"
25
23
  gemspec.date = %q{2009-04-01}
26
24
  gemspec.rubyforge_project = "rugui"
25
+ gemspec.executables = ['rugui']
27
26
  end
28
27
  rescue LoadError
29
28
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
30
29
  end
31
30
 
31
+ require 'rake/rdoctask'
32
+ Rake::RDocTask.new do |rdoc|
33
+ if File.exist?('VERSION.yml')
34
+ config = YAML.load(File.read('VERSION.yml'))
35
+ version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
36
+ else
37
+ version = ""
38
+ end
39
+
40
+ rdoc.rdoc_dir = 'rdoc'
41
+ rdoc.title = "RuGUI #{version}"
42
+ rdoc.rdoc_files.include('README*')
43
+ rdoc.rdoc_files.include('lib/**/*.rb')
44
+ end
45
+
32
46
  begin
33
47
  require 'rake/contrib/sshpublisher'
34
48
  namespace :rubyforge do
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 0
2
+ :patch: 1
3
3
  :major: 1
4
4
  :minor: 2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rugui
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vicente Mundim