mirror of
https://github.com/seejohnrun/haste-client.git
synced 2025-12-12 14:55:56 +00:00
Merge pull request #59 from toptal/no-jira-update-hastebin-urls
Update hastebin urls
This commit is contained in:
3
.bundle/config
Normal file
3
.bundle/config
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
BUNDLE_RETRY: "3"
|
||||
BUNDLE_JOBS: "4"
|
||||
23
.github/workflows/unit.yml
vendored
23
.github/workflows/unit.yml
vendored
@@ -4,8 +4,6 @@ on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches:
|
||||
- UTI-2583--adapt-haste-client-to-new-api
|
||||
|
||||
jobs:
|
||||
unit_tests:
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -4,8 +4,8 @@ require 'uri'
|
||||
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user