url2png 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
@@ -46,7 +46,7 @@ module Url2png
46
46
  end
47
47
 
48
48
  def api_version
49
- @api_version || 'v4' #default: v4
49
+ @api_version || 'v6' #default: v6
50
50
  end
51
51
 
52
52
  def default_size=default_size
@@ -70,7 +70,7 @@ module Url2png
70
70
  when 'v6'
71
71
  ######
72
72
  # v6 #
73
- # http://beta.url2png.com/v6/<APIKEY>/<TOKEN>/png/?url=google.com
73
+ # http://api.url2png.com/v6/<APIKEY>/<TOKEN>/png/?url=google.com
74
74
  ######
75
75
 
76
76
  # check for unavailable options
@@ -114,7 +114,7 @@ module Url2png
114
114
  token = Url2png.token query_string
115
115
 
116
116
 
117
- "http://beta.url2png.com/v6/#{Url2png.api_key}/#{token}/png/?#{query_string}"
117
+ "http://api.url2png.com/v6/#{Url2png.api_key}/#{token}/png/?#{query_string}"
118
118
 
119
119
  when 'v4'
120
120
  ######
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "url2png"
8
- s.version = "0.3.1"
8
+ s.version = "0.3.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["robinhoudmeyers", "wout fierens", "fuzzyalej", "ceritium", "lukemelia"]
12
- s.date = "2012-08-14"
12
+ s.date = "2012-08-21"
13
13
  s.description = "Generate screenshots from websites almost instantly at any preferred size using ruby and the url2png.com API"
14
14
  s.email = "houdmeyers@gmail.com"
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: url2png
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,11 +13,11 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2012-08-14 00:00:00.000000000 Z
16
+ date: 2012-08-21 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: rspec
20
- requirement: &70337114355240 !ruby/object:Gem::Requirement
20
+ requirement: &70184748165200 !ruby/object:Gem::Requirement
21
21
  none: false
22
22
  requirements:
23
23
  - - ~>
@@ -25,10 +25,10 @@ dependencies:
25
25
  version: 2.6.0
26
26
  type: :development
27
27
  prerelease: false
28
- version_requirements: *70337114355240
28
+ version_requirements: *70184748165200
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: bundler
31
- requirement: &70337114354700 !ruby/object:Gem::Requirement
31
+ requirement: &70184748182360 !ruby/object:Gem::Requirement
32
32
  none: false
33
33
  requirements:
34
34
  - - ~>
@@ -36,10 +36,10 @@ dependencies:
36
36
  version: 1.1.3
37
37
  type: :development
38
38
  prerelease: false
39
- version_requirements: *70337114354700
39
+ version_requirements: *70184748182360
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: jeweler
42
- requirement: &70337114354220 !ruby/object:Gem::Requirement
42
+ requirement: &70184748181840 !ruby/object:Gem::Requirement
43
43
  none: false
44
44
  requirements:
45
45
  - - ~>
@@ -47,10 +47,10 @@ dependencies:
47
47
  version: 1.8.3
48
48
  type: :development
49
49
  prerelease: false
50
- version_requirements: *70337114354220
50
+ version_requirements: *70184748181840
51
51
  - !ruby/object:Gem::Dependency
52
52
  name: rcov
53
- requirement: &70337114353720 !ruby/object:Gem::Requirement
53
+ requirement: &70184748181320 !ruby/object:Gem::Requirement
54
54
  none: false
55
55
  requirements:
56
56
  - - ! '>='
@@ -58,10 +58,10 @@ dependencies:
58
58
  version: '0'
59
59
  type: :development
60
60
  prerelease: false
61
- version_requirements: *70337114353720
61
+ version_requirements: *70184748181320
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: rspec
64
- requirement: &70337114353200 !ruby/object:Gem::Requirement
64
+ requirement: &70184748180840 !ruby/object:Gem::Requirement
65
65
  none: false
66
66
  requirements:
67
67
  - - ! '>'
@@ -69,7 +69,7 @@ dependencies:
69
69
  version: 2.6.0
70
70
  type: :development
71
71
  prerelease: false
72
- version_requirements: *70337114353200
72
+ version_requirements: *70184748180840
73
73
  description: Generate screenshots from websites almost instantly at any preferred
74
74
  size using ruby and the url2png.com API
75
75
  email: houdmeyers@gmail.com
@@ -112,7 +112,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
112
112
  version: '0'
113
113
  segments:
114
114
  - 0
115
- hash: 1894113596075630694
115
+ hash: -3210573075945390870
116
116
  required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  none: false
118
118
  requirements: