Skip to content

Commit

Permalink
Merge pull request #59 from toptal/no-jira-update-hastebin-urls
Browse files Browse the repository at this point in the history
Update hastebin urls
  • Loading branch information
yusufzmly committed Jan 31, 2023
2 parents a877692 + 34dd41e commit e213bf2
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 18 deletions.
3 changes: 3 additions & 0 deletions .bundle/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
BUNDLE_RETRY: "3"
BUNDLE_JOBS: "4"
23 changes: 11 additions & 12 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
push:
branches: [master]
pull_request:
branches:
- UTI-2583--adapt-haste-client-to-new-api

jobs:
unit_tests:
Expand All @@ -14,15 +12,16 @@ jobs:
timeout-minutes: 5

steps:
- uses: actions/checkout@v1
- uses: actions/setup-ruby@v1
with:
ruby-version: 3.0.0
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
bundler-cache: true

- name: Run bundle install
run: |
gem install bundler
bundle install --jobs 4 --retry 3
- name: Run bundle install
run: |
gem install bundler
bundle install --jobs 4 --retry 3
- name: Build and test with rspec
run: bundle exec rspec spec
- name: Build and test with rspec
run: bundle exec rspec spec
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,4 @@ uploader.upload_path '/tmp/whaaaa' # key
## Contributor License Agreement
Licensed under the [MIT](https://github.com/toptal/haste-client/blob/main/LICENSE.txt 'https://github.com/toptal/haste-client/blob/main/LICENSE.txt') license.
Licensed under the [MIT](https://github.com/toptal/haste-client/blob/master/LICENSE.txt 'https://github.com/toptal/haste-client/blob/main/LICENSE.txt') license.
6 changes: 3 additions & 3 deletions haste.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ require File.dirname(__FILE__) + '/lib/haste/version'

Gem::Specification.new do |s|
s.name = 'haste'
s.author = 'John Crepezzi'
s.author = '@toptal/marketing-tools-2-eng'
s.add_development_dependency('rspec')
s.add_dependency('json')
s.add_dependency('faraday', '~> 0.9')
s.description = 'CLI Haste Client'
s.license = 'MIT License'
s.homepage = 'https://github.com/seejohnrun/haste-client'
s.email = 'john.crepezzi@gmail.com'
s.homepage = 'https://github.com/toptal/haste-client'
s.email = 'support@toptal.com'
s.executables = 'haste'
s.files = Dir['lib/**/*.rb', 'haste']
s.platform = Gem::Platform::RUBY
Expand Down
4 changes: 2 additions & 2 deletions lib/haste/uploader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

module Haste

DEFAULT_SERVER_URL = 'https://new.hastebin.com'
DEFAULT_SHARE_SERVER_URL = 'https://new.hastebin.com'
DEFAULT_SERVER_URL = 'https://hastebin.com'
DEFAULT_SHARE_SERVER_URL = 'https://hastebin.com'

class Uploader

Expand Down

0 comments on commit e213bf2

Please sign in to comment.