Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
annotate
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
annotate
Commits
9f3a2174
Commit
9f3a2174
authored
Jul 26, 2017
by
yhirano55
Committed by
Cuong Tran
Jul 25, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix README and require annotate in InstallGenerator (#494)
* Fix InstallGenerator to require annotate * Fix README
parent
d02ff2e1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
README.rdoc
README.rdoc
+2
-2
install_generator.rb
lib/generators/annotate/install_generator.rb
+3
-1
No files found.
README.rdoc
View file @
9f3a2174
...
...
@@ -55,11 +55,11 @@ Also, if you pass the -r option, it'll annotate routes.rb with the output of
Into Gemfile from rubygems.org:
gem 'annotate'
gem 'annotate'
, require: false
Into Gemfile from Github:
gem 'annotate', git
: 'https://github.com/ctran/annotate_models.git'
gem 'annotate', git
hub: 'ctran/annotate_models', require: false
Into environment gems from rubygems.org:
...
...
lib/generators/annotate/install_generator.rb
View file @
9f3a2174
require
'annotate'
module
Annotate
module
Generators
class
InstallGenerator
<
Rails
::
Generators
::
Base
desc
'Copy annotate_models rakefiles for automatic annotation'
source_root
File
.
expand_path
(
'
../templates'
,
__FILE
__
)
source_root
File
.
expand_path
(
'
templates'
,
__dir
__
)
# copy rake tasks
def
copy_tasks
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment