public
Rubygem
Fork of ryanb/nifty-generators
Description: A collection of useful Rails generator scripts by Ryan Bates.
Clone URL: git://github.com/ooodigi/nifty-generators.git
moving to echoe
Ryan Bates (author)
Tue May 06 10:19:51 -0700 2008
commit  978dd121b94f14899f9ac4b0d691e457babef0cc
tree    d2741f1ff7b2d14b021bbd82c943b2e33c1b7b78
parent  63d36927d5545ddda24225851f66257f9d54d626
  • History.txt
  • LICENSE
  • License.txt
  • Manifest
  • Manifest.txt
  • PostInstall.txt
  • README
  • README.txt
  • Rakefile
  • config/hoe.rb
  • config/requirements.rb
  • lib/nifty_generator.rb
  • lib/nifty_generator/version.rb
  • setup.rb
  • tasks/deployment.rake
  • tasks/environment.rake
  • tasks/website.rake
...
1
2
3
4
5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
0
@@ -1,4 +1,19 @@
0
-require 'config/requirements'
0
-require 'config/hoe' # setup Hoe + all gem configuration
0
-
0
-Dir['tasks/**/*.rake'].each { |rake| load rake }
0
\ No newline at end of file
0
+require 'rubygems'
0
+require 'rake'
0
+
0
+begin
0
+ require 'echoe'
0
+
0
+ Echoe.new('github', '0.1.2') do |p|
0
+ p.rubyforge_name = 'nifty_generator'
0
+ p.summary = "A collection of Ryan's generator scripts for Rails."
0
+ p.description = "A collection of Ryan's generator scripts for Rails."
0
+ p.url = "http://github.com/ryanb/nifty_generator"
0
+ p.author = 'Ryan Bates'
0
+ p.email = "ryan@railscasts.com"
0
+ end
0
+
0
+rescue LoadError => boom
0
+ puts "You are missing a dependency required for meta-operations on this gem."
0
+ puts "#{boom.to_s.capitalize}."
0
+end
...
1
2
 
3
4
5
 
6
7
...
 
 
1
2
3
 
4
5
6
0
@@ -1,6 +1,5 @@
0
-$:.unshift(File.dirname(__FILE__)) unless
0
- $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
0
+$:.unshift File.dirname(__FILE__)
0
 
0
 module NiftyGenerator
0
-
0
+ # not sure if I even need this...
0
 end
0
\ No newline at end of file

Comments

    No one has commented yet.