bombshell 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/bombshell.gemspec CHANGED
@@ -44,7 +44,6 @@ Gem::Specification.new do |s|
44
44
  s.require_paths = ["lib"]
45
45
  s.rubygems_version = %q{1.6.2}
46
46
  s.summary = %q{Custom IRB consoles made easy}
47
- s.add_dependency 'bombshell'
48
47
  s.add_development_dependency 'aruba'
49
48
  s.add_development_dependency 'bueller'
50
49
  end
@@ -32,7 +32,7 @@ module Bombshell
32
32
  module ClassMethods
33
33
  def launch(*arguments)
34
34
  @bombshell_callbacks[:before_launch].each do |callback|
35
- callback.call(*arguments.first(callback.arity))
35
+ callback.call(*arguments.first(callback.arity > -1 ? callback.arity : 0))
36
36
  end
37
37
  shell = new(*arguments)
38
38
  @bombshell_callbacks[:having_launched].each do |callback|
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bombshell
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 3
10
- version: 0.1.3
9
+ - 4
10
+ version: 0.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andy Rossmeissl
@@ -20,8 +20,8 @@ default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  prerelease: false
23
- name: bombshell
24
- type: :runtime
23
+ name: aruba
24
+ type: :development
25
25
  version_requirements: &id001 !ruby/object:Gem::Requirement
26
26
  none: false
27
27
  requirements:
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirement: *id001
35
35
  - !ruby/object:Gem::Dependency
36
36
  prerelease: false
37
- name: aruba
37
+ name: bueller
38
38
  type: :development
39
39
  version_requirements: &id002 !ruby/object:Gem::Requirement
40
40
  none: false
@@ -46,20 +46,6 @@ dependencies:
46
46
  - 0
47
47
  version: "0"
48
48
  requirement: *id002
49
- - !ruby/object:Gem::Dependency
50
- prerelease: false
51
- name: bueller
52
- type: :development
53
- version_requirements: &id003 !ruby/object:Gem::Requirement
54
- none: false
55
- requirements:
56
- - - ">="
57
- - !ruby/object:Gem::Version
58
- hash: 3
59
- segments:
60
- - 0
61
- version: "0"
62
- requirement: *id003
63
49
  description: Give your application or gem an interactive shell, complete with custom prompts, tab completion, and various callbacks. Commands are defined as Ruby methods and can be grouped into logical subshells.
64
50
  email: andy@rossmeissl.net
65
51
  executables: []