browshot 1.9.1 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/browshot.rb +8 -0
  3. metadata +19 -19
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.1
1
+ 1.10.0
@@ -166,6 +166,14 @@ class Browshot
166
166
  return return_reply('screenshot/share', parameters)
167
167
  end
168
168
 
169
+ # Delete details of a screenshot. See http://browshot.com/api/documentation#screenshot_delete for the response format.
170
+ #
171
+ # +id+:: screenshot ID
172
+ def screenshot_delete(id=0, parameters={})
173
+ parameters[:id] = id
174
+ return return_reply('screenshot/delete', parameters)
175
+ end
176
+
169
177
 
170
178
  # Retrieve the screenshot, or a thumbnail, and save it to a file. See http://browshot.com/api/documentation#screenshot_thumbnails for the response format.
171
179
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: browshot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.1
4
+ version: 1.10.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-01 00:00:00.000000000 Z
12
+ date: 2012-10-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
16
- requirement: &221220340 !ruby/object:Gem::Requirement
16
+ requirement: &215834040 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *221220340
24
+ version_requirements: *215834040
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: url
27
- requirement: &221219560 !ruby/object:Gem::Requirement
27
+ requirement: &215833300 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *221219560
35
+ version_requirements: *215833300
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: json
38
- requirement: &221218880 !ruby/object:Gem::Requirement
38
+ requirement: &215832600 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *221218880
46
+ version_requirements: *215832600
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: url
49
- requirement: &221218200 !ruby/object:Gem::Requirement
49
+ requirement: &215831900 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *221218200
57
+ version_requirements: *215831900
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: shoulda
60
- requirement: &221965280 !ruby/object:Gem::Requirement
60
+ requirement: &217283560 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *221965280
68
+ version_requirements: *217283560
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bundler
71
- requirement: &221964600 !ruby/object:Gem::Requirement
71
+ requirement: &217282880 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: 1.0.0
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *221964600
79
+ version_requirements: *217282880
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: jeweler
82
- requirement: &221963820 !ruby/object:Gem::Requirement
82
+ requirement: &217282160 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ~>
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: 1.6.4
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *221963820
90
+ version_requirements: *217282160
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: rcov
93
- requirement: &221962900 !ruby/object:Gem::Requirement
93
+ requirement: &217281260 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,7 +98,7 @@ dependencies:
98
98
  version: '0'
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *221962900
101
+ version_requirements: *217281260
102
102
  description: ! 'Browshot (http://www.browshot.com/) is a web service to easily make
103
103
  screenshots of web pages in any screen size, as any device: iPhone, iPad, Android,
104
104
  Nook©, PC, etc. The latest API version is detailed at http://browshot.com/api/documentation.'
@@ -133,7 +133,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
133
133
  version: '0'
134
134
  segments:
135
135
  - 0
136
- hash: 2202723291932562737
136
+ hash: -608764482714379924
137
137
  required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  none: false
139
139
  requirements: