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 +4 -4
- data/Gemfile.lock +21 -8
- data/README.md +1 -1
- data/lib/mailinabox/api.rb +0 -1
- data/lib/mailinabox/api/configuration.rb +1 -1
- data/lib/mailinabox/api/version.rb +1 -1
- data/mailinabox-api.gemspec +7 -6
- metadata +42 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9792edd73ac2007a52f4a2c462b89e4c09e6499deafb4832ff8ced9ed5e38de
|
4
|
+
data.tar.gz: 3f5de1647d141b622229124e7300fa9c04d50df1b66ce7d98d0c515841ee9b72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ece3adef6386a5992e451e94082672cbc80bb45f5dcfcb212cd7bf66f785f88a70b4524b65892a7a4fc1aa639d3564b79911ce30c764d8b19296291c79dbee3
|
7
|
+
data.tar.gz: 65488b7d2c01adeb0f91aa4edcc03e8da9454a08f44339da8ace13ed475ee534aeefe2cd7ac6ded50e0a79f0c858f8da4a04b42e0d42d68bede1634adf3adcb2
|
data/Gemfile.lock
CHANGED
@@ -1,25 +1,29 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
mailinabox-api (0.1.
|
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
|
-
|
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
|
-
|
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 (~>
|
45
|
-
|
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|
|
data/lib/mailinabox/api.rb
CHANGED
data/mailinabox-api.gemspec
CHANGED
@@ -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",
|
30
|
-
spec.add_development_dependency "rake",
|
31
|
-
spec.add_development_dependency "rspec",
|
32
|
-
|
33
|
-
spec.add_development_dependency "
|
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.
|
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:
|
28
|
+
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
34
|
-
type: :
|
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:
|
40
|
+
version: 1.16.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
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:
|
54
|
+
version: 12.3.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
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:
|
68
|
+
version: 3.7.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
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:
|
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:
|
110
|
+
version: 3.4.2
|
83
111
|
- !ruby/object:Gem::Dependency
|
84
112
|
name: pry
|
85
113
|
requirement: !ruby/object:Gem::Requirement
|