lightspeed_restaurant 3.3.2 → 3.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +66 -0
- data/.rubocop.yml +3 -6
- data/CHANGELOG.md +4 -0
- data/README.md +1 -2
- data/lib/lightspeed_restaurant/company.rb +1 -0
- data/lib/lightspeed_restaurant/version.rb +1 -1
- data/lightspeed_restaurant.gemspec +0 -1
- metadata +7 -22
- data/.travis.yml +0 -4
- data/circle.yml +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 340ce0c747aaa516dc5c4bbed52c1842c138ecc4d6777e953a41ae649b1a60b1
|
4
|
+
data.tar.gz: 975aedc38edeba28cde45a90d07833e6c34a58578444e948bb424b20dc0a68ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d057e14d22367a2ee8882b8e1dc3d2b3baff505e68867e6747e3e53b37844742c490e1844c8094636681d039992de64f0f9bd7e82c447ee43be459c8a6b0478e
|
7
|
+
data.tar.gz: c7a1262ea1ef6fd00cc99be0815bcd9c84b45c4e2a62aef103f38c20c1d1b5153fb8cb8b721b8da6ce42d36add021fc38b8c15733f6e1bc5e3da44a6cfe45565
|
@@ -0,0 +1,66 @@
|
|
1
|
+
name: CI
|
2
|
+
|
3
|
+
on: [push]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
tests:
|
7
|
+
runs-on: ubuntu-latest
|
8
|
+
strategy:
|
9
|
+
matrix:
|
10
|
+
ruby: [2.6]
|
11
|
+
|
12
|
+
steps:
|
13
|
+
- uses: actions/checkout@master
|
14
|
+
|
15
|
+
- name: Set up the Ruby version
|
16
|
+
uses: actions/setup-ruby@v1
|
17
|
+
with:
|
18
|
+
ruby-version: ${{ matrix.ruby }}
|
19
|
+
|
20
|
+
- name: Ruby gem cache
|
21
|
+
uses: actions/cache@v1
|
22
|
+
with:
|
23
|
+
path: vendor/bundle
|
24
|
+
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
25
|
+
restore-keys: |
|
26
|
+
${{ runner.os }}-gems-
|
27
|
+
|
28
|
+
- name: Set up the environment
|
29
|
+
run: |
|
30
|
+
gem install bundler
|
31
|
+
bundle config path vendor/bundle
|
32
|
+
bundle install --jobs 4 --retry 3
|
33
|
+
|
34
|
+
- name: Runs tests
|
35
|
+
run: bundle exec rspec
|
36
|
+
|
37
|
+
rubocop:
|
38
|
+
runs-on: ubuntu-latest
|
39
|
+
strategy:
|
40
|
+
matrix:
|
41
|
+
ruby: [2.6]
|
42
|
+
|
43
|
+
steps:
|
44
|
+
- uses: actions/checkout@master
|
45
|
+
|
46
|
+
- name: Set up the Ruby version
|
47
|
+
uses: actions/setup-ruby@v1
|
48
|
+
with:
|
49
|
+
ruby-version: ${{ matrix.ruby }}
|
50
|
+
|
51
|
+
- name: Ruby gem cache
|
52
|
+
uses: actions/cache@v1
|
53
|
+
with:
|
54
|
+
path: vendor/bundle
|
55
|
+
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
56
|
+
restore-keys: |
|
57
|
+
${{ runner.os }}-gems-
|
58
|
+
|
59
|
+
- name: Set up the environment
|
60
|
+
run: |
|
61
|
+
gem install bundler
|
62
|
+
bundle config path vendor/bundle
|
63
|
+
bundle install --jobs 4 --retry 3
|
64
|
+
|
65
|
+
- name: Runs Rubocop
|
66
|
+
run: bundle exec rubocop
|
data/.rubocop.yml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require: rubocop-rspec
|
2
2
|
|
3
|
-
|
4
|
-
Max:
|
3
|
+
Layout/LineLength:
|
4
|
+
Max: 100
|
5
5
|
|
6
6
|
Metrics/ParameterLists:
|
7
7
|
Max: 6
|
@@ -21,7 +21,7 @@ Metrics/BlockLength:
|
|
21
21
|
Exclude:
|
22
22
|
- spec/**/*
|
23
23
|
|
24
|
-
Lint/
|
24
|
+
Lint/SuppressedException:
|
25
25
|
Enabled: false
|
26
26
|
|
27
27
|
RSpec/MultipleExpectations:
|
@@ -51,6 +51,3 @@ Style/PercentLiteralDelimiters:
|
|
51
51
|
Metrics/ClassLength:
|
52
52
|
Max: 200
|
53
53
|
Severity: warning
|
54
|
-
|
55
|
-
HttpPositionalArguments:
|
56
|
-
Enabled: false
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
# Lightspeed Restaurant API Client
|
2
2
|
|
3
|
-
[![
|
4
|
-
[![Dependency Status](https://gemnasium.com/chronogolf/lightspeed_restaurant.svg)](https://gemnasium.com/chronogolf/lightspeed_restaurant) [![Code Climate](https://codeclimate.com/github/chronogolf/lightspeed_restaurant/badges/gpa.svg)](https://codeclimate.com/github/chronogolf/lightspeed_restaurant) [![Gem Version](https://badge.fury.io/rb/lightspeed_restaurant.svg)](https://badge.fury.io/rb/lightspeed_restaurant)
|
3
|
+
[![Code Climate](https://codeclimate.com/github/chronogolf/lightspeed_restaurant/badges/gpa.svg)](https://codeclimate.com/github/chronogolf/lightspeed_restaurant) [![Gem Version](https://badge.fury.io/rb/lightspeed_restaurant.svg)](https://badge.fury.io/rb/lightspeed_restaurant)
|
5
4
|
|
6
5
|
[Lightspeed Restaurant API Client](https://github.com/chronogolf/lightspeed_restaurant) is a gem for interacting with [Lightspeed Restaurant](https://www.lightspeedhq.com/products/restaurant/) API.
|
7
6
|
Lightspeed Restaurant is point of sale that helps bars, restaurants, and cafés deliver a better customer experience and run a more profitable business.
|
@@ -28,7 +28,6 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.add_development_dependency('pry')
|
29
29
|
spec.add_development_dependency('rake')
|
30
30
|
spec.add_development_dependency('rspec')
|
31
|
-
spec.add_development_dependency('rspec_junit_formatter')
|
32
31
|
spec.add_development_dependency('rubocop')
|
33
32
|
spec.add_development_dependency('rubocop-rspec')
|
34
33
|
spec.add_development_dependency('vcr')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lightspeed_restaurant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Olivier Buffon, Laurent Cobos, Sybil Deboin
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: excon
|
@@ -80,20 +80,6 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: rspec_junit_formatter
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
84
|
name: rubocop
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -159,12 +145,12 @@ executables: []
|
|
159
145
|
extensions: []
|
160
146
|
extra_rdoc_files: []
|
161
147
|
files:
|
148
|
+
- ".github/workflows/ci.yml"
|
162
149
|
- ".gitignore"
|
163
150
|
- ".rspec"
|
164
151
|
- ".rubocop.yml"
|
165
152
|
- ".ruby-gemset"
|
166
153
|
- ".ruby-version"
|
167
|
-
- ".travis.yml"
|
168
154
|
- CHANGELOG.md
|
169
155
|
- Gemfile
|
170
156
|
- LICENSE.txt
|
@@ -172,7 +158,6 @@ files:
|
|
172
158
|
- Rakefile
|
173
159
|
- bin/console
|
174
160
|
- bin/setup
|
175
|
-
- circle.yml
|
176
161
|
- lib/lightspeed_restaurant.rb
|
177
162
|
- lib/lightspeed_restaurant/base.rb
|
178
163
|
- lib/lightspeed_restaurant/company.rb
|
@@ -205,7 +190,7 @@ homepage: https://github.com/chronogolf/lightspeed_restaurant
|
|
205
190
|
licenses:
|
206
191
|
- MIT
|
207
192
|
metadata: {}
|
208
|
-
post_install_message:
|
193
|
+
post_install_message:
|
209
194
|
rdoc_options: []
|
210
195
|
require_paths:
|
211
196
|
- lib
|
@@ -220,8 +205,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
220
205
|
- !ruby/object:Gem::Version
|
221
206
|
version: '0'
|
222
207
|
requirements: []
|
223
|
-
rubygems_version: 3.0.
|
224
|
-
signing_key:
|
208
|
+
rubygems_version: 3.0.3
|
209
|
+
signing_key:
|
225
210
|
specification_version: 4
|
226
211
|
summary: Ruby bindings for the Lightspeed Restaurant API
|
227
212
|
test_files: []
|
data/.travis.yml
DELETED
data/circle.yml
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
machine:
|
2
|
-
timezone:
|
3
|
-
America/New_York
|
4
|
-
environment:
|
5
|
-
RACK_ENV: test
|
6
|
-
test:
|
7
|
-
override:
|
8
|
-
- bundle exec bundle-audit check --update
|
9
|
-
- bundle exec rubocop
|
10
|
-
- bundle exec rspec --format RspecJunitFormatter --out $CIRCLE_TEST_REPORTS/junit/rspec.xml --format progress
|