sprockets-commoner 0.6.2 → 0.6.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: ba94aa1d52effe49d5e474c01898da2f76a6cd9c
4
- data.tar.gz: 9c0ed09a6c6bc43ff8fdd3cdb79e382bb4540f91
3
+ metadata.gz: 9ff180d659ed6740f08d3ea240c4c839134bd40a
4
+ data.tar.gz: 707b8cbd232bb7feb41abc8f4e95b64fae3088d8
5
5
  SHA512:
6
- metadata.gz: ebd475bfb73354bb998af766b39ca2e2b84a75f92f695e2d67d177cd847a5e30eefc51f24b6bc05292afc0e71296dd8e797a113194a70ceab28f5b273fc93ec4
7
- data.tar.gz: ffa4761661c51348583eb3b8040c51b0181f1a97efe82fea4b9cf66128def3090c5d57a742cbad42da13da3ff4518c66f4d93e572befaa3d33104a166a529f97
6
+ metadata.gz: a29bdeff52324bb60dfd150ca2037853e62b942541d0cb191bd69fef86c8cf1bca186674926a74637e4d020b8d40b87a91cbc9bb0ea9a1d3649228216e6bc3fc
7
+ data.tar.gz: ba509adca807ef8b90d02ffee2f798a4244af127698c18dff86313bcebf33f010d86d52be7d784c66f30400ee0ea480368ff85250ff6c7ecf6a9dbcdc6cbed30
@@ -158,12 +158,8 @@ module.exports = function (context) {
158
158
  if (name === false) {
159
159
  path.get('init').replaceWith(t.objectExpression([]));
160
160
  } else {
161
- if (path.scope.hasBinding(name)) {
162
- path.scope.rename(name);
163
- }
164
161
  path.scope.rename(path.node.id.name, name);
165
162
  path.remove();
166
- path.scope.removeBinding(name);
167
163
  }
168
164
  },
169
165
  CallExpression: function CallExpression(path, state) {
@@ -1,5 +1,5 @@
1
1
  module Sprockets
2
2
  module Commoner
3
- VERSION = '0.6.2'
3
+ VERSION = '0.6.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprockets-commoner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bouke van der Bijl
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-13 00:00:00.000000000 Z
11
+ date: 2016-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sprockets