lapse 0.0.9 → 0.0.10

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.
@@ -13,6 +13,17 @@ module Lapse
13
13
  def destroy_frame(clip_id, frame_id)
14
14
  boolean_from_response(:delete, "clips/#{clip_id}/frames/#{frame_id}")
15
15
  end
16
+
17
+ def crop_frame(clip_id, frame_id, x, y, width, height)
18
+ params = {
19
+ x: x,
20
+ y: y,
21
+ width: width,
22
+ height: height
23
+ }
24
+ boolean_from_response(:post, "clips/#{clip_id}/frames/#{frame_id}/crop", params)
25
+ end
26
+
16
27
  end
17
28
  end
18
29
  end
data/lib/lapse/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Lapse
2
2
  # Verion of the Lapse gem
3
- VERSION = '0.0.9'
3
+ VERSION = '0.0.10'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lapse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  version: '0'
109
109
  segments:
110
110
  - 0
111
- hash: 2480643681800896217
111
+ hash: -2670759585094245039
112
112
  requirements: []
113
113
  rubyforge_project:
114
114
  rubygems_version: 1.8.23