environmentalist 0.2.2 → 0.2.3

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 +13 -1
  2. data/VERSION.yml +1 -1
  3. metadata +1 -1
data/Rakefile CHANGED
@@ -2,6 +2,8 @@ require 'rake'
2
2
  require 'rake/testtask'
3
3
  require 'rake/rdoctask'
4
4
 
5
+ gem 'jeweler', '~> 0.10.2'
6
+
5
7
  begin
6
8
  require 'jeweler'
7
9
  Jeweler::Tasks.new do |s|
@@ -20,6 +22,16 @@ rescue LoadError
20
22
  puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
21
23
  end
22
24
 
25
+ require 'rake/rdoctask'
26
+ Rake::RDocTask.new do |rdoc|
27
+ config = YAML.load(File.read('VERSION.yml'))
28
+ rdoc.rdoc_dir = 'rdoc'
29
+ rdoc.title = "timecop #{config[:major]}.#{config[:minor]}.#{config[:patch]}"
30
+ rdoc.options << '--line-numbers' << '--inline-source'
31
+ rdoc.rdoc_files.include('README*')
32
+ rdoc.rdoc_files.include('lib/**/*.rb')
33
+ end
34
+
23
35
  begin
24
36
  require 'rake/contrib/sshpublisher'
25
37
  namespace :rubyforge do
@@ -35,7 +47,7 @@ begin
35
47
  )
36
48
 
37
49
  host = "#{config['username']}@rubyforge.org"
38
- remote_dir = "/var/www/gforge-projects/the-perfect-gem/"
50
+ remote_dir = "/var/www/gforge-projects/johntrupiano/environmentalist"
39
51
  local_dir = 'rdoc'
40
52
 
41
53
  Rake::SshDirPublisher.new(host, remote_dir, local_dir).upload
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
+ :patch: 3
2
3
  :major: 0
3
4
  :minor: 2
4
- :patch: 2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: environmentalist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Trupiano