browshot 1.9.0 → 1.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Rakefile +1 -1
  2. data/VERSION +1 -1
  3. data/lib/browshot.rb +1 -1
  4. metadata +21 -29
data/Rakefile CHANGED
@@ -18,7 +18,7 @@ Jeweler::Tasks.new do |gem|
18
18
  gem.homepage = "http://github.com/juliensobrier/browshot-ruby"
19
19
  gem.license = "MIT"
20
20
  gem.summary = "Ruby library for Browshot (L<http://www.browshot.com/>), a web service to create website screenshots."
21
- gem.description = "Browshot (http://www.browshot.com/) is a web service to easily make screenshots of web pages in any screen size, as any device: iPhone©, iPad©, Android©, Nook©, PC, etc. Browshot has full Flash, JavaScript, CSS, & HTML5 support. The latest API version is detailed at http://browshot.com/api/documentation. browshot.rb follows the API documentation very closely: the function names are similar to the URLs used (screenshot/create becomes screenshot_create(), instance/list becomes instance_list(), etc.), the request arguments are exactly the same, etc. The library version matches closely the API version it handles: browshot 1.0.0 is the first release for the API 1.0, browshot 1.1.1 is the second release for the API 1.1, etc. browshot.rb can handle most the API updates within the same major version, e.g. browshot.rb 1.0.0 should be compatible with the API 1.1 or 1.2."
21
+ gem.description = "Browshot (http://www.browshot.com/) is a web service to easily make screenshots of web pages in any screen size, as any device: iPhone, iPad, Android, Nook©, PC, etc. The latest API version is detailed at http://browshot.com/api/documentation."
22
22
  gem.email = "julien@sobrier.net"
23
23
  gem.authors = ["Julien Sobrier"]
24
24
  # dependencies defined in Gemfile
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.0
1
+ 1.9.1
data/lib/browshot.rb CHANGED
@@ -161,7 +161,7 @@ class Browshot
161
161
  # Share a screenshot. See http://browshot.com/api/documentation#screenshot_share for the response format.
162
162
  #
163
163
  # +id+:: screenshot ID
164
- def screenshot_share(id=0,, parameters={})
164
+ def screenshot_share(id=0, parameters={})
165
165
  parameters[:id] = id
166
166
  return return_reply('screenshot/share', parameters)
167
167
  end
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.0
4
+ version: 1.9.1
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-05-19 00:00:00.000000000 Z
12
+ date: 2012-06-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
16
- requirement: &8733020 !ruby/object:Gem::Requirement
16
+ requirement: &221220340 !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: *8733020
24
+ version_requirements: *221220340
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: url
27
- requirement: &9076540 !ruby/object:Gem::Requirement
27
+ requirement: &221219560 !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: *9076540
35
+ version_requirements: *221219560
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: json
38
- requirement: &9075840 !ruby/object:Gem::Requirement
38
+ requirement: &221218880 !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: *9075840
46
+ version_requirements: *221218880
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: url
49
- requirement: &9075120 !ruby/object:Gem::Requirement
49
+ requirement: &221218200 !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: *9075120
57
+ version_requirements: *221218200
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: shoulda
60
- requirement: &9074340 !ruby/object:Gem::Requirement
60
+ requirement: &221965280 !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: *9074340
68
+ version_requirements: *221965280
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bundler
71
- requirement: &9073580 !ruby/object:Gem::Requirement
71
+ requirement: &221964600 !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: *9073580
79
+ version_requirements: *221964600
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: jeweler
82
- requirement: &9072840 !ruby/object:Gem::Requirement
82
+ requirement: &221963820 !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: *9072840
90
+ version_requirements: *221963820
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: rcov
93
- requirement: &9072020 !ruby/object:Gem::Requirement
93
+ requirement: &221962900 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,18 +98,10 @@ dependencies:
98
98
  version: '0'
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *9072020
101
+ version_requirements: *221962900
102
102
  description: ! 'Browshot (http://www.browshot.com/) is a web service to easily make
103
- screenshots of web pages in any screen size, as any device: iPhone©, iPad©, Android©,
104
- Nook©, PC, etc. Browshot has full Flash, JavaScript, CSS, & HTML5 support. The latest
105
- API version is detailed at http://browshot.com/api/documentation. browshot.rb follows
106
- the API documentation very closely: the function names are similar to the URLs used
107
- (screenshot/create becomes screenshot_create(), instance/list becomes instance_list(),
108
- etc.), the request arguments are exactly the same, etc. The library version matches
109
- closely the API version it handles: browshot 1.0.0 is the first release for the
110
- API 1.0, browshot 1.1.1 is the second release for the API 1.1, etc. browshot.rb
111
- can handle most the API updates within the same major version, e.g. browshot.rb
112
- 1.0.0 should be compatible with the API 1.1 or 1.2.'
103
+ screenshots of web pages in any screen size, as any device: iPhone, iPad, Android,
104
+ Nook©, PC, etc. The latest API version is detailed at http://browshot.com/api/documentation.'
113
105
  email: julien@sobrier.net
114
106
  executables: []
115
107
  extensions: []
@@ -141,7 +133,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
141
133
  version: '0'
142
134
  segments:
143
135
  - 0
144
- hash: 1411534867223793376
136
+ hash: 2202723291932562737
145
137
  required_rubygems_version: !ruby/object:Gem::Requirement
146
138
  none: false
147
139
  requirements: