Skip to content
This repository
Browse code

Revert "The application generator generates `public/humans.txt` with …

…some basic data". I dont consider this something most people is going to want most of the time. If you want to add it in your own app, knock yourself out. But it doesnt belong in Rails imo
  • Loading branch information...
commit fb883318c8b82b3570cee022ddf6886f9052245d 1 parent 46b8bce
David Heinemeier Hansson authored August 07, 2012
2  railties/CHANGELOG.md
Source Rendered
@@ -31,8 +31,6 @@
31 31
 
32 32
 *   Load all environments available in `config.paths["config/environments"]`. *Piotr Sarnacki*
33 33
 
34  
-*   The application generator generates `public/humans.txt` with some basic data. *Paul Campbell*
35  
-
36 34
 *   Add `config.queue_consumer` to allow the default consumer to be configurable. *Carlos Antonio da Silva*
37 35
 
38 36
 *   Add Rails.queue as an interface with a default implementation that consumes jobs in a separate thread. *Yehuda Katz*
7  railties/lib/rails/generators/rails/app/templates/public/humans.txt.tt
... ...
@@ -1,7 +0,0 @@
1  
-# See more about this file at: http://humanstxt.org/
2  
-# For format suggestions, see: http://humanstxt.org/Standard.html
3  
-/* TEAM */
4  
-
5  
-/* APP */
6  
-  Name: <%= app_const_base %>
7  
-  Software: Ruby on Rails
5  railties/test/generators/app_generator_test.rb
@@ -377,11 +377,6 @@ def test_pretend_option
377 377
     assert_no_match(/run  bundle install/, output)
378 378
   end
379 379
 
380  
-  def test_humans_txt_file
381  
-    run_generator [File.join(destination_root, 'things-43')]
382  
-    assert_file "things-43/public/humans.txt", /Name: Things43/, /Software: Ruby on Rails/
383  
-  end
384  
-
385 380
 protected
386 381
 
387 382
   def action(*args, &block)

1 note on commit fb88331

Aaron Longwell

Concur. humans.txt is a way for the passion of a project's creators to be known. If you've got the passion, put the file there manually... and give it your own personal touch.

Please sign in to comment.
Something went wrong with that request. Please try again.