gemsonrails 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ == 0.6.4 2007-06-11
2
+
3
+ * 1 critical bugfix:
4
+ * link command was also broken
5
+
1
6
  == 0.6.3 2007-05-28
2
7
 
3
8
  * 1 critical bugfix:
@@ -6,6 +11,8 @@
6
11
  * When rerunning the link/freeze tasks for an existing gem, the vendor/gems/xxx folder is no longer
7
12
  deleted and then recreated. Unforunately its not deleting any files either (TODO)
8
13
  * Changed #deploy task to output svn tagging command
14
+ * 1 website improvement:
15
+ * website/index.txt includes link to "8 steps to fix other ppls code"
9
16
 
10
17
  == 0.6.2 2007-05-14
11
18
 
data/Rakefile CHANGED
@@ -72,7 +72,7 @@ task :website_upload do
72
72
  host = "#{config["username"]}@rubyforge.org"
73
73
  remote_dir = "/var/www/gforge-projects/#{RUBYFORGE_PROJECT}/"
74
74
  local_dir = 'website'
75
- sh %{rsync -av #{local_dir}/ #{host}:#{remote_dir}}
75
+ sh %{rsync -aCv #{local_dir}/ #{host}:#{remote_dir}}
76
76
  end
77
77
 
78
78
  desc 'Generate and upload website files'
@@ -2,7 +2,7 @@ module GemsOnRails #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 6
5
- TINY = 3
5
+ TINY = 4
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -25,7 +25,8 @@ if %w[#{only_list.join(' ')}].include?(ENV['RAILS_ENV'])
25
25
  gem = Gem.cache.search(gem_name).sort_by { |g| g.version }.last
26
26
  version ||= gem.version.version rescue nil
27
27
 
28
- unless gem && path = Gem::UnpackCommand.new.get_path(gem_name, version)
28
+ unpack_command_class = Gem::UnpackCommand rescue nil || Gem::Commands::UnpackCommand
29
+ unless gem && path = unpack_command_class.new.get_path(gem_name, version)
29
30
  raise "No gem #{gem_name} is installed. Try 'gem install #{gem_name}' to install the gem."
30
31
  end
31
32
 
data/website/index.html CHANGED
@@ -33,7 +33,7 @@
33
33
  <h1>Gems On Rails</h1>
34
34
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/gemsonrails"; return false'>
35
35
  Get Version
36
- <a href="http://rubyforge.org/projects/gemsonrails" class="numbers">0.6.3</a>
36
+ <a href="http://rubyforge.org/projects/gemsonrails" class="numbers">0.6.4</a>
37
37
  </div>
38
38
  <h1>&#x2192; &#8216;gemsonrails&#8217;</h1>
39
39
 
@@ -108,6 +108,12 @@ $ rake gems:link GEM=&lt;gemname&gt; ONLY=production,staging
108
108
  <p><a href="http://groups.google.com/group/gemsonrails">http://groups.google.com/group/gemsonrails</a></p>
109
109
 
110
110
 
111
+ <h2>How to submit patches</h2>
112
+
113
+
114
+ <p>Read the <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/">8 steps for fixing other people&#8217;s code</a> and for section <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups">8b: Submit patch to Google Groups</a>, use the Google Group above.</p>
115
+
116
+
111
117
  <h2>Licence</h2>
112
118
 
113
119
 
@@ -119,7 +125,7 @@ $ rake gems:link GEM=&lt;gemname&gt; ONLY=production,staging
119
125
 
120
126
  <p>Comments are welcome. Send an email to <a href="mailto:drnicwilliams@gmail.com">Dr Nic Williams</a>.</p>
121
127
  <p class="coda">
122
- <a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 11th May 2007<br>
128
+ <a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 1st June 2007<br>
123
129
  Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
124
130
  </p>
125
131
  </div>
data/website/index.txt CHANGED
@@ -57,6 +57,10 @@ h2. Forum
57
57
 
58
58
  "http://groups.google.com/group/gemsonrails":http://groups.google.com/group/gemsonrails
59
59
 
60
+ h2. How to submit patches
61
+
62
+ Read the "8 steps for fixing other people's code":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/ and for section "8b: Submit patch to Google Groups":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups, use the Google Group above.
63
+
60
64
  h2. Licence
61
65
 
62
66
  This code is free to use under the terms of the MIT licence.
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.4
2
+ rubygems_version: 0.9.4.1
3
3
  specification_version: 1
4
4
  name: gemsonrails
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.6.3
7
- date: 2007-05-28 00:00:00 +02:00
6
+ version: 0.6.4
7
+ date: 2007-06-11 00:00:00 +02:00
8
8
  summary: Link or freeze RubyGems into your rails apps, instead of plugins
9
9
  require_paths:
10
10
  - lib