fixably 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/docs/customer/child.md +1 -1
- data/docs/order/line.md +4 -4
- data/docs/order/note.md +11 -4
- data/docs/order/task.md +4 -4
- data/docs/order.md +1 -1
- data/lib/fixably/resources/order.rb +2 -0
- data/lib/fixably/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00264c3855666a83f00954b1dd910b9f792d1a3a119414be7f426350b955197e
|
4
|
+
data.tar.gz: 61437237b7ba9632ef03cd623bd391517b24dfc50defeeef1af44ae1d3c0f350
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d612e5dfec11c7c4176cc268084bb69155897f60e35384250acf634a99ee75633a8543b64e19204648f178b853f2f50ce83d543e7d16e65fda63c6a0a4e22516
|
7
|
+
data.tar.gz: 7464433ad672549066cfc94450417abd149c66c0c7bd851f488425911c57aba35daac11a497991c9a8e86a413b761967d4d42f10a7697e76e09bb83d17c84eb1
|
data/Gemfile.lock
CHANGED
data/docs/customer/child.md
CHANGED
data/docs/order/line.md
CHANGED
@@ -3,15 +3,15 @@
|
|
3
3
|
## List order lines
|
4
4
|
|
5
5
|
```ruby
|
6
|
-
Fixably::Order::Line.all(order_id:
|
6
|
+
Fixably::Order::Line.all(order_id: 1_000)
|
7
7
|
```
|
8
8
|
|
9
9
|
## Get an order line
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
Fixably::Order::Line.find(
|
13
|
-
Fixably::Order::Line.first(order_id:
|
14
|
-
Fixably::Order::Line.last(order_id:
|
12
|
+
Fixably::Order::Line.find(1_000, order_id: 1_000)
|
13
|
+
Fixably::Order::Line.first(order_id: 1_000)
|
14
|
+
Fixably::Order::Line.last(order_id: 1_000)
|
15
15
|
```
|
16
16
|
|
17
17
|
## Create an order line
|
data/docs/order/note.md
CHANGED
@@ -3,15 +3,22 @@
|
|
3
3
|
## List order notes
|
4
4
|
|
5
5
|
```ruby
|
6
|
-
Fixably::Order::Note.all(order_id:
|
6
|
+
Fixably::Order::Note.all(order_id: 1_000)
|
7
|
+
```
|
8
|
+
|
9
|
+
### Include associations in a list
|
10
|
+
|
11
|
+
**Created by**
|
12
|
+
```ruby
|
13
|
+
Fixably::Order.includes(:created_by).all(order_id: 1_000)
|
7
14
|
```
|
8
15
|
|
9
16
|
## Get an order note
|
10
17
|
|
11
18
|
```ruby
|
12
|
-
Fixably::Order::Note.find(
|
13
|
-
Fixably::Order::Note.first(order_id:
|
14
|
-
Fixably::Order::Note.last(order_id:
|
19
|
+
Fixably::Order::Note.find(1_000, order_id: 1_000)
|
20
|
+
Fixably::Order::Note.first(order_id: 1_000)
|
21
|
+
Fixably::Order::Note.last(order_id: 1_000)
|
15
22
|
```
|
16
23
|
|
17
24
|
## Create an order note
|
data/docs/order/task.md
CHANGED
@@ -3,15 +3,15 @@
|
|
3
3
|
## List order tasks
|
4
4
|
|
5
5
|
```ruby
|
6
|
-
Fixably::Order::Task.all(order_id:
|
6
|
+
Fixably::Order::Task.all(order_id: 1_000)
|
7
7
|
```
|
8
8
|
|
9
9
|
## Get an order task
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
Fixably::Order::Task.find(
|
13
|
-
Fixably::Order::Task.first(order_id:
|
14
|
-
Fixably::Order::Task.last(order_id:
|
12
|
+
Fixably::Order::Task.find(1_000, order_id: 1_000)
|
13
|
+
Fixably::Order::Task.first(order_id: 1_000)
|
14
|
+
Fixably::Order::Task.last(order_id: 1_000)
|
15
15
|
```
|
16
16
|
|
17
17
|
## Create an order task
|
data/docs/order.md
CHANGED
data/lib/fixably/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fixably
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Rice
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activeresource
|