qismo 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7961e7f1cdd83d7b96cf3670ce9a8e8f1defb8c7ce47dcc16e346775b6f4ab72
4
- data.tar.gz: 99d9edf9236c17865b7438fd0f23b629db816cc48d35f974aec4202ebcecbf2f
3
+ metadata.gz: 71fd2b8604c428a10be54ac548616086c07af7a3e44e36dccc67d8055e6059c1
4
+ data.tar.gz: c3f53f46b6cced132d75d1cbe087bf46ce81673e708727db499a8a0d3e3b4d9f
5
5
  SHA512:
6
- metadata.gz: db8946cd07738b2ca32af700f4847dc3ae3791d4a8cd8699fb04f57050f4d993e9520cedc73f7a54dfebf30d0d616b25d62b861537f7ee6a685afa7ff09f2744
7
- data.tar.gz: 88e1c187cec631d9183a37fab56fe0ea3b8906657aeb711c5d19bd9a9cbf411af23f06fd44479f8278659e4ce7c56bd8602f6c655885bfe1b943e75480323182
6
+ metadata.gz: 57f0f8c37ff0cd40720e9c4c2acce92b588b64f9df015e7bbf97c315f4f60639d68b39050e7ed63ae38c7cbc2a37da4ae84d2d766d418baaea4f55094165f9d8
7
+ data.tar.gz: 725b992269f83942b4f164812ca5a15abe7c8c559327e17a8b796313ed555441435201b19204472d4eb421223a911fd2648e8a19ff1f5667380db7c5553220f6
data/Gemfile CHANGED
@@ -5,7 +5,5 @@ source "https://rubygems.org"
5
5
  # Specify your gem's dependencies in qismo.gemspec
6
6
  gemspec
7
7
 
8
- gem "rake", "~> 12.0"
8
+ gem "rake", "~> 13.0"
9
9
  gem "rspec", "~> 3.0"
10
-
11
- gem "http", "~> 4.4"
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- qismo (0.1.0)
5
- http (~> 4.4)
4
+ qismo (0.1.1)
5
+ http (~> 5.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -13,54 +13,55 @@ GEM
13
13
  diff-lcs (1.5.0)
14
14
  domain_name (0.5.20190701)
15
15
  unf (>= 0.0.5, < 1.0.0)
16
- ffi (1.15.4)
16
+ ffi (1.15.5)
17
17
  ffi-compiler (1.0.1)
18
18
  ffi (>= 1.0.0)
19
19
  rake
20
- http (4.4.1)
21
- addressable (~> 2.3)
20
+ http (5.0.4)
21
+ addressable (~> 2.8)
22
22
  http-cookie (~> 1.0)
23
23
  http-form_data (~> 2.2)
24
- http-parser (~> 1.2.0)
24
+ llhttp-ffi (~> 0.4.0)
25
25
  http-cookie (1.0.4)
26
26
  domain_name (~> 0.5)
27
27
  http-form_data (2.3.0)
28
- http-parser (1.2.3)
29
- ffi-compiler (>= 1.0, < 2.0)
28
+ llhttp-ffi (0.4.0)
29
+ ffi-compiler (~> 1.0)
30
+ rake (~> 13.0)
30
31
  parallel (1.21.0)
31
- parser (3.0.3.2)
32
+ parser (3.1.1.0)
32
33
  ast (~> 2.4.1)
33
34
  public_suffix (4.0.6)
34
- rainbow (3.0.0)
35
- rake (12.3.3)
36
- regexp_parser (2.2.0)
35
+ rainbow (3.1.1)
36
+ rake (13.0.6)
37
+ regexp_parser (2.2.1)
37
38
  rexml (3.2.5)
38
- rspec (3.10.0)
39
- rspec-core (~> 3.10.0)
40
- rspec-expectations (~> 3.10.0)
41
- rspec-mocks (~> 3.10.0)
42
- rspec-core (3.10.1)
43
- rspec-support (~> 3.10.0)
44
- rspec-expectations (3.10.1)
39
+ rspec (3.11.0)
40
+ rspec-core (~> 3.11.0)
41
+ rspec-expectations (~> 3.11.0)
42
+ rspec-mocks (~> 3.11.0)
43
+ rspec-core (3.11.0)
44
+ rspec-support (~> 3.11.0)
45
+ rspec-expectations (3.11.0)
45
46
  diff-lcs (>= 1.2.0, < 2.0)
46
- rspec-support (~> 3.10.0)
47
- rspec-mocks (3.10.2)
47
+ rspec-support (~> 3.11.0)
48
+ rspec-mocks (3.11.0)
48
49
  diff-lcs (>= 1.2.0, < 2.0)
49
- rspec-support (~> 3.10.0)
50
- rspec-support (3.10.3)
51
- rubocop (1.24.0)
50
+ rspec-support (~> 3.11.0)
51
+ rspec-support (3.11.0)
52
+ rubocop (1.25.1)
52
53
  parallel (~> 1.10)
53
- parser (>= 3.0.0.0)
54
+ parser (>= 3.1.0.0)
54
55
  rainbow (>= 2.2.2, < 4.0)
55
56
  regexp_parser (>= 1.8, < 3.0)
56
57
  rexml
57
- rubocop-ast (>= 1.15.0, < 2.0)
58
+ rubocop-ast (>= 1.15.1, < 2.0)
58
59
  ruby-progressbar (~> 1.7)
59
60
  unicode-display_width (>= 1.4.0, < 3.0)
60
- rubocop-ast (1.15.0)
61
- parser (>= 3.0.1.1)
62
- rubocop-shopify (2.3.0)
63
- rubocop (~> 1.22)
61
+ rubocop-ast (1.16.0)
62
+ parser (>= 3.1.1.0)
63
+ rubocop-shopify (2.4.0)
64
+ rubocop (~> 1.24)
64
65
  ruby-progressbar (1.11.0)
65
66
  unf (0.1.4)
66
67
  unf_ext
@@ -71,9 +72,8 @@ PLATFORMS
71
72
  ruby
72
73
 
73
74
  DEPENDENCIES
74
- http (~> 4.4)
75
75
  qismo!
76
- rake (~> 12.0)
76
+ rake (~> 13.0)
77
77
  rspec (~> 3.0)
78
78
  rubocop-shopify (~> 2.3)
79
79
 
@@ -36,7 +36,7 @@ module Qismo
36
36
 
37
37
  body = resp.http_body
38
38
  room = body.dig("data", "customer_room")
39
- if room == {}
39
+ unless room
40
40
  raise NotFound.new(
41
41
  "Room with id #{id} is not found",
42
42
  http_code: 404,
data/lib/qismo/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Qismo
4
4
  # @return [String] gem version constant
5
- VERSION = "0.1.1"
5
+ VERSION = "0.1.2"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qismo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nurcholis Art