egree 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7eb9f6cd9c2b0d668b8c1e8f0ae4f551db1aacbd
4
- data.tar.gz: 91782d40ea49733ba22757fdb3c2ad73571c2a1b
3
+ metadata.gz: 0cc13e2e7b5d6a598a73bfd22dc4656b32c4acbf
4
+ data.tar.gz: 0ebe5e445f731e408103a708dd65afb5aeb810f2
5
5
  SHA512:
6
- metadata.gz: 290a45487cb216df280ab2ad6666d9419a1268e9d360e3f1cc5cc99aa1b2a38735c6bce3b65bf65356d8bae8ba7c07304106d3f8f1a9b44e74bfb98e2690cd41
7
- data.tar.gz: 09c546e645ebae7f922e3dc2cd312cb6811f54b3f45db14b56396b34529411f29880c11de548a99777389a11db85c99dbec73197eb822d319b3f3ded9e518fd6
6
+ metadata.gz: 87de10b5a7678a763faca8d80ff0c7bb8d832dce588edab3028dbf70187b82ab4c7105c4207942f7555621ddf7d87da8125b3bee936f7ee0133477075e5fbba0
7
+ data.tar.gz: 79dffa17578724d0c94bd77babe8f6417b44ce6bbaa402556ed1a0bfdc7a4357220f67063e00a1174e6fed0fb85b4062808e5a1ba0866381e88f5c8f4efcd7b4
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  # Egree
7
7
 
8
- Ruby client for the [Egree API](https://app.egree.com/apiv1).
8
+ Ruby client for the [Assently API](https://app.assently.com/apiv1).
9
9
 
10
10
  Currently the only supported api calls is `createcasecommand` and `getviewcaseurlquery`.
11
11
 
@@ -66,8 +66,8 @@ module Egree
66
66
 
67
67
  def hosts
68
68
  {
69
- production: "app.egree.com",
70
- test: "test.underskrift.se"
69
+ production: "app.assently.com",
70
+ test: "test.assently.com"
71
71
  }
72
72
  end
73
73
 
@@ -99,7 +99,11 @@ module Egree
99
99
  end
100
100
 
101
101
  def errors
102
- Array(raw.to_s.scan(/<p>(.*?)<\/p>/).flatten)
102
+ begin
103
+ Array(JSON.parse(raw)["error"].values.join(" "))
104
+ rescue JSON::ParserError
105
+ raw
106
+ end
103
107
  end
104
108
 
105
109
  def success?
@@ -1,3 +1,3 @@
1
1
  module Egree
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
@@ -61,7 +61,7 @@ module Egree
61
61
  it "has the url as the response" do
62
62
  result = client.get_case_url reference_id
63
63
 
64
- expect(result.response).to match "https://test.underskrift.se"
64
+ expect(result.response).to match "https://test.assently.com"
65
65
  end
66
66
  end
67
67
  end
@@ -77,7 +77,7 @@ module Egree
77
77
  it "has the error" do
78
78
  result = client.get_case_url "missing-case"
79
79
 
80
- expect(result.errors[0]).to eq "E030 User is not creator of case."
80
+ expect(result.errors[0]).to eq "E123 Permission Denied: Read"
81
81
  end
82
82
  end
83
83
  end
@@ -13,11 +13,11 @@ RSpec.describe Egree::Client do
13
13
 
14
14
  describe "host" do
15
15
  it "defaults to the production environment" do
16
- expect(client.host).to eq "app.egree.com"
16
+ expect(client.host).to eq "app.assently.com"
17
17
  end
18
18
 
19
19
  it "can be set to the test environment" do
20
- test_host = "test.underskrift.se"
20
+ test_host = "test.assently.com"
21
21
 
22
22
  expect(Egree::Client.new("admin", "secret", :test).host).to eq test_host
23
23
 
@@ -30,7 +30,7 @@ RSpec.describe Egree::Client do
30
30
 
31
31
  describe "#post" do
32
32
  it "it sends the json as the request body" do
33
- stub_request(:post, "https://admin:secret@app.egree.com/some/path").with({
33
+ stub_request(:post, "https://admin:secret@app.assently.com/some/path").with({
34
34
  body: '{ "key": "value" }'
35
35
  })
36
36
 
@@ -39,7 +39,7 @@ RSpec.describe Egree::Client do
39
39
 
40
40
  describe "headers" do
41
41
  it "sets application/json with utf8 charset" do
42
- stub_request(:post, "https://admin:secret@app.egree.com/some/path").with({
42
+ stub_request(:post, "https://admin:secret@app.assently.com/some/path").with({
43
43
  headers: { "content-type" => "application/json; charset=utf-8" }
44
44
  })
45
45
 
@@ -49,7 +49,7 @@ RSpec.describe Egree::Client do
49
49
 
50
50
  describe "with a successful response" do
51
51
  before do
52
- stub_request(:post, "https://admin:secret@app.egree.com/some/path").to_return({
52
+ stub_request(:post, "https://admin:secret@app.assently.com/some/path").to_return({
53
53
  status: 200,
54
54
  body: '{ "result": "Success" }'
55
55
  })
@@ -75,7 +75,7 @@ RSpec.describe Egree::Client do
75
75
  end
76
76
 
77
77
  it "handles simple string bodies" do
78
- stub_request(:post, "https://admin:secret@app.egree.com/some/path").to_return({
78
+ stub_request(:post, "https://admin:secret@app.assently.com/some/path").to_return({
79
79
  status: 200,
80
80
  body: "a string response"
81
81
  })
@@ -89,9 +89,9 @@ RSpec.describe Egree::Client do
89
89
 
90
90
  describe "with a error response" do
91
91
  before do
92
- stub_request(:post, "https://admin:secret@app.egree.com/some/path").to_return({
93
- status: 500,
94
- body: "<html><p>Error message</p><p>Another error</p></html>"
92
+ stub_request(:post, "https://admin:secret@app.assently.com/some/path").to_return({
93
+ status: 400,
94
+ body: '{"error":{"errorCode":"E041","message":"At least one signer is required."}}'
95
95
  })
96
96
  end
97
97
 
@@ -104,13 +104,13 @@ RSpec.describe Egree::Client do
104
104
  it "parses the error messages from the html body" do
105
105
  result = client.post "/some/path"
106
106
 
107
- expect(result.errors).to eq [ "Error message", "Another error" ]
107
+ expect(result.errors).to eq [ "E041 At least one signer is required." ]
108
108
  end
109
109
 
110
110
  it "exposes the raw response" do
111
111
  result = client.post "/some/path"
112
112
 
113
- expect(result.raw).to eq("<html><p>Error message</p><p>Another error</p></html>")
113
+ expect(result.raw).to eq('{"error":{"errorCode":"E041","message":"At least one signer is required."}}')
114
114
  end
115
115
  end
116
116
  end
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://<EGREE_USERNAME>:<EGREE_PASSWORD>@test.underskrift.se/apiv1/createcasecommand
5
+ uri: https://<EGREE_USERNAME>:<EGREE_PASSWORD>@test.assently.com/apiv1/createcasecommand
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: |-
@@ -17,42 +17,39 @@ http_interactions:
17
17
  "AllowedSignatureTypes": [
18
18
  "touch"
19
19
  ],
20
- "CaseReferenceId": "4768be74-f444-498b-a113-ef3e60b969e4"
20
+ "CaseReferenceId": "aba81698-053f-4e30-a313-f0f17d154b81"
21
21
  }
22
22
  headers:
23
23
  Accept:
24
24
  - application/json
25
25
  User-Agent:
26
- - Faraday v0.9.0
26
+ - Faraday v0.9.1
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Accept-Encoding:
30
30
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
31
31
  response:
32
32
  status:
33
- code: 500
33
+ code: 400
34
34
  message: E041 At least one signer is required.
35
35
  headers:
36
36
  Cache-Control:
37
37
  - private, s-maxage=0
38
38
  Content-Type:
39
39
  - text/html; charset=utf-8
40
- Server:
41
- - Microsoft-IIS/7.5
42
- Strict-Transport-Security:
43
- - max-age=31536000
40
+ X-Frame-Options:
41
+ - SAMEORIGIN
44
42
  Set-Cookie:
45
- - ASP.NET_SessionId=31ps0gai2zzkk4j3dcfj5is2; path=/; HttpOnly
46
- X-Aspnet-Version:
47
- - 4.0.30319
43
+ - sid=um12vztvrp50k05uvmbd3bpk; path=/; HttpOnly; Secure
48
44
  Date:
49
- - Fri, 12 Sep 2014 10:06:24 GMT
45
+ - Fri, 13 May 2016 13:43:12 GMT
50
46
  Content-Length:
51
- - '104'
47
+ - '75'
48
+ Strict-Transport-Security:
49
+ - max-age=31536000
52
50
  body:
53
51
  encoding: UTF-8
54
- string: <html><body><h1>500 Internal server error</h1><p>E041 At least one signer
55
- is required.</p></body></html>
52
+ string: '{"error":{"errorCode":"E041","message":"At least one signer is required."}}'
56
53
  http_version:
57
- recorded_at: Fri, 12 Sep 2014 10:06:27 GMT
54
+ recorded_at: Fri, 13 May 2016 13:42:49 GMT
58
55
  recorded_with: VCR 2.9.2
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://<EGREE_USERNAME>:<EGREE_PASSWORD>@test.underskrift.se/apiv1/createcasecommand
5
+ uri: https://<EGREE_USERNAME>:<EGREE_PASSWORD>@test.assently.com/apiv1/createcasecommand
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: |-
@@ -23,13 +23,13 @@ http_interactions:
23
23
  {
24
24
  "Name": "First Last",
25
25
  "EmailAddress": "name@example.com",
26
- "SocialSecurityNumber": "6907183385"
26
+ "SocialSecurityNumber": "7502133825"
27
27
  }
28
28
  ],
29
29
  "AllowedSignatureTypes": [
30
30
  "touch"
31
31
  ],
32
- "CaseReferenceId": "bc5db0db-f9eb-4eaf-9e9a-28bd388d6709",
32
+ "CaseReferenceId": "5a6b4729-9dcf-4990-bd0c-08707e995a67",
33
33
  "CaseFinishedCallbackUrl": "http://example.com/postback",
34
34
  "ContinueName": "Back to the site",
35
35
  "ContinueUrl": "http://example.com/thanks",
@@ -42,7 +42,7 @@ http_interactions:
42
42
  Accept:
43
43
  - application/json
44
44
  User-Agent:
45
- - Faraday v0.9.0
45
+ - Faraday v0.9.1
46
46
  Content-Type:
47
47
  - application/json; charset=utf-8
48
48
  Accept-Encoding:
@@ -54,21 +54,19 @@ http_interactions:
54
54
  headers:
55
55
  Cache-Control:
56
56
  - private, s-maxage=0
57
- Server:
58
- - Microsoft-IIS/7.5
59
- Strict-Transport-Security:
60
- - max-age=31536000
57
+ X-Frame-Options:
58
+ - SAMEORIGIN
61
59
  Set-Cookie:
62
- - ASP.NET_SessionId=zfvvwbympf0ovrovwd1cru1t; path=/; HttpOnly
63
- X-Aspnet-Version:
64
- - 4.0.30319
60
+ - sid=ljm4ozzlbr05psmfrxqv1wyr; path=/; HttpOnly; Secure
65
61
  Date:
66
- - Mon, 17 Nov 2014 14:56:25 GMT
62
+ - Fri, 13 May 2016 13:43:12 GMT
67
63
  Content-Length:
68
64
  - '0'
65
+ Strict-Transport-Security:
66
+ - max-age=31536000
69
67
  body:
70
68
  encoding: UTF-8
71
69
  string: ''
72
70
  http_version:
73
- recorded_at: Mon, 17 Nov 2014 14:56:44 GMT
71
+ recorded_at: Fri, 13 May 2016 13:42:49 GMT
74
72
  recorded_with: VCR 2.9.2
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://<EGREE_USERNAME>:<EGREE_PASSWORD>@test.underskrift.se/apiv1/createcasecommand
5
+ uri: https://<EGREE_USERNAME>:<EGREE_PASSWORD>@test.assently.com/apiv1/createcasecommand
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: |-
@@ -25,42 +25,39 @@ http_interactions:
25
25
  "AllowedSignatureTypes": [
26
26
  "touch"
27
27
  ],
28
- "CaseReferenceId": "9acae9e1-5ec9-4d36-87d4-a6ce3bdffc57"
28
+ "CaseReferenceId": "612f0f6e-028a-46c4-9315-28312048dd1d"
29
29
  }
30
30
  headers:
31
31
  Accept:
32
32
  - application/json
33
33
  User-Agent:
34
- - Faraday v0.9.0
34
+ - Faraday v0.9.1
35
35
  Content-Type:
36
36
  - application/json; charset=utf-8
37
37
  Accept-Encoding:
38
38
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
39
39
  response:
40
40
  status:
41
- code: 500
41
+ code: 400
42
42
  message: E041 At least one signer is required.
43
43
  headers:
44
44
  Cache-Control:
45
45
  - private, s-maxage=0
46
46
  Content-Type:
47
47
  - text/html; charset=utf-8
48
- Server:
49
- - Microsoft-IIS/7.5
50
- Strict-Transport-Security:
51
- - max-age=31536000
48
+ X-Frame-Options:
49
+ - SAMEORIGIN
52
50
  Set-Cookie:
53
- - ASP.NET_SessionId=obpspnq0vekoavdwn0xhzypk; path=/; HttpOnly
54
- X-Aspnet-Version:
55
- - 4.0.30319
51
+ - sid=cywyew35thdigjx13dcvgm0y; path=/; HttpOnly; Secure
56
52
  Date:
57
- - Fri, 12 Sep 2014 10:07:07 GMT
53
+ - Fri, 13 May 2016 13:43:12 GMT
58
54
  Content-Length:
59
- - '104'
55
+ - '75'
56
+ Strict-Transport-Security:
57
+ - max-age=31536000
60
58
  body:
61
59
  encoding: UTF-8
62
- string: <html><body><h1>500 Internal server error</h1><p>E041 At least one signer
63
- is required.</p></body></html>
60
+ string: '{"error":{"errorCode":"E041","message":"At least one signer is required."}}'
64
61
  http_version:
65
- recorded_at: Fri, 12 Sep 2014 10:07:09 GMT
62
+ recorded_at: Fri, 13 May 2016 13:42:49 GMT
66
63
  recorded_with: VCR 2.9.2
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://<EGREE_USERNAME>:<EGREE_PASSWORD>@test.underskrift.se/apiv1/createcasecommand
5
+ uri: https://<EGREE_USERNAME>:<EGREE_PASSWORD>@test.assently.com/apiv1/createcasecommand
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: |-
@@ -23,19 +23,19 @@ http_interactions:
23
23
  {
24
24
  "Name": "First Last",
25
25
  "EmailAddress": "name@example.com",
26
- "SocialSecurityNumber": "2709230607"
26
+ "SocialSecurityNumber": "3303016376"
27
27
  }
28
28
  ],
29
29
  "AllowedSignatureTypes": [
30
30
  "touch"
31
31
  ],
32
- "CaseReferenceId": "07440daa-04a0-4957-b762-dbe17b474887"
32
+ "CaseReferenceId": "dcb8dde2-88d6-4a5a-b27b-c6d3814f0709"
33
33
  }
34
34
  headers:
35
35
  Accept:
36
36
  - application/json
37
37
  User-Agent:
38
- - Faraday v0.9.0
38
+ - Faraday v0.9.1
39
39
  Content-Type:
40
40
  - application/json; charset=utf-8
41
41
  Accept-Encoding:
@@ -47,37 +47,35 @@ http_interactions:
47
47
  headers:
48
48
  Cache-Control:
49
49
  - private, s-maxage=0
50
- Server:
51
- - Microsoft-IIS/7.5
52
- Strict-Transport-Security:
53
- - max-age=31536000
50
+ X-Frame-Options:
51
+ - SAMEORIGIN
54
52
  Set-Cookie:
55
- - ASP.NET_SessionId=vkvpbwofyol5c2l4jehfhdub; path=/; HttpOnly
56
- X-Aspnet-Version:
57
- - 4.0.30319
53
+ - sid=wewvturo01jxoo0q2be0cilo; path=/; HttpOnly; Secure
58
54
  Date:
59
- - Thu, 11 Sep 2014 15:01:38 GMT
55
+ - Fri, 13 May 2016 13:43:12 GMT
60
56
  Content-Length:
61
57
  - '0'
58
+ Strict-Transport-Security:
59
+ - max-age=31536000
62
60
  body:
63
61
  encoding: UTF-8
64
62
  string: ''
65
63
  http_version:
66
- recorded_at: Thu, 11 Sep 2014 15:01:42 GMT
64
+ recorded_at: Fri, 13 May 2016 13:42:49 GMT
67
65
  - request:
68
66
  method: post
69
- uri: https://<EGREE_USERNAME>:<EGREE_PASSWORD>@test.underskrift.se/apiv1/getviewcaseurlquery
67
+ uri: https://<EGREE_USERNAME>:<EGREE_PASSWORD>@test.assently.com/apiv1/getviewcaseurlquery
70
68
  body:
71
69
  encoding: UTF-8
72
70
  string: |-
73
71
  {
74
- "CaseReferenceId": "07440daa-04a0-4957-b762-dbe17b474887"
72
+ "CaseReferenceId": "dcb8dde2-88d6-4a5a-b27b-c6d3814f0709"
75
73
  }
76
74
  headers:
77
75
  Accept:
78
76
  - application/json
79
77
  User-Agent:
80
- - Faraday v0.9.0
78
+ - Faraday v0.9.1
81
79
  Content-Type:
82
80
  - application/json; charset=utf-8
83
81
  Accept-Encoding:
@@ -91,23 +89,19 @@ http_interactions:
91
89
  - private, s-maxage=0
92
90
  Content-Type:
93
91
  - text/html; charset=utf-8
94
- Vary:
95
- - Accept-Encoding
96
- Server:
97
- - Microsoft-IIS/7.5
98
- Strict-Transport-Security:
99
- - max-age=31536000
92
+ X-Frame-Options:
93
+ - SAMEORIGIN
100
94
  Set-Cookie:
101
- - ASP.NET_SessionId=dzrky3znqbtnd4jfyxpuq0vd; path=/; HttpOnly
102
- X-Aspnet-Version:
103
- - 4.0.30319
95
+ - sid=aw1lrvlrpee50gyt00b4ikct; path=/; HttpOnly; Secure
104
96
  Date:
105
- - Thu, 11 Sep 2014 15:01:38 GMT
97
+ - Fri, 13 May 2016 13:43:12 GMT
106
98
  Content-Length:
107
- - '191'
99
+ - '109'
100
+ Strict-Transport-Security:
101
+ - max-age=31536000
108
102
  body:
109
103
  encoding: UTF-8
110
- string: https://test.underskrift.se/c/B0DZa_ib0Qi6Tsx_x4f06PFR1R6PP_Y9iVIk-bvC
104
+ string: https://test.assently.com/c/IJ90hzR70wiT4ArWKOLQ-ElD-aJBEw2y0eRIWaFz/IJ90hzR70witsrz56KuTJyHa7OHjgjCqXKgEWERB
111
105
  http_version:
112
- recorded_at: Thu, 11 Sep 2014 15:01:43 GMT
106
+ recorded_at: Fri, 13 May 2016 13:42:49 GMT
113
107
  recorded_with: VCR 2.9.2
@@ -2,44 +2,44 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://<EGREE_USERNAME>:<EGREE_PASSWORD>@test.underskrift.se/apiv1/getviewcaseurlquery
5
+ uri: https://<EGREE_USERNAME>:<EGREE_PASSWORD>@test.assently.com/apiv1/getviewcaseurlquery
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '"missing-case"'
8
+ string: |-
9
+ {
10
+ "CaseReferenceId": "missing-case"
11
+ }
9
12
  headers:
10
13
  Accept:
11
14
  - application/json
12
15
  User-Agent:
13
- - Faraday v0.9.0
16
+ - Faraday v0.9.1
14
17
  Content-Type:
15
18
  - application/json; charset=utf-8
16
19
  Accept-Encoding:
17
20
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
21
  response:
19
22
  status:
20
- code: 500
21
- message: E030 User is not creator of case.
23
+ code: 400
24
+ message: 'E123 Permission Denied: Read'
22
25
  headers:
23
26
  Cache-Control:
24
27
  - private, s-maxage=0
25
28
  Content-Type:
26
29
  - text/html; charset=utf-8
27
- Server:
28
- - Microsoft-IIS/7.5
29
- Strict-Transport-Security:
30
- - max-age=31536000
30
+ X-Frame-Options:
31
+ - SAMEORIGIN
31
32
  Set-Cookie:
32
- - ASP.NET_SessionId=xsw0fscjvnt2ndbw2mpqgawx; path=/; HttpOnly
33
- X-Aspnet-Version:
34
- - 4.0.30319
33
+ - sid=ei5tv5hywcfysksqqdqym0z5; path=/; HttpOnly; Secure
35
34
  Date:
36
- - Thu, 11 Sep 2014 15:12:36 GMT
35
+ - Fri, 13 May 2016 13:43:12 GMT
37
36
  Content-Length:
38
- - '100'
37
+ - '66'
38
+ Strict-Transport-Security:
39
+ - max-age=31536000
39
40
  body:
40
41
  encoding: UTF-8
41
- string: <html><body><h1>500 Internal server error</h1><p>E030 User is not creator
42
- of case.</p></body></html>
42
+ string: '{"error":{"errorCode":"E123","message":"Permission Denied: Read"}}'
43
43
  http_version:
44
- recorded_at: Thu, 11 Sep 2014 15:12:40 GMT
44
+ recorded_at: Fri, 13 May 2016 13:42:49 GMT
45
45
  recorded_with: VCR 2.9.2
metadata CHANGED
@@ -1,125 +1,125 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: egree
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Junström
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-28 00:00:00.000000000 Z
11
+ date: 2016-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.9.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
26
  version: 0.9.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.5'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.5'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: dotenv
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: 0.11.1
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
54
  version: 0.11.1
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
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
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
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
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
89
  version: 1.18.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
96
  version: 1.18.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
103
  version: 2.9.2
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
110
  version: 2.9.2
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: luhn
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ~>
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
117
  version: 0.1.1
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ~>
122
+ - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: 0.1.1
125
125
  description:
@@ -129,9 +129,9 @@ executables: []
129
129
  extensions: []
130
130
  extra_rdoc_files: []
131
131
  files:
132
- - .gitignore
133
- - .rspec
134
- - .travis.yml
132
+ - ".gitignore"
133
+ - ".rspec"
134
+ - ".travis.yml"
135
135
  - Gemfile
136
136
  - LICENSE.txt
137
137
  - README.md
@@ -187,17 +187,17 @@ require_paths:
187
187
  - lib
188
188
  required_ruby_version: !ruby/object:Gem::Requirement
189
189
  requirements:
190
- - - ~>
190
+ - - "~>"
191
191
  - !ruby/object:Gem::Version
192
192
  version: '2.0'
193
193
  required_rubygems_version: !ruby/object:Gem::Requirement
194
194
  requirements:
195
- - - '>='
195
+ - - ">="
196
196
  - !ruby/object:Gem::Version
197
197
  version: '0'
198
198
  requirements: []
199
199
  rubyforge_project:
200
- rubygems_version: 2.0.14
200
+ rubygems_version: 2.4.8
201
201
  signing_key:
202
202
  specification_version: 4
203
203
  summary: Client for the Egree API