plugems 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/plugems.rb +4 -0
  2. metadata +1 -1
@@ -1,3 +1,7 @@
1
+ module RailsVersionVerifier
2
+ ver = Rails::VERSION::STRING.split('.').map(&:to_i).extend(Comparable)
3
+ fail("The rails version #{ Rails::VERSION::STRING } is not supported by plugems") unless (ver >= [1,1,6] && ver <= [1,2,3])
4
+ end
1
5
  # Rails 1.1.16 is not very extensible in how it loads rake tasks.
2
6
  # There is a file called tasks/rails.rb, required from the default RAILS_ROOT/Rakefile,
3
7
  # that has 3 lines of Dir['foo'].each {|a| load a}, which is not very extensible
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: plugems
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.1.1
6
+ version: 1.1.2
7
7
  date: 2007-05-02 00:00:00 -04:00
8
8
  summary: Dependency-management framework built on top of Ruby On Rails
9
9
  require_paths: