actionpack 5.1.4.rc1 → 5.1.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of actionpack might be problematic. Click here for more details.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85dc188ae1e7ed19f6c1409f13cfe436eaf142ac
|
4
|
+
data.tar.gz: 40b27e97b125b37721f47cfce1732c4889f889a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 290bee22ac3d4866472152b68a4a474525030619b74e2fc4a3ea2ab58250bd68b7e8003edb27af290c111efdbd846e986fa6327305892b9230cf5f7b603fc0f1
|
7
|
+
data.tar.gz: 717b382b37b6a10cc5eabe65ca66f4966012c5814f51137ceccd8fea4440c53cef9c02fcc7459d828db73d5e3e7d4a045b3cb881ea0e3ee90ff54f2dc799a41c
|
data/CHANGELOG.md
CHANGED
@@ -42,11 +42,15 @@ module ActionDispatch
|
|
42
42
|
end
|
43
43
|
|
44
44
|
def image_path
|
45
|
-
|
45
|
+
@image_path ||= absolute_image_path.relative_path_from(Pathname.pwd).to_s
|
46
|
+
end
|
47
|
+
|
48
|
+
def absolute_image_path
|
49
|
+
Rails.root.join("tmp/screenshots/#{image_name}.png")
|
46
50
|
end
|
47
51
|
|
48
52
|
def save_image
|
49
|
-
page.save_screenshot(
|
53
|
+
page.save_screenshot(absolute_image_path)
|
50
54
|
end
|
51
55
|
|
52
56
|
def output_type
|
@@ -67,10 +71,10 @@ module ActionDispatch
|
|
67
71
|
|
68
72
|
case output_type
|
69
73
|
when "artifact"
|
70
|
-
message << "\e]1338;url=artifact://#{
|
74
|
+
message << "\e]1338;url=artifact://#{absolute_image_path}\a\n"
|
71
75
|
when "inline"
|
72
|
-
name = inline_base64(File.basename(
|
73
|
-
image = inline_base64(File.read(
|
76
|
+
name = inline_base64(File.basename(absolute_image_path))
|
77
|
+
image = inline_base64(File.read(absolute_image_path))
|
74
78
|
message << "\e]1337;File=name=#{name};height=400px;inline=1:#{image}\a\n"
|
75
79
|
end
|
76
80
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: actionpack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.1.4
|
4
|
+
version: 5.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08
|
11
|
+
date: 2017-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 5.1.4
|
19
|
+
version: 5.1.4
|
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
|
-
version: 5.1.4
|
26
|
+
version: 5.1.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rack
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -92,28 +92,28 @@ dependencies:
|
|
92
92
|
requirements:
|
93
93
|
- - '='
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: 5.1.4
|
95
|
+
version: 5.1.4
|
96
96
|
type: :runtime
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
100
|
- - '='
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: 5.1.4
|
102
|
+
version: 5.1.4
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: activemodel
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
107
|
- - '='
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: 5.1.4
|
109
|
+
version: 5.1.4
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
114
|
- - '='
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: 5.1.4
|
116
|
+
version: 5.1.4
|
117
117
|
description: Web apps on Rails. Simple, battle-tested conventions for building and
|
118
118
|
testing MVC web applications. Works with any Rack-compatible server.
|
119
119
|
email: david@loudthinking.com
|
@@ -298,13 +298,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
298
298
|
version: 2.2.2
|
299
299
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
300
300
|
requirements:
|
301
|
-
- - "
|
301
|
+
- - ">="
|
302
302
|
- !ruby/object:Gem::Version
|
303
|
-
version:
|
303
|
+
version: '0'
|
304
304
|
requirements:
|
305
305
|
- none
|
306
306
|
rubyforge_project:
|
307
|
-
rubygems_version: 2.6.
|
307
|
+
rubygems_version: 2.6.13
|
308
308
|
signing_key:
|
309
309
|
specification_version: 4
|
310
310
|
summary: Web-flow and rendering framework putting the VC in MVC (part of Rails).
|