paxful_engine-rails 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/paxful_engine/factories.rb +16 -0
- data/lib/paxful_engine/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a8eb298ea0c209e4536008d41eaea8d8f8290ebe238bf4c4788d2fcb79dc81a
|
4
|
+
data.tar.gz: d1875e3a006fed12babdc0c60d1bd88601de09358067def092511f2853beb7a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4300ebed063c0ea02f589c79014dcab945eb0b626b307a375c5c7579661f6824ebdd9f4dea60b6bd457342018e9bd2ca0ccdb90a7a3d0410971c2e29b18d2ab5
|
7
|
+
data.tar.gz: ed060a7c6d0ef44422186eb219bba05ba8c2abd605d3511205caea16add0b7c5ba9bc9c9da76e1b280cdde969f791bbe3b0cbfb8cf37b25d46230aec761e4929
|
@@ -0,0 +1,16 @@
|
|
1
|
+
FactoryBot.define do
|
2
|
+
|
3
|
+
factory :paxful_engine_trade, class: "PaxfulEngine::Trade" do
|
4
|
+
trade_hash { "trade-hash" }
|
5
|
+
offer_hash { "offer-hash" }
|
6
|
+
offer_type { "buy" }
|
7
|
+
crypto_amount_requested { 0.05 }
|
8
|
+
crypto_currency_code { "BTC" }
|
9
|
+
fiat_amount_requested { 1_000 }
|
10
|
+
fiat_currency_code { "PHP" }
|
11
|
+
started_at { Time.current }
|
12
|
+
ended_at { Time.current + 2.days }
|
13
|
+
status { "successful" }
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paxful_engine-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Chavez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem_config
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '2.5'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: factory_bot_rails
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
@@ -194,6 +194,7 @@ files:
|
|
194
194
|
- lib/paxful_engine-rails.rb
|
195
195
|
- lib/paxful_engine.rb
|
196
196
|
- lib/paxful_engine/engine.rb
|
197
|
+
- lib/paxful_engine/factories.rb
|
197
198
|
- lib/paxful_engine/version.rb
|
198
199
|
- lib/tasks/paxful_engine_tasks.rake
|
199
200
|
homepage: https://github.com/bloom-solutions/paxful_engine-rails
|