1
0
mirror of https://github.com/seejohnrun/haste-client.git synced 2025-12-22 03:21:28 +00:00

Merge pull request #59 from toptal/no-jira-update-hastebin-urls

Update hastebin urls
This commit is contained in:
Yusuf Yilmaz
2023-01-31 12:26:38 +03:00
committed by GitHub
5 changed files with 20 additions and 18 deletions

3
.bundle/config Normal file
View File

@@ -0,0 +1,3 @@
---
BUNDLE_RETRY: "3"
BUNDLE_JOBS: "4"

View File

@@ -4,8 +4,6 @@ on:
push: push:
branches: [master] branches: [master]
pull_request: pull_request:
branches:
- UTI-2583--adapt-haste-client-to-new-api
jobs: jobs:
unit_tests: unit_tests:
@@ -14,10 +12,11 @@ jobs:
timeout-minutes: 5 timeout-minutes: 5
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v3
- uses: actions/setup-ruby@v1 - uses: ruby/setup-ruby@v1
with: with:
ruby-version: 3.0.0 ruby-version: '3.0'
bundler-cache: true
- name: Run bundle install - name: Run bundle install
run: | run: |

View File

@@ -131,4 +131,4 @@ uploader.upload_path '/tmp/whaaaa' # key
## Contributor License Agreement ## 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.

View File

@@ -3,14 +3,14 @@ require File.dirname(__FILE__) + '/lib/haste/version'
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = 'haste' s.name = 'haste'
s.author = 'John Crepezzi' s.author = '@toptal/marketing-tools-2-eng'
s.add_development_dependency('rspec') s.add_development_dependency('rspec')
s.add_dependency('json') s.add_dependency('json')
s.add_dependency('faraday', '~> 0.9') s.add_dependency('faraday', '~> 0.9')
s.description = 'CLI Haste Client' s.description = 'CLI Haste Client'
s.license = 'MIT License' s.license = 'MIT License'
s.homepage = 'https://github.com/seejohnrun/haste-client' s.homepage = 'https://github.com/toptal/haste-client'
s.email = 'john.crepezzi@gmail.com' s.email = 'support@toptal.com'
s.executables = 'haste' s.executables = 'haste'
s.files = Dir['lib/**/*.rb', 'haste'] s.files = Dir['lib/**/*.rb', 'haste']
s.platform = Gem::Platform::RUBY s.platform = Gem::Platform::RUBY

View File

@@ -4,8 +4,8 @@ require 'uri'
module Haste module Haste
DEFAULT_SERVER_URL = 'https://new.hastebin.com' DEFAULT_SERVER_URL = 'https://hastebin.com'
DEFAULT_SHARE_SERVER_URL = 'https://new.hastebin.com' DEFAULT_SHARE_SERVER_URL = 'https://hastebin.com'
class Uploader class Uploader