coffee-react 3.4.0 → 4.0.0

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/coffee-react-transform.js +3 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4377cd9a3ec2a2bd8ce1926e99a9757033668a32
4
- data.tar.gz: a2f4607b298709fcb2ef3c7108a33eba25c7880d
3
+ metadata.gz: e4bc2875eb84d5a7523787f2139e8e9e34568933
4
+ data.tar.gz: 04640fd536d3a41d75c447f36dc465f4e6718052
5
5
  SHA512:
6
- metadata.gz: a1c24e626330789b8565c7a7a53c88e108f7bb99ce18852d8e19cbb5e0845e1cbefeb1e7bdfb6f3e7dbcc1db88c5786c2993d2dc346182d843b016d3e2192540
7
- data.tar.gz: e5f463b3d5eb0b496232ecfc4c09b5d212badf109c7e9c31177d0cb6cf005bd66f3fb0ced758b7fd0732e778171f0ff1e86b00a1a1c16f26a160232e52f57fcd
6
+ metadata.gz: 9233a037475d4bea1981d05c16a8488e7f2a29cb45bcd1d2086867468b7acede4e6c6402950e36fb28ae0589fc55223427dab18951014d9a52c5a717b66b4184
7
+ data.tar.gz: 4382ea8d1a7b7ada37d9a8c404ceb28bfadb6f95ca96171cd5a69d911e5f4b21361f36e5eb773004530447688acfca9d3bcea7a98ad06f64d0d58e8a5146b53d
@@ -900,11 +900,11 @@ module.exports = Parser = (function() {
900
900
 
901
901
  })();
902
902
 
903
- OPENING_TAG = /^<(@?[-A-Za-z0-9_\.]+)((?:(?:(?:\s+[\w-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|(?:{[\s\S]*?})|[^>\s]+)))|\s+[\w-]+|\s+\{\.\.\.\s*?[^\s{}]+?\s*?\})?)*?\s*)(\/?)>/;
903
+ OPENING_TAG = /^<(@?[-A-Za-z0-9_\.]+)((?:(?:(?:\s+[\w-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|(?:{[\s\S]*?})|[^>\s]+)))|\s+[\w-]+|\s+\{\.\.\.\s*?[^{}]+?\s*?\})?)*?\s*)(\/?)>/;
904
904
 
905
905
  CLOSING_TAG = /^<\/(@?[-A-Za-z0-9_\.]+)[^>]*>/;
906
906
 
907
- TAG_ATTRIBUTES = /(?:([-A-Za-z0-9_]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:{((?:\\.|[\s\S])*)})|([^>\s]+)))?)|(?:\{\.\.\.(\s*?[^\s{}]+?\s*?)\})|([\s\n]+)/;
907
+ TAG_ATTRIBUTES = /(?:([-A-Za-z0-9_]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:{((?:\\.|[\s\S])*)})|([^>\s]+)))?)|(?:\{\.\.\.(\s*?[^{}]+?\s*?)\})|([\s\n]+)/;
908
908
 
909
909
  PRAGMA = /^\s*#\s*@cjsx\s+(\S*)/i;
910
910
 
@@ -1040,7 +1040,7 @@ Serialiser = (function() {
1040
1040
  assignsWithWhitespace.push(lastAssignWithWhitespace + trailingWhiteplace);
1041
1041
  }
1042
1042
  joinedAssigns = joinList(assignsWithWhitespace);
1043
- return "React.__spread(" + (joinList(assignsWithWhitespace)) + ")";
1043
+ return "Object.assign(" + (joinList(assignsWithWhitespace)) + ")";
1044
1044
  };
1045
1045
 
1046
1046
  Serialiser.prototype.serialiseAttributePairs = function(children) {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coffee-react
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Friend
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-17 00:00:00.000000000 Z
11
+ date: 2016-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: execjs