action_dispatch-http-content_disposition 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 9cef3f39a612ba217f0684245502e572f1e4bd32ab401b55391bcb582769ad9e
4
+ data.tar.gz: 2491cc42bd7babde77b216c05cf187e1a5e67c28521c170affaf5ef201d80f6d
5
+ SHA512:
6
+ metadata.gz: 59225d991068aaa0d2bbbbc3c0191f4aa7a94d54a662d574f9d348f1029604797810ef2e9e77e6a6d08d81d9517e4acb0d757ac239f9991aa3e086128cdeb2a1
7
+ data.tar.gz: c136257ef50f643d57ea12216d21de8dd776f4a87c142497ec9854b6b3800d9822c7dfd6663082aeb92d3d4c8bf69893805edc5d02c1561511cc155e72068c03
@@ -0,0 +1,31 @@
1
+ version: 2
2
+ jobs:
3
+ test-ruby-2-5-rails-5-2: &test
4
+ machine: true
5
+ environment:
6
+ SERVICE_NAME: ruby-2-5-rails-5-2
7
+ steps:
8
+ - checkout
9
+ - run: docker-compose build $SERVICE_NAME
10
+ - run: docker-compose run $SERVICE_NAME bundle install
11
+ - run: docker-compose run $SERVICE_NAME bundle exec rake test
12
+ test-ruby-2-5-rails-5-1:
13
+ <<: *test
14
+ environment:
15
+ SERVICE_NAME: ruby-2-5-rails-5-1
16
+ test-ruby-2-5-rails-5-0:
17
+ <<: *test
18
+ environment:
19
+ SERVICE_NAME: ruby-2-5-rails-5-0
20
+ test-ruby-2-5-rails-4-2:
21
+ <<: *test
22
+ environment:
23
+ SERVICE_NAME: ruby-2-5-rails-4-2
24
+ workflows:
25
+ version: 2
26
+ test:
27
+ jobs:
28
+ - test-ruby-2-5-rails-5-2
29
+ - test-ruby-2-5-rails-5-1
30
+ - test-ruby-2-5-rails-5-0
31
+ - test-ruby-2-5-rails-4-2
@@ -0,0 +1,8 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.5.1
7
+ before_install: gem install bundler -v 1.16.4
@@ -0,0 +1,18 @@
1
+ ARG RUBY_IMAGE
2
+
3
+ FROM $RUBY_IMAGE
4
+
5
+ RUN apk update && apk add --no-cache git less build-base tzdata openssh-client
6
+
7
+ RUN adduser -u 1000 -D app && \
8
+ mkdir -p /app /vendor/bundle && \
9
+ chown -R app /app /vendor
10
+
11
+ ENV LANG=C.UTF-8 \
12
+ LC_ALL=C.UTF-8 \
13
+ BUNDLE_JOBS=4 \
14
+ BUNDLE_PATH=/vendor/bundle
15
+
16
+ USER app
17
+
18
+ WORKDIR /app
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in action_dispatch-http-content_disposition.gemspec
6
+ gemspec
@@ -0,0 +1,8 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in action_dispatch-http-content_disposition.gemspec
6
+ gemspec
7
+
8
+ gem "rails", "~> 4.2.0"
@@ -0,0 +1,137 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ action_dispatch-http-content_disposition (0.1.0)
5
+ actionpack (>= 4.2, < 6)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actionmailer (4.2.10)
11
+ actionpack (= 4.2.10)
12
+ actionview (= 4.2.10)
13
+ activejob (= 4.2.10)
14
+ mail (~> 2.5, >= 2.5.4)
15
+ rails-dom-testing (~> 1.0, >= 1.0.5)
16
+ actionpack (4.2.10)
17
+ actionview (= 4.2.10)
18
+ activesupport (= 4.2.10)
19
+ rack (~> 1.6)
20
+ rack-test (~> 0.6.2)
21
+ rails-dom-testing (~> 1.0, >= 1.0.5)
22
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
23
+ actionview (4.2.10)
24
+ activesupport (= 4.2.10)
25
+ builder (~> 3.1)
26
+ erubis (~> 2.7.0)
27
+ rails-dom-testing (~> 1.0, >= 1.0.5)
28
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
29
+ activejob (4.2.10)
30
+ activesupport (= 4.2.10)
31
+ globalid (>= 0.3.0)
32
+ activemodel (4.2.10)
33
+ activesupport (= 4.2.10)
34
+ builder (~> 3.1)
35
+ activerecord (4.2.10)
36
+ activemodel (= 4.2.10)
37
+ activesupport (= 4.2.10)
38
+ arel (~> 6.0)
39
+ activesupport (4.2.10)
40
+ i18n (~> 0.7)
41
+ minitest (~> 5.1)
42
+ thread_safe (~> 0.3, >= 0.3.4)
43
+ tzinfo (~> 1.1)
44
+ addressable (2.5.2)
45
+ public_suffix (>= 2.0.2, < 4.0)
46
+ arel (6.0.4)
47
+ builder (3.2.3)
48
+ byebug (10.0.2)
49
+ capybara (3.8.1)
50
+ addressable
51
+ mini_mime (>= 0.1.3)
52
+ nokogiri (~> 1.8)
53
+ rack (>= 1.6.0)
54
+ rack-test (>= 0.6.3)
55
+ xpath (~> 3.1)
56
+ coderay (1.1.2)
57
+ concurrent-ruby (1.0.5)
58
+ crass (1.0.4)
59
+ erubis (2.7.0)
60
+ globalid (0.4.1)
61
+ activesupport (>= 4.2.0)
62
+ i18n (0.9.5)
63
+ concurrent-ruby (~> 1.0)
64
+ loofah (2.2.2)
65
+ crass (~> 1.0.2)
66
+ nokogiri (>= 1.5.9)
67
+ mail (2.7.0)
68
+ mini_mime (>= 0.1.1)
69
+ method_source (0.9.0)
70
+ mini_mime (1.0.1)
71
+ mini_portile2 (2.3.0)
72
+ minitest (5.11.3)
73
+ nokogiri (1.8.4)
74
+ mini_portile2 (~> 2.3.0)
75
+ pry (0.11.3)
76
+ coderay (~> 1.1.0)
77
+ method_source (~> 0.9.0)
78
+ pry-byebug (3.6.0)
79
+ byebug (~> 10.0)
80
+ pry (~> 0.10)
81
+ public_suffix (3.0.3)
82
+ rack (1.6.10)
83
+ rack-test (0.6.3)
84
+ rack (>= 1.0)
85
+ rails (4.2.10)
86
+ actionmailer (= 4.2.10)
87
+ actionpack (= 4.2.10)
88
+ actionview (= 4.2.10)
89
+ activejob (= 4.2.10)
90
+ activemodel (= 4.2.10)
91
+ activerecord (= 4.2.10)
92
+ activesupport (= 4.2.10)
93
+ bundler (>= 1.3.0, < 2.0)
94
+ railties (= 4.2.10)
95
+ sprockets-rails
96
+ rails-deprecated_sanitizer (1.0.3)
97
+ activesupport (>= 4.2.0.alpha)
98
+ rails-dom-testing (1.0.9)
99
+ activesupport (>= 4.2.0, < 5.0)
100
+ nokogiri (~> 1.6)
101
+ rails-deprecated_sanitizer (>= 1.0.1)
102
+ rails-html-sanitizer (1.0.4)
103
+ loofah (~> 2.2, >= 2.2.2)
104
+ railties (4.2.10)
105
+ actionpack (= 4.2.10)
106
+ activesupport (= 4.2.10)
107
+ rake (>= 0.8.7)
108
+ thor (>= 0.18.1, < 2.0)
109
+ rake (10.5.0)
110
+ sprockets (3.7.2)
111
+ concurrent-ruby (~> 1.0)
112
+ rack (> 1, < 3)
113
+ sprockets-rails (3.2.1)
114
+ actionpack (>= 4.0)
115
+ activesupport (>= 4.0)
116
+ sprockets (>= 3.0.0)
117
+ thor (0.20.0)
118
+ thread_safe (0.3.6)
119
+ tzinfo (1.2.5)
120
+ thread_safe (~> 0.1)
121
+ xpath (3.1.0)
122
+ nokogiri (~> 1.8)
123
+
124
+ PLATFORMS
125
+ ruby
126
+
127
+ DEPENDENCIES
128
+ action_dispatch-http-content_disposition!
129
+ bundler (~> 1.16)
130
+ capybara
131
+ minitest (~> 5.0)
132
+ pry-byebug
133
+ rails (~> 4.2.0)
134
+ rake (~> 10.0)
135
+
136
+ BUNDLED WITH
137
+ 1.16.4
@@ -0,0 +1,8 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in action_dispatch-http-content_disposition.gemspec
6
+ gemspec
7
+
8
+ gem "rails", "~> 5.0.0"
@@ -0,0 +1,143 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ action_dispatch-http-content_disposition (0.1.0)
5
+ actionpack (>= 4.2, < 6)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actioncable (5.0.7)
11
+ actionpack (= 5.0.7)
12
+ nio4r (>= 1.2, < 3.0)
13
+ websocket-driver (~> 0.6.1)
14
+ actionmailer (5.0.7)
15
+ actionpack (= 5.0.7)
16
+ actionview (= 5.0.7)
17
+ activejob (= 5.0.7)
18
+ mail (~> 2.5, >= 2.5.4)
19
+ rails-dom-testing (~> 2.0)
20
+ actionpack (5.0.7)
21
+ actionview (= 5.0.7)
22
+ activesupport (= 5.0.7)
23
+ rack (~> 2.0)
24
+ rack-test (~> 0.6.3)
25
+ rails-dom-testing (~> 2.0)
26
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
+ actionview (5.0.7)
28
+ activesupport (= 5.0.7)
29
+ builder (~> 3.1)
30
+ erubis (~> 2.7.0)
31
+ rails-dom-testing (~> 2.0)
32
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
+ activejob (5.0.7)
34
+ activesupport (= 5.0.7)
35
+ globalid (>= 0.3.6)
36
+ activemodel (5.0.7)
37
+ activesupport (= 5.0.7)
38
+ activerecord (5.0.7)
39
+ activemodel (= 5.0.7)
40
+ activesupport (= 5.0.7)
41
+ arel (~> 7.0)
42
+ activesupport (5.0.7)
43
+ concurrent-ruby (~> 1.0, >= 1.0.2)
44
+ i18n (>= 0.7, < 2)
45
+ minitest (~> 5.1)
46
+ tzinfo (~> 1.1)
47
+ addressable (2.5.2)
48
+ public_suffix (>= 2.0.2, < 4.0)
49
+ arel (7.1.4)
50
+ builder (3.2.3)
51
+ byebug (10.0.2)
52
+ capybara (3.8.1)
53
+ addressable
54
+ mini_mime (>= 0.1.3)
55
+ nokogiri (~> 1.8)
56
+ rack (>= 1.6.0)
57
+ rack-test (>= 0.6.3)
58
+ xpath (~> 3.1)
59
+ coderay (1.1.2)
60
+ concurrent-ruby (1.0.5)
61
+ crass (1.0.4)
62
+ erubis (2.7.0)
63
+ globalid (0.4.1)
64
+ activesupport (>= 4.2.0)
65
+ i18n (1.1.0)
66
+ concurrent-ruby (~> 1.0)
67
+ loofah (2.2.2)
68
+ crass (~> 1.0.2)
69
+ nokogiri (>= 1.5.9)
70
+ mail (2.7.0)
71
+ mini_mime (>= 0.1.1)
72
+ method_source (0.9.0)
73
+ mini_mime (1.0.1)
74
+ mini_portile2 (2.3.0)
75
+ minitest (5.11.3)
76
+ nio4r (2.3.1)
77
+ nokogiri (1.8.4)
78
+ mini_portile2 (~> 2.3.0)
79
+ pry (0.11.3)
80
+ coderay (~> 1.1.0)
81
+ method_source (~> 0.9.0)
82
+ pry-byebug (3.6.0)
83
+ byebug (~> 10.0)
84
+ pry (~> 0.10)
85
+ public_suffix (3.0.3)
86
+ rack (2.0.5)
87
+ rack-test (0.6.3)
88
+ rack (>= 1.0)
89
+ rails (5.0.7)
90
+ actioncable (= 5.0.7)
91
+ actionmailer (= 5.0.7)
92
+ actionpack (= 5.0.7)
93
+ actionview (= 5.0.7)
94
+ activejob (= 5.0.7)
95
+ activemodel (= 5.0.7)
96
+ activerecord (= 5.0.7)
97
+ activesupport (= 5.0.7)
98
+ bundler (>= 1.3.0)
99
+ railties (= 5.0.7)
100
+ sprockets-rails (>= 2.0.0)
101
+ rails-dom-testing (2.0.3)
102
+ activesupport (>= 4.2.0)
103
+ nokogiri (>= 1.6)
104
+ rails-html-sanitizer (1.0.4)
105
+ loofah (~> 2.2, >= 2.2.2)
106
+ railties (5.0.7)
107
+ actionpack (= 5.0.7)
108
+ activesupport (= 5.0.7)
109
+ method_source
110
+ rake (>= 0.8.7)
111
+ thor (>= 0.18.1, < 2.0)
112
+ rake (10.5.0)
113
+ sprockets (3.7.2)
114
+ concurrent-ruby (~> 1.0)
115
+ rack (> 1, < 3)
116
+ sprockets-rails (3.2.1)
117
+ actionpack (>= 4.0)
118
+ activesupport (>= 4.0)
119
+ sprockets (>= 3.0.0)
120
+ thor (0.20.0)
121
+ thread_safe (0.3.6)
122
+ tzinfo (1.2.5)
123
+ thread_safe (~> 0.1)
124
+ websocket-driver (0.6.5)
125
+ websocket-extensions (>= 0.1.0)
126
+ websocket-extensions (0.1.3)
127
+ xpath (3.1.0)
128
+ nokogiri (~> 1.8)
129
+
130
+ PLATFORMS
131
+ ruby
132
+
133
+ DEPENDENCIES
134
+ action_dispatch-http-content_disposition!
135
+ bundler (~> 1.16)
136
+ capybara
137
+ minitest (~> 5.0)
138
+ pry-byebug
139
+ rails (~> 5.0.0)
140
+ rake (~> 10.0)
141
+
142
+ BUNDLED WITH
143
+ 1.16.4
@@ -0,0 +1,8 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in action_dispatch-http-content_disposition.gemspec
6
+ gemspec
7
+
8
+ gem "rails", "~> 5.1.0"
@@ -0,0 +1,143 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ action_dispatch-http-content_disposition (0.1.0)
5
+ actionpack (>= 4.2, < 6)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actioncable (5.1.6)
11
+ actionpack (= 5.1.6)
12
+ nio4r (~> 2.0)
13
+ websocket-driver (~> 0.6.1)
14
+ actionmailer (5.1.6)
15
+ actionpack (= 5.1.6)
16
+ actionview (= 5.1.6)
17
+ activejob (= 5.1.6)
18
+ mail (~> 2.5, >= 2.5.4)
19
+ rails-dom-testing (~> 2.0)
20
+ actionpack (5.1.6)
21
+ actionview (= 5.1.6)
22
+ activesupport (= 5.1.6)
23
+ rack (~> 2.0)
24
+ rack-test (>= 0.6.3)
25
+ rails-dom-testing (~> 2.0)
26
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
+ actionview (5.1.6)
28
+ activesupport (= 5.1.6)
29
+ builder (~> 3.1)
30
+ erubi (~> 1.4)
31
+ rails-dom-testing (~> 2.0)
32
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
+ activejob (5.1.6)
34
+ activesupport (= 5.1.6)
35
+ globalid (>= 0.3.6)
36
+ activemodel (5.1.6)
37
+ activesupport (= 5.1.6)
38
+ activerecord (5.1.6)
39
+ activemodel (= 5.1.6)
40
+ activesupport (= 5.1.6)
41
+ arel (~> 8.0)
42
+ activesupport (5.1.6)
43
+ concurrent-ruby (~> 1.0, >= 1.0.2)
44
+ i18n (>= 0.7, < 2)
45
+ minitest (~> 5.1)
46
+ tzinfo (~> 1.1)
47
+ addressable (2.5.2)
48
+ public_suffix (>= 2.0.2, < 4.0)
49
+ arel (8.0.0)
50
+ builder (3.2.3)
51
+ byebug (10.0.2)
52
+ capybara (3.8.1)
53
+ addressable
54
+ mini_mime (>= 0.1.3)
55
+ nokogiri (~> 1.8)
56
+ rack (>= 1.6.0)
57
+ rack-test (>= 0.6.3)
58
+ xpath (~> 3.1)
59
+ coderay (1.1.2)
60
+ concurrent-ruby (1.0.5)
61
+ crass (1.0.4)
62
+ erubi (1.7.1)
63
+ globalid (0.4.1)
64
+ activesupport (>= 4.2.0)
65
+ i18n (1.1.0)
66
+ concurrent-ruby (~> 1.0)
67
+ loofah (2.2.2)
68
+ crass (~> 1.0.2)
69
+ nokogiri (>= 1.5.9)
70
+ mail (2.7.0)
71
+ mini_mime (>= 0.1.1)
72
+ method_source (0.9.0)
73
+ mini_mime (1.0.1)
74
+ mini_portile2 (2.3.0)
75
+ minitest (5.11.3)
76
+ nio4r (2.3.1)
77
+ nokogiri (1.8.4)
78
+ mini_portile2 (~> 2.3.0)
79
+ pry (0.11.3)
80
+ coderay (~> 1.1.0)
81
+ method_source (~> 0.9.0)
82
+ pry-byebug (3.6.0)
83
+ byebug (~> 10.0)
84
+ pry (~> 0.10)
85
+ public_suffix (3.0.3)
86
+ rack (2.0.5)
87
+ rack-test (1.1.0)
88
+ rack (>= 1.0, < 3)
89
+ rails (5.1.6)
90
+ actioncable (= 5.1.6)
91
+ actionmailer (= 5.1.6)
92
+ actionpack (= 5.1.6)
93
+ actionview (= 5.1.6)
94
+ activejob (= 5.1.6)
95
+ activemodel (= 5.1.6)
96
+ activerecord (= 5.1.6)
97
+ activesupport (= 5.1.6)
98
+ bundler (>= 1.3.0)
99
+ railties (= 5.1.6)
100
+ sprockets-rails (>= 2.0.0)
101
+ rails-dom-testing (2.0.3)
102
+ activesupport (>= 4.2.0)
103
+ nokogiri (>= 1.6)
104
+ rails-html-sanitizer (1.0.4)
105
+ loofah (~> 2.2, >= 2.2.2)
106
+ railties (5.1.6)
107
+ actionpack (= 5.1.6)
108
+ activesupport (= 5.1.6)
109
+ method_source
110
+ rake (>= 0.8.7)
111
+ thor (>= 0.18.1, < 2.0)
112
+ rake (10.5.0)
113
+ sprockets (3.7.2)
114
+ concurrent-ruby (~> 1.0)
115
+ rack (> 1, < 3)
116
+ sprockets-rails (3.2.1)
117
+ actionpack (>= 4.0)
118
+ activesupport (>= 4.0)
119
+ sprockets (>= 3.0.0)
120
+ thor (0.20.0)
121
+ thread_safe (0.3.6)
122
+ tzinfo (1.2.5)
123
+ thread_safe (~> 0.1)
124
+ websocket-driver (0.6.5)
125
+ websocket-extensions (>= 0.1.0)
126
+ websocket-extensions (0.1.3)
127
+ xpath (3.1.0)
128
+ nokogiri (~> 1.8)
129
+
130
+ PLATFORMS
131
+ ruby
132
+
133
+ DEPENDENCIES
134
+ action_dispatch-http-content_disposition!
135
+ bundler (~> 1.16)
136
+ capybara
137
+ minitest (~> 5.0)
138
+ pry-byebug
139
+ rails (~> 5.1.0)
140
+ rake (~> 10.0)
141
+
142
+ BUNDLED WITH
143
+ 1.16.4
@@ -0,0 +1,8 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in action_dispatch-http-content_disposition.gemspec
6
+ gemspec
7
+
8
+ gem "rails", "~> 5.2.0"
@@ -0,0 +1,151 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ action_dispatch-http-content_disposition (0.1.0)
5
+ actionpack (>= 4.2, < 6)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actioncable (5.2.1)
11
+ actionpack (= 5.2.1)
12
+ nio4r (~> 2.0)
13
+ websocket-driver (>= 0.6.1)
14
+ actionmailer (5.2.1)
15
+ actionpack (= 5.2.1)
16
+ actionview (= 5.2.1)
17
+ activejob (= 5.2.1)
18
+ mail (~> 2.5, >= 2.5.4)
19
+ rails-dom-testing (~> 2.0)
20
+ actionpack (5.2.1)
21
+ actionview (= 5.2.1)
22
+ activesupport (= 5.2.1)
23
+ rack (~> 2.0)
24
+ rack-test (>= 0.6.3)
25
+ rails-dom-testing (~> 2.0)
26
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
+ actionview (5.2.1)
28
+ activesupport (= 5.2.1)
29
+ builder (~> 3.1)
30
+ erubi (~> 1.4)
31
+ rails-dom-testing (~> 2.0)
32
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
+ activejob (5.2.1)
34
+ activesupport (= 5.2.1)
35
+ globalid (>= 0.3.6)
36
+ activemodel (5.2.1)
37
+ activesupport (= 5.2.1)
38
+ activerecord (5.2.1)
39
+ activemodel (= 5.2.1)
40
+ activesupport (= 5.2.1)
41
+ arel (>= 9.0)
42
+ activestorage (5.2.1)
43
+ actionpack (= 5.2.1)
44
+ activerecord (= 5.2.1)
45
+ marcel (~> 0.3.1)
46
+ activesupport (5.2.1)
47
+ concurrent-ruby (~> 1.0, >= 1.0.2)
48
+ i18n (>= 0.7, < 2)
49
+ minitest (~> 5.1)
50
+ tzinfo (~> 1.1)
51
+ addressable (2.5.2)
52
+ public_suffix (>= 2.0.2, < 4.0)
53
+ arel (9.0.0)
54
+ builder (3.2.3)
55
+ byebug (10.0.2)
56
+ capybara (3.8.1)
57
+ addressable
58
+ mini_mime (>= 0.1.3)
59
+ nokogiri (~> 1.8)
60
+ rack (>= 1.6.0)
61
+ rack-test (>= 0.6.3)
62
+ xpath (~> 3.1)
63
+ coderay (1.1.2)
64
+ concurrent-ruby (1.0.5)
65
+ crass (1.0.4)
66
+ erubi (1.7.1)
67
+ globalid (0.4.1)
68
+ activesupport (>= 4.2.0)
69
+ i18n (1.1.0)
70
+ concurrent-ruby (~> 1.0)
71
+ loofah (2.2.2)
72
+ crass (~> 1.0.2)
73
+ nokogiri (>= 1.5.9)
74
+ mail (2.7.0)
75
+ mini_mime (>= 0.1.1)
76
+ marcel (0.3.3)
77
+ mimemagic (~> 0.3.2)
78
+ method_source (0.9.0)
79
+ mimemagic (0.3.2)
80
+ mini_mime (1.0.1)
81
+ mini_portile2 (2.3.0)
82
+ minitest (5.11.3)
83
+ nio4r (2.3.1)
84
+ nokogiri (1.8.4)
85
+ mini_portile2 (~> 2.3.0)
86
+ pry (0.11.3)
87
+ coderay (~> 1.1.0)
88
+ method_source (~> 0.9.0)
89
+ pry-byebug (3.6.0)
90
+ byebug (~> 10.0)
91
+ pry (~> 0.10)
92
+ public_suffix (3.0.3)
93
+ rack (2.0.5)
94
+ rack-test (1.1.0)
95
+ rack (>= 1.0, < 3)
96
+ rails (5.2.1)
97
+ actioncable (= 5.2.1)
98
+ actionmailer (= 5.2.1)
99
+ actionpack (= 5.2.1)
100
+ actionview (= 5.2.1)
101
+ activejob (= 5.2.1)
102
+ activemodel (= 5.2.1)
103
+ activerecord (= 5.2.1)
104
+ activestorage (= 5.2.1)
105
+ activesupport (= 5.2.1)
106
+ bundler (>= 1.3.0)
107
+ railties (= 5.2.1)
108
+ sprockets-rails (>= 2.0.0)
109
+ rails-dom-testing (2.0.3)
110
+ activesupport (>= 4.2.0)
111
+ nokogiri (>= 1.6)
112
+ rails-html-sanitizer (1.0.4)
113
+ loofah (~> 2.2, >= 2.2.2)
114
+ railties (5.2.1)
115
+ actionpack (= 5.2.1)
116
+ activesupport (= 5.2.1)
117
+ method_source
118
+ rake (>= 0.8.7)
119
+ thor (>= 0.19.0, < 2.0)
120
+ rake (10.5.0)
121
+ sprockets (3.7.2)
122
+ concurrent-ruby (~> 1.0)
123
+ rack (> 1, < 3)
124
+ sprockets-rails (3.2.1)
125
+ actionpack (>= 4.0)
126
+ activesupport (>= 4.0)
127
+ sprockets (>= 3.0.0)
128
+ thor (0.20.0)
129
+ thread_safe (0.3.6)
130
+ tzinfo (1.2.5)
131
+ thread_safe (~> 0.1)
132
+ websocket-driver (0.7.0)
133
+ websocket-extensions (>= 0.1.0)
134
+ websocket-extensions (0.1.3)
135
+ xpath (3.1.0)
136
+ nokogiri (~> 1.8)
137
+
138
+ PLATFORMS
139
+ ruby
140
+
141
+ DEPENDENCIES
142
+ action_dispatch-http-content_disposition!
143
+ bundler (~> 1.16)
144
+ capybara
145
+ minitest (~> 5.0)
146
+ pry-byebug
147
+ rails (~> 5.2.0)
148
+ rake (~> 10.0)
149
+
150
+ BUNDLED WITH
151
+ 1.16.4
@@ -0,0 +1,150 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ action_dispatch-http-content_disposition (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ actioncable (5.2.1)
10
+ actionpack (= 5.2.1)
11
+ nio4r (~> 2.0)
12
+ websocket-driver (>= 0.6.1)
13
+ actionmailer (5.2.1)
14
+ actionpack (= 5.2.1)
15
+ actionview (= 5.2.1)
16
+ activejob (= 5.2.1)
17
+ mail (~> 2.5, >= 2.5.4)
18
+ rails-dom-testing (~> 2.0)
19
+ actionpack (5.2.1)
20
+ actionview (= 5.2.1)
21
+ activesupport (= 5.2.1)
22
+ rack (~> 2.0)
23
+ rack-test (>= 0.6.3)
24
+ rails-dom-testing (~> 2.0)
25
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
26
+ actionview (5.2.1)
27
+ activesupport (= 5.2.1)
28
+ builder (~> 3.1)
29
+ erubi (~> 1.4)
30
+ rails-dom-testing (~> 2.0)
31
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
32
+ activejob (5.2.1)
33
+ activesupport (= 5.2.1)
34
+ globalid (>= 0.3.6)
35
+ activemodel (5.2.1)
36
+ activesupport (= 5.2.1)
37
+ activerecord (5.2.1)
38
+ activemodel (= 5.2.1)
39
+ activesupport (= 5.2.1)
40
+ arel (>= 9.0)
41
+ activestorage (5.2.1)
42
+ actionpack (= 5.2.1)
43
+ activerecord (= 5.2.1)
44
+ marcel (~> 0.3.1)
45
+ activesupport (5.2.1)
46
+ concurrent-ruby (~> 1.0, >= 1.0.2)
47
+ i18n (>= 0.7, < 2)
48
+ minitest (~> 5.1)
49
+ tzinfo (~> 1.1)
50
+ addressable (2.5.2)
51
+ public_suffix (>= 2.0.2, < 4.0)
52
+ arel (9.0.0)
53
+ builder (3.2.3)
54
+ byebug (10.0.2)
55
+ capybara (3.8.1)
56
+ addressable
57
+ mini_mime (>= 0.1.3)
58
+ nokogiri (~> 1.8)
59
+ rack (>= 1.6.0)
60
+ rack-test (>= 0.6.3)
61
+ xpath (~> 3.1)
62
+ coderay (1.1.2)
63
+ concurrent-ruby (1.0.5)
64
+ crass (1.0.4)
65
+ erubi (1.7.1)
66
+ globalid (0.4.1)
67
+ activesupport (>= 4.2.0)
68
+ i18n (1.1.0)
69
+ concurrent-ruby (~> 1.0)
70
+ loofah (2.2.2)
71
+ crass (~> 1.0.2)
72
+ nokogiri (>= 1.5.9)
73
+ mail (2.7.0)
74
+ mini_mime (>= 0.1.1)
75
+ marcel (0.3.3)
76
+ mimemagic (~> 0.3.2)
77
+ method_source (0.9.0)
78
+ mimemagic (0.3.2)
79
+ mini_mime (1.0.1)
80
+ mini_portile2 (2.3.0)
81
+ minitest (5.11.3)
82
+ nio4r (2.3.1)
83
+ nokogiri (1.8.4)
84
+ mini_portile2 (~> 2.3.0)
85
+ pry (0.11.3)
86
+ coderay (~> 1.1.0)
87
+ method_source (~> 0.9.0)
88
+ pry-byebug (3.6.0)
89
+ byebug (~> 10.0)
90
+ pry (~> 0.10)
91
+ public_suffix (3.0.3)
92
+ rack (2.0.5)
93
+ rack-test (1.1.0)
94
+ rack (>= 1.0, < 3)
95
+ rails (5.2.1)
96
+ actioncable (= 5.2.1)
97
+ actionmailer (= 5.2.1)
98
+ actionpack (= 5.2.1)
99
+ actionview (= 5.2.1)
100
+ activejob (= 5.2.1)
101
+ activemodel (= 5.2.1)
102
+ activerecord (= 5.2.1)
103
+ activestorage (= 5.2.1)
104
+ activesupport (= 5.2.1)
105
+ bundler (>= 1.3.0)
106
+ railties (= 5.2.1)
107
+ sprockets-rails (>= 2.0.0)
108
+ rails-dom-testing (2.0.3)
109
+ activesupport (>= 4.2.0)
110
+ nokogiri (>= 1.6)
111
+ rails-html-sanitizer (1.0.4)
112
+ loofah (~> 2.2, >= 2.2.2)
113
+ railties (5.2.1)
114
+ actionpack (= 5.2.1)
115
+ activesupport (= 5.2.1)
116
+ method_source
117
+ rake (>= 0.8.7)
118
+ thor (>= 0.19.0, < 2.0)
119
+ rake (10.5.0)
120
+ sprockets (3.7.2)
121
+ concurrent-ruby (~> 1.0)
122
+ rack (> 1, < 3)
123
+ sprockets-rails (3.2.1)
124
+ actionpack (>= 4.0)
125
+ activesupport (>= 4.0)
126
+ sprockets (>= 3.0.0)
127
+ thor (0.20.0)
128
+ thread_safe (0.3.6)
129
+ tzinfo (1.2.5)
130
+ thread_safe (~> 0.1)
131
+ websocket-driver (0.7.0)
132
+ websocket-extensions (>= 0.1.0)
133
+ websocket-extensions (0.1.3)
134
+ xpath (3.1.0)
135
+ nokogiri (~> 1.8)
136
+
137
+ PLATFORMS
138
+ ruby
139
+
140
+ DEPENDENCIES
141
+ action_dispatch-http-content_disposition!
142
+ bundler (~> 1.16)
143
+ capybara
144
+ minitest (~> 5.0)
145
+ pry-byebug
146
+ rails (= 5.2.1)
147
+ rake (~> 10.0)
148
+
149
+ BUNDLED WITH
150
+ 1.16.4
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 TODO: Write your name
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,31 @@
1
+ # ActionDispatch::Http::ContentDisposition
2
+
3
+ Are you having trouble about garbled filename in `send_file` or `send_data`?
4
+
5
+ [Rails 6 will have the fix!](https://github.com/rails/rails/pull/33829)
6
+
7
+ This gem contains a back port for old rails (4.2 ~ 5.2).
8
+
9
+ ## Usage
10
+
11
+ Just add this gem to your Gemfile:
12
+
13
+ ```ruby
14
+ gem 'action_dispatch-http-content_disposition'
15
+ ```
16
+
17
+ This gem applies monkey patch automatically.
18
+
19
+ ## Development
20
+
21
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
22
+
23
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
24
+
25
+ ## Contributing
26
+
27
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[mtsmfm]/action_dispatch-http-content_disposition.
28
+
29
+ ## License
30
+
31
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList["test/**/*_test.rb"]
8
+ end
9
+
10
+ task :default => :test
@@ -0,0 +1,33 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "action_dispatch/http/content_disposition/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "action_dispatch-http-content_disposition"
8
+ spec.version = ActionDispatch::Http::ContentDisposition::VERSION
9
+ spec.authors = ["Fumiaki MATSUSHIMA"]
10
+ spec.email = ["mtsmfm@gmail.com"]
11
+
12
+ spec.summary = %q{Backport https://github.com/rails/rails/pull/33829 to older Rails}
13
+ spec.description = %q{Backport https://github.com/rails/rails/pull/33829 to older Rails}
14
+ spec.homepage = "https://github.com/mtsmfm/action_dispatch-http-content_disposition"
15
+ spec.license = "MIT"
16
+
17
+ # Specify which files should be added to the gem when it is released.
18
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
19
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
20
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
21
+ end
22
+ spec.bindir = "exe"
23
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
+ spec.require_paths = ["lib"]
25
+
26
+ spec.add_dependency "actionpack", ">= 4.2", "< 6"
27
+
28
+ spec.add_development_dependency "bundler", "~> 1.16"
29
+ spec.add_development_dependency "rake", "~> 10.0"
30
+ spec.add_development_dependency "minitest", "~> 5.0"
31
+ spec.add_development_dependency "capybara"
32
+ spec.add_development_dependency "pry-byebug"
33
+ end
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "action_dispatch/http/content_disposition"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,13 @@
1
+ #! /usr/bin/env sh
2
+
3
+ set -ex
4
+
5
+ docker-compose build
6
+ docker-compose run ruby-2-5-rails-5-2 sh -c 'bundle check || bundle install'
7
+ docker-compose run ruby-2-5-rails-5-2 bundle exec rake test
8
+ docker-compose run ruby-2-5-rails-5-1 sh -c 'bundle check || bundle install'
9
+ docker-compose run ruby-2-5-rails-5-1 bundle exec rake test
10
+ docker-compose run ruby-2-5-rails-5-0 sh -c 'bundle check || bundle install'
11
+ docker-compose run ruby-2-5-rails-5-0 bundle exec rake test
12
+ docker-compose run ruby-2-5-rails-4-2 sh -c 'bundle check || bundle install'
13
+ docker-compose run ruby-2-5-rails-4-2 bundle exec rake test
@@ -0,0 +1,33 @@
1
+ version: "3"
2
+ services:
3
+ ruby: &ruby
4
+ build:
5
+ context: .
6
+ args:
7
+ RUBY_IMAGE: ruby:2.5.1-alpine
8
+ environment:
9
+ BUNDLE_GEMFILE: /app/Gemfile-rails-5-2
10
+ volumes:
11
+ - .:/app:cached
12
+ - vendor-ruby:/vendor
13
+ - home:/home/app
14
+ - $HOME/.gitconfig:/home/app/.gitconfig:ro
15
+ - $HOME/.ssh:/home/app/.ssh:ro
16
+ - $HOME/.gem:/home/app/.gem
17
+ ruby-2-5-rails-5-2:
18
+ <<: *ruby
19
+ ruby-2-5-rails-5-1:
20
+ <<: *ruby
21
+ environment:
22
+ BUNDLE_GEMFILE: /app/Gemfile-rails-5-1
23
+ ruby-2-5-rails-5-0:
24
+ <<: *ruby
25
+ environment:
26
+ BUNDLE_GEMFILE: /app/Gemfile-rails-5-0
27
+ ruby-2-5-rails-4-2:
28
+ <<: *ruby
29
+ environment:
30
+ BUNDLE_GEMFILE: /app/Gemfile-rails-4-2
31
+ volumes:
32
+ ? home
33
+ ? vendor-ruby
@@ -0,0 +1,48 @@
1
+ # frozen_string_literal: true
2
+ require "action_dispatch/http/content_disposition/version"
3
+
4
+ module ActionDispatch
5
+ module Http
6
+ class ContentDisposition
7
+ def self.format(disposition:, filename:)
8
+ new(disposition: disposition, filename: filename).to_s
9
+ end
10
+
11
+ attr_reader :disposition, :filename
12
+
13
+ def initialize(disposition:, filename:)
14
+ @disposition = disposition
15
+ @filename = filename
16
+ end
17
+
18
+ TRADITIONAL_ESCAPED_CHAR = /[^ A-Za-z0-9!#$+.^_`|~-]/
19
+
20
+ def ascii_filename
21
+ 'filename="' + percent_escape(I18n.transliterate(filename), TRADITIONAL_ESCAPED_CHAR) + '"'
22
+ end
23
+
24
+ RFC_5987_ESCAPED_CHAR = /[^A-Za-z0-9!#$&+.^_`|~-]/
25
+
26
+ def utf8_filename
27
+ "filename*=UTF-8''" + percent_escape(filename, RFC_5987_ESCAPED_CHAR)
28
+ end
29
+
30
+ def to_s
31
+ if filename
32
+ "#{disposition}; #{ascii_filename}; #{utf8_filename}"
33
+ else
34
+ "#{disposition}"
35
+ end
36
+ end
37
+
38
+ private
39
+ def percent_escape(string, pattern)
40
+ string.gsub(pattern) do |char|
41
+ char.bytes.map { |byte| "%%%02X" % byte }.join
42
+ end
43
+ end
44
+ end
45
+ end
46
+ end
47
+
48
+ require "action_dispatch/http/content_disposition/railtie" if defined?(Rails)
@@ -0,0 +1,22 @@
1
+ patch = Module.new do
2
+ private
3
+
4
+ %i[send_data send_file].each do |m|
5
+ define_method(m) do |data_or_path, options = {}|
6
+ disposition = options.fetch(:disposition, ActionController::DataStreaming::DEFAULT_SEND_FILE_DISPOSITION)
7
+
8
+ if disposition
9
+ headers["Content-Disposition"] = ActionDispatch::Http::ContentDisposition.format(disposition: disposition, filename: options[:filename])
10
+ end
11
+
12
+ super(data_or_path, options.merge(disposition: nil))
13
+ end
14
+ end
15
+ end
16
+
17
+ ActiveSupport.on_load(:action_controller) do
18
+ require "action_dispatch/http/content_disposition"
19
+
20
+ ActionController::Base.prepend(patch)
21
+ ActionController::API.prepend(patch) if defined? ActionController::API
22
+ end
@@ -0,0 +1,7 @@
1
+ module ActionDispatch
2
+ module Http
3
+ class ContentDisposition
4
+ VERSION = "0.1.0"
5
+ end
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,159 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: action_dispatch-http-content_disposition
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Fumiaki MATSUSHIMA
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-09-24 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: actionpack
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '4.2'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '6'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '4.2'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '6'
33
+ - !ruby/object:Gem::Dependency
34
+ name: bundler
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.16'
40
+ type: :development
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.16'
47
+ - !ruby/object:Gem::Dependency
48
+ name: rake
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '10.0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '10.0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: minitest
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '5.0'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '5.0'
75
+ - !ruby/object:Gem::Dependency
76
+ name: capybara
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ - !ruby/object:Gem::Dependency
90
+ name: pry-byebug
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ description: Backport https://github.com/rails/rails/pull/33829 to older Rails
104
+ email:
105
+ - mtsmfm@gmail.com
106
+ executables: []
107
+ extensions: []
108
+ extra_rdoc_files: []
109
+ files:
110
+ - ".circleci/config.yml"
111
+ - ".gitignore"
112
+ - ".travis.yml"
113
+ - Dockerfile
114
+ - Gemfile
115
+ - Gemfile-rails-4-2
116
+ - Gemfile-rails-4-2.lock
117
+ - Gemfile-rails-5-0
118
+ - Gemfile-rails-5-0.lock
119
+ - Gemfile-rails-5-1
120
+ - Gemfile-rails-5-1.lock
121
+ - Gemfile-rails-5-2
122
+ - Gemfile-rails-5-2.lock
123
+ - Gemfile.lock
124
+ - LICENSE.txt
125
+ - README.md
126
+ - Rakefile
127
+ - action_dispatch-http-content_disposition.gemspec
128
+ - bin/console
129
+ - bin/setup
130
+ - bin/test_all
131
+ - docker-compose.yml
132
+ - lib/action_dispatch/http/content_disposition.rb
133
+ - lib/action_dispatch/http/content_disposition/railtie.rb
134
+ - lib/action_dispatch/http/content_disposition/version.rb
135
+ homepage: https://github.com/mtsmfm/action_dispatch-http-content_disposition
136
+ licenses:
137
+ - MIT
138
+ metadata: {}
139
+ post_install_message:
140
+ rdoc_options: []
141
+ require_paths:
142
+ - lib
143
+ required_ruby_version: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - ">="
146
+ - !ruby/object:Gem::Version
147
+ version: '0'
148
+ required_rubygems_version: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ requirements: []
154
+ rubyforge_project:
155
+ rubygems_version: 2.7.7
156
+ signing_key:
157
+ specification_version: 4
158
+ summary: Backport https://github.com/rails/rails/pull/33829 to older Rails
159
+ test_files: []