padrino-core 0.7.7 → 0.7.8

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.7
1
+ 0.7.8
@@ -2,6 +2,6 @@
2
2
  %w[rubygems thor].each { |gem| require gem }
3
3
  $:.unshift File.dirname(__FILE__) + "/../lib"
4
4
 
5
- require "padrino-core/cli"
5
+ require "padrino-core/cli/base"
6
6
  arguments = ARGV.any? ? ARGV : ['-h']
7
7
  Padrino::Cli::Base.start(arguments)
@@ -17,7 +17,7 @@ module Padrino
17
17
  method_option :boot, :type => :string, :aliases => "-b", :required => true, :default => "config/boot.rb"
18
18
  method_option :daemonize, :type => :boolean, :aliases => "-d"
19
19
  def start
20
- require File.dirname(__FILE__) + "/cli/adapter"
20
+ require File.dirname(__FILE__) + "/adapter"
21
21
  boot = check_boot
22
22
  return unless boot
23
23
  require boot
@@ -26,13 +26,13 @@ module Padrino
26
26
 
27
27
  desc "stop", "Stops the Padrino application"
28
28
  def stop
29
- require File.dirname(__FILE__) + "/cli/adapter"
29
+ require File.dirname(__FILE__) + "/adapter"
30
30
  Padrino::Cli::Adapter.stop
31
31
  end
32
32
 
33
33
  desc "test", "Executes all the Padrino test files"
34
34
  def test
35
- require File.dirname(__FILE__) + "/cli/test"
35
+ require File.dirname(__FILE__) + "/test"
36
36
  Padrino::Cli::Test.start
37
37
  end
38
38
 
@@ -48,7 +48,7 @@ module Padrino
48
48
  require boot
49
49
  puts "=> Executing Rake..."
50
50
  Rake.application.init
51
- load(File.dirname(__FILE__) + "/cli/rake.rb")
51
+ load(File.dirname(__FILE__) + "/rake.rb")
52
52
  Rake.application.top_level
53
53
  end
54
54
 
@@ -56,7 +56,7 @@ module Padrino
56
56
  method_option :boot, :type => :string, :aliases => "-b", :required => true, :default => "config/boot.rb"
57
57
  method_option :environment, :type => :string, :aliases => "-e", :required => true, :default => :development
58
58
  def console
59
- require File.dirname(__FILE__) + "/version"
59
+ require File.dirname(__FILE__) + "/../version"
60
60
  boot = check_boot
61
61
  return unless boot
62
62
  ARGV.clear
@@ -64,7 +64,7 @@ module Padrino
64
64
  require 'irb'
65
65
  require "irb/completion"
66
66
  require boot
67
- require File.dirname(__FILE__) + '/cli/console'
67
+ require File.dirname(__FILE__) + '/console'
68
68
  IRB.start
69
69
  end
70
70
 
@@ -1,6 +1,4 @@
1
1
  require 'rake'
2
- require 'rake/testtask'
3
- require 'rake/rdoctask'
4
2
  require File.dirname(__FILE__) + '/../tasks'
5
3
 
6
4
  Dir["lib/tasks/**/*.rake"].each { |ext| load(ext) }
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{padrino-core}
8
- s.version = "0.7.7"
8
+ s.version = "0.7.8"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Padrino Team", "Nathan Esquenazi", "Davide D'Agostino", "Arthur Chiu"]
@@ -28,8 +28,8 @@ Gem::Specification.new do |s|
28
28
  "lib/padrino-core.rb",
29
29
  "lib/padrino-core/application.rb",
30
30
  "lib/padrino-core/caller.rb",
31
- "lib/padrino-core/cli.rb",
32
31
  "lib/padrino-core/cli/adapter.rb",
32
+ "lib/padrino-core/cli/base.rb",
33
33
  "lib/padrino-core/cli/console.rb",
34
34
  "lib/padrino-core/cli/rake.rb",
35
35
  "lib/padrino-core/cli/test.rb",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: padrino-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.7
4
+ version: 0.7.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Padrino Team
@@ -124,8 +124,8 @@ files:
124
124
  - lib/padrino-core.rb
125
125
  - lib/padrino-core/application.rb
126
126
  - lib/padrino-core/caller.rb
127
- - lib/padrino-core/cli.rb
128
127
  - lib/padrino-core/cli/adapter.rb
128
+ - lib/padrino-core/cli/base.rb
129
129
  - lib/padrino-core/cli/console.rb
130
130
  - lib/padrino-core/cli/rake.rb
131
131
  - lib/padrino-core/cli/test.rb