rspec_screenshot_dashboard 0.1.0.beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3 @@
1
+ module RspecScreenshotDashboard
2
+ VERSION = "0.1.0.beta"
3
+ end
@@ -0,0 +1,29 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "rspec_screenshot_dashboard/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "rspec_screenshot_dashboard"
8
+ spec.version = RspecScreenshotDashboard::VERSION
9
+ spec.authors = ["Stefan Wienert"]
10
+ spec.email = ["info@stefanwienert.de"]
11
+
12
+ spec.summary = 'Hooks into Capybara/Selenium and takes screenshots before/after each click in all tests and generates an dashboard/overview to compare/check for design probs'
13
+ spec.description = "Hooks into RSpec and makes browser screenshots in all js-feature specs. It works, by hooking into Capybara's click_on, click_button, etc. methods and will make a screenshot before and after each click. After all tests run, it will generate a report page, default under public/screenshot_overview (which can conveniently be viewed through the dev server: http://localhost:3000/screenshot_overview/)."
14
+ spec.homepage = "https://github.com/zealot128/ruby-rspec_screenshot_dashboard"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+
20
+ spec.files = `git ls-files -z`.split("\x0").select { |f|
21
+ !f.match(%r{^(bin|test|spec|features)/}) && (!f[/^dashboard/] || f[%r{dashboard/dist}])
22
+ }
23
+ spec.bindir = "exe"
24
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
+ spec.require_paths = ["lib"]
26
+
27
+ spec.add_development_dependency "bundler", "~> 1.16"
28
+ spec.add_development_dependency "rake", "~> 10.0"
29
+ end
metadata ADDED
@@ -0,0 +1,100 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rspec_screenshot_dashboard
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0.beta
5
+ platform: ruby
6
+ authors:
7
+ - Stefan Wienert
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-05-18 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.16'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.16'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description: 'Hooks into RSpec and makes browser screenshots in all js-feature specs.
42
+ It works, by hooking into Capybara''s click_on, click_button, etc. methods and will
43
+ make a screenshot before and after each click. After all tests run, it will generate
44
+ a report page, default under public/screenshot_overview (which can conveniently
45
+ be viewed through the dev server: http://localhost:3000/screenshot_overview/).'
46
+ email:
47
+ - info@stefanwienert.de
48
+ executables: []
49
+ extensions: []
50
+ extra_rdoc_files: []
51
+ files:
52
+ - ".gitignore"
53
+ - Gemfile
54
+ - Gemfile.lock
55
+ - LICENSE.txt
56
+ - README.md
57
+ - Rakefile
58
+ - dashboard/dist/css/app.e817cdae.css
59
+ - dashboard/dist/css/vendors~app.0.7c26e640.css
60
+ - dashboard/dist/favicon.ico
61
+ - dashboard/dist/index.html
62
+ - dashboard/dist/index.json
63
+ - dashboard/dist/js/app.fd15c61a.js
64
+ - dashboard/dist/js/app.fd15c61a.js.map
65
+ - dashboard/dist/js/vendors~app.a6340757.js
66
+ - dashboard/dist/js/vendors~app.a6340757.js.map
67
+ - lib/rspec_screenshot_dashboard.rb
68
+ - lib/rspec_screenshot_dashboard/adapters/rspec.rb
69
+ - lib/rspec_screenshot_dashboard/capybara_node_patch.rb
70
+ - lib/rspec_screenshot_dashboard/capybara_patch.rb
71
+ - lib/rspec_screenshot_dashboard/manager.rb
72
+ - lib/rspec_screenshot_dashboard/screenshot.rb
73
+ - lib/rspec_screenshot_dashboard/version.rb
74
+ - rspec_screenshot_dashboard.gemspec
75
+ homepage: https://github.com/zealot128/ruby-rspec_screenshot_dashboard
76
+ licenses:
77
+ - MIT
78
+ metadata: {}
79
+ post_install_message:
80
+ rdoc_options: []
81
+ require_paths:
82
+ - lib
83
+ required_ruby_version: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ required_rubygems_version: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ">"
91
+ - !ruby/object:Gem::Version
92
+ version: 1.3.1
93
+ requirements: []
94
+ rubyforge_project:
95
+ rubygems_version: 2.6.13
96
+ signing_key:
97
+ specification_version: 4
98
+ summary: Hooks into Capybara/Selenium and takes screenshots before/after each click
99
+ in all tests and generates an dashboard/overview to compare/check for design probs
100
+ test_files: []