thor-plus 0.6.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/lib/{thor.rb → thor-plus.rb} +1 -1
  3. data/lib/{thor → thor-plus}/actions.rb +7 -7
  4. data/lib/{thor → thor-plus}/actions/create_file.rb +1 -1
  5. data/lib/{thor → thor-plus}/actions/create_link.rb +1 -1
  6. data/lib/{thor → thor-plus}/actions/directory.rb +1 -1
  7. data/lib/{thor → thor-plus}/actions/empty_directory.rb +0 -0
  8. data/lib/{thor → thor-plus}/actions/file_manipulation.rb +0 -0
  9. data/lib/{thor → thor-plus}/actions/inject_into_file.rb +1 -1
  10. data/lib/{thor → thor-plus}/base.rb +12 -12
  11. data/lib/{thor → thor-plus}/command.rb +0 -0
  12. data/lib/{thor → thor-plus}/core_ext/hash_with_indifferent_access.rb +0 -0
  13. data/lib/{thor → thor-plus}/core_ext/io_binary_read.rb +0 -0
  14. data/lib/{thor → thor-plus}/core_ext/ordered_hash.rb +0 -0
  15. data/lib/{thor → thor-plus}/error.rb +0 -0
  16. data/lib/{thor → thor-plus}/group.rb +1 -1
  17. data/lib/{thor → thor-plus}/invocation.rb +0 -0
  18. data/lib/{thor → thor-plus}/line_editor.rb +2 -2
  19. data/lib/{thor → thor-plus}/line_editor/basic.rb +0 -0
  20. data/lib/{thor → thor-plus}/line_editor/readline.rb +0 -0
  21. data/lib/thor-plus/parser.rb +4 -0
  22. data/lib/{thor → thor-plus}/parser/argument.rb +0 -0
  23. data/lib/{thor → thor-plus}/parser/arguments.rb +0 -0
  24. data/lib/{thor → thor-plus}/parser/option.rb +0 -0
  25. data/lib/{thor → thor-plus}/parser/options.rb +0 -0
  26. data/lib/{thor → thor-plus}/rake_compat.rb +0 -0
  27. data/lib/{thor → thor-plus}/runner.rb +3 -3
  28. data/lib/{thor → thor-plus}/shell.rb +3 -3
  29. data/lib/{thor → thor-plus}/shell/basic.rb +0 -0
  30. data/lib/{thor → thor-plus}/shell/color.rb +1 -1
  31. data/lib/{thor → thor-plus}/shell/html.rb +1 -1
  32. data/lib/{thor → thor-plus}/util.rb +0 -0
  33. data/lib/thor-plus/version.rb +3 -0
  34. data/thor-plus.gemspec +1 -1
  35. metadata +34 -34
  36. data/lib/thor/parser.rb +0 -4
  37. data/lib/thor/version.rb +0 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6bccf06c78fb0210b28c02ad2101a821f93c42e5
4
- data.tar.gz: 07d4a601adb931e3b8da9a6b611241e1a3a6db97
3
+ metadata.gz: 897aef438367c2e0c876d1b5bef3a070348df482
4
+ data.tar.gz: 36ce925e5d2b53b1db8955cc5dac5e2014e13a7f
5
5
  SHA512:
6
- metadata.gz: 5de338f9e4fd0e1312d184c868de5fcd4b8d36d788dc1536bea92d823919fc72a4cd5d92b0d95207e6524bb4c47808f54bae296527f4e534dd4c3867cc4693f1
7
- data.tar.gz: ba2f2d7418ff266a578273ba36fa3fc704678acea50929c0be1f801027b68f61ccbc6986b4a6964048ae146b5906c817ec9cec22b6a67e36f102a32a50a99fc5
6
+ metadata.gz: 33d40e7cef18d70588d5c247afc4117fb0b44112b44b5bb9bc3c99541ff366293f442a3c689fa1a08aa2d0552ea226341f4d256c694ca8556646ad1a1464dbc8
7
+ data.tar.gz: c82b1f282bce02311d11c309fcb6661e4824d2bbf41006929f47475f56c5ca039a054e95e8d9451a81714be36412cbdb80440ab4109f679112196a80ef4342dc
@@ -1,5 +1,5 @@
1
1
  require "set"
2
- require "thor/base"
2
+ require "thor-plus/base"
3
3
 
4
4
  require 'active_support/callbacks'
5
5
 
@@ -1,12 +1,12 @@
1
1
  require "fileutils"
2
2
  require "uri"
3
- require "thor/core_ext/io_binary_read"
4
- require "thor/actions/create_file"
5
- require "thor/actions/create_link"
6
- require "thor/actions/directory"
7
- require "thor/actions/empty_directory"
8
- require "thor/actions/file_manipulation"
9
- require "thor/actions/inject_into_file"
3
+ require "thor-plus/core_ext/io_binary_read"
4
+ require "thor-plus/actions/create_file"
5
+ require "thor-plus/actions/create_link"
6
+ require "thor-plus/actions/directory"
7
+ require "thor-plus/actions/empty_directory"
8
+ require "thor-plus/actions/file_manipulation"
9
+ require "thor-plus/actions/inject_into_file"
10
10
 
11
11
  class Thor
12
12
  module Actions
@@ -1,4 +1,4 @@
1
- require "thor/actions/empty_directory"
1
+ require "thor-plus/actions/empty_directory"
2
2
 
3
3
  class Thor
4
4
  module Actions
@@ -1,4 +1,4 @@
1
- require "thor/actions/create_file"
1
+ require "thor-plus/actions/create_file"
2
2
 
3
3
  class Thor
4
4
  module Actions
@@ -1,4 +1,4 @@
1
- require "thor/actions/empty_directory"
1
+ require "thor-plus/actions/empty_directory"
2
2
 
3
3
  class Thor
4
4
  module Actions
@@ -1,4 +1,4 @@
1
- require "thor/actions/empty_directory"
1
+ require "thor-plus/actions/empty_directory"
2
2
 
3
3
  class Thor
4
4
  module Actions
@@ -1,17 +1,17 @@
1
- require "thor/command"
2
- require "thor/core_ext/hash_with_indifferent_access"
3
- require "thor/core_ext/ordered_hash"
4
- require "thor/error"
5
- require "thor/invocation"
6
- require "thor/parser"
7
- require "thor/shell"
8
- require "thor/line_editor"
9
- require "thor/util"
1
+ require "thor-plus/command"
2
+ require "thor-plus/core_ext/hash_with_indifferent_access"
3
+ require "thor-plus/core_ext/ordered_hash"
4
+ require "thor-plus/error"
5
+ require "thor-plus/invocation"
6
+ require "thor-plus/parser"
7
+ require "thor-plus/shell"
8
+ require "thor-plus/line_editor"
9
+ require "thor-plus/util"
10
10
 
11
11
  class Thor
12
- autoload :Actions, "thor/actions"
13
- autoload :RakeCompat, "thor/rake_compat"
14
- autoload :Group, "thor/group"
12
+ autoload :Actions, "thor-plus/actions"
13
+ autoload :RakeCompat, "thor-plus/rake_compat"
14
+ autoload :Group, "thor-plus/group"
15
15
 
16
16
  # Shortcuts for help.
17
17
  HELP_MAPPINGS = %w[-h -? --help -D]
File without changes
File without changes
@@ -1,4 +1,4 @@
1
- require "thor/base"
1
+ require "thor-plus/base"
2
2
 
3
3
  # Thor has a special class called Thor::Group. The main difference to Thor class
4
4
  # is that it invokes all commands at once. It also include some methods that allows
File without changes
@@ -1,5 +1,5 @@
1
- require "thor/line_editor/basic"
2
- require "thor/line_editor/readline"
1
+ require "thor-plus/line_editor/basic"
2
+ require "thor-plus/line_editor/readline"
3
3
 
4
4
  class Thor
5
5
  module LineEditor
@@ -0,0 +1,4 @@
1
+ require "thor-plus/parser/argument"
2
+ require "thor-plus/parser/arguments"
3
+ require "thor-plus/parser/option"
4
+ require "thor-plus/parser/options"
File without changes
File without changes
@@ -1,6 +1,6 @@
1
1
  require "thor"
2
- require "thor/group"
3
- require "thor/core_ext/io_binary_read"
2
+ require "thor-plus/group"
3
+ require "thor-plus/core_ext/io_binary_read"
4
4
 
5
5
  require "fileutils"
6
6
  require "open-uri"
@@ -102,7 +102,7 @@ class Thor::Runner < Thor #:nodoc: # rubocop:disable ClassLength
102
102
 
103
103
  desc "version", "Show Thor version"
104
104
  def version
105
- require "thor/version"
105
+ require "thor-plus/version"
106
106
  say "Thor #{Thor::VERSION}"
107
107
  end
108
108
 
@@ -24,9 +24,9 @@ class Thor
24
24
  SHELL_DELEGATED_METHODS = [:ask, :error, :set_color, :yes?, :no?, :say, :say_status, :print_in_columns, :print_table, :print_wrapped, :file_collision, :terminal_width]
25
25
  attr_writer :shell
26
26
 
27
- autoload :Basic, "thor/shell/basic"
28
- autoload :Color, "thor/shell/color"
29
- autoload :HTML, "thor/shell/html"
27
+ autoload :Basic, "thor-plus/shell/basic"
28
+ autoload :Color, "thor-plus/shell/color"
29
+ autoload :HTML, "thor-plus/shell/html"
30
30
 
31
31
  # Add shell to initialize config values.
32
32
  #
File without changes
@@ -1,4 +1,4 @@
1
- require "thor/shell/basic"
1
+ require "thor-plus/shell/basic"
2
2
 
3
3
  class Thor
4
4
  module Shell
@@ -1,4 +1,4 @@
1
- require "thor/shell/basic"
1
+ require "thor-plus/shell/basic"
2
2
 
3
3
  class Thor
4
4
  module Shell
File without changes
@@ -0,0 +1,3 @@
1
+ class Thor
2
+ VERSION = "1.0.0"
3
+ end
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path("../lib/", __FILE__)
3
3
  $LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib)
4
- require "thor/version"
4
+ require "thor-plus/version"
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.add_development_dependency "bundler", "~> 1.0"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thor-plus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yehuda Katz
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-06-27 00:00:00.000000000 Z
13
+ date: 2016-07-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -53,38 +53,38 @@ files:
53
53
  - LICENSE.md
54
54
  - README.md
55
55
  - bin/thorp
56
- - lib/thor.rb
57
- - lib/thor/actions.rb
58
- - lib/thor/actions/create_file.rb
59
- - lib/thor/actions/create_link.rb
60
- - lib/thor/actions/directory.rb
61
- - lib/thor/actions/empty_directory.rb
62
- - lib/thor/actions/file_manipulation.rb
63
- - lib/thor/actions/inject_into_file.rb
64
- - lib/thor/base.rb
65
- - lib/thor/command.rb
66
- - lib/thor/core_ext/hash_with_indifferent_access.rb
67
- - lib/thor/core_ext/io_binary_read.rb
68
- - lib/thor/core_ext/ordered_hash.rb
69
- - lib/thor/error.rb
70
- - lib/thor/group.rb
71
- - lib/thor/invocation.rb
72
- - lib/thor/line_editor.rb
73
- - lib/thor/line_editor/basic.rb
74
- - lib/thor/line_editor/readline.rb
75
- - lib/thor/parser.rb
76
- - lib/thor/parser/argument.rb
77
- - lib/thor/parser/arguments.rb
78
- - lib/thor/parser/option.rb
79
- - lib/thor/parser/options.rb
80
- - lib/thor/rake_compat.rb
81
- - lib/thor/runner.rb
82
- - lib/thor/shell.rb
83
- - lib/thor/shell/basic.rb
84
- - lib/thor/shell/color.rb
85
- - lib/thor/shell/html.rb
86
- - lib/thor/util.rb
87
- - lib/thor/version.rb
56
+ - lib/thor-plus.rb
57
+ - lib/thor-plus/actions.rb
58
+ - lib/thor-plus/actions/create_file.rb
59
+ - lib/thor-plus/actions/create_link.rb
60
+ - lib/thor-plus/actions/directory.rb
61
+ - lib/thor-plus/actions/empty_directory.rb
62
+ - lib/thor-plus/actions/file_manipulation.rb
63
+ - lib/thor-plus/actions/inject_into_file.rb
64
+ - lib/thor-plus/base.rb
65
+ - lib/thor-plus/command.rb
66
+ - lib/thor-plus/core_ext/hash_with_indifferent_access.rb
67
+ - lib/thor-plus/core_ext/io_binary_read.rb
68
+ - lib/thor-plus/core_ext/ordered_hash.rb
69
+ - lib/thor-plus/error.rb
70
+ - lib/thor-plus/group.rb
71
+ - lib/thor-plus/invocation.rb
72
+ - lib/thor-plus/line_editor.rb
73
+ - lib/thor-plus/line_editor/basic.rb
74
+ - lib/thor-plus/line_editor/readline.rb
75
+ - lib/thor-plus/parser.rb
76
+ - lib/thor-plus/parser/argument.rb
77
+ - lib/thor-plus/parser/arguments.rb
78
+ - lib/thor-plus/parser/option.rb
79
+ - lib/thor-plus/parser/options.rb
80
+ - lib/thor-plus/rake_compat.rb
81
+ - lib/thor-plus/runner.rb
82
+ - lib/thor-plus/shell.rb
83
+ - lib/thor-plus/shell/basic.rb
84
+ - lib/thor-plus/shell/color.rb
85
+ - lib/thor-plus/shell/html.rb
86
+ - lib/thor-plus/util.rb
87
+ - lib/thor-plus/version.rb
88
88
  - thor-plus.gemspec
89
89
  homepage: http://whatisthor.com/
90
90
  licenses:
@@ -1,4 +0,0 @@
1
- require "thor/parser/argument"
2
- require "thor/parser/arguments"
3
- require "thor/parser/option"
4
- require "thor/parser/options"
@@ -1,3 +0,0 @@
1
- class Thor
2
- VERSION = "0.6.0"
3
- end