Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion appengine/rails-hello_world/bin/setup
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require "fileutils"
# path to your application root.
APP_ROOT = File.expand_path "..", __dir__

def system!(*args)
def system! *args
system(*args) || abort("\n== Command #{args} failed ==")
end

Expand Down
2 changes: 1 addition & 1 deletion appengine/standard-static-files/rails/bin/setup
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ require "fileutils"
# path to your application root.
APP_ROOT = File.expand_path "..", __dir__

def system!(*args)
def system! *args
system(*args) || abort("\n== Command #{args} failed ==")
end

Expand Down
2 changes: 1 addition & 1 deletion appengine/static_files/rails/bin/setup
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ require "fileutils"
# path to your application root.
APP_ROOT = File.expand_path "..", __dir__

def system!(*args)
def system! *args
system(*args) || abort("\n== Command #{args} failed ==")
end

Expand Down
22 changes: 12 additions & 10 deletions jobs/V3/filter_search_sample.rb
Original file line number Diff line number Diff line change
Expand Up @@ -230,16 +230,18 @@ def job_discovery_compensation_search project_id:, company_name:, min_unit:, max
session_id: "HashedSessionId",
domain: "http://careers.google.com"
# Search jobs that pay between min_unit and max_unit (USD/hour)
compensation_range = jobs::CompensationRange.new max_compensation: (
jobs::Money.new currency_code: "USD",
units: max_unit,
nanos: 500_000_000
),
min_compensation: (
jobs::Money.new currency_code: "USD",
units: min_unit,
nanos: 0
)
compensation_range = jobs::CompensationRange.new(
max_compensation: jobs::Money.new(
currency_code: "USD",
units: max_unit,
nanos: 500_000_000
),
min_compensation: jobs::Money.new(
currency_code: "USD",
units: min_unit,
nanos: 0
)
)
compensation_filter = jobs::CompensationFilter.new type: "UNIT_AND_AMOUNT",
units: ["HOURLY"],
range: compensation_range
Expand Down