hooch 0.15.12 → 0.15.13

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: 0ae40f00494aeea8ac9532cbef935639ef337e00
4
- data.tar.gz: 0bb2734f4c2005693839b1892c30fcd08a42031f
3
+ metadata.gz: 764e11b35462cb416dde47f9d13a2d0401a0ccf6
4
+ data.tar.gz: ee08b8b188452e17a14b58fc566f09bc8cd5dfc5
5
5
  SHA512:
6
- metadata.gz: 64a909412afcdeaddee763d204783b31dcfe48fb735bda1f568ada026907577b7525ef99e774428a704b9ddad46f16c6371f48e590194b6c6ec2632f33213f7b
7
- data.tar.gz: 787cee14e5a66a76bf5c3f9220863f07b7aa181e558f5ecc9559cac774c39f8301fa2ccb2fc53b2050b7d5a8aaa3f031c9c721eddf27451a1e6ecde7a2cd2bb4
6
+ metadata.gz: befbc4b2c9aa65935635dac44be7c0bd483c7d7697cd5c782c4c69adfbfa95b4c8a984ddc21949553eca06c91dcb882d88d7d9ede750171d6ada406bba63de99
7
+ data.tar.gz: ebbfad9291019a57be76e9f06979681eb3b7aaabe194c20596147ce9f742c352bbc4a5fcd35591c9ae9a983dfcf36fc3f51e86de72a0723a78ef18488d7e8b54
@@ -35,14 +35,14 @@ Set.prototype.difference = function(setB) {
35
35
  })
36
36
  return difference;
37
37
  }
38
- Set.prototype.from_iterable = function(arr) {
38
+ Set.from_iterable = function(arr) {
39
39
  if(typeof Set.prototype.values == 'undefined'){
40
- var new_set = Set.new()
40
+ var new_set = new Set()
41
41
  arr.forEach(function(v,i,t){
42
42
  new_set.add(v)
43
43
  })
44
44
  }else{
45
- var new_set = Set.new(arr)
45
+ var new_set = new Set(arr)
46
46
  }
47
47
  return new_set
48
48
  }
@@ -1,3 +1,3 @@
1
1
  module Hooch
2
- VERSION = "0.15.12"
2
+ VERSION = "0.15.13"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hooch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.12
4
+ version: 0.15.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut