tension 0.9.11 → 0.9.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d79990890e3efdb3e301b8a25d1aea118d536167
4
- data.tar.gz: 41117c436948f6aef93d09652fdb3a1c503dfc08
3
+ metadata.gz: 95257f7adf62e176df3ed678163e78ce4c326e14
4
+ data.tar.gz: cfc546cd1439e647dd5ec2b5189b8b66e3ae59a6
5
5
  SHA512:
6
- metadata.gz: d42c14d2bc9d8bb9d787b4a05d5fd94bdcfe35e48f25d09a8cf92eadf68427af0b5f38583bb4566064cd2b24fc32917a6e64d284dc49a72bd167aa49dc639c36
7
- data.tar.gz: 691cb93f49e58aefe0c54fa892dac95b2ca7d6a2b9c57cd9fd394fd4b7fe2afde6a566480a6b963a84176f88feddd5f163db269d4d57e9f677e3f46c5ab464ed
6
+ metadata.gz: 8b8a3ff79e452925800de9625469d4f9ecfdf9ce748c4ed147dd704741856980fb6d88c390b3d698358576b19d844ca0c69c65f0ff7ecfa719f8497c8c7cfdc2
7
+ data.tar.gz: 06c36e7eb6bfef898917942149da24b3655d1f232391aeab3a0eada680c254d11b189790b02d3d21a61f85670b253c9429d66eed038323f1a7a57c9bb1b40841
@@ -12,21 +12,21 @@ module Tension
12
12
  # Returns the Context for the current controller.
13
13
  #
14
14
  def asset_context
15
- find_asset_context( request.path_parameters['controller'] )
15
+ find_asset_context( request.symbolized_path_parameters[:controller] )
16
16
  end
17
17
 
18
18
  # Returns the Sprockets Asset for the current action's JavaScript
19
19
  # to be written into the template.
20
20
  #
21
21
  def action_javascript
22
- asset_context.js( request.path_parameters['action'] )
22
+ asset_context.js( request.symbolized_path_parameters[:action] )
23
23
  end
24
24
 
25
25
  # Returns the Sprockets Asset for the current action's stylesheet
26
26
  # to be written into the template.
27
27
  #
28
28
  def action_stylesheet
29
- asset_context.css( request.path_parameters['action'] )
29
+ asset_context.css( request.symbolized_path_parameters[:action] )
30
30
  end
31
31
 
32
32
  # Proxy to Tension::Environment.find.
@@ -1,3 +1,3 @@
1
1
  module Tension
2
- VERSION = "0.9.11".freeze
2
+ VERSION = "0.9.12".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tension
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.11
4
+ version: 0.9.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piers Mainwaring