focused_controller 2.0.1 → 2.0.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: 50328909d601965e71fb57ca5bbd7b1018388643
4
- data.tar.gz: 2b620c4a51d034a1b4d2ddcad005c7ef32831e6a
3
+ metadata.gz: fa706d1c092ffcf02346ce03c7a319c308abac3b
4
+ data.tar.gz: 09e2a853bf2df8ad95d30133a1a38b58ac422168
5
5
  SHA512:
6
- metadata.gz: 172bf02aabc5827c994fe2e6f5354bc83c9dda4f00db222dbd0360fde8e977dd08f955116ec10058339cb559491b860bb030f1bf8ffa7e77a3618c0c74b2c44c
7
- data.tar.gz: 121d5d4ce59ad2f3866f380542fb617ee372abc4b177a9b8c2a8556e3ee82db0e3c451e60315007714a130e04e4617cb1b13f8583bc5761df59fd9a638e481f3
6
+ metadata.gz: 0cce0f665bdcb1bb7b23f0e89e7f308dfe8caac4dc44042149fc0986bba78b5d33f3cc06934b5684886b134bbe9f8a224bcdbadf72c3c73aebdee9d9d54fb16f
7
+ data.tar.gz: 23550874978ea8e0d256296f3edf4e4aa7f8eeae91d6044919368afa6b7e480b23335a885cb6827f210437992a9f5c4df6b6088a19c0174789123ddfc0a04cc1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 2.0.2 ##
2
+
3
+ * Rails 4.2.5.1 compatibility fix
4
+
1
5
  ## 2.0.1 ##
2
6
 
3
7
  * Routing bug fix
@@ -77,7 +77,7 @@ module FocusedController
77
77
 
78
78
  def controller_reference(controller_param)
79
79
  if controller_param.include?(FOCUSED_CONTROLLER)
80
- const_name = @controller_class_names[controller_param] ||= controller_param.camelize
80
+ const_name = controller_param.camelize
81
81
  ActiveSupport::Dependencies.constantize(const_name)
82
82
  else
83
83
  super
@@ -1,3 +1,3 @@
1
1
  module FocusedController
2
- VERSION = "2.0.1"
2
+ VERSION = "2.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: focused_controller
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Leighton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-18 00:00:00.000000000 Z
11
+ date: 2016-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -240,7 +240,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
240
240
  version: '0'
241
241
  requirements: []
242
242
  rubyforge_project: focused_controller
243
- rubygems_version: 2.4.5
243
+ rubygems_version: 2.4.8
244
244
  signing_key:
245
245
  specification_version: 4
246
246
  summary: Write Rails controllers with one class per action