public
Rubygem
Description: Makes http fun! Also, makes consuming restful web services dead easy.
Homepage:
Clone URL: git://github.com/jnunemaker/httparty.git
Click here to lend your support to: httparty and make a donation at www.pledgie.com !
Moving to Echoe from newgem.
jnunemaker (author)
Fri Dec 05 14:10:21 -0800 2008
commit  4a7f25d2240671ebfcc565316dc3a5b1b265c5fd
tree    875280861156cdb7b62f0342bb5a5a068d543a1d
parent  ec274f26b08b41e3ef7dd0afd40df03292d4e7be
  • Manifest
  • Manifest.txt
  • Rakefile
  • config/hoe.rb
  • config/requirements.rb
  • lib/httparty/version.rb
  • script/console
  • script/destroy
  • script/generate
  • script/txt2html
  • tasks/deployment.rake
  • tasks/environment.rake
  • tasks/website.rake
...
1
2
3
 
 
4
5
 
 
 
 
 
6
7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
 
 
 
 
 
 
 
 
 
9
10
11
12
...
 
 
 
1
2
3
 
4
5
6
7
8
9
 
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
0
@@ -1,11 +1,42 @@
0
-require 'config/requirements'
0
-require 'config/hoe' # setup Hoe + all gem configuration
0
-require "spec/rake/spectask"
0
+ProjectName = 'httparty'
0
+WebsitePath = "jnunemaker@rubyforge.org:/var/www/gforge-projects/#{ProjectName}"
0
 
0
-Dir['tasks/**/*.rake'].each { |rake| load rake }
0
+require 'rubygems'
0
+require 'rake'
0
+require 'echoe'
0
+require 'spec/rake/spectask'
0
+require "lib/#{ProjectName}/version"
0
 
0
-task :default => :spec
0
+Echoe.new(ProjectName, HTTParty::Version) do |p|
0
+  p.description = "Makes http fun! Also, makes consuming restful web services dead easy."
0
+  p.url         = "http://#{ProjectName}.rubyforge.org"
0
+  p.author      = "John Nunemaker"
0
+  p.email       = "nunemaker@gmail.com"
0
+  p.extra_deps  = [['activesupport', '>= 2.1']]
0
+  p.need_tar_gz = false
0
+  p.docs_host   = WebsitePath
0
+end
0
+
0
+desc 'Upload website files to rubyforge'
0
+task :website do
0
+  sh %{rsync -av website/ #{WebsitePath}}
0
+  Rake::Task['website_docs'].invoke
0
+end
0
+
0
+task :website_docs do
0
+  Rake::Task['redocs'].invoke
0
+  sh %{rsync -av doc/ #{WebsitePath}/docs}
0
+end
0
 
0
+desc 'Preps the gem for a new release'
0
+task :prepare do
0
+  %w[manifest build_gemspec].each do |task|
0
+    Rake::Task[task].invoke
0
+  end
0
+end
0
+
0
+Rake::Task[:default].prerequisites.clear
0
+task :default => :spec
0
 Spec::Rake::SpecTask.new do |t|
0
   t.spec_files = FileList["spec/**/*_spec.rb"]
0
 end
0
\ No newline at end of file
...
1
2
3
4
5
6
7
8
9
 
 
10
...
1
 
 
 
 
 
 
 
 
2
3
4
0
@@ -1,9 +1,3 @@
0
 module HTTParty
0
-  module VERSION #:nodoc:
0
-    MAJOR = 0
0
-    MINOR = 1
0
-    TINY  = 8
0
-
0
-    STRING = [MAJOR, MINOR, TINY].join('.')
0
-  end
0
-end
0
+  Version = '0.1.8'
0
+end
0
\ No newline at end of file

Comments