1
0
mirror of https://github.com/seejohnrun/haste-client.git synced 2026-01-07 18:59:15 +00:00

9 Commits

Author SHA1 Message Date
Yusuf Yilmaz
68e0aa124f Fix readme 2023-01-16 17:36:12 +01:00
Yusuf Yilmaz
04800724cd Fix readme 2023-01-16 14:40:21 +01:00
Yusuf Yilmaz
e7bdd20ab5 Fix pr template 2023-01-16 14:37:34 +01:00
Yusuf Yilmaz
c70d5ed659 Fix 2023-01-12 18:14:30 +01:00
Yusuf Yilmaz
bb1058bae9 Add unit test workflow 2023-01-12 17:35:33 +01:00
Yusuf Yilmaz
b276682bdb Fix specs 2023-01-12 12:25:54 +01:00
Yusuf Yilmaz
651236400e Fix pr template 2023-01-12 12:01:15 +01:00
Yusuf Yilmaz
275028b082 Add pull request template 2023-01-12 11:52:49 +01:00
Yusuf Yilmaz
478c7f24b3 [UTI-2583] Adapt haste-client to the new API usage rules 2023-01-12 11:48:06 +01:00
7 changed files with 22 additions and 22 deletions

View File

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

2
.github/CODEOWNERS vendored
View File

@@ -1 +1 @@
* @toptal/marketing-tools-2-eng
* @toptal/ext-utilities-eng

View File

@@ -4,6 +4,8 @@ on:
push:
branches: [master]
pull_request:
branches:
- UTI-2583--adapt-haste-client-to-new-api
jobs:
unit_tests:
@@ -12,16 +14,15 @@ jobs:
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
bundler-cache: true
- uses: actions/checkout@v1
- uses: actions/setup-ruby@v1
with:
ruby-version: 3.0.0
- 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

View File

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

View File

@@ -3,14 +3,14 @@ require File.dirname(__FILE__) + '/lib/haste/version'
Gem::Specification.new do |s|
s.name = 'haste'
s.author = 'Toptal'
s.author = 'John Crepezzi'
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/toptal/haste-client'
s.email = 'open-source@toptal.com'
s.homepage = 'https://github.com/seejohnrun/haste-client'
s.email = 'john.crepezzi@gmail.com'
s.executables = 'haste'
s.files = Dir['lib/**/*.rb', 'haste']
s.platform = Gem::Platform::RUBY

View File

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

View File

@@ -1,3 +1,5 @@
module Haste
VERSION = '0.3.0'
VERSION = '0.2.3'
end