-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathperchfall.gemspec
More file actions
55 lines (45 loc) · 1.77 KB
/
perchfall.gemspec
File metadata and controls
55 lines (45 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# frozen_string_literal: true
require_relative 'lib/perchfall/version'
Gem::Specification.new do |spec|
spec.name = 'perchfall'
spec.version = Perchfall::VERSION
spec.authors = ['Jim Remsik']
spec.email = ['jim@beflagrant.com']
spec.summary = 'Synthetic browser monitoring and uptime checks via Playwright'
spec.description = <<~DESC
Run headless browser checks against any URL using Playwright.
Detects page-load failures, console errors, and network errors,
returning a structured Ruby report object. Framework-agnostic
and CI-friendly.
DESC
spec.homepage = 'https://github.com/beflagrant/perchfall'
spec.license = 'MIT'
spec.metadata = {
'homepage_uri' => spec.homepage,
'source_code_uri' => 'https://github.com/beflagrant/perchfall',
'changelog_uri' => 'https://github.com/beflagrant/perchfall/blob/main/CHANGELOG.md',
'bug_tracker_uri' => 'https://github.com/beflagrant/perchfall/issues',
'rubygems_mfa_required' => 'true'
}
spec.required_ruby_version = '>= 3.2.0'
spec.files = Dir[
'lib/**/*',
'playwright/**/*',
'README.md',
'CHANGELOG.md',
'LICENSE.txt',
'perchfall.gemspec'
].reject { |f| File.directory?(f) }
spec.require_paths = ['lib']
spec.post_install_message = <<~MSG
perchfall requires Node.js and Playwright to run browser checks.
After installing this gem, run:
npm install playwright
npx playwright install chromium
MSG
# json is in stdlib but declared explicitly so bundler resolves it correctly
spec.add_dependency 'json', '>= 2.0'
spec.add_development_dependency 'rspec', '~> 3.13'
spec.add_development_dependency 'rubocop', '~> 1.70'
spec.add_development_dependency 'simplecov', '~> 0.22'
end