Permalink
Browse files

Merge pull request #51 from kytrinyx/unvendor-thor

Remove vendored Thor.
  • Loading branch information...
2 parents 61df1a9 + b13c595 commit ad7fa2bef67838cd5730fb3f4da025d9a93e04d6 @marcbowes marcbowes committed Aug 16, 2012
Showing with 3 additions and 4,535 deletions.
  1. +2 −0 Gemfile.lock
  2. +1 −0 daemon-kit.gemspec
  3. +0 −3 lib/daemon_kit/generators.rb
  4. +0 −89 lib/daemon_kit/vendor/thor-0.13.6/CHANGELOG.rdoc
  5. +0 −20 lib/daemon_kit/vendor/thor-0.13.6/LICENSE
  6. +0 −297 lib/daemon_kit/vendor/thor-0.13.6/README.rdoc
  7. +0 −69 lib/daemon_kit/vendor/thor-0.13.6/Thorfile
  8. +0 −244 lib/daemon_kit/vendor/thor-0.13.6/lib/thor.rb
  9. +0 −296 lib/daemon_kit/vendor/thor-0.13.6/lib/thor/actions.rb
  10. +0 −103 lib/daemon_kit/vendor/thor-0.13.6/lib/thor/actions/create_file.rb
  11. +0 −91 lib/daemon_kit/vendor/thor-0.13.6/lib/thor/actions/directory.rb
  12. +0 −134 lib/daemon_kit/vendor/thor-0.13.6/lib/thor/actions/empty_directory.rb
  13. +0 −223 lib/daemon_kit/vendor/thor-0.13.6/lib/thor/actions/file_manipulation.rb
  14. +0 −104 lib/daemon_kit/vendor/thor-0.13.6/lib/thor/actions/inject_into_file.rb
  15. +0 −540 lib/daemon_kit/vendor/thor-0.13.6/lib/thor/base.rb
  16. +0 −9 lib/daemon_kit/vendor/thor-0.13.6/lib/thor/core_ext/file_binary_read.rb
  17. +0 −75 lib/daemon_kit/vendor/thor-0.13.6/lib/thor/core_ext/hash_with_indifferent_access.rb
  18. +0 −100 lib/daemon_kit/vendor/thor-0.13.6/lib/thor/core_ext/ordered_hash.rb
  19. +0 −30 lib/daemon_kit/vendor/thor-0.13.6/lib/thor/error.rb
  20. +0 −271 lib/daemon_kit/vendor/thor-0.13.6/lib/thor/group.rb
  21. +0 −180 lib/daemon_kit/vendor/thor-0.13.6/lib/thor/invocation.rb
  22. +0 −4 lib/daemon_kit/vendor/thor-0.13.6/lib/thor/parser.rb
  23. +0 −67 lib/daemon_kit/vendor/thor-0.13.6/lib/thor/parser/argument.rb
  24. +0 −150 lib/daemon_kit/vendor/thor-0.13.6/lib/thor/parser/arguments.rb
  25. +0 −128 lib/daemon_kit/vendor/thor-0.13.6/lib/thor/parser/option.rb
  26. +0 −169 lib/daemon_kit/vendor/thor-0.13.6/lib/thor/parser/options.rb
  27. +0 −66 lib/daemon_kit/vendor/thor-0.13.6/lib/thor/rake_compat.rb
  28. +0 −314 lib/daemon_kit/vendor/thor-0.13.6/lib/thor/runner.rb
  29. +0 −83 lib/daemon_kit/vendor/thor-0.13.6/lib/thor/shell.rb
  30. +0 −239 lib/daemon_kit/vendor/thor-0.13.6/lib/thor/shell/basic.rb
  31. +0 −108 lib/daemon_kit/vendor/thor-0.13.6/lib/thor/shell/color.rb
  32. +0 −102 lib/daemon_kit/vendor/thor-0.13.6/lib/thor/task.rb
  33. +0 −224 lib/daemon_kit/vendor/thor-0.13.6/lib/thor/util.rb
  34. +0 −3 lib/daemon_kit/vendor/thor-0.13.6/lib/thor/version.rb
View
@@ -4,6 +4,7 @@ PATH
daemon-kit (0.1.8.2)
eventmachine (>= 0.12.10)
safely (>= 0.3.1)
+ thor
GEM
remote: http://rubygems.org/
@@ -38,6 +39,7 @@ GEM
rspec-mocks (2.6.0)
safely (0.3.1)
term-ansicolor (1.0.5)
+ thor (0.16.0)
PLATFORMS
ruby
View
@@ -34,6 +34,7 @@ $ daemon-kit -h
"TODO.txt",
]
+ gem.add_dependency(%q<thor>)
gem.add_development_dependency(%q<bundler>)
gem.add_development_dependency(%q<rake>)
gem.add_development_dependency(%q<rdoc>)
@@ -1,6 +1,3 @@
-# TODO: Don't always depend on bundled thor
-$:.unshift File.dirname(__FILE__) + '/vendor/thor-0.13.6/lib'
-
require 'daemon_kit/generators/base'
module DaemonKit
@@ -1,89 +0,0 @@
-== 0.13, released 2010-02-03
-
-* Several bug fixes
-* Decoupled Thor::Group and Thor, so it's easier to vendor
-* Added check_unknown_options! in case you want error messages to be raised in valid switches.
-* run(command) should return the results of command
-
-== 0.12, released 2010-01-02
-
-* Methods generated by attr_* are automatically not marked as tasks
-* inject_into_file does not add the same content twice, unless :force is set
-* Removed rr in favor to rspec mock framework
-* Improved output for thor -T
-* [#7] Do not force white color on status
-* [#8] Yield a block with the filename on directory
-
-== 0.11, released 2009-07-01
-
-* Added a rake compatibility layer. It allows you to use spec and rdoc tasks on
- Thor classes.
-
-* BACKWARDS INCOMPATIBLE: aliases are not generated automatically anymore
- since it wrong behavior to the invocation system.
-
-* thor help now show information about any class/task. All those calls are
- possible:
-
- thor help describe
- thor help describe:amazing
-
- Or even with default namespaces:
-
- thor help :spec
-
-* Thor::Runner now invokes the default task if none is supplied:
-
- thor describe # invokes the default task, usually help
-
-* Thor::Runner now works with mappings:
-
- thor describe -h
-
-* Added some documentation and code refactoring.
-
-== 0.9.8, released 2008-10-20
-
-* Fixed some tiny issues that were introduced lately.
-
-== 0.9.7, released 2008-10-13
-
-* Setting global method options on the initialize method works as expected:
- All other tasks will accept these global options in addition to their own.
-* Added 'group' notion to Thor task sets (class Thor); by default all tasks
- are in the 'standard' group. Running 'thor -T' will only show the standard
- tasks - adding --all will show all tasks. You can also filter on a specific
- group using the --group option: thor -T --group advanced
-
-== 0.9.6, released 2008-09-13
-
-* Generic improvements
-
-== 0.9.5, released 2008-08-27
-
-* Improve Windows compatibility
-* Update (incorrect) README and task.thor sample file
-* Options hash is now frozen (once returned)
-* Allow magic predicates on options object. For instance: `options.force?`
-* Add support for :numeric type
-* BACKWARDS INCOMPATIBLE: Refactor Thor::Options. You cannot access shorthand forms in options hash anymore (for instance, options[:f])
-* Allow specifying optional args with default values: method_options(:user => "mislav")
-* Don't write options for nil or false values. This allows, for example, turning color off when running specs.
-* Exit with the status of the spec command to help CI stuff out some.
-
-== 0.9.4, released 2008-08-13
-
-* Try to add Windows compatibility.
-* BACKWARDS INCOMPATIBLE: options hash is now accessed as a property in your class and is not passed as last argument anymore
-* Allow options at the beginning of the argument list as well as the end.
-* Make options available with symbol keys in addition to string keys.
-* Allow true to be passed to Thor#method_options to denote a boolean option.
-* If loading a thor file fails, don't give up, just print a warning and keep going.
-* Make sure that we re-raise errors if they happened further down the pipe than we care about.
-* Only delete the old file on updating when the installation of the new one is a success
-* Make it Ruby 1.8.5 compatible.
-* Don't raise an error if a boolean switch is defined multiple times.
-* Thor::Options now doesn't parse through things that look like options but aren't.
-* Add URI detection to install task, and make sure we don't append ".thor" to URIs
-* Add rake2thor to the gem binfiles.
-* Make sure local Thorfiles override system-wide ones.
@@ -1,20 +0,0 @@
-Copyright (c) 2008 Yehuda Katz
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Oops, something went wrong.

0 comments on commit ad7fa2b

Please sign in to comment.