rake-sh 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/VERSION +1 -1
  2. data/bin/rake-sh +1 -1
  3. data/lib/rake/sh.rb +3 -1
  4. data/rake-sh.gemspec +69 -0
  5. metadata +4 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -2,4 +2,4 @@
2
2
 
3
3
  $:.unshift File.expand_path('../../lib', __FILE__)
4
4
  require 'rake/sh'
5
- Rake::Sh.start
5
+ Rake::Sh.start(ARGV)
@@ -6,9 +6,11 @@ require 'rake/sh/commands'
6
6
  module Rake
7
7
  module Sh
8
8
  class << self
9
- def start
9
+ def start(eager_tasks = [])
10
10
  rake_init
11
+ eager_tasks.each { |task| invoke(task) }
11
12
  setup_readline
13
+
12
14
  while buf = Readline.readline("rake> ", true)
13
15
  line = buf.strip
14
16
  next if line.empty?
@@ -0,0 +1,69 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{rake-sh}
8
+ s.version = "1.0.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["jugyo"]
12
+ s.date = %q{2011-02-03}
13
+ s.default_executable = %q{rake-sh}
14
+ s.description = %q{Rake-sh is The Rake Shell.}
15
+ s.email = %q{jugyo.org@gmail.com}
16
+ s.executables = ["rake-sh"]
17
+ s.extra_rdoc_files = [
18
+ "LICENSE.txt",
19
+ "README.md"
20
+ ]
21
+ s.files = [
22
+ ".document",
23
+ ".rspec",
24
+ "Gemfile",
25
+ "Gemfile.lock",
26
+ "LICENSE.txt",
27
+ "README.md",
28
+ "Rakefile",
29
+ "VERSION",
30
+ "bin/rake-sh",
31
+ "lib/rake/sh.rb",
32
+ "lib/rake/sh/command.rb",
33
+ "lib/rake/sh/commands.rb",
34
+ "rake-sh.gemspec",
35
+ "spec/rake-sh_spec.rb",
36
+ "spec/spec_helper.rb"
37
+ ]
38
+ s.homepage = %q{http://github.com/jugyo/rake-sh}
39
+ s.licenses = ["MIT"]
40
+ s.require_paths = ["lib"]
41
+ s.rubygems_version = %q{1.5.0}
42
+ s.summary = %q{The Rake Shell.}
43
+ s.test_files = [
44
+ "spec/rake-sh_spec.rb",
45
+ "spec/spec_helper.rb"
46
+ ]
47
+
48
+ if s.respond_to? :specification_version then
49
+ s.specification_version = 3
50
+
51
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
52
+ s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
53
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
54
+ s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
55
+ s.add_development_dependency(%q<rcov>, [">= 0"])
56
+ else
57
+ s.add_dependency(%q<rspec>, ["~> 2.3.0"])
58
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
59
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
60
+ s.add_dependency(%q<rcov>, [">= 0"])
61
+ end
62
+ else
63
+ s.add_dependency(%q<rspec>, ["~> 2.3.0"])
64
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
65
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
66
+ s.add_dependency(%q<rcov>, [">= 0"])
67
+ end
68
+ end
69
+
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rake-sh
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.0
5
+ version: 1.0.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - jugyo
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-02-02 00:00:00 +09:00
13
+ date: 2011-02-03 00:00:00 +09:00
14
14
  default_executable: rake-sh
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -79,6 +79,7 @@ files:
79
79
  - lib/rake/sh.rb
80
80
  - lib/rake/sh/command.rb
81
81
  - lib/rake/sh/commands.rb
82
+ - rake-sh.gemspec
82
83
  - spec/rake-sh_spec.rb
83
84
  - spec/spec_helper.rb
84
85
  has_rdoc: true
@@ -95,7 +96,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
95
96
  requirements:
96
97
  - - ">="
97
98
  - !ruby/object:Gem::Version
98
- hash: -3306021911438142679
99
+ hash: -2823585078594406267
99
100
  segments:
100
101
  - 0
101
102
  version: "0"