teepee 0.13.2 → 0.13.3

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: 22c67ea10fb69177b27b44522363ac72a53ec454
4
- data.tar.gz: 21778b00ab9374a104437cc1987d33177547f032
3
+ metadata.gz: 4f556594ad5c2ae3e62cacaa5f147134c02f543c
4
+ data.tar.gz: 9a19f80ccb0b5cc059dd4c375c39387dc6c4effb
5
5
  SHA512:
6
- metadata.gz: ccb03a7d6fd0f8dcf86d6085b4cde1d575fba3c8bd1eeda1bce9bf0cc3cc437ee7d52d2543141308f5996679b79762625151a95bbb4a5a83ca6a48db0cabd122
7
- data.tar.gz: 5fe3005501041d508c1c75493cdcd2d2f0486c00ba6b8433016a2d409827388675c6057fe688587a3743d121d1a63de2504450437feb0bd9c3e22f041313d7dc
6
+ metadata.gz: 614352f34e00e8b4a1f9fdb346531560bc1cda3da4b0fafbdbedb46cbe9a18ca324e0495c1b5a760cb7592a3a5f44ba91c559b83f854f1c75dccda9f0780883d
7
+ data.tar.gz: 93e29b888f761fc0397a8d74d8a4b8b2311bab223afee87761305c95829525c42d645ac4f6defd061f103e7d1ae5505e4ae91ebd345b6fdbb1acc5469dcf1bcc
@@ -46,10 +46,10 @@ include ERB::Util
46
46
 
47
47
  module Teepee
48
48
  class ActionableCommander < Commander
49
- def initialize action_view, controller
50
- @action_view = action_view
51
- @controller = controller
52
- super
49
+ def initialize params
50
+ @action_view = params[:action_view]
51
+ @controller = params[:controller]
52
+ super nil
53
53
  end
54
54
 
55
55
  def id_command_handler(id,
@@ -37,7 +37,8 @@
37
37
 
38
38
  module Teepee
39
39
  class Commander
40
- def initialize
40
+ def initialize params
41
+ # We don't use the params in the base class, but might in derived classes.
41
42
  @variables = Hash.new
42
43
  end
43
44
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teepee
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.2
4
+ version: 0.13.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Mark Gore