react-rails-hot-loader 0.7.0 → 0.8.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: ab9de518bb75c50cbeacaea338a7f88aab57810d
4
- data.tar.gz: 416ae157991bbba3f40e672b1867509fe407e293
3
+ metadata.gz: 0c87dbe765e4fae886f6d44ce1a989ed9dc1be10
4
+ data.tar.gz: d66538f1326c2de9acd305e9e3f1795757338ce4
5
5
  SHA512:
6
- metadata.gz: 72353bf21ad48fe6dfbfc0a8b04f2f97ead8bf77c83e9d1ebd247e42b7e73ab4662d609f335b200110fbb9869cdc3d0a165cafdfaad29bc9c54c5c195211d4f5
7
- data.tar.gz: 1357768dddb36e755a9bb920a1258ce2bd03146c464d92ffa57278075c7a4332ebb0178374755349f937c8120c63dc01449b476ca071ecb763cdcfb39f196670
6
+ metadata.gz: 2588647b41c47c87d87caa47ef537ee7ddc61e3a52268709a7a2cefd189917707d274ac0ea7b58a2e98e960fe652d0157ff64a26d3d9bd971f4cac662e68d01b
7
+ data.tar.gz: 21dcd3a8fbf5667f4ccee75660c30226bd694c52d21a658f3567500135e40abb467c2b61994c205ad7eba907e46bbb0c57e4d5570ec24cfa0cbca498ed39439e
@@ -51,6 +51,7 @@ var ReactRailsHotLoader = {
51
51
 
52
52
  _hotLoad: function(changes) {
53
53
  this.log("updating: " + changes.changed_file_names.join(", ") )
54
+ var _self = this
54
55
 
55
56
  changes.changed_file_names.forEach(function(fileName, i) {
56
57
  var changedAssetContent = changes.changed_asset_contents[i]
@@ -60,7 +61,7 @@ var ReactRailsHotLoader = {
60
61
  try {
61
62
  eval.call(window, changedAssetContent)
62
63
  } catch (err) {
63
- _this.log(err)
64
+ _self.log(err)
64
65
  }
65
66
  } else {
66
67
  // Reload CSS
@@ -1,7 +1,7 @@
1
1
  module React
2
2
  module Rails
3
3
  module HotLoader
4
- VERSION = "0.7.0"
4
+ VERSION = "0.8.0"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: react-rails-hot-loader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Mosolgo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-16 00:00:00.000000000 Z
11
+ date: 2017-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: em-websocket