activerecord-shipworks 0.1.4 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +38 -0
- data/app/models/shipworks/shipment.rb +1 -0
- data/app/models/shipworks/ups_package.rb +5 -0
- data/lib/shipworks/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63acd83e8ed7e3e4dbce05b0141da6d86a43482373a12fc3f8d4f50610383e5f
|
4
|
+
data.tar.gz: b0b169a625baa98a9a761dbbc245a66d9ba4fc8a1fe372f5eed31ee6db4753e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 218c89a1477c3d1342b2ca2c3bd1dc05806ba31484d18609fffd19e1f4f66ef7d7d270e6f9d98ffb0a88781ca6af3a565208438a7d2f2b1639a06f0a997faeed
|
7
|
+
data.tar.gz: 5bf693cb737860ff49c41e3204cdae2de6fbcefd82f77bca8a89747e64dd65973845e43064250f5ce506da2425a0360cc331b3086d33eb965cb74711ae6ba9cd
|
data/README.md
CHANGED
@@ -22,6 +22,44 @@ You may query Shipworks data as any other ActiveRecord class:
|
|
22
22
|
Shipworks::Order.order(:OrderDate).last(10)
|
23
23
|
```
|
24
24
|
|
25
|
+
## Available Models
|
26
|
+
* Order
|
27
|
+
* OrderItem
|
28
|
+
* OrderItemAttribute
|
29
|
+
* OrderCharge
|
30
|
+
* Note
|
31
|
+
* Shipment
|
32
|
+
* Store
|
33
|
+
* UpsPackage
|
34
|
+
* User
|
35
|
+
|
36
|
+
### ER Diagram
|
37
|
+
```
|
38
|
+
+---------+
|
39
|
+
| |
|
40
|
+
| Store |
|
41
|
+
| |
|
42
|
+
+----+----+
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
/|\
|
47
|
+
+---------------+ +-----+-----+ +-------------+ +----------------------+
|
48
|
+
| |\ | | /| | /| |
|
49
|
+
| OrderCharge +---------+ Order +-------+ OrderItem +------+ OrderItemAttribute |
|
50
|
+
| |/ | | \| | \| |
|
51
|
+
+---------------+ +-+-------+-+ +-------------+ +----------------------+
|
52
|
+
| |
|
53
|
+
| |
|
54
|
+
| |
|
55
|
+
/|\ /|\
|
56
|
+
+--------+ +------+-+ +-+----------+ +--------------+
|
57
|
+
| | /| | | | /| |
|
58
|
+
| User +-------+ Note | | Shipment +---------+ UpsPackage |
|
59
|
+
| | \| | | | \| |
|
60
|
+
+--------+ +--------+ +------------+ +--------------+
|
61
|
+
|
62
|
+
```
|
25
63
|
|
26
64
|
## Contributing
|
27
65
|
Bug reports and pull requests are welcome on GitHub at https://github.com/dnswus/activerecord-shipworks.
|
data/lib/shipworks/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-shipworks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dennis Wu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -56,6 +56,7 @@ files:
|
|
56
56
|
- app/models/shipworks/shipment.rb
|
57
57
|
- app/models/shipworks/shipworks_record.rb
|
58
58
|
- app/models/shipworks/store.rb
|
59
|
+
- app/models/shipworks/ups_package.rb
|
59
60
|
- app/models/shipworks/user.rb
|
60
61
|
- lib/activerecord-shipworks.rb
|
61
62
|
- lib/shipworks.rb
|