Skip to content

Commit b44f38b

Browse files
Merge branch 'master' into ruby3-fix
2 parents bf452c6 + 9199bbc commit b44f38b

File tree

5 files changed

+59
-10
lines changed

5 files changed

+59
-10
lines changed

.github/workflows/Semgrep.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Name of this GitHub Actions workflow.
2+
name: Semgrep
3+
4+
on:
5+
# Scan changed files in PRs (diff-aware scanning):
6+
# The branches below must be a subset of the branches above
7+
pull_request:
8+
branches: ["master", "main"]
9+
push:
10+
branches: ["master", "main"]
11+
schedule:
12+
- cron: '0 6 * * *'
13+
14+
15+
permissions:
16+
contents: read
17+
18+
jobs:
19+
semgrep:
20+
# User definable name of this GitHub Actions job.
21+
permissions:
22+
contents: read # for actions/checkout to fetch code
23+
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
24+
name: semgrep/ci
25+
# If you are self-hosting, change the following `runs-on` value:
26+
runs-on: ubuntu-latest
27+
28+
container:
29+
# A Docker image with Semgrep installed. Do not change this.
30+
image: returntocorp/semgrep
31+
32+
# Skip any PR created by dependabot to avoid permission issues:
33+
if: (github.actor != 'dependabot[bot]')
34+
35+
steps:
36+
# Fetch project source with GitHub Actions Checkout.
37+
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
38+
# Run the "semgrep ci" command on the command line of the docker image.
39+
- run: semgrep ci --sarif --output=semgrep.sarif
40+
env:
41+
# Add the rules that Semgrep uses by setting the SEMGREP_RULES environment variable.
42+
SEMGREP_RULES: p/default # more at semgrep.dev/explore
43+
44+
- name: Upload SARIF file for GitHub Advanced Security Dashboard
45+
uses: github/codeql-action/upload-sarif@6c089f53dd51dc3fc7e599c3cb5356453a52ca9e # v2.20.0
46+
with:
47+
sarif_file: semgrep.sarif
48+
if: always()

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
66

77
## [Unreleased] - yyyy-mm-dd
88

9-
## [1.4.1] - 2023-02-06
9+
## [1.4.2] - 2023-06-06
1010

11-
### Fixed
12-
Stop API in case of multiple instances on same machine
11+
### Changed
12+
Update download links

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @browserstack/local-dev

browserstack-local.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Gem::Specification.new do |s|
22
s.name = 'browserstack-local'
3-
s.version = '1.4.1'
4-
s.date = '2023-02-06'
3+
s.version = '1.4.2'
4+
s.date = '2023-06-06'
55
s.summary = "BrowserStack Local"
66
s.description = "Ruby bindings for BrowserStack Local"
77
s.authors = ["BrowserStack"]

lib/browserstack/localbinary.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ def initialize
1313
@http_path = case host_os
1414
when /mswin|msys|mingw|cygwin|bccwin|wince|emc/
1515
@windows = true
16-
"https://bstack-local-prod.s3.amazonaws.com/BrowserStackLocal.exe"
16+
"https://www.browserstack.com/local-testing/downloads/binaries/BrowserStackLocal.exe"
1717
when /darwin|mac os/
18-
"https://bstack-local-prod.s3.amazonaws.com/BrowserStackLocal-darwin-x64"
18+
"https://www.browserstack.com/local-testing/downloads/binaries/BrowserStackLocal-darwin-x64"
1919
when /linux-musl/
20-
"https://bstack-local-prod.s3.amazonaws.com/BrowserStackLocal-alpine"
20+
"https://www.browserstack.com/local-testing/downloads/binaries/BrowserStackLocal-alpine"
2121
when /linux/
2222
if 1.size == 8
23-
"https://bstack-local-prod.s3.amazonaws.com/BrowserStackLocal-linux-x64"
23+
"https://www.browserstack.com/local-testing/downloads/binaries/BrowserStackLocal-linux-x64"
2424
else
25-
"https://bstack-local-prod.s3.amazonaws.com/BrowserStackLocal-linux-ia32"
25+
"https://www.browserstack.com/local-testing/downloads/binaries/BrowserStackLocal-linux-ia32"
2626
end
2727
end
2828

0 commit comments

Comments
 (0)