subroutine-factory 0.1.1 → 0.1.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0deb9737919b3c584c4d8162efe72aa6d42745b4
4
- data.tar.gz: 99f95123da26bf0d57eed010ac7be770436027fc
3
+ metadata.gz: ee13444e9141b32314ebd0303d96ef3667773291
4
+ data.tar.gz: 0540beb2691841d94ab4e75eab487beaf5755f48
5
5
  SHA512:
6
- metadata.gz: 5121ac45d9fe090eda670a8fa9c1786e9c02893c6a5a92479ff20b7d09bf2112fdacec5df2d5e2dcda860869dec301c9f68a7b953464207b66dc9bdfa57aef33
7
- data.tar.gz: cf065fd503728c9d84e9438802a461d665baed47748acaa340d3557070a93cdda315a0aa0ad5df007643fb2f581beb1005704f16c329189eb8d12d576cc0b7b3
6
+ metadata.gz: ef6ace847bd139f5ecd626cc6a3bd3319b6a90295f767b09afe748ee3b52ca63a5ead655d675f662c771628c840bb3046d9295a0be406f6d4c4b84cf2956c2e0
7
+ data.tar.gz: cd8f7870a30545478097ecab4666792ecf301839a38493b2288dbc83b69fd694cd70a8eee42da5054b0d9c7911598083d9c2e09a7c82708320ef47c6ea6e7c74
@@ -75,7 +75,9 @@ module Subroutine
75
75
  output(@options[:output]) if @options[:output]
76
76
 
77
77
  @options[:befores] = @options[:befores].dup if @options[:befores]
78
+ @options[:befores] ||= []
78
79
  @options[:afters] = @options[:afters].dup if @options[:afters]
80
+ @options[:afters] ||= []
79
81
  end
80
82
 
81
83
  end
@@ -1,5 +1,5 @@
1
1
  module Subroutine
2
2
  module Factory
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: subroutine-factory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Nelson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-09-13 00:00:00.000000000 Z
11
+ date: 2015-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: subroutine