Skip to content
This repository
Browse code

Merge pull request #3576 from arunagw/changelog_changelog_md

Changelog changelog md
  • Loading branch information...
commit e7ec79d03fca2aaffee494027adb192ca1dab1fa 2 parents 1c61365 + a0676b6
Vijay Dev authored November 08, 2011
14  Rakefile
@@ -93,24 +93,24 @@ RDoc::Task.new do |rdoc|
93 93
   rdoc.options << '-g' # SDoc flag, link methods to GitHub
94 94
   rdoc.options << '-m' << RDOC_MAIN
95 95
 
96  
-  rdoc.rdoc_files.include('railties/CHANGELOG')
  96
+  rdoc.rdoc_files.include('railties/CHANGELOG.md')
97 97
   rdoc.rdoc_files.include('railties/MIT-LICENSE')
98 98
   rdoc.rdoc_files.include('railties/README.rdoc')
99 99
   rdoc.rdoc_files.include('railties/lib/**/*.rb')
100 100
   rdoc.rdoc_files.exclude('railties/lib/rails/generators/**/templates/**/*.rb')
101 101
 
102 102
   rdoc.rdoc_files.include('activerecord/README.rdoc')
103  
-  rdoc.rdoc_files.include('activerecord/CHANGELOG')
  103
+  rdoc.rdoc_files.include('activerecord/CHANGELOG.md')
104 104
   rdoc.rdoc_files.include('activerecord/lib/active_record/**/*.rb')
105 105
   rdoc.rdoc_files.exclude('activerecord/lib/active_record/vendor/*')
106 106
 
107 107
   rdoc.rdoc_files.include('activeresource/README.rdoc')
108  
-  rdoc.rdoc_files.include('activeresource/CHANGELOG')
  108
+  rdoc.rdoc_files.include('activeresource/CHANGELOG.md')
109 109
   rdoc.rdoc_files.include('activeresource/lib/active_resource.rb')
110 110
   rdoc.rdoc_files.include('activeresource/lib/active_resource/*')
111 111
 
112 112
   rdoc.rdoc_files.include('actionpack/README.rdoc')
113  
-  rdoc.rdoc_files.include('actionpack/CHANGELOG')
  113
+  rdoc.rdoc_files.include('actionpack/CHANGELOG.md')
114 114
   rdoc.rdoc_files.include('actionpack/lib/abstract_controller/**/*.rb')
115 115
   rdoc.rdoc_files.include('actionpack/lib/action_controller/**/*.rb')
116 116
   rdoc.rdoc_files.include('actionpack/lib/action_dispatch/**/*.rb')
@@ -118,18 +118,18 @@ RDoc::Task.new do |rdoc|
118 118
   rdoc.rdoc_files.exclude('actionpack/lib/action_controller/vendor/*')
119 119
 
120 120
   rdoc.rdoc_files.include('actionmailer/README.rdoc')
121  
-  rdoc.rdoc_files.include('actionmailer/CHANGELOG')
  121
+  rdoc.rdoc_files.include('actionmailer/CHANGELOG.md')
122 122
   rdoc.rdoc_files.include('actionmailer/lib/action_mailer/base.rb')
123 123
   rdoc.rdoc_files.include('actionmailer/lib/action_mailer/mail_helper.rb')
124 124
   rdoc.rdoc_files.exclude('actionmailer/lib/action_mailer/vendor/*')
125 125
 
126 126
   rdoc.rdoc_files.include('activesupport/README.rdoc')
127  
-  rdoc.rdoc_files.include('activesupport/CHANGELOG')
  127
+  rdoc.rdoc_files.include('activesupport/CHANGELOG.md')
128 128
   rdoc.rdoc_files.include('activesupport/lib/active_support/**/*.rb')
129 129
   rdoc.rdoc_files.exclude('activesupport/lib/active_support/vendor/*')
130 130
 
131 131
   rdoc.rdoc_files.include('activemodel/README.rdoc')
132  
-  rdoc.rdoc_files.include('activemodel/CHANGELOG')
  132
+  rdoc.rdoc_files.include('activemodel/CHANGELOG.md')
133 133
   rdoc.rdoc_files.include('activemodel/lib/active_model/**/*.rb')
134 134
 end
135 135
 
14  railties/lib/rails/tasks/documentation.rake
@@ -64,43 +64,43 @@ namespace :doc do
64 64
     rdoc.rdoc_files.include('README')
65 65
 
66 66
     gem_path('actionmailer') do |actionmailer|
67  
-      %w(README.rdoc CHANGELOG MIT-LICENSE lib/action_mailer/base.rb).each do |file|
  67
+      %w(README.rdoc CHANGELOG.md MIT-LICENSE lib/action_mailer/base.rb).each do |file|
68 68
         rdoc.rdoc_files.include("#{actionmailer}/#{file}")
69 69
       end
70 70
     end
71 71
 
72 72
     gem_path('actionpack') do |actionpack|
73  
-      %w(README.rdoc CHANGELOG MIT-LICENSE lib/action_controller/**/*.rb lib/action_view/**/*.rb).each do |file|
  73
+      %w(README.rdoc CHANGELOG.md MIT-LICENSE lib/action_controller/**/*.rb lib/action_view/**/*.rb).each do |file|
74 74
         rdoc.rdoc_files.include("#{actionpack}/#{file}")
75 75
       end
76 76
     end
77 77
 
78 78
     gem_path('activemodel') do |activemodel|
79  
-      %w(README.rdoc CHANGELOG MIT-LICENSE lib/active_model/**/*.rb).each do |file|
  79
+      %w(README.rdoc CHANGELOG.md MIT-LICENSE lib/active_model/**/*.rb).each do |file|
80 80
         rdoc.rdoc_files.include("#{activemodel}/#{file}")
81 81
       end
82 82
     end
83 83
 
84 84
     gem_path('activerecord') do |activerecord|
85  
-      %w(README.rdoc CHANGELOG lib/active_record/**/*.rb).each do |file|
  85
+      %w(README.rdoc CHANGELOG.md lib/active_record/**/*.rb).each do |file|
86 86
         rdoc.rdoc_files.include("#{activerecord}/#{file}")
87 87
       end
88 88
     end
89 89
 
90 90
     gem_path('activeresource') do |activeresource|
91  
-      %w(README.rdoc CHANGELOG lib/active_resource.rb lib/active_resource/*).each do |file|
  91
+      %w(README.rdoc CHANGELOG.md lib/active_resource.rb lib/active_resource/*).each do |file|
92 92
         rdoc.rdoc_files.include("#{activeresource}/#{file}")
93 93
       end
94 94
     end
95 95
 
96 96
     gem_path('activesupport') do |activesupport|
97  
-      %w(README.rdoc CHANGELOG lib/active_support/**/*.rb).each do |file|
  97
+      %w(README.rdoc CHANGELOG.md lib/active_support/**/*.rb).each do |file|
98 98
         rdoc.rdoc_files.include("#{activesupport}/#{file}")
99 99
       end
100 100
     end
101 101
 
102 102
     gem_path('railties') do |railties|
103  
-      %w(README.rdoc CHANGELOG lib/{*.rb,commands/*.rb,generators/*.rb}).each do |file|
  103
+      %w(README.rdoc CHANGELOG.md lib/{*.rb,commands/*.rb,generators/*.rb}).each do |file|
104 104
         rdoc.rdoc_files.include("#{railties}/#{file}")
105 105
       end
106 106
     end
4  tasks/release.rb
@@ -66,7 +66,7 @@
66 66
     FRAMEWORKS.each do |fw|
67 67
       require 'date'
68 68
       replace = '\1(' + Date.today.strftime('%B %d, %Y') + ')'
69  
-      fname = File.join fw, 'CHANGELOG'
  69
+      fname = File.join fw, 'CHANGELOG.md'
70 70
 
71 71
       contents = File.read(fname).sub(/^([^(]*)\(unreleased\)/, replace)
72 72
       File.open(fname, 'wb') { |f| f.write contents }
@@ -76,7 +76,7 @@
76 76
   task :release_summary do
77 77
     FRAMEWORKS.each do |fw|
78 78
       puts "## #{fw}"
79  
-      fname    = File.join fw, 'CHANGELOG'
  79
+      fname    = File.join fw, 'CHANGELOG.md'
80 80
       contents = File.readlines fname
81 81
       contents.shift
82 82
       changes = []

0 notes on commit e7ec79d

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