lightspeed_pos 0.1.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.mailmap +4 -0
- data/.rubocop.yml +32 -24
- data/.rubocop_todo.yml +284 -0
- data/.travis.yml +5 -3
- data/Gemfile +2 -0
- data/README.markdown +85 -28
- data/Rakefile +2 -0
- data/bin/console +33 -6
- data/lib/lightspeed/account.rb +50 -43
- data/lib/lightspeed/accounts.rb +24 -0
- data/lib/lightspeed/categories.rb +7 -5
- data/lib/lightspeed/category.rb +18 -7
- data/lib/lightspeed/client.rb +41 -27
- data/lib/lightspeed/collection.rb +214 -0
- data/lib/lightspeed/customer.rb +36 -0
- data/lib/lightspeed/customers.rb +11 -0
- data/lib/lightspeed/employee.rb +27 -0
- data/lib/lightspeed/employees.rb +10 -0
- data/lib/lightspeed/error.rb +17 -0
- data/lib/lightspeed/image.rb +37 -0
- data/lib/lightspeed/images.rb +18 -0
- data/lib/lightspeed/inventories.rb +10 -0
- data/lib/lightspeed/inventory.rb +14 -0
- data/lib/lightspeed/item.rb +55 -18
- data/lib/lightspeed/item_attribute_set.rb +15 -0
- data/lib/lightspeed/item_attribute_sets.rb +10 -0
- data/lib/lightspeed/item_matrices.rb +6 -3
- data/lib/lightspeed/item_matrix.rb +50 -10
- data/lib/lightspeed/items.rb +6 -7
- data/lib/lightspeed/order.rb +36 -0
- data/lib/lightspeed/orders.rb +12 -0
- data/lib/lightspeed/price_level.rb +16 -0
- data/lib/lightspeed/price_levels.rb +10 -0
- data/lib/lightspeed/prices.rb +45 -0
- data/lib/lightspeed/request.rb +98 -29
- data/lib/lightspeed/request_throttler.rb +33 -0
- data/lib/lightspeed/resource.rb +221 -0
- data/lib/lightspeed/sale.rb +59 -0
- data/lib/lightspeed/sale_line.rb +54 -0
- data/lib/lightspeed/sale_lines.rb +11 -0
- data/lib/lightspeed/sales.rb +12 -0
- data/lib/lightspeed/shop.rb +32 -0
- data/lib/lightspeed/shops.rb +10 -0
- data/lib/lightspeed/special_order.rb +24 -0
- data/lib/lightspeed/special_orders.rb +12 -0
- data/lib/lightspeed/vendor.rb +25 -0
- data/lib/lightspeed/vendors.rb +11 -0
- data/lib/lightspeed/version.rb +3 -1
- data/lib/lightspeed_pos.rb +5 -5
- data/lightspeed_pos.gemspec +11 -7
- data/script/buildkite +24 -0
- data/script/docker_tests +29 -0
- metadata +96 -38
- data/lib/lightspeed/account_resources.rb +0 -103
- data/lib/lightspeed/base.rb +0 -17
- data/lib/lightspeed/errors.rb +0 -8
@@ -0,0 +1,59 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative 'resource'
|
4
|
+
|
5
|
+
require_relative 'sale_lines'
|
6
|
+
|
7
|
+
module Lightspeed
|
8
|
+
class Sale < Lightspeed::Resource
|
9
|
+
alias_method :archive, :destroy
|
10
|
+
|
11
|
+
fields(
|
12
|
+
saleID: :id,
|
13
|
+
timeStamp: :datetime,
|
14
|
+
discountPercent: :decimal,
|
15
|
+
completed: :boolean,
|
16
|
+
archived: :boolean,
|
17
|
+
voided: :boolean,
|
18
|
+
enablePromotions: :boolean,
|
19
|
+
referenceNumber: :string,
|
20
|
+
referenceNumberSource: :string,
|
21
|
+
tax1Rate: :decimal,
|
22
|
+
tax2Rate: :decimal,
|
23
|
+
change: :decimal,
|
24
|
+
calcDiscount: :decimal,
|
25
|
+
calcTotal: :decimal,
|
26
|
+
calcSubtotal: :decimal,
|
27
|
+
calcTaxable: :decimal,
|
28
|
+
calcNonTaxable: :decimal,
|
29
|
+
calcAvgCost: :decimal,
|
30
|
+
calcFIFOCost: :decimal,
|
31
|
+
calcTax1: :decimal,
|
32
|
+
calcTax2: :decimal,
|
33
|
+
calcPayments: :decimal,
|
34
|
+
total: :decimal,
|
35
|
+
totalDue: :decimal,
|
36
|
+
displayableTotal: :decimal,
|
37
|
+
balance: :decimal,
|
38
|
+
customerID: :id,
|
39
|
+
discountID: :id,
|
40
|
+
employeeID: :id,
|
41
|
+
quoteID: :id,
|
42
|
+
registerID: :id,
|
43
|
+
shipToID: :id,
|
44
|
+
shopID: :id,
|
45
|
+
taxCategoryID: :id,
|
46
|
+
Customer: :hash,
|
47
|
+
Discount: :hash,
|
48
|
+
Quote: :hash,
|
49
|
+
ShipTo: :hash,
|
50
|
+
TaxCategory: :hash,
|
51
|
+
# SaleLines: :integer,
|
52
|
+
SalePayments: :hash
|
53
|
+
)
|
54
|
+
|
55
|
+
relationships :SaleLines, :Employee
|
56
|
+
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative 'resource'
|
4
|
+
require_relative 'item'
|
5
|
+
|
6
|
+
module Lightspeed
|
7
|
+
class SaleLine < Lightspeed::Resource
|
8
|
+
|
9
|
+
fields(
|
10
|
+
saleLineID: :id,
|
11
|
+
createTime: :datetime,
|
12
|
+
timeStamp: :datetime,
|
13
|
+
unitQuantity: :integer,
|
14
|
+
unitPrice: :decimal,
|
15
|
+
normalUnitPrice: :decimal,
|
16
|
+
discountAmount: :decimal,
|
17
|
+
discountPercent: :decimal,
|
18
|
+
avgCost: :decimal,
|
19
|
+
fifoCost: :decimal,
|
20
|
+
tax: :boolean,
|
21
|
+
tax1Rate: :decimal,
|
22
|
+
tax2Rate: :decimal,
|
23
|
+
isLayaway: :boolean,
|
24
|
+
isWorkorder: :boolean,
|
25
|
+
isSpecialOrder: :boolean,
|
26
|
+
displayableSubtotal: :decimal,
|
27
|
+
displayableUnitPrice: :decimal,
|
28
|
+
calcLineDiscount: :decimal,
|
29
|
+
calcTransactionDiscount: :decimal,
|
30
|
+
calcTotal: :decimal,
|
31
|
+
calcSubtotal: :decimal,
|
32
|
+
calcTax1: :decimal,
|
33
|
+
calcTax2: :decimal,
|
34
|
+
taxClassID: :id,
|
35
|
+
customerID: :id,
|
36
|
+
discountID: :id,
|
37
|
+
employeeID: :id,
|
38
|
+
itemID: :id,
|
39
|
+
noteID: :id,
|
40
|
+
parentSaleLineID: :id,
|
41
|
+
shopID: :id,
|
42
|
+
saleID: :id,
|
43
|
+
TaxClass: :hash,
|
44
|
+
Discount: :hash,
|
45
|
+
# Item: :hash,
|
46
|
+
Note: :hash
|
47
|
+
)
|
48
|
+
|
49
|
+
relationships :Item
|
50
|
+
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative 'resource'
|
4
|
+
|
5
|
+
module Lightspeed
|
6
|
+
class Shop < Lightspeed::Resource
|
7
|
+
fields(
|
8
|
+
shopID: :id,
|
9
|
+
name: :string,
|
10
|
+
serviceRate: :decimal,
|
11
|
+
timeZone: :string,
|
12
|
+
taxLabor: :boolean,
|
13
|
+
labelTitle: :string,
|
14
|
+
labelMsrp: :boolean,
|
15
|
+
archived: :boolean,
|
16
|
+
contactID: :id,
|
17
|
+
taxCategoryID: :id,
|
18
|
+
receiptSetupID: :id,
|
19
|
+
ccGatewayID: :id,
|
20
|
+
priceLevelID: :id,
|
21
|
+
Contact: :hash,
|
22
|
+
TaxCategory: :hash, # requestable object.
|
23
|
+
ReceiptSetup: :hash,
|
24
|
+
CCGateway: :hash, # requestable object
|
25
|
+
PriceLevel: :hash, # requestable object.
|
26
|
+
ShelfLocations: :hash,
|
27
|
+
Registers: :hash
|
28
|
+
)
|
29
|
+
|
30
|
+
relationships :Items
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative 'resource'
|
4
|
+
|
5
|
+
module Lightspeed
|
6
|
+
class SpecialOrder < Lightspeed::Resource
|
7
|
+
fields(
|
8
|
+
specialOrderID: :id,
|
9
|
+
qout: :integer,
|
10
|
+
contacted: :boolean,
|
11
|
+
completed: :boolean,
|
12
|
+
customerID: :id,
|
13
|
+
shopID: :id,
|
14
|
+
saleLineID: :id,
|
15
|
+
orderLineID: :id,
|
16
|
+
transferItemID: :id,
|
17
|
+
OrderLine: :hash
|
18
|
+
)
|
19
|
+
|
20
|
+
relationships :SaleLine, :Shop
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative 'resource'
|
4
|
+
|
5
|
+
module Lightspeed
|
6
|
+
class Vendor < Lightspeed::Resource
|
7
|
+
alias_method :archive, :destroy
|
8
|
+
|
9
|
+
fields(
|
10
|
+
vendorID: :id,
|
11
|
+
name: :string,
|
12
|
+
archived: :boolean,
|
13
|
+
accountNumber: :string,
|
14
|
+
priceLevel: :string,
|
15
|
+
updatePrice: :boolean,
|
16
|
+
updateCost: :boolean,
|
17
|
+
updateDescription: :boolean,
|
18
|
+
shareSellThrough: :boolean,
|
19
|
+
timeStamp: :datetime,
|
20
|
+
Contact: :hash,
|
21
|
+
Reps: :hash
|
22
|
+
)
|
23
|
+
|
24
|
+
end
|
25
|
+
end
|
data/lib/lightspeed/version.rb
CHANGED
data/lib/lightspeed_pos.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
require '
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'yajl'
|
4
4
|
|
5
5
|
module Lightspeed
|
6
6
|
end
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
require_relative 'lightspeed/client'
|
9
|
+
require_relative 'lightspeed/error'
|
data/lightspeed_pos.gemspec
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# coding: utf-8
|
2
|
+
# frozen_string_literal: true
|
2
3
|
lib = File.expand_path('../lib', __FILE__)
|
3
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
5
|
require 'lightspeed/version'
|
@@ -19,14 +20,17 @@ Gem::Specification.new do |spec|
|
|
19
20
|
spec.require_paths = ["lib"]
|
20
21
|
spec.license = "MIT"
|
21
22
|
|
22
|
-
spec.
|
23
|
-
spec.add_dependency "activesupport", "4.2.3"
|
23
|
+
spec.required_ruby_version = '>= 2.5'
|
24
24
|
|
25
|
-
spec.
|
26
|
-
spec.
|
27
|
-
spec.add_development_dependency "rspec", "3.2.0"
|
28
|
-
spec.add_development_dependency "webmock", "1.21.0"
|
29
|
-
spec.add_development_dependency "vcr", "2.9.3"
|
25
|
+
spec.add_dependency "activesupport"
|
26
|
+
spec.add_dependency "yajl-ruby"
|
30
27
|
|
28
|
+
spec.add_development_dependency "bundler"
|
29
|
+
spec.add_development_dependency "rake"
|
30
|
+
spec.add_development_dependency "rspec"
|
31
|
+
spec.add_development_dependency "webmock"
|
32
|
+
spec.add_development_dependency "vcr"
|
33
|
+
spec.add_development_dependency "rubocop"
|
34
|
+
spec.add_development_dependency "dotenv"
|
31
35
|
spec.add_development_dependency "pry"
|
32
36
|
end
|
data/script/buildkite
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
set -e
|
4
|
+
set -x
|
5
|
+
|
6
|
+
AWS_ACCOUNT='847437976396'
|
7
|
+
REGION='us-west-2'
|
8
|
+
REGISTRY="${AWS_ACCOUNT}.dkr.ecr.${REGION}.amazonaws.com"
|
9
|
+
REPOSITORY='teg-ci'
|
10
|
+
TAG='ci' # change this if you have pushed an image with a new tag
|
11
|
+
IMAGE="${REGISTRY}/${REPOSITORY}:${TAG}"
|
12
|
+
|
13
|
+
set
|
14
|
+
echo $PWD
|
15
|
+
|
16
|
+
REAL_CORES=`cat /proc/cpuinfo | grep "core id" | sort | uniq | wc -l`
|
17
|
+
|
18
|
+
# Pull image if we don't have a locally cached version
|
19
|
+
if ! docker images "$IMAGE" | grep --quiet "$IMAGE"; then
|
20
|
+
eval $(aws --region "$REGION" ecr get-login)
|
21
|
+
docker pull "$IMAGE"
|
22
|
+
fi
|
23
|
+
|
24
|
+
docker run --rm=true -e "PARALLEL_TEST_PROCESSORS=$REAL_CORES" -v $PWD:/source -v ~/.buildbox/be-bundle-cache:/cache -v /tmp/ramdisk:/tmp/ramdisk -t "$IMAGE" /source/script/docker_tests
|
data/script/docker_tests
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
# This script is ran within the Docker teg-ci image
|
4
|
+
|
5
|
+
set -e
|
6
|
+
set -x
|
7
|
+
|
8
|
+
echo "--- docker environment"
|
9
|
+
|
10
|
+
export RAILS_ENV=test
|
11
|
+
export CI=yup
|
12
|
+
export TZ=Australia/Melbourne
|
13
|
+
export LC_ALL=en_AU.UTF-8
|
14
|
+
export LANG=en_AU.UTF-8
|
15
|
+
export LANGUAGE=en_AU.UTF-8
|
16
|
+
rsync -a /source/ /build/ --exclude .git --exclude log --exclude tmp --exclude .zeus.sock
|
17
|
+
|
18
|
+
cd /build
|
19
|
+
rm -rf .bundle #if not on ci machine the wrong bundler paths get cached
|
20
|
+
|
21
|
+
/etc/init.d/postgresql start
|
22
|
+
sudo -u postgres createuser --superuser root
|
23
|
+
createdb lightspeed-bridge_test -e utf8
|
24
|
+
|
25
|
+
echo "--- bundle install"
|
26
|
+
bundle check --path /cache/bundler || bundle install -j 8
|
27
|
+
|
28
|
+
echo "--- rspec"
|
29
|
+
time bundle exec rspec spec
|
metadata
CHANGED
@@ -1,113 +1,141 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lightspeed_pos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Bigg
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: activesupport
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0
|
19
|
+
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: yajl-ruby
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: webmock
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: vcr
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: '0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rubocop
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: dotenv
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
111
139
|
- !ruby/object:Gem::Dependency
|
112
140
|
name: pry
|
113
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -130,8 +158,10 @@ extensions: []
|
|
130
158
|
extra_rdoc_files: []
|
131
159
|
files:
|
132
160
|
- ".gitignore"
|
161
|
+
- ".mailmap"
|
133
162
|
- ".rspec"
|
134
163
|
- ".rubocop.yml"
|
164
|
+
- ".rubocop_todo.yml"
|
135
165
|
- ".travis.yml"
|
136
166
|
- Gemfile
|
137
167
|
- LICENSE
|
@@ -140,20 +170,49 @@ files:
|
|
140
170
|
- bin/console
|
141
171
|
- bin/setup
|
142
172
|
- lib/lightspeed/account.rb
|
143
|
-
- lib/lightspeed/
|
144
|
-
- lib/lightspeed/base.rb
|
173
|
+
- lib/lightspeed/accounts.rb
|
145
174
|
- lib/lightspeed/categories.rb
|
146
175
|
- lib/lightspeed/category.rb
|
147
176
|
- lib/lightspeed/client.rb
|
148
|
-
- lib/lightspeed/
|
177
|
+
- lib/lightspeed/collection.rb
|
178
|
+
- lib/lightspeed/customer.rb
|
179
|
+
- lib/lightspeed/customers.rb
|
180
|
+
- lib/lightspeed/employee.rb
|
181
|
+
- lib/lightspeed/employees.rb
|
182
|
+
- lib/lightspeed/error.rb
|
183
|
+
- lib/lightspeed/image.rb
|
184
|
+
- lib/lightspeed/images.rb
|
185
|
+
- lib/lightspeed/inventories.rb
|
186
|
+
- lib/lightspeed/inventory.rb
|
149
187
|
- lib/lightspeed/item.rb
|
188
|
+
- lib/lightspeed/item_attribute_set.rb
|
189
|
+
- lib/lightspeed/item_attribute_sets.rb
|
150
190
|
- lib/lightspeed/item_matrices.rb
|
151
191
|
- lib/lightspeed/item_matrix.rb
|
152
192
|
- lib/lightspeed/items.rb
|
193
|
+
- lib/lightspeed/order.rb
|
194
|
+
- lib/lightspeed/orders.rb
|
195
|
+
- lib/lightspeed/price_level.rb
|
196
|
+
- lib/lightspeed/price_levels.rb
|
197
|
+
- lib/lightspeed/prices.rb
|
153
198
|
- lib/lightspeed/request.rb
|
199
|
+
- lib/lightspeed/request_throttler.rb
|
200
|
+
- lib/lightspeed/resource.rb
|
201
|
+
- lib/lightspeed/sale.rb
|
202
|
+
- lib/lightspeed/sale_line.rb
|
203
|
+
- lib/lightspeed/sale_lines.rb
|
204
|
+
- lib/lightspeed/sales.rb
|
205
|
+
- lib/lightspeed/shop.rb
|
206
|
+
- lib/lightspeed/shops.rb
|
207
|
+
- lib/lightspeed/special_order.rb
|
208
|
+
- lib/lightspeed/special_orders.rb
|
209
|
+
- lib/lightspeed/vendor.rb
|
210
|
+
- lib/lightspeed/vendors.rb
|
154
211
|
- lib/lightspeed/version.rb
|
155
212
|
- lib/lightspeed_pos.rb
|
156
213
|
- lightspeed_pos.gemspec
|
214
|
+
- script/buildkite
|
215
|
+
- script/docker_tests
|
157
216
|
homepage: https://github.com/radar/lightspeed_pos
|
158
217
|
licenses:
|
159
218
|
- MIT
|
@@ -166,15 +225,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
166
225
|
requirements:
|
167
226
|
- - ">="
|
168
227
|
- !ruby/object:Gem::Version
|
169
|
-
version: '
|
228
|
+
version: '2.5'
|
170
229
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
171
230
|
requirements:
|
172
231
|
- - ">="
|
173
232
|
- !ruby/object:Gem::Version
|
174
233
|
version: '0'
|
175
234
|
requirements: []
|
176
|
-
|
177
|
-
rubygems_version: 2.4.8
|
235
|
+
rubygems_version: 3.2.3
|
178
236
|
signing_key:
|
179
237
|
specification_version: 4
|
180
238
|
summary: A gem for interacting with Lightspeed's Point of Sale system
|