mailinabox-api 0.1.0 → 0.1.1

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: 9ca01f26c2c20182f374d54994b9cf30ecb14ad3920d2acf6d1d098fa7c4a4bc
4
- data.tar.gz: '0537219dbb0d1cf1a4b9543facb2c6df3e2519ef640b6b5e85e1ea02606d38a0'
3
+ metadata.gz: f9792edd73ac2007a52f4a2c462b89e4c09e6499deafb4832ff8ced9ed5e38de
4
+ data.tar.gz: 3f5de1647d141b622229124e7300fa9c04d50df1b66ce7d98d0c515841ee9b72
5
5
  SHA512:
6
- metadata.gz: 0f5ef63f1baed49f143d6470edc7e0d5378a2a55542ff71c4f996336a58f9ae2853509d333d670941478e5aaaf8b80b9ec8a1adce7758197ed64e19ff129100c
7
- data.tar.gz: 2b13039f9b47eb1733523ecfc5de9f21123ff646bebd040da6cac8029d4ff6aeb504f485c088118fbca5c22e8faab08022979d124687e0fa96f4f6ba296765ad
6
+ metadata.gz: 8ece3adef6386a5992e451e94082672cbc80bb45f5dcfcb212cd7bf66f785f88a70b4524b65892a7a4fc1aa639d3564b79911ce30c764d8b19296291c79dbee3
7
+ data.tar.gz: 65488b7d2c01adeb0f91aa4edcc03e8da9454a08f44339da8ace13ed475ee534aeefe2cd7ac6ded50e0a79f0c858f8da4a04b42e0d42d68bede1634adf3adcb2
@@ -1,25 +1,29 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mailinabox-api (0.1.0)
4
+ mailinabox-api (0.1.1)
5
5
  faraday (~> 0.15.2)
6
- faraday_middleware (~> 0.12.2)
7
6
 
8
7
  GEM
9
8
  remote: https://rubygems.org/
10
9
  specs:
10
+ addressable (2.5.2)
11
+ public_suffix (>= 2.0.2, < 4.0)
11
12
  coderay (1.1.2)
13
+ crack (0.4.3)
14
+ safe_yaml (~> 1.0.0)
12
15
  diff-lcs (1.3)
13
16
  faraday (0.15.2)
14
17
  multipart-post (>= 1.2, < 3)
15
- faraday_middleware (0.12.2)
16
- faraday (>= 0.7.4, < 1.0)
18
+ hashdiff (0.3.7)
17
19
  method_source (0.9.0)
18
20
  multipart-post (2.0.0)
19
21
  pry (0.11.3)
20
22
  coderay (~> 1.1.0)
21
23
  method_source (~> 0.9.0)
22
- rake (10.5.0)
24
+ public_suffix (3.0.2)
25
+ rake (12.3.1)
26
+ rdoc (6.0.4)
23
27
  rspec (3.7.0)
24
28
  rspec-core (~> 3.7.0)
25
29
  rspec-expectations (~> 3.7.0)
@@ -33,16 +37,25 @@ GEM
33
37
  diff-lcs (>= 1.2.0, < 2.0)
34
38
  rspec-support (~> 3.7.0)
35
39
  rspec-support (3.7.1)
40
+ safe_yaml (1.0.4)
41
+ vcr (4.0.0)
42
+ webmock (3.4.2)
43
+ addressable (>= 2.3.6)
44
+ crack (>= 0.3.2)
45
+ hashdiff
36
46
 
37
47
  PLATFORMS
38
48
  ruby
39
49
 
40
50
  DEPENDENCIES
41
- bundler (~> 1.16)
51
+ bundler (~> 1.16.2)
42
52
  mailinabox-api!
43
53
  pry (~> 0.11.3)
44
- rake (~> 10.0)
45
- rspec (~> 3.0)
54
+ rake (~> 12.3.1)
55
+ rdoc (~> 6.0.4)
56
+ rspec (~> 3.7.0)
57
+ vcr (~> 4.0)
58
+ webmock (~> 3.4.2)
46
59
 
47
60
  BUNDLED WITH
48
61
  1.16.3
data/README.md CHANGED
@@ -20,7 +20,7 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
- 1. Configure the client using Mailinabox::Api.configure:
23
+ 1. Configure the client using Mailinabox::Api.configure (if you're using Rails, put this in an initializer):
24
24
 
25
25
  ```ruby
26
26
  ::Mailinabox::Api.configure do |config|
@@ -1,6 +1,5 @@
1
1
  # Gems
2
2
  require "faraday"
3
- require "faraday_middleware"
4
3
 
5
4
  # Standard Lib
6
5
  require "json"
@@ -12,7 +12,7 @@ module Mailinabox
12
12
  self.faraday = {
13
13
  adapter: :net_http,
14
14
  user_agent: 'Mail-in-a-box Ruby API Client',
15
- verbose: true
15
+ verbose: false
16
16
  }
17
17
  end
18
18
 
@@ -1,5 +1,5 @@
1
1
  module Mailinabox
2
2
  module Api
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -24,11 +24,12 @@ Gem::Specification.new do |spec|
24
24
  spec.require_paths = ["lib"]
25
25
 
26
26
  spec.add_dependency "faraday", "~> 0.15.2"
27
- spec.add_dependency "faraday_middleware", "~> 0.12.2"
28
27
 
29
- spec.add_development_dependency "bundler", "~> 1.16"
30
- spec.add_development_dependency "rake", "~> 10.0"
31
- spec.add_development_dependency "rspec", "~> 3.0"
32
-
33
- spec.add_development_dependency "pry", "~> 0.11.3"
28
+ spec.add_development_dependency "bundler", "~> 1.16.2"
29
+ spec.add_development_dependency "rake", "~> 12.3.1"
30
+ spec.add_development_dependency "rspec", "~> 3.7.0"
31
+ spec.add_development_dependency "rdoc", "~> 6.0.4"
32
+ spec.add_development_dependency "vcr", "~> 4.0"
33
+ spec.add_development_dependency "webmock", "~> 3.4.2"
34
+ spec.add_development_dependency "pry", "~> 0.11.3"
34
35
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailinabox-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian
@@ -25,61 +25,89 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.15.2
27
27
  - !ruby/object:Gem::Dependency
28
- name: faraday_middleware
28
+ name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.12.2
34
- type: :runtime
33
+ version: 1.16.2
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
- version: 0.12.2
40
+ version: 1.16.2
41
41
  - !ruby/object:Gem::Dependency
42
- name: bundler
42
+ name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.16'
47
+ version: 12.3.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
- version: '1.16'
54
+ version: 12.3.1
55
55
  - !ruby/object:Gem::Dependency
56
- name: rake
56
+ name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '10.0'
61
+ version: 3.7.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: '10.0'
68
+ version: 3.7.0
69
69
  - !ruby/object:Gem::Dependency
70
- name: rspec
70
+ name: rdoc
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 6.0.4
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 6.0.4
83
+ - !ruby/object:Gem::Dependency
84
+ name: vcr
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '4.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '4.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: webmock
71
99
  requirement: !ruby/object:Gem::Requirement
72
100
  requirements:
73
101
  - - "~>"
74
102
  - !ruby/object:Gem::Version
75
- version: '3.0'
103
+ version: 3.4.2
76
104
  type: :development
77
105
  prerelease: false
78
106
  version_requirements: !ruby/object:Gem::Requirement
79
107
  requirements:
80
108
  - - "~>"
81
109
  - !ruby/object:Gem::Version
82
- version: '3.0'
110
+ version: 3.4.2
83
111
  - !ruby/object:Gem::Dependency
84
112
  name: pry
85
113
  requirement: !ruby/object:Gem::Requirement