toughguy 0.2.0 → 0.2.1

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: 281b8113071be47cb1c600fcca69c0ea22e76227
4
- data.tar.gz: d893f5a805c2f702526e7b98eae2df9c9598d97a
3
+ metadata.gz: 30b980a129f46230b7ca6453cb803dfcf48db7af
4
+ data.tar.gz: f62d6aa6d055683ddcd299649ed49d2537d37d36
5
5
  SHA512:
6
- metadata.gz: 426b3c2c00bb3bf7207e80fe99a75c72c6327da3ac26abe1c417b030caea719f736eb71933be35dfe27656031bfa74838550fdcee9f74370feba7fa755cc1aba
7
- data.tar.gz: 99014ea40caec7e4bbf74f4d74e77d637409556e469a80c10a835709e62fe07f040ddb2d227e16fb7471ebf299f6f67ee4ffee52981ee773aa608e389d429452
6
+ metadata.gz: 7843f4fd5e9943e057d98fd39dd57edcd7e69bb8f923f9a05e5b55f505dd9be6a9e6d19f1b65cb24d7db25a82c6c4f3730b8ac57fe1a0d99e2802355b601ae4e
7
+ data.tar.gz: 0ea7585c3b92096b7b98cfc84f6ae5999e1bc2ca56f1714102f31528ab82174b7f5d6c07d4fb9f4d29581fb5e929ad1eb4f72e1b7051de5d6669127c6e76b06f
@@ -242,7 +242,11 @@ module ToughGuy
242
242
  end
243
243
 
244
244
  def delete(selector)
245
- q(selector).remove
245
+ if @bulk
246
+ @bulk.find(selector).remove
247
+ else
248
+ q(selector).remove
249
+ end
246
250
  end
247
251
 
248
252
  def destroy_all
@@ -1,4 +1,4 @@
1
1
  # encoding: UTF-8
2
2
  module ToughGuy
3
- Version = '0.2.0'
3
+ Version = '0.2.1'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toughguy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sharon Rosner