react-rails 2.0.2 → 2.1.0

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: 2d281b77d99197720b6074abc35e3ebb9be613c2
4
- data.tar.gz: cc3103861584d6b55f450b39e03d8df5def19e1b
3
+ metadata.gz: db774c83d43c1824e73e6876067cd60df03a7c34
4
+ data.tar.gz: f3686e6e0d19568cdc9d2e34e745365f0c60632a
5
5
  SHA512:
6
- metadata.gz: 4e393b22c5f5c93be85e919d334d21c9421484d5e82fd59cd06029d65a2f549ebfe32b7a9b7b2fb6c8b66559e5f953c876db31021e34d7a5d851a6527796638a
7
- data.tar.gz: fbb538016c5a28fd5d455fd9fd615009942079d89d2b7a31d753102c13a7d36afc1d88bd981fc8b7169ddc9bd77cadd59de6be781dd89b7d68e4825a378e7ee4
6
+ metadata.gz: be8391ded86b4a07aa33bf8a52cfe8f8338852c296974efd4ba9db7f85dfc34dfeebf6c019eee4c2fc4f40eb35f2c7b246b31e2803d77a274ea72528073803ad
7
+ data.tar.gz: 896c1113547bf643e90113279a82852b0253905e5cdf92fe17a0490ec4806589ebddf67e95ebe42f5eb7e95c9398ad18f74313fd7c031d010bf232adfb5b4bb9
@@ -8,6 +8,16 @@
8
8
 
9
9
  #### Bug Fixes
10
10
 
11
+ ## 2.0.2 (April 18, 2017)
12
+
13
+ #### New Features
14
+
15
+ - Support Rails 5.1 #697
16
+
17
+ #### Bug Fixes
18
+
19
+ - Fix UJS unmounting by selector #696
20
+
11
21
  ## 2.0.2 (April 13, 2017)
12
22
 
13
23
  #### New Features
@@ -16,9 +16,9 @@ return /******/ (function(modules) { // webpackBootstrap
16
16
  /******/ function __webpack_require__(moduleId) {
17
17
  /******/
18
18
  /******/ // Check if module is in cache
19
- /******/ if(installedModules[moduleId])
19
+ /******/ if(installedModules[moduleId]) {
20
20
  /******/ return installedModules[moduleId].exports;
21
- /******/
21
+ /******/ }
22
22
  /******/ // Create a new module (and put it into the cache)
23
23
  /******/ var module = installedModules[moduleId] = {
24
24
  /******/ i: moduleId,
@@ -238,7 +238,7 @@ var ReactRailsUJS = {
238
238
 
239
239
  // helper method for the mount and unmount methods to find the
240
240
  // `data-react-class` DOM elements
241
- findDOMNodes: function(selector) {
241
+ findDOMNodes: function(searchSelector) {
242
242
  var classNameAttr = ReactRailsUJS.CLASS_NAME_ATTR
243
243
  // we will use fully qualified paths as we do not bind the callbacks
244
244
  var selector, parent;
@@ -33,7 +33,7 @@ module React
33
33
  end
34
34
 
35
35
  # Rails checks these objects for changes:
36
- app.reloaders << app.config.file_watcher.new([], reload_paths)
36
+ app.reloaders << app.config.file_watcher.new([], reload_paths) {}
37
37
  # Reload renderers in dev when files change
38
38
  config.to_prepare { React::ServerRendering.reset_pool }
39
39
  end
@@ -2,6 +2,6 @@ module React
2
2
  module Rails
3
3
  # If you change this, make sure to update VERSIONS.md
4
4
  # and republish the UJS by updating package.json and `bundle exec rake ujs:publish`
5
- VERSION = "2.0.2"
5
+ VERSION = "2.1.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: react-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul O’Shannessy
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-04-13 00:00:00.000000000 Z
12
+ date: 2017-04-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: appraisal