Class: Rails::API::EdgeTask
- Defined in:
- lib/rails/api/task.rb
Constant Summary
Constants inherited from Task
Instance Method Summary collapse
Methods inherited from RepoTask
#api_dir, #component_root_dir, #configure_sdoc
Methods inherited from Task
#api_main, #configure_rdoc_files, #configure_sdoc, #desc, #initialize, #setup_horo_variables
Constructor Details
This class inherits a constructor from Rails::API::Task
Instance Method Details
#badge_version ⇒ Object
212 213 214 |
# File 'lib/rails/api/task.rb', line 212 def badge_version "edge" end |
#canonical_url ⇒ Object
216 217 218 |
# File 'lib/rails/api/task.rb', line 216 def canonical_url "https://edgeapi.rubyonrails.org" end |
#rails_version ⇒ Object
208 209 210 |
# File 'lib/rails/api/task.rb', line 208 def rails_version "main@#{`git rev-parse HEAD`[0, 7]}" end |