remarkable 3.1.0 → 3.1.1

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.
@@ -19,11 +19,11 @@ module Remarkable
19
19
  # # code
20
20
  # end
21
21
  #
22
- def after_initialize(symbol=nil, &block)
22
+ def after_initialize(*symbols, &block)
23
23
  if block_given?
24
24
  @after_initialize_callbacks << block
25
- elsif symbol
26
- @after_initialize_callbacks << symbol
25
+ else
26
+ @after_initialize_callbacks += symbols
27
27
  end
28
28
  end
29
29
 
@@ -38,11 +38,11 @@ module Remarkable
38
38
  # # code
39
39
  # end
40
40
  #
41
- def before_assert(symbol=nil, &block)
41
+ def before_assert(*symbols, &block)
42
42
  if block_given?
43
43
  @before_assert_callbacks << block
44
- elsif symbol
45
- @before_assert_callbacks << symbol
44
+ else
45
+ @before_assert_callbacks += symbols
46
46
  end
47
47
  end
48
48
  end
@@ -1,3 +1,3 @@
1
1
  module Remarkable
2
- VERSION = '3.1.0' unless self.const_defined?('VERSION')
2
+ VERSION = '3.1.1' unless self.const_defined?('VERSION')
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remarkable
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Brando
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-05-04 00:00:00 +02:00
13
+ date: 2009-05-13 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency