irb-rake-task 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "irb-rake-task"
6
- s.version = "0.0.1"
6
+ s.version = "0.0.2"
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Martin Schuerrer"]
9
9
  s.email = ["martin@schuerrer.org"]
@@ -3,27 +3,8 @@ require 'rake/tasklib'
3
3
  require 'irb'
4
4
  require 'irb/completion'
5
5
 
6
- module IRB
7
- class RakeTask < ::Rake::TaskLib
8
-
9
- # Name of task.
10
- #
11
- # default:
12
- # :spec
13
- attr_accessor :name
14
-
15
- def initialize(*args)
16
- @name = args.shift || :console
17
-
18
- yield self if block_given?
19
-
20
- desc("Start the console") unless ::Rake.application.last_comment
21
-
22
- task name do
23
- ARGV.clear
24
- IRB.start
25
- end
26
- end
27
-
28
- end
6
+ desc("Open IRB console")
7
+ task name do
8
+ ARGV.clear
9
+ IRB.start
29
10
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Martin Schuerrer