lapse 0.0.20 → 0.0.21

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 168a955c5cd2a439f6dd61f1e31e498875113219
4
+ data.tar.gz: 5e4b430daca0c427c21f892ca927063d847de42b
5
+ SHA512:
6
+ metadata.gz: 062e32bd1b49a028c91a7d3bd482afd9db6fc7dcea7c4098f9ac630b50770024fea42b865a4dbbd6d12a18ac918ce38bf6ff1b0d5add1540c70f4738d0e3de14
7
+ data.tar.gz: 94d4c6572d1f65d629bcd740ac6f9f04186b294e8950789f1256ffa837b992cecc4dc35c812fa0beb5f670050965722bf246d1f59789b825d75d71029da31c0c
@@ -41,6 +41,14 @@ module Lapse
41
41
  post("clips/#{clip_id}/publish", params).body
42
42
  end
43
43
 
44
+ def flag_clip(clip_id)
45
+ boolean_from_response(:post, "clips/#{clip_id}/flag")
46
+ end
47
+
48
+ def unflag_clip(clip_id)
49
+ post("clips/#{clip_id}/unflag").body
50
+ end
51
+
44
52
  def destroy_clip(clip_id)
45
53
  boolean_from_response(:delete, "clips/#{clip_id}")
46
54
  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.20'
3
+ VERSION = '0.0.21'
4
4
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lapse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.20
5
- prerelease:
4
+ version: 0.0.21
6
5
  platform: ruby
7
6
  authors:
8
7
  - Sam Soffes
@@ -11,12 +10,11 @@ authors:
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2013-06-26 00:00:00.000000000 Z
13
+ date: 2013-06-27 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: multi_json
18
17
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
18
  requirements:
21
19
  - - ~>
22
20
  - !ruby/object:Gem::Version
@@ -24,7 +22,6 @@ dependencies:
24
22
  type: :runtime
25
23
  prerelease: false
26
24
  version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
25
  requirements:
29
26
  - - ~>
30
27
  - !ruby/object:Gem::Version
@@ -32,17 +29,15 @@ dependencies:
32
29
  - !ruby/object:Gem::Dependency
33
30
  name: hashie
34
31
  requirement: !ruby/object:Gem::Requirement
35
- none: false
36
32
  requirements:
37
- - - ! '>='
33
+ - - '>='
38
34
  - !ruby/object:Gem::Version
39
35
  version: '0'
40
36
  type: :runtime
41
37
  prerelease: false
42
38
  version_requirements: !ruby/object:Gem::Requirement
43
- none: false
44
39
  requirements:
45
- - - ! '>='
40
+ - - '>='
46
41
  - !ruby/object:Gem::Version
47
42
  version: '0'
48
43
  description: Ruby gem for working with the Everlapse API.
@@ -90,30 +85,26 @@ files:
90
85
  homepage: https://github.com/seesawco/lapse-rb
91
86
  licenses:
92
87
  - MIT
88
+ metadata: {}
93
89
  post_install_message:
94
90
  rdoc_options: []
95
91
  require_paths:
96
92
  - lib
97
93
  required_ruby_version: !ruby/object:Gem::Requirement
98
- none: false
99
94
  requirements:
100
- - - ! '>='
95
+ - - '>='
101
96
  - !ruby/object:Gem::Version
102
97
  version: 1.8.7
103
98
  required_rubygems_version: !ruby/object:Gem::Requirement
104
- none: false
105
99
  requirements:
106
- - - ! '>='
100
+ - - '>='
107
101
  - !ruby/object:Gem::Version
108
102
  version: '0'
109
- segments:
110
- - 0
111
- hash: -222641636099863708
112
103
  requirements: []
113
104
  rubyforge_project:
114
- rubygems_version: 1.8.23
105
+ rubygems_version: 2.0.2
115
106
  signing_key:
116
- specification_version: 3
107
+ specification_version: 4
117
108
  summary: Ruby gem for working with the Everlapse API.
118
109
  test_files:
119
110
  - test/lapse/client/clips_test.rb