email_spec 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.md +10 -7
- data/README.md +8 -2
- data/examples/rails4_root/Gemfile.lock +61 -51
- data/examples/rails4_root/db/test.sqlite3 +0 -0
- data/examples/rails4_root/log/test.log +295 -1863
- data/examples/sinatra_root/Gemfile.lock +52 -48
- data/lib/email_spec/mail_ext.rb +2 -1
- data/lib/email_spec/version.rb +1 -1
- data/spec/email_spec/mail_ext_spec.rb +5 -0
- metadata +5 -5
@@ -1,88 +1,92 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../..
|
3
3
|
specs:
|
4
|
-
email_spec (2.1.
|
4
|
+
email_spec (2.1.2)
|
5
5
|
htmlentities (~> 4.3.3)
|
6
6
|
launchy (~> 2.1)
|
7
|
-
mail (~> 2.
|
7
|
+
mail (~> 2.7)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: http://rubygems.org/
|
11
11
|
specs:
|
12
|
-
addressable (2.5.
|
13
|
-
public_suffix (
|
12
|
+
addressable (2.5.2)
|
13
|
+
public_suffix (>= 2.0.2, < 4.0)
|
14
|
+
backports (3.11.1)
|
14
15
|
builder (3.2.3)
|
15
|
-
capybara (2.
|
16
|
+
capybara (2.18.0)
|
16
17
|
addressable
|
17
|
-
|
18
|
+
mini_mime (>= 0.1.3)
|
18
19
|
nokogiri (>= 1.3.3)
|
19
20
|
rack (>= 1.0.0)
|
20
21
|
rack-test (>= 0.5.4)
|
21
|
-
xpath (
|
22
|
-
cucumber (
|
22
|
+
xpath (>= 2.0, < 4.0)
|
23
|
+
cucumber (3.1.0)
|
23
24
|
builder (>= 2.1.2)
|
24
|
-
cucumber-core (~> 1.
|
25
|
+
cucumber-core (~> 3.1.0)
|
26
|
+
cucumber-expressions (~> 5.0.4)
|
25
27
|
cucumber-wire (~> 0.0.1)
|
26
|
-
diff-lcs (
|
27
|
-
gherkin (~>
|
28
|
+
diff-lcs (~> 1.3)
|
29
|
+
gherkin (~> 5.0)
|
28
30
|
multi_json (>= 1.7.5, < 2.0)
|
29
31
|
multi_test (>= 0.1.2)
|
30
|
-
cucumber-core (1.
|
31
|
-
|
32
|
+
cucumber-core (3.1.0)
|
33
|
+
backports (>= 3.8.0)
|
34
|
+
cucumber-tag_expressions (~> 1.1.0)
|
35
|
+
gherkin (>= 5.0.0)
|
36
|
+
cucumber-expressions (5.0.13)
|
32
37
|
cucumber-sinatra (0.5.0)
|
33
38
|
templater (>= 1.0.0)
|
39
|
+
cucumber-tag_expressions (1.1.1)
|
34
40
|
cucumber-wire (0.0.1)
|
35
41
|
diff-lcs (1.3)
|
36
42
|
extlib (0.9.16)
|
37
|
-
gherkin (
|
38
|
-
highline (1.7.
|
43
|
+
gherkin (5.0.0)
|
44
|
+
highline (1.7.10)
|
39
45
|
htmlentities (4.3.4)
|
40
46
|
launchy (2.4.3)
|
41
47
|
addressable (~> 2.3)
|
42
|
-
mail (2.
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
mini_portile2 (2.1.0)
|
48
|
-
multi_json (1.12.1)
|
48
|
+
mail (2.7.0)
|
49
|
+
mini_mime (>= 0.1.1)
|
50
|
+
mini_mime (1.0.0)
|
51
|
+
mini_portile2 (2.3.0)
|
52
|
+
multi_json (1.13.1)
|
49
53
|
multi_test (0.1.2)
|
50
|
-
mustermann (1.0.
|
51
|
-
nokogiri (1.
|
52
|
-
mini_portile2 (~> 2.
|
53
|
-
pony (1.
|
54
|
+
mustermann (1.0.2)
|
55
|
+
nokogiri (1.8.2)
|
56
|
+
mini_portile2 (~> 2.3.0)
|
57
|
+
pony (1.12)
|
54
58
|
mail (>= 2.0)
|
55
|
-
public_suffix (
|
56
|
-
rack (2.0.
|
57
|
-
rack-protection (2.0.
|
59
|
+
public_suffix (3.0.2)
|
60
|
+
rack (2.0.4)
|
61
|
+
rack-protection (2.0.1)
|
58
62
|
rack
|
59
|
-
rack-test (0.
|
60
|
-
rack (>= 1.0)
|
61
|
-
rspec (3.
|
62
|
-
rspec-core (~> 3.
|
63
|
-
rspec-expectations (~> 3.
|
64
|
-
rspec-mocks (~> 3.
|
65
|
-
rspec-core (3.
|
66
|
-
rspec-support (~> 3.
|
67
|
-
rspec-expectations (3.
|
63
|
+
rack-test (1.0.0)
|
64
|
+
rack (>= 1.0, < 3)
|
65
|
+
rspec (3.7.0)
|
66
|
+
rspec-core (~> 3.7.0)
|
67
|
+
rspec-expectations (~> 3.7.0)
|
68
|
+
rspec-mocks (~> 3.7.0)
|
69
|
+
rspec-core (3.7.1)
|
70
|
+
rspec-support (~> 3.7.0)
|
71
|
+
rspec-expectations (3.7.0)
|
68
72
|
diff-lcs (>= 1.2.0, < 2.0)
|
69
|
-
rspec-support (~> 3.
|
70
|
-
rspec-mocks (3.
|
73
|
+
rspec-support (~> 3.7.0)
|
74
|
+
rspec-mocks (3.7.0)
|
71
75
|
diff-lcs (>= 1.2.0, < 2.0)
|
72
|
-
rspec-support (~> 3.
|
73
|
-
rspec-support (3.
|
74
|
-
sinatra (2.0.
|
76
|
+
rspec-support (~> 3.7.0)
|
77
|
+
rspec-support (3.7.1)
|
78
|
+
sinatra (2.0.1)
|
75
79
|
mustermann (~> 1.0)
|
76
80
|
rack (~> 2.0)
|
77
|
-
rack-protection (= 2.0.
|
81
|
+
rack-protection (= 2.0.1)
|
78
82
|
tilt (~> 2.0)
|
79
83
|
templater (1.0.0)
|
80
84
|
diff-lcs (>= 1.1.2)
|
81
85
|
extlib (>= 0.9.5)
|
82
86
|
highline (>= 1.4.0)
|
83
|
-
tilt (2.0.
|
84
|
-
xpath (
|
85
|
-
nokogiri (~> 1.
|
87
|
+
tilt (2.0.8)
|
88
|
+
xpath (3.0.0)
|
89
|
+
nokogiri (~> 1.8)
|
86
90
|
|
87
91
|
PLATFORMS
|
88
92
|
ruby
|
@@ -100,4 +104,4 @@ DEPENDENCIES
|
|
100
104
|
xpath
|
101
105
|
|
102
106
|
BUNDLED WITH
|
103
|
-
1.
|
107
|
+
1.16.1
|
data/lib/email_spec/mail_ext.rb
CHANGED
data/lib/email_spec/version.rb
CHANGED
@@ -30,6 +30,11 @@ describe EmailSpec::MailExt do
|
|
30
30
|
email = Mail.new(:body => "hi")
|
31
31
|
expect(email.default_part.body).to eq(email.default_part_body)
|
32
32
|
end
|
33
|
+
|
34
|
+
it "compatible with ActiveSupport::SafeBuffer" do
|
35
|
+
email = Mail.new(:body => ActiveSupport::SafeBuffer.new("bacon & pancake"))
|
36
|
+
expect(email.default_part_body).to eq ("bacon & pancake")
|
37
|
+
end
|
33
38
|
end
|
34
39
|
|
35
40
|
describe "#html" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: email_spec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Mabey
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2018-04-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: htmlentities
|
@@ -46,14 +46,14 @@ dependencies:
|
|
46
46
|
requirements:
|
47
47
|
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: '2.
|
49
|
+
version: '2.7'
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - "~>"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: '2.
|
56
|
+
version: '2.7'
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: rake
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
@@ -316,7 +316,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
316
316
|
version: '0'
|
317
317
|
requirements: []
|
318
318
|
rubyforge_project: email-spec
|
319
|
-
rubygems_version: 2.6.
|
319
|
+
rubygems_version: 2.6.14
|
320
320
|
signing_key:
|
321
321
|
specification_version: 4
|
322
322
|
summary: Easily test email in RSpec, Cucumber or Minitest
|