Permalink
Browse files

Update urls; strip psych dependency

  • Loading branch information...
1 parent 8320c1a commit a9264c4916f976fc6e65cf73898db77a61fb68b2 @dazuma committed Jun 18, 2012
Showing with 5 additions and 24 deletions.
  1. +1 −4 Gemfile
  2. +1 −1 README.rdoc
  3. +1 −17 Rakefile
  4. +1 −1 Versionomy.rdoc
  5. +1 −1 versionomy.gemspec
View
@@ -40,10 +40,7 @@ source "http://rubygems.org"
gem('blockenspiel', '>= 0.4.3')
-if defined?(::RUBY_ENGINE) && ::RUBY_ENGINE == 'ruby' && ::RUBY_VERSION >= '1.9.2'
- gem('psych', '>= 1.2.2')
-end
-
group(:test) do
gem('rake', '>= 0.9.2')
+ gem('rdoc', '>= 3.12')
end
View
@@ -129,7 +129,7 @@ provides a schema and formatter/parser matching Gem::Version.
=== Development and support
-Documentation is available at http://virtuoso.rubyforge.org/versionomy/README_rdoc.html
+Documentation is available at http://dazuma.github.com/versionomy/rdoc
Source code is hosted on Github at http://github.com/dazuma/versionomy
View
@@ -34,16 +34,6 @@
;
-# Requires
-
-require 'rubygems'
-begin
- gem 'psych'
- require 'psych'
-rescue ::Gem::LoadError, ::LoadError
-end
-
-
# Load config if present
config_path_ = ::File.expand_path('rakefile_config.rb', ::File.dirname(__FILE__))
@@ -53,6 +43,7 @@ RAKEFILE_CONFIG = {} unless defined?(::RAKEFILE_CONFIG)
# Gemspec
+require 'rubygems'
gemspec_ = eval(::File.read(::Dir.glob('*.gemspec').first))
release_gemspec_ = eval(::File.read(::Dir.glob('*.gemspec').first))
release_gemspec_.version = gemspec_.version.to_s.sub(/\.build\d+$/, '')
@@ -184,13 +175,6 @@ file "#{doc_directory_}/index.html" => all_rdoc_files_ do
::RDoc::RDoc.new.document(args_ + all_rdoc_files_)
end
-task :publish_rdoc => :build_rdoc do
- require 'yaml'
- config_ = ::YAML.load(::File.read(::File.expand_path("~/.rubyforge/user-config.yml")))
- username_ = config_['username']
- sh "rsync -av --delete #{doc_directory_}/ #{username_}@rubyforge.org:/var/www/gforge-projects/#{gemspec_.rubyforge_project}/#{gemspec_.name}"
-end
-
# Gem release tasks
View
@@ -303,7 +303,7 @@ Versionomy::Conversion::Rubygems for further information.
=== Development and support
-Documentation is available at http://virtuoso.rubyforge.org/versionomy/README_rdoc.html
+Documentation is available at http://dazuma.github.com/versionomy/rdoc
Source code is hosted on Github at http://github.com/dazuma/versionomy
View
@@ -43,7 +43,7 @@
s_.version = "#{::File.read('Version').strip}.build#{::Time.now.utc.strftime('%Y%m%d%H%M%S')}"
s_.author = 'Daniel Azuma'
s_.email = 'dazuma@gmail.com'
- s_.homepage = 'http://virtuoso.rubyforge.org/versionomy'
+ s_.homepage = 'http://dazuma.github.com/versionomy'
s_.rubyforge_project = 'virtuoso'
s_.required_ruby_version = '>= 1.8.7'
s_.files = ::Dir.glob("lib/**/*.rb") +

0 comments on commit a9264c4

Please sign in to comment.