motion-assets-library 1.0.1 → 1.0.2

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: 6011f54a1d4faf41397d337b39a3f2197609a154
4
- data.tar.gz: d3ebbcaf62ef6ffbcffcdf606966814a0dcb101f
3
+ metadata.gz: c6851810d84b22c4ffecf81114c0387437c4c7ce
4
+ data.tar.gz: a99becd7953af4b3a5e747099a9caa4fc15f1605
5
5
  SHA512:
6
- metadata.gz: 125b585a339e3f0b747661af8ad21259b6759105cc466ffc215a3ed2142d1a46a81689b15e8974df2849cd0e98ebfee0a25f1202d5cc65470bf61b2f83ae402c
7
- data.tar.gz: 60d4152b1742b92f95eb1cda0bcacc0a6c718d30f254c807f1820cc72df49d0de7802e3d58e86962c4456fbba9a10cf6b297e3a46e689167a16f582a162a5073
6
+ metadata.gz: afddbb67544f0eee018e118d164e9bb2cedba170b078368a3e0b96b216e86cf8fffa7bfc972aff45ac210a8eb6972918e9d3fe615a4921121f678a4b5980ec3b
7
+ data.tar.gz: 36a1d5bf888e9aeec778fa391826936450d3f8a85235622df835e6b43061353065edd58097c27f49a2f6a0619b07833f3f848c8db64ffb9db875ece6b598d8d4
@@ -43,7 +43,7 @@ class Motion
43
43
  end
44
44
 
45
45
  def album_block
46
- lambda { |group, stop| group.enumerateAssetsUsingBlock(asset_block) if group }
46
+ lambda { |group, stop| group.enumerateAssetsWithOptions(asset_enumeration_options, usingBlock: asset_block) if group }
47
47
  end
48
48
 
49
49
  def album_failure_block
@@ -79,6 +79,10 @@ class Motion
79
79
  def notification_center
80
80
  NSNotificationCenter.defaultCenter
81
81
  end
82
+
83
+ def asset_enumeration_options
84
+ NSEnumerationReverse
85
+ end
82
86
  end
83
87
  end
84
88
  end
@@ -1,6 +1,6 @@
1
1
  class Motion
2
2
  class AssetsLibrary
3
- VERSION = '1.0.1'
3
+ VERSION = '1.0.2'
4
4
  DelegateMethodUnimplemented = Class.new(RuntimeError)
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion-assets-library
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Devon Blandin