cells 3.8.7 → 3.8.8

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.
@@ -1,3 +1,7 @@
1
+ h2. 3.8.8
2
+
3
+ * Maintenance release.
4
+
1
5
  h2. 3.8.7
2
6
 
3
7
  * Cells runs with Rails 4.
@@ -0,0 +1,39 @@
1
+ # This file contains VersionStrategies for the Cell and Cells module for Rails >= 3.1.
2
+ module Cell
3
+ # Methods to be included in Cell::Rails in 3.1 context.
4
+ module VersionStrategy
5
+ extend ActiveSupport::Concern
6
+
7
+ include AbstractController::UrlFor # must be included before _routes is set in Railstie. # TODO: remove that.
8
+
9
+
10
+ module ClassMethods
11
+ def helper_modules
12
+ [_routes.url_helpers, _routes.mounted_helpers, _helpers]
13
+ end
14
+ end
15
+
16
+ private
17
+ def process_opts_for(opts, state)
18
+ opts[:action] = opts[:view] || state
19
+
20
+ lookup_context.formats = [opts.delete(:format)] if opts[:format]
21
+ end
22
+ end
23
+ end
24
+
25
+
26
+ module Cells
27
+ module Engines
28
+ module VersionStrategy
29
+ def registered_engines
30
+ #::Rails::Railties.engines
31
+ []
32
+ end
33
+
34
+ def existent_directories_for(path)
35
+ path.existent_directories
36
+ end
37
+ end
38
+ end
39
+ end
@@ -1,3 +1,3 @@
1
1
  module Cells
2
- VERSION = '3.8.7'
2
+ VERSION = '3.8.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cells
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.8.7
4
+ version: 3.8.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -168,6 +168,7 @@ files:
168
168
  - lib/cell/rails/helper_api.rb
169
169
  - lib/cell/rails3_0_strategy.rb
170
170
  - lib/cell/rails3_1_strategy.rb
171
+ - lib/cell/rails4_0_strategy.rb
171
172
  - lib/cell/rendering.rb
172
173
  - lib/cell/test_case.rb
173
174
  - lib/cells.rb