renee-core 0.3.2 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,8 +27,8 @@ module Renee
27
27
  ret = nil
28
28
  callback = proc do |*callback_args|
29
29
  inner_args.concat(callback_args)
30
- if @calls.size == 0
31
- return blk.call(*inner_args) if blk
30
+ if @calls.size == 0 and blk
31
+ blk.call(*inner_args)
32
32
  else
33
33
  call = @calls.shift
34
34
  ret = @target.send(call.at(0), *call.at(1), &callback)
@@ -1,6 +1,6 @@
1
1
  module Renee
2
2
  class Core
3
3
  # The current version of Renee::Core
4
- VERSION = "0.3.2"
4
+ VERSION = "0.3.6"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: renee-core
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 2
10
- version: 0.3.2
9
+ - 6
10
+ version: 0.3.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Josh Hull
@@ -17,12 +17,10 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-10-27 00:00:00 Z
20
+ date: 2011-11-30 00:00:00 Z
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
- name: rack
24
- prerelease: false
25
- requirement: &id001 !ruby/object:Gem::Requirement
23
+ version_requirements: &id001 !ruby/object:Gem::Requirement
26
24
  none: false
27
25
  requirements:
28
26
  - - ~>
@@ -33,12 +31,12 @@ dependencies:
33
31
  - 3
34
32
  - 0
35
33
  version: 1.3.0
34
+ requirement: *id001
36
35
  type: :runtime
37
- version_requirements: *id001
38
- - !ruby/object:Gem::Dependency
39
- name: minitest
40
36
  prerelease: false
41
- requirement: &id002 !ruby/object:Gem::Requirement
37
+ name: rack
38
+ - !ruby/object:Gem::Dependency
39
+ version_requirements: &id002 !ruby/object:Gem::Requirement
42
40
  none: false
43
41
  requirements:
44
42
  - - ~>
@@ -49,12 +47,12 @@ dependencies:
49
47
  - 6
50
48
  - 1
51
49
  version: 2.6.1
50
+ requirement: *id002
52
51
  type: :development
53
- version_requirements: *id002
54
- - !ruby/object:Gem::Dependency
55
- name: bundler
56
52
  prerelease: false
57
- requirement: &id003 !ruby/object:Gem::Requirement
53
+ name: minitest
54
+ - !ruby/object:Gem::Dependency
55
+ version_requirements: &id003 !ruby/object:Gem::Requirement
58
56
  none: false
59
57
  requirements:
60
58
  - - ">="
@@ -63,12 +61,12 @@ dependencies:
63
61
  segments:
64
62
  - 0
65
63
  version: "0"
64
+ requirement: *id003
66
65
  type: :development
67
- version_requirements: *id003
68
- - !ruby/object:Gem::Dependency
69
- name: rack-test
70
66
  prerelease: false
71
- requirement: &id004 !ruby/object:Gem::Requirement
67
+ name: bundler
68
+ - !ruby/object:Gem::Dependency
69
+ version_requirements: &id004 !ruby/object:Gem::Requirement
72
70
  none: false
73
71
  requirements:
74
72
  - - ">="
@@ -79,12 +77,12 @@ dependencies:
79
77
  - 5
80
78
  - 0
81
79
  version: 0.5.0
80
+ requirement: *id004
82
81
  type: :development
83
- version_requirements: *id004
84
- - !ruby/object:Gem::Dependency
85
- name: rake
86
82
  prerelease: false
87
- requirement: &id005 !ruby/object:Gem::Requirement
83
+ name: rack-test
84
+ - !ruby/object:Gem::Dependency
85
+ version_requirements: &id005 !ruby/object:Gem::Requirement
88
86
  none: false
89
87
  requirements:
90
88
  - - "="
@@ -95,8 +93,10 @@ dependencies:
95
93
  - 8
96
94
  - 7
97
95
  version: 0.8.7
96
+ requirement: *id005
98
97
  type: :development
99
- version_requirements: *id005
98
+ prerelease: false
99
+ name: rake
100
100
  description: The super-friendly rack helpers.
101
101
  email:
102
102
  - joshbuddy@gmail.com