aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/commands/plugin.rb
Commit message (Collapse)AuthorAgeFilesLines
* Ensure script/plugin doesn't show error message when svn externals are not therePratik Naik2009-03-181-4/+7
|
* Remove outdated script/plugin optionsPratik Naik2009-03-181-432/+3
|
* Fixed an incompatibility with Ruby 1.9.Jeff Schwab2009-03-101-1/+2
| | | | | | | | | | | Ruby 1.8 strings are Enumerable, but there is no String#lines method. In Ruby 1.9, the situation is reversed. To work around this disparity, the RailsEnvironment#externals method now explicitly checks whether a String responds_to? :lines. [#2130 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* script/plugin install should remove .gitignore too. [#1306 state:resolved] ↵Pratik Naik2009-03-061-2/+2
| | | | [Esad Hajdarevic]
* Ruby 1.9 compat: remove instance variables and global variables from block ↵Akira Matsuda2008-09-091-8/+8
| | | | | | | | parameters [#1000 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Ruby 1.9 compat: use String#lines instead of to_a in Ruby 1.9Akira Matsuda2008-09-091-1/+1
| | | | | | [#1001 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Make script/plugin work with svn+ssh urls. [#662 state:resolved]Miles Georgi2008-07-221-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Make script/plugin install <plugin> -r <revision> option work with git based ↵Tim Pope2008-07-141-15/+32
| | | | | | plugins. [#257 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure script/plugin unsource 'Usage' text is correct. [#526 state:resolved]Ricardo Santos2008-07-021-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure script/plugin installs ssh/git plugins. [#277 state:resolved]Tekin Suleyman2008-05-291-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Added support for installing plugins hosted at git repositories (closes ↵David Heinemeier Hansson2008-03-171-1/+25
| | | | | | #11294) [danger] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9049 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Patch to add a -e (export) option to script/plugin install. Closes #10847 ↵Michael Koziarski2008-02-211-0/+3
| | | | | | [jon@blankpad.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8921 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: File.exists\? -> File.exist\? en masse. References #1689 ↵Jeremy Kemper2007-12-101-2/+2
| | | | | | [Pratik Naik] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure script/plugin doesn't skip files beginning with http (i.e. the old ↵Michael Koziarski2007-11-211-1/+1
| | | | | | http_authentication plugin). Closes #7887 [choonkeat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that installing plugins from SVN repositories that use trunk/ will ↵David Heinemeier Hansson2007-09-301-8/+12
| | | | | | work (closes #8188) [evan] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7698 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed spelling errors (closes #9706) [tarmo/rmm5t]David Heinemeier Hansson2007-09-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Skip svnindex.xsl files when installing plugins (closes #7070) [davidjrice]David Heinemeier Hansson2007-09-221-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7585 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* boot.rb sets RAILS_ROOT, so remove that. Install http plugins inside a ↵Rick Olson2007-02-271-6/+6
| | | | | | Dir.chdir block so that the cwd doesn't change git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6248 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* set the RAILS_ROOT for script/plugin if it's not set alreadyRick Olson2007-02-271-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6247 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clarify usage of script/plugin source. Closes #5344. [james.adam@gmail.com]Marcel Molina2006-08-071-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4705 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix script/plugin about so it uses about.yml and not meta.yml. [James Adam]Rick Olson2006-07-171-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4612 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix script/plugin so it doesn't barf on invalid URLs [Rick]Rick Olson2006-06-121-6/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4450 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix plugin install bug at dir with space. (closes #5359) [Yoshimasa NIWA]Rick Olson2006-06-111-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4449 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix bug with 'script/plugin install' so it reports unknown plugin names ↵Rick Olson2006-06-091-1/+1
| | | | | | correctly. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4447 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added uninstall.rb hook to plugin handling, such that plugins have a way of ↵David Heinemeier Hansson2006-06-031-0/+6
| | | | | | removing assets and other artifacts on removal (closes #5003) [takiuchi@drecom.co.jp] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4427 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make "script/plugin install" work with svn+ssh URLsSam Stephenson2006-05-311-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4383 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* preliminary support for plugin meta filesRick Olson2006-05-231-14/+50
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4362 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Enhances plugin#discover allowing it to discover svn:// like URIs (closes ↵Rick Olson2006-04-061-6/+11
| | | | | | #4565) [ruben.nine@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4186 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added more information to script/plugin's doings to ease debugging #3755 ↵David Heinemeier Hansson2006-02-261-2/+4
| | | | | | [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Show usage when script/plugin is called without arguments. Closes #3450Michael Koziarski2006-01-141-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3419 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add install.rb file to plugin generation which is loaded, if it exists, when ↵Marcel Molina2005-12-031-0/+7
| | | | | | you install a plugin. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* script/plugin: handle root paths and plugin names which contain spaces. ↵Jeremy Kemper2005-11-231-10/+11
| | | | | | References #2995. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Eliminate Subversion dependencies in scripts/plugin. Correct install ↵Jeremy Kemper2005-11-131-61/+94
| | | | | | options. Introduce --force option to reinstall a plugin. Closes #2842. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3011 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Disabled stderr suppressing until activesupport is available also in non-gem ↵David Heinemeier Hansson2005-11-101-1/+1
| | | | | | mode git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2969 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fail gracefully from svn checks (closes #2700) [Rick Olson]David Heinemeier Hansson2005-11-071-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2907 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make use of silence_stderr in script/lighttpd, script/plugin, and Rails::InfoSam Stephenson2005-11-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2903 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fail gracefully when plugin was not found [Chad Fowler]David Heinemeier Hansson2005-11-061-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2892 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* svn:externals is now an explicit option for script/plugin (closes #2755) ↵David Heinemeier Hansson2005-11-061-35/+27
| | | | | | [Ryan Tomayko] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2886 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Enable HTTP installation of plugins when svn isn't avaialable. Closes #2661. ↵Sam Stephenson2005-11-061-8/+72
| | | | | | [Chad Fowler] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2885 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* We want ::Plugin, not Commands::Plugin. Closes #2664.Jeremy Kemper2005-10-301-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2831 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Patches go to trac nowDavid Heinemeier Hansson2005-10-301-4/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2828 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve script/plugin on Windows. Closes #2646.Jeremy Kemper2005-10-291-3/+27
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2821 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont hardcodeDavid Heinemeier Hansson2005-10-281-2/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2794 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added script/plugin to manage plugins (install, remove, list, etc) [Ryan ↵David Heinemeier Hansson2005-10-281-0/+745
Tomayko] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2793 5ecf4fe2-1ee6-0310-87b1-e25e094e27de