padrino-core 0.7.7 → 0.7.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/bin/padrino +1 -1
- data/lib/padrino-core/{cli.rb → cli/base.rb} +6 -6
- data/lib/padrino-core/cli/rake.rb +0 -2
- data/padrino-core.gemspec +2 -2
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.8
|
data/bin/padrino
CHANGED
@@ -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__) + "/
|
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__) + "/
|
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__) + "/
|
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__) + "/
|
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__) + "
|
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__) + '/
|
67
|
+
require File.dirname(__FILE__) + '/console'
|
68
68
|
IRB.start
|
69
69
|
end
|
70
70
|
|
data/padrino-core.gemspec
CHANGED
@@ -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.
|
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.
|
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
|