cells 3.11.2 → 3.11.3

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: c9fb9e1377ed4ea72e0d162fd29e524e0f9b67b6
4
- data.tar.gz: b661b6b504610a68198751905d6b186ed18c0dbb
3
+ metadata.gz: 1733d66b3c4c59a504f758006fbc1a4391b04827
4
+ data.tar.gz: 2ba5c6cfba87ec5f9df760f15e2f40fc5a4db44d
5
5
  SHA512:
6
- metadata.gz: a6d39c7b449b5f8ab11973e953dee4895e1aa062e086449e1bf477214235b6a72fa8a450e91aaee9bbd8d559b71cb1d5eb6ea9559d0d0a9f0376be1a9f5e64b1
7
- data.tar.gz: 3acac5e4ef165a75ea79763c5db07b450d128aaa44a438588aa29f3c69d55e642a6e8567234812cd46bd6893058d69538709cf85c242de6c4c175dc3c3d5ad82
6
+ metadata.gz: 66b45a320031b1d401a8a4714f4e31f6944d17302118b3343810f0533c4d588a76f08428d295bbd8811048d36c3a66817e915a958831c8f580d476c82225f689
7
+ data.tar.gz: c18f7d86f22a3d2e4fb5ac0671c0a1aa92ae467dfaaea2fbb9c7e0c8e5888fa20ffcf6673a27b93a95b67dd2d89f59c8ff4e880c4e0f575fa1279e0c257e753f
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 3.11.3
2
+
3
+ * Make Cells work with Rails 4.2. Thanks to @pwim and @did!
4
+
1
5
  ## 3.11.2
2
6
 
3
7
  * `ViewModel#call` now accepts a block and yields `self` (the cell instance) to it. This is handy to use with `content_for`.
@@ -138,7 +138,12 @@ module Cell
138
138
  end
139
139
 
140
140
  include TestMethods
141
- include ActionDispatch::Assertions::SelectorAssertions # imports "their" #assert_select.
141
+ # imports "their" #assert_select.
142
+ if ::Rails.const_defined?(:Dom)
143
+ include ::Rails::Dom::Testing::Assertions::SelectorAssertions
144
+ else
145
+ include ActionDispatch::Assertions::SelectorAssertions
146
+ end
142
147
  alias_method :rails_assert_select, :assert_select # i hate that.
143
148
  include AssertSelect
144
149
 
@@ -1,3 +1,3 @@
1
1
  module Cells
2
- VERSION = '3.11.2'
2
+ VERSION = '3.11.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cells
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.11.2
4
+ version: 3.11.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sutterer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-20 00:00:00.000000000 Z
11
+ date: 2014-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -372,7 +372,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
372
372
  version: '0'
373
373
  requirements: []
374
374
  rubyforge_project:
375
- rubygems_version: 2.2.1
375
+ rubygems_version: 2.2.2
376
376
  signing_key:
377
377
  specification_version: 4
378
378
  summary: View Components for Rails.
@@ -479,4 +479,3 @@ test_files:
479
479
  - test/test_case_test.rb
480
480
  - test/test_helper.rb
481
481
  - test/twin_test.rb
482
- has_rdoc: