lokka-sh 1.0.2 → 1.0.3
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/.gitignore +1 -0
- data/Gemfile +2 -12
- data/Rakefile +2 -43
- data/bin/lokka-sh +6 -5
- data/lib/lokka/sh/color.rb +1 -1
- data/lib/lokka/sh/commands.rb +47 -45
- data/lib/lokka/sh/prompt.rb +45 -0
- data/lib/lokka/sh/rake.rb +0 -3
- data/lib/lokka/sh/sinatra.rb +2 -3
- data/lib/lokka/sh/version.rb +5 -0
- data/lib/lokka/sh.rb +28 -47
- data/lokka-sh.gemspec +20 -73
- metadata +26 -52
- data/.document +0 -5
- data/Gemfile.lock +0 -29
- data/VERSION +0 -1
- /data/{LICENSE.txt → LICENSE} +0 -0
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
pkg
|
data/Gemfile
CHANGED
@@ -1,14 +1,4 @@
|
|
1
1
|
source "http://rubygems.org"
|
2
|
-
# Add dependencies required to use your gem here.
|
3
|
-
# Example:
|
4
|
-
# gem "activesupport", ">= 2.3.5"
|
5
2
|
|
6
|
-
#
|
7
|
-
|
8
|
-
group :development do
|
9
|
-
gem "rake", "0.8.7"
|
10
|
-
gem "rspec", "~> 2.3.0"
|
11
|
-
gem "bundler", "~> 1.0.0"
|
12
|
-
gem "jeweler", "~> 1.5.2"
|
13
|
-
gem "rcov", ">= 0"
|
14
|
-
end
|
3
|
+
# Specify your gem's dependencies in rack-var-dump.gemspec
|
4
|
+
gemspec
|
data/Rakefile
CHANGED
@@ -1,50 +1,9 @@
|
|
1
1
|
require 'rubygems'
|
2
|
-
require
|
3
|
-
begin
|
4
|
-
Bundler.setup(:default, :development)
|
5
|
-
rescue Bundler::BundlerError => e
|
6
|
-
$stderr.puts e.message
|
7
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
-
exit e.status_code
|
9
|
-
end
|
10
|
-
require 'rake'
|
11
|
-
|
12
|
-
require 'jeweler'
|
13
|
-
Jeweler::Tasks.new do |gem|
|
14
|
-
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
15
|
-
gem.name = "lokka-sh"
|
16
|
-
gem.homepage = "http://github.com/daic-h/lokka-sh"
|
17
|
-
gem.license = "MIT"
|
18
|
-
gem.summary = %Q{The Lokka Shell}
|
19
|
-
gem.description = %Q{The Lokka Shell to execute sub commands of lokka quickly.}
|
20
|
-
gem.email = "bunny.hop.md@gmail.com"
|
21
|
-
gem.authors = ["Daichi"]
|
22
|
-
# Include your dependencies below. Runtime dependencies are required when using your gem,
|
23
|
-
# and development dependencies are only needed for development (ie running rake tasks, tests, etc)
|
24
|
-
# gem.add_runtime_dependency 'jabber4r', '> 0.1'
|
25
|
-
# gem.add_development_dependency 'rspec', '> 1.2.3'
|
26
|
-
end
|
27
|
-
Jeweler::RubygemsDotOrgTasks.new
|
28
|
-
|
29
|
-
require 'rspec/core'
|
2
|
+
require "bundler/gem_tasks"
|
30
3
|
require 'rspec/core/rake_task'
|
4
|
+
|
31
5
|
RSpec::Core::RakeTask.new(:spec) do |spec|
|
32
6
|
spec.pattern = FileList['spec/**/*_spec.rb']
|
33
7
|
end
|
34
8
|
|
35
|
-
RSpec::Core::RakeTask.new(:rcov) do |spec|
|
36
|
-
spec.pattern = 'spec/**/*_spec.rb'
|
37
|
-
spec.rcov = true
|
38
|
-
end
|
39
|
-
|
40
9
|
task :default => :spec
|
41
|
-
|
42
|
-
require 'rake/rdoctask'
|
43
|
-
Rake::RDocTask.new do |rdoc|
|
44
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
45
|
-
|
46
|
-
rdoc.rdoc_dir = 'rdoc'
|
47
|
-
rdoc.title = "lokka-sh #{version}"
|
48
|
-
rdoc.rdoc_files.include('README*')
|
49
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
50
|
-
end
|
data/bin/lokka-sh
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
+
lib = File.expand_path(File.dirname(__FILE__) + '/../lib')
|
3
|
+
$:.unshift(lib) if File.directory?(lib) && !$:.include?(lib)
|
4
|
+
|
5
|
+
require 'lokka/sh'
|
2
6
|
|
3
|
-
version = 'v' + File.read(File.expand_path('../../VERSION', __FILE__))
|
4
7
|
puts <<BANNER.gsub("%", "\e[46m \e[0m")
|
5
8
|
|
6
9
|
.%%......%%%%%%..%%..%%..%%..%%...%%%%............%%%%...%%..%%.
|
@@ -9,14 +12,12 @@ puts <<BANNER.gsub("%", "\e[46m \e[0m")
|
|
9
12
|
.%%......%%..%%..%%.%%...%%.%%...%%..%%..............%%..%%..%%.
|
10
13
|
.%%%%%%..%%%%%%..%%..%%..%%..%%..%%..%%...........%%%%...%%..%%.
|
11
14
|
................................................................
|
12
|
-
\e[35m#{
|
15
|
+
\e[35m#{Lokka::Sh::VERSION.rjust(63, " ")}\e[0m
|
13
16
|
|
14
17
|
BANNER
|
15
18
|
|
16
19
|
APP_PATH = File.expand_path('./init')
|
17
|
-
|
20
|
+
Lokka::Sh::Color.with(:blue) { "require #{APP_PATH}" }
|
18
21
|
require APP_PATH
|
19
22
|
|
20
|
-
$:.unshift File.expand_path('../../lib', __FILE__)
|
21
|
-
require 'lokka/sh'
|
22
23
|
Lokka::Sh.start
|
data/lib/lokka/sh/color.rb
CHANGED
@@ -2,7 +2,7 @@ module Lokka
|
|
2
2
|
module Sh
|
3
3
|
module Color
|
4
4
|
@colors =
|
5
|
-
{ :r_video => 7, :black => 30,
|
5
|
+
{ :r_video => 7, :black => 30, :red => 31, :green => 32, :yellow => 33,
|
6
6
|
:blue => 34, :magenta => 35, :cyan => 36, :white => 27, :default => 39,
|
7
7
|
:bg_black => 40, :bg_red => 41, :bg_green => 42, :bg_default => 49 }
|
8
8
|
|
data/lib/lokka/sh/commands.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
Command.define 'help' do
|
4
|
-
|
5
|
-
<<HELP
|
1
|
+
module Lokka
|
2
|
+
module Sh
|
3
|
+
Command.define 'help' do
|
4
|
+
Color.with(:cyan) do
|
5
|
+
<<HELP
|
6
6
|
help -> print help
|
7
7
|
lokka console -> starting console
|
8
8
|
rake TASK -> execute rake task
|
@@ -14,61 +14,63 @@ restart -> restart lokka-sh
|
|
14
14
|
eval -> eval as ruby script
|
15
15
|
TODO: reload
|
16
16
|
HELP
|
17
|
-
|
18
|
-
end
|
17
|
+
end
|
18
|
+
end
|
19
19
|
|
20
|
-
Command.define 'lokka' do |arg|
|
21
|
-
|
22
|
-
end
|
20
|
+
Command.define 'lokka' do |arg|
|
21
|
+
Lokka::Sh::Sinatra.invoke(arg)
|
22
|
+
end
|
23
23
|
|
24
|
-
Command.define 'rake' do |arg|
|
25
|
-
|
26
|
-
end
|
24
|
+
Command.define 'rake' do |arg|
|
25
|
+
Lokka::Sh::Rake.invoke(arg)
|
26
|
+
end
|
27
27
|
|
28
|
-
Command.define 'tasks', 't' do |arg|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
end
|
28
|
+
Command.define 'tasks', 't' do |arg|
|
29
|
+
Rake::Task.tasks.each do |task|
|
30
|
+
puts task.name
|
31
|
+
end
|
32
|
+
end
|
33
33
|
|
34
|
-
Lokka::Sh::Rake.task_names.map do |name|
|
35
|
-
|
36
|
-
end
|
34
|
+
Lokka::Sh::Rake.task_names.map do |name|
|
35
|
+
Command.completions << "rake #{name}"
|
36
|
+
end
|
37
37
|
|
38
|
-
Command.define 'bundle' do |arg|
|
39
|
-
|
40
|
-
end
|
38
|
+
Command.define 'bundle' do |arg|
|
39
|
+
Lokka::Sh::Bundler.invoke(arg)
|
40
|
+
end
|
41
41
|
|
42
|
-
(Lokka::Sh::Bundler.sub_commands - ['init']).map do |c|
|
43
|
-
|
44
|
-
end
|
42
|
+
(Lokka::Sh::Bundler.sub_commands - ['init']).map do |c|
|
43
|
+
Command.completions << "bundle #{c}"
|
44
|
+
end
|
45
45
|
|
46
|
-
Command.define '!' do |arg|
|
47
|
-
|
48
|
-
end
|
46
|
+
Command.define '!' do |arg|
|
47
|
+
system arg
|
48
|
+
end
|
49
49
|
|
50
|
-
Command.define 'eval' do |arg|
|
51
|
-
|
52
|
-
end
|
50
|
+
Command.define 'eval' do |arg|
|
51
|
+
Color.with(:blue) { "=> #{eval(arg, binding, __FILE__, __LINE__).inspect}" }
|
52
|
+
end
|
53
53
|
|
54
|
-
Command.define 'log' do |arg|
|
55
|
-
|
56
|
-
|
57
|
-
end
|
54
|
+
Command.define 'log' do |arg|
|
55
|
+
Color.with(:r_video) { "Ctrl-C to quit" }
|
56
|
+
system 'tail', '-f', Lokka.root + "tmp/#{(arg || 'development')}.log"
|
57
|
+
end
|
58
58
|
|
59
|
-
Command.completions += %w(development test production).map { |i| "log #{i}" }
|
59
|
+
Command.completions += %w(development test production).map { |i| "log #{i}" }
|
60
60
|
|
61
|
-
Command.define 'exit' do
|
62
|
-
|
63
|
-
end
|
61
|
+
Command.define 'exit' do
|
62
|
+
exit
|
63
|
+
end
|
64
64
|
|
65
|
-
Command.define 'restart' do
|
66
|
-
|
67
|
-
|
68
|
-
end
|
65
|
+
Command.define 'restart' do
|
66
|
+
puts 'restarting...'
|
67
|
+
exec File.expand_path('../../../../bin/lokka-sh', __FILE__)
|
68
|
+
end
|
69
69
|
|
70
70
|
=begin
|
71
71
|
Command.define 'reload' do
|
72
72
|
Lokka::Sh::Sinatra.reload!
|
73
73
|
end
|
74
74
|
=end
|
75
|
+
end
|
76
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
module Lokka
|
2
|
+
module Sh
|
3
|
+
module Prompt
|
4
|
+
extend self
|
5
|
+
|
6
|
+
def invoke
|
7
|
+
setup_readline
|
8
|
+
|
9
|
+
while buf = Readline.readline(prompt, true)
|
10
|
+
line = buf.strip
|
11
|
+
next if line.empty?
|
12
|
+
begin
|
13
|
+
execute(line)
|
14
|
+
rescue SystemExit
|
15
|
+
raise
|
16
|
+
rescue Exception => e
|
17
|
+
Lokka::Sh::Color.with(:bg_red) { "#{e.message}\n#{e.backtrace.join("\n")}" }
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
setup_readline
|
22
|
+
end
|
23
|
+
|
24
|
+
def prompt
|
25
|
+
"%s> " % "lokka-sh(#{File.basename(::Lokka.root)})"
|
26
|
+
end
|
27
|
+
|
28
|
+
def setup_readline
|
29
|
+
Readline.basic_word_break_characters = ""
|
30
|
+
Readline.completion_proc = Lokka::Sh::Command.completion_proc
|
31
|
+
end
|
32
|
+
|
33
|
+
def execute(line)
|
34
|
+
if command = Lokka::Sh::Command.find(line)
|
35
|
+
start = Time.now
|
36
|
+
arg = line.split(/\s+/, 2)[1] rescue nil
|
37
|
+
command.call(arg)
|
38
|
+
Lokka::Sh::Color.with(:blue) { "#{Time.now - start}sec" }
|
39
|
+
else
|
40
|
+
Lokka::Sh::Color.with(:bg_red) { "Command not found" }
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
data/lib/lokka/sh/rake.rb
CHANGED
data/lib/lokka/sh/sinatra.rb
CHANGED
data/lib/lokka/sh.rb
CHANGED
@@ -1,59 +1,40 @@
|
|
1
1
|
require 'readline'
|
2
|
-
require '
|
3
|
-
require '
|
4
|
-
require '
|
5
|
-
require 'lokka/sh/sinatra'
|
6
|
-
require 'lokka/sh/rake'
|
7
|
-
require 'lokka/sh/command'
|
8
|
-
require 'lokka/sh/bundler'
|
2
|
+
require 'stringio'
|
3
|
+
require 'rake/dsl_definition'
|
4
|
+
require 'rake'
|
9
5
|
|
10
6
|
module Lokka
|
11
7
|
module Sh
|
12
|
-
|
13
|
-
|
14
|
-
|
8
|
+
autoload :VERSION, "lokka/sh/version"
|
9
|
+
autoload :Color, "lokka/sh/color"
|
10
|
+
autoload :Prompt, "lokka/sh/prompt"
|
11
|
+
autoload :Helpers, "lokka/sh/helpers"
|
12
|
+
autoload :Forkable, "lokka/sh/forkable"
|
13
|
+
autoload :Sinatra, "lokka/sh/sinatra"
|
14
|
+
autoload :Rake, "lokka/sh/rake"
|
15
|
+
autoload :Command, "lokka/sh/command"
|
16
|
+
autoload :Bundler, "lokka/sh/bundler"
|
15
17
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
Color.with(:cyan) { "Lokka.env: #{::Lokka.env}\n`help` to print help" }
|
23
|
-
setup_readline
|
24
|
-
while buf = Readline.readline(prompt, true)
|
25
|
-
line = buf.strip
|
26
|
-
next if line.empty?
|
27
|
-
begin
|
28
|
-
execute(line)
|
29
|
-
rescue SystemExit
|
30
|
-
raise
|
31
|
-
rescue Exception => e
|
32
|
-
Color.with(:bg_red) { "#{e.message}\n#{e.backtrace.join("\n")}" }
|
33
|
-
end
|
34
|
-
end
|
35
|
-
setup_readline
|
36
|
-
end
|
37
|
-
end
|
38
|
-
|
39
|
-
def prompt
|
40
|
-
"%s> " % "lokka-sh(#{File.basename(::Lokka.root)})"
|
18
|
+
def self.start
|
19
|
+
Color.with(:cyan) { "Lokka.env: #{::Lokka.env}\n`help` to print help" }
|
20
|
+
add_load_path
|
21
|
+
Rake.init
|
22
|
+
load_commands
|
23
|
+
Prompt.invoke
|
41
24
|
end
|
42
25
|
|
43
|
-
def
|
44
|
-
|
45
|
-
|
26
|
+
def self.add_load_path
|
27
|
+
lib = File.expand_path(File.dirname(__FILE__) + '/../../lib')
|
28
|
+
$:.unshift(lib) if File.directory?(lib) && !$:.include?(lib)
|
46
29
|
end
|
47
30
|
|
48
|
-
def
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
else
|
55
|
-
Color.with(:bg_red) { "Command not found" }
|
56
|
-
end
|
31
|
+
def self.load_commands
|
32
|
+
require "lokka/sh/commands"
|
33
|
+
lokkashrc = "#{::Lokka.root}/.lokkashrc"
|
34
|
+
load lokkashrc
|
35
|
+
Color.with(:blue) {"load #{lokkashrc}"}
|
36
|
+
rescue LoadError
|
57
37
|
end
|
58
38
|
end
|
59
39
|
end
|
40
|
+
|
data/lokka-sh.gemspec
CHANGED
@@ -1,79 +1,26 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
-
# -*- encoding: utf-8 -*-
|
1
|
+
$:.push File.expand_path("../lib", __FILE__)
|
2
|
+
require "lokka/sh/version"
|
5
3
|
|
6
4
|
Gem::Specification.new do |s|
|
7
|
-
s.name
|
8
|
-
s.version
|
9
|
-
|
10
|
-
s.
|
11
|
-
s.
|
12
|
-
s.
|
13
|
-
s.description =
|
14
|
-
s.
|
15
|
-
s.
|
16
|
-
s.
|
17
|
-
|
18
|
-
"README.rdoc"
|
19
|
-
]
|
20
|
-
s.files = [
|
21
|
-
".document",
|
22
|
-
".rspec",
|
23
|
-
"Gemfile",
|
24
|
-
"Gemfile.lock",
|
25
|
-
"LICENSE.txt",
|
26
|
-
"README.rdoc",
|
27
|
-
"Rakefile",
|
28
|
-
"VERSION",
|
29
|
-
"bin/lokka-sh",
|
30
|
-
"lib/lokka/sh.rb",
|
31
|
-
"lib/lokka/sh/color.rb",
|
32
|
-
"lib/lokka/sh/bundler.rb",
|
33
|
-
"lib/lokka/sh/command.rb",
|
34
|
-
"lib/lokka/sh/commands.rb",
|
35
|
-
"lib/lokka/sh/forkable.rb",
|
36
|
-
"lib/lokka/sh/helpers.rb",
|
37
|
-
"lib/lokka/sh/sinatra.rb",
|
38
|
-
"lib/lokka/sh/rake.rb",
|
39
|
-
"lokka-sh.gemspec",
|
40
|
-
"spec/lokka/sh/command_spec.rb",
|
41
|
-
"spec/lokka/sh_spec.rb",
|
42
|
-
"spec/spec_helper.rb"
|
43
|
-
]
|
44
|
-
s.homepage = "http://github.com/daic-h/lokka-sh"
|
45
|
-
s.licenses = ["MIT"]
|
5
|
+
s.name = "lokka-sh"
|
6
|
+
s.version = Lokka::Sh::VERSION
|
7
|
+
s.authors = ["Dach_h"]
|
8
|
+
s.email = ["bunny.hop.md@gmail.com"]
|
9
|
+
s.homepage = ""
|
10
|
+
s.summary = "excute sub commands of rails quickly."
|
11
|
+
s.description = s.summary
|
12
|
+
s.rubyforge_project = "lokka-sh"
|
13
|
+
s.files = `git ls-files`.split("\n")
|
14
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
15
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
46
16
|
s.require_paths = ["lib"]
|
47
|
-
s.rubygems_version = "1.8.11"
|
48
|
-
s.summary = "The Lokka Shell"
|
49
|
-
s.test_files = [
|
50
|
-
"spec/lokka/sh/command_spec.rb",
|
51
|
-
"spec/lokka/sh_spec.rb",
|
52
|
-
"spec/spec_helper.rb"
|
53
|
-
]
|
54
|
-
|
55
|
-
if s.respond_to? :specification_version then
|
56
|
-
s.specification_version = 3
|
57
17
|
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
62
|
-
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
63
|
-
s.add_development_dependency(%q<rcov>, [">= 0"])
|
64
|
-
else
|
65
|
-
s.add_dependency(%q<rake>, ["= 0.8.7"])
|
66
|
-
s.add_dependency(%q<rspec>, ["~> 2.3.0"])
|
67
|
-
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
68
|
-
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
69
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
70
|
-
end
|
71
|
-
else
|
72
|
-
s.add_dependency(%q<rake>, ["= 0.8.7"])
|
73
|
-
s.add_dependency(%q<rspec>, ["~> 2.3.0"])
|
74
|
-
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
75
|
-
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
76
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
77
|
-
end
|
18
|
+
s.add_development_dependency 'rake', '>= 0.9.2'
|
19
|
+
s.add_development_dependency 'rspec', '>= 2.7.0'
|
20
|
+
s.add_development_dependency 'bundler', '~> 1.0.0'
|
78
21
|
end
|
79
22
|
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lokka-sh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
|
-
-
|
8
|
+
- Dach_h
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-02-
|
12
|
+
date: 2012-02-07 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
16
|
-
requirement: &
|
16
|
+
requirement: &2156502560 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.
|
21
|
+
version: 0.9.2
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2156502560
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rspec
|
27
|
-
requirement: &
|
27
|
+
requirement: &2156501740 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
|
-
- -
|
30
|
+
- - ! '>='
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 2.
|
32
|
+
version: 2.7.0
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2156501740
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: bundler
|
38
|
-
requirement: &
|
38
|
+
requirement: &2156500800 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,47 +43,22 @@ dependencies:
|
|
43
43
|
version: 1.0.0
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
none: false
|
51
|
-
requirements:
|
52
|
-
- - ~>
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 1.5.2
|
55
|
-
type: :development
|
56
|
-
prerelease: false
|
57
|
-
version_requirements: *2162672420
|
58
|
-
- !ruby/object:Gem::Dependency
|
59
|
-
name: rcov
|
60
|
-
requirement: &2162671940 !ruby/object:Gem::Requirement
|
61
|
-
none: false
|
62
|
-
requirements:
|
63
|
-
- - ! '>='
|
64
|
-
- !ruby/object:Gem::Version
|
65
|
-
version: '0'
|
66
|
-
type: :development
|
67
|
-
prerelease: false
|
68
|
-
version_requirements: *2162671940
|
69
|
-
description: The Lokka Shell to execute sub commands of lokka quickly.
|
70
|
-
email: bunny.hop.md@gmail.com
|
46
|
+
version_requirements: *2156500800
|
47
|
+
description: excute sub commands of rails quickly.
|
48
|
+
email:
|
49
|
+
- bunny.hop.md@gmail.com
|
71
50
|
executables:
|
72
51
|
- lokka-sh
|
73
52
|
extensions: []
|
74
|
-
extra_rdoc_files:
|
75
|
-
- LICENSE.txt
|
76
|
-
- README.md
|
53
|
+
extra_rdoc_files: []
|
77
54
|
files:
|
78
|
-
- .
|
55
|
+
- .gitignore
|
79
56
|
- .rspec
|
80
57
|
- .travis.yml
|
81
58
|
- Gemfile
|
82
|
-
-
|
83
|
-
- LICENSE.txt
|
59
|
+
- LICENSE
|
84
60
|
- README.md
|
85
61
|
- Rakefile
|
86
|
-
- VERSION
|
87
62
|
- bin/lokka-sh
|
88
63
|
- lib/lokka/sh.rb
|
89
64
|
- lib/lokka/sh/bundler.rb
|
@@ -92,15 +67,16 @@ files:
|
|
92
67
|
- lib/lokka/sh/commands.rb
|
93
68
|
- lib/lokka/sh/forkable.rb
|
94
69
|
- lib/lokka/sh/helpers.rb
|
70
|
+
- lib/lokka/sh/prompt.rb
|
95
71
|
- lib/lokka/sh/rake.rb
|
96
72
|
- lib/lokka/sh/sinatra.rb
|
73
|
+
- lib/lokka/sh/version.rb
|
97
74
|
- lokka-sh.gemspec
|
98
75
|
- spec/lokka/sh/command_spec.rb
|
99
76
|
- spec/lokka/sh_spec.rb
|
100
77
|
- spec/spec_helper.rb
|
101
|
-
homepage:
|
102
|
-
licenses:
|
103
|
-
- MIT
|
78
|
+
homepage: ''
|
79
|
+
licenses: []
|
104
80
|
post_install_message:
|
105
81
|
rdoc_options: []
|
106
82
|
require_paths:
|
@@ -111,9 +87,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
111
87
|
- - ! '>='
|
112
88
|
- !ruby/object:Gem::Version
|
113
89
|
version: '0'
|
114
|
-
segments:
|
115
|
-
- 0
|
116
|
-
hash: 351510462117354544
|
117
90
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
118
91
|
none: false
|
119
92
|
requirements:
|
@@ -121,12 +94,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
94
|
- !ruby/object:Gem::Version
|
122
95
|
version: '0'
|
123
96
|
requirements: []
|
124
|
-
rubyforge_project:
|
97
|
+
rubyforge_project: lokka-sh
|
125
98
|
rubygems_version: 1.8.10
|
126
99
|
signing_key:
|
127
100
|
specification_version: 3
|
128
|
-
summary:
|
101
|
+
summary: excute sub commands of rails quickly.
|
129
102
|
test_files:
|
130
103
|
- spec/lokka/sh/command_spec.rb
|
131
104
|
- spec/lokka/sh_spec.rb
|
132
105
|
- spec/spec_helper.rb
|
106
|
+
has_rdoc:
|
data/.document
DELETED
data/Gemfile.lock
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
diff-lcs (1.1.2)
|
5
|
-
git (1.2.5)
|
6
|
-
jeweler (1.5.2)
|
7
|
-
bundler (~> 1.0.0)
|
8
|
-
git (>= 1.2.5)
|
9
|
-
rake
|
10
|
-
rake (0.8.7)
|
11
|
-
rcov (0.9.9)
|
12
|
-
rspec (2.3.0)
|
13
|
-
rspec-core (~> 2.3.0)
|
14
|
-
rspec-expectations (~> 2.3.0)
|
15
|
-
rspec-mocks (~> 2.3.0)
|
16
|
-
rspec-core (2.3.1)
|
17
|
-
rspec-expectations (2.3.0)
|
18
|
-
diff-lcs (~> 1.1.2)
|
19
|
-
rspec-mocks (2.3.0)
|
20
|
-
|
21
|
-
PLATFORMS
|
22
|
-
ruby
|
23
|
-
|
24
|
-
DEPENDENCIES
|
25
|
-
bundler (~> 1.0.0)
|
26
|
-
jeweler (~> 1.5.2)
|
27
|
-
rake (= 0.8.7)
|
28
|
-
rcov
|
29
|
-
rspec (~> 2.3.0)
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
1.0.2
|
/data/{LICENSE.txt → LICENSE}
RENAMED
File without changes
|