-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
55dbde6
commit b40b9a3
Showing
29 changed files
with
133 additions
and
184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
version: 2.1 | ||
orbs: | ||
ruby: circleci/[email protected] | ||
|
||
jobs: | ||
build: | ||
docker: | ||
- image: circleci/ruby:2.6.3-stretch-node | ||
executor: ruby/default | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- yookassa-bundle-{{ checksum "Gemfile.lock" }} | ||
- yookassa-bundle- | ||
- run: | ||
name: Install dependencies | ||
command: | | ||
bundle check || bundle install --jobs=4 --retry=3 --path vendor/bundle | ||
- save_cache: | ||
paths: | ||
- ./vendor/bundle | ||
key: yookassa-bundle-{{ checksum "Gemfile.lock" }} | ||
|
||
- run: | ||
name: Run tests | ||
command: | | ||
bundle exec rspec --profile 10 --format progress |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'evil/client' | ||
|
||
require 'yookassa/version' | ||
require 'yookassa/payment' | ||
require 'yookassa/refund' | ||
require 'yookassa/response' | ||
require 'yookassa/callable' | ||
require 'yookassa/optional' | ||
require 'yookassa/entity/payment' | ||
require 'yookassa/entity/refund' | ||
require 'yookassa/error' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# frozen_string_literal: true | ||
|
||
module YandexCheckout | ||
module Yookassa | ||
module Callable | ||
def call(*args) | ||
new(*args) | ||
|
6 changes: 3 additions & 3 deletions
6
lib/yandex-checkout/entity/amount.rb → lib/yookassa/entity/amount.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
lib/yandex-checkout/entity/card.rb → lib/yookassa/entity/card.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
lib/yandex-checkout/entity/confirmation.rb → lib/yookassa/entity/confirmation.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.