dashing-screenshots 0.0.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f9e3a4fc1a80ac739be2561a7f09b693b7b2abc8
4
- data.tar.gz: a4b367ae472ed7d1a4827b9d688a2802a284fba6
3
+ metadata.gz: 3b7f5e4956b9668bdf5551820b99d24c3897f6ac
4
+ data.tar.gz: e79c75cdead4086b920e51465dd245425232794a
5
5
  SHA512:
6
- metadata.gz: 83a280fdf5d9131f3427db3fa2c93d0eed8d3175d3650f00cf2dcd39b709d91a803165715bccd9c3cb1a278b6a5167059bcee07b83d425ef666a8c35571c73cc
7
- data.tar.gz: d3c364642180ce246472e61c723f51119c7d1c15afbdc8ad046f271e3e52f8cf859474e1eec8a839b76840c5daaabecc143b0bdf4f32db2aff85e9bfdf2fbffd
6
+ metadata.gz: 364e7edc1bb3eeaaf466b581acd70e4dcfedb499762e030e2c8c375512a1d520788bff2c593f9d6f007a6a934e2f0d3ea1759ea5035396057830308182530770
7
+ data.tar.gz: 0ff14f0f9d3c16d6358e43c275d7b2ade083bda0d7372001b0deb15e883dac932b152952d82dde81a39cf7245d4d6ae02c7b67edfa5f1f0c7668f1e1c5ac944c
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["brian@bleonard.com"]
11
11
  spec.summary = %q{Take screenshots of your Dashing dashboards.}
12
12
  spec.description = %q{}
13
- spec.homepage = ""
13
+ spec.homepage = "https://github.com/taskrabbit/dashing-screenshots"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0")
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
 
22
- spec.add_dependency 'selenium-webdriver'
22
+ spec.add_dependency 'selenium-webdriver', "~> 2"
23
23
  spec.add_development_dependency "bundler", "~> 1.6"
24
24
  spec.add_development_dependency "rake"
25
25
  end
@@ -25,6 +25,7 @@ module Dashing
25
25
 
26
26
  def snap(path)
27
27
  puts "Fetching #{path}" if @options[:log]
28
+ @driver.manage.window.resize_to(50,200)
28
29
  @driver.navigate.to "http://localhost:3030/#{path}"
29
30
  filename = File.join(@directory, "#{path.gsub("/", "__")}.png")
30
31
  puts " saving: #{filename}" if @options[:log]
@@ -1,5 +1,5 @@
1
1
  module Dashing
2
2
  module Screenshots
3
- VERSION = "0.0.1"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dashing-screenshots
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Leonard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-03 00:00:00.000000000 Z
11
+ date: 2015-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: selenium-webdriver
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.6'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.6'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description: ''
@@ -59,7 +59,7 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
- - .gitignore
62
+ - ".gitignore"
63
63
  - Gemfile
64
64
  - LICENSE.txt
65
65
  - README.md
@@ -69,7 +69,7 @@ files:
69
69
  - lib/dashing_screenshots/screenshot.rb
70
70
  - lib/dashing_screenshots/version.rb
71
71
  - sampletv.png
72
- homepage: ''
72
+ homepage: https://github.com/taskrabbit/dashing-screenshots
73
73
  licenses:
74
74
  - MIT
75
75
  metadata: {}
@@ -79,19 +79,18 @@ require_paths:
79
79
  - lib
80
80
  required_ruby_version: !ruby/object:Gem::Requirement
81
81
  requirements:
82
- - - '>='
82
+ - - ">="
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  requirements: []
91
91
  rubyforge_project:
92
- rubygems_version: 2.0.3
92
+ rubygems_version: 2.2.2
93
93
  signing_key:
94
94
  specification_version: 4
95
95
  summary: Take screenshots of your Dashing dashboards.
96
96
  test_files: []
97
- has_rdoc: