webshot 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZGRkM2Q3YTg5YjkyOTkyMTAyOWQ5MzZkMWYzYTQxMDVlZTk0NDljMw==
5
+ data.tar.gz: !binary |-
6
+ Nzc2ODBkNGJjMDZkNjdjZWY4N2MxZTc3Y2ExOTA1ZTk5YWU5N2VhNQ==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ MmMyZDk5MjkwZGRmNzRiZmIyNGEzM2FmYjk0NzFjZWM3N2JhOTA2NDM3Yzk2
10
+ OTdiYmExZThjZDRjNDBkY2Q4ZDVlZmY5Nzc5Yzg5YWMyYTZkMTg1NTk2ZGFm
11
+ MzJkMzFkMDk0MzBkZTVlN2Y2NjQzZDQ5NTJmYzU4ZGQ0NmY0MGQ=
12
+ data.tar.gz: !binary |-
13
+ NGYwNWRkZjEzODUwZTY5MDE3Y2UzNWQ1YzJkMGNjNTIzZTA1N2I4ODU0ZmFj
14
+ NmM5ZWQ5ZmNhZGMyZjFmOThjODhmZTZjZjc5ZmQ5OWMyODQzYTU3YzU4M2Nm
15
+ ODgwOGJjYzI2MzEyYjNiYjk0OWY5YTNlM2VkMjQ3ZWJmYTljMDk=
data/.gitignore CHANGED
@@ -16,6 +16,7 @@ test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
18
  .ruby-version
19
+ .ruby-gemset
19
20
  test/data/*
20
21
 
21
22
  # Vim
data/lib/webshot.rb CHANGED
@@ -1,7 +1,9 @@
1
1
  require "mini_magick"
2
2
  require "capybara/dsl"
3
3
  require "capybara/poltergeist"
4
+ require "active_support"
4
5
  require "active_support/core_ext"
6
+ require "active_support/deprecation"
5
7
  require "webshot/version"
6
8
  require "webshot/errors"
7
9
  require "webshot/screenshot"
@@ -1,3 +1,3 @@
1
1
  module Webshot
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
data/webshot.gemspec CHANGED
@@ -20,9 +20,10 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_development_dependency "bundler", "~> 1.3"
22
22
  spec.add_development_dependency "rake"
23
+ spec.add_development_dependency "minitest", "~> 4.0"
23
24
 
24
25
  spec.add_dependency "activesupport"
25
- spec.add_dependency "poltergeist", "~> 1.3.0"
26
- spec.add_dependency "faye-websocket", "= 0.4.7"
27
- spec.add_dependency "mini_magick", "~> 3.6.0"
26
+ spec.add_dependency "poltergeist", "~> 1.5.0"
27
+ spec.add_dependency "faye-websocket", "~> 0.7.3"
28
+ spec.add_dependency "mini_magick", "~> 3.7.0"
28
29
  end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webshot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
5
- prerelease:
4
+ version: 0.0.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - Vitalie Cherpec
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-02-11 00:00:00.000000000 Z
11
+ date: 2014-05-22 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ! '>='
36
32
  - !ruby/object:Gem::Version
@@ -38,15 +34,27 @@ dependencies:
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ! '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '4.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '4.0'
46
55
  - !ruby/object:Gem::Dependency
47
56
  name: activesupport
48
57
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
58
  requirements:
51
59
  - - ! '>='
52
60
  - !ruby/object:Gem::Version
@@ -54,7 +62,6 @@ dependencies:
54
62
  type: :runtime
55
63
  prerelease: false
56
64
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
65
  requirements:
59
66
  - - ! '>='
60
67
  - !ruby/object:Gem::Version
@@ -62,51 +69,45 @@ dependencies:
62
69
  - !ruby/object:Gem::Dependency
63
70
  name: poltergeist
64
71
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
72
  requirements:
67
73
  - - ~>
68
74
  - !ruby/object:Gem::Version
69
- version: 1.3.0
75
+ version: 1.5.0
70
76
  type: :runtime
71
77
  prerelease: false
72
78
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
79
  requirements:
75
80
  - - ~>
76
81
  - !ruby/object:Gem::Version
77
- version: 1.3.0
82
+ version: 1.5.0
78
83
  - !ruby/object:Gem::Dependency
79
84
  name: faye-websocket
80
85
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
86
  requirements:
83
- - - '='
87
+ - - ~>
84
88
  - !ruby/object:Gem::Version
85
- version: 0.4.7
89
+ version: 0.7.3
86
90
  type: :runtime
87
91
  prerelease: false
88
92
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
93
  requirements:
91
- - - '='
94
+ - - ~>
92
95
  - !ruby/object:Gem::Version
93
- version: 0.4.7
96
+ version: 0.7.3
94
97
  - !ruby/object:Gem::Dependency
95
98
  name: mini_magick
96
99
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
100
  requirements:
99
101
  - - ~>
100
102
  - !ruby/object:Gem::Version
101
- version: 3.6.0
103
+ version: 3.7.0
102
104
  type: :runtime
103
105
  prerelease: false
104
106
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
107
  requirements:
107
108
  - - ~>
108
109
  - !ruby/object:Gem::Version
109
- version: 3.6.0
110
+ version: 3.7.0
110
111
  description: Captures a web page as a screenshot using Poltergeist, Capybara and PhantomJS
111
112
  email:
112
113
  - vitalie@penguin.ro
@@ -130,27 +131,26 @@ files:
130
131
  homepage: https://github.com/vitalie/webshot
131
132
  licenses:
132
133
  - MIT
134
+ metadata: {}
133
135
  post_install_message:
134
136
  rdoc_options: []
135
137
  require_paths:
136
138
  - lib
137
139
  required_ruby_version: !ruby/object:Gem::Requirement
138
- none: false
139
140
  requirements:
140
141
  - - ! '>='
141
142
  - !ruby/object:Gem::Version
142
143
  version: '0'
143
144
  required_rubygems_version: !ruby/object:Gem::Requirement
144
- none: false
145
145
  requirements:
146
146
  - - ! '>='
147
147
  - !ruby/object:Gem::Version
148
148
  version: '0'
149
149
  requirements: []
150
150
  rubyforge_project:
151
- rubygems_version: 1.8.24
151
+ rubygems_version: 2.2.2
152
152
  signing_key:
153
- specification_version: 3
153
+ specification_version: 4
154
154
  summary: Captures a web page as a screenshot
155
155
  test_files:
156
156
  - test/test_helper.rb