mathjax-rails-3 3.2.2.2 → 3.2.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/mathjax/rails/controllers.rb +1 -1
- data/lib/mathjax/rails/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5bfb1be70fc3fa1147c326b6c0dbd06b07a4a7f3fa3e6e13ccc1676f8aff4c2
|
4
|
+
data.tar.gz: ab09c327b67bea7719ec1be3a3162efff0a013d574b0f6f8793c861c442c6e0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6cdb4f84b5504c35c9db950318a2d2e2f1eebc8d3f072f2907c66811327031e8af6f1fa0c0100b8f322d594365de3d5bf60180622fe34a0e6308b5f99a483555
|
7
|
+
data.tar.gz: 2a5d84621fce356191e87e2dfa7df5df94dbc98618cac5e8019bb34724dd0f56f42ec172df8678810b730dca67efed7dc48d3d8202c74e42641879a42d82b434
|
@@ -11,7 +11,7 @@ class Mathjax::Rails::MathjaxRailsController < ActionController::Base
|
|
11
11
|
options[:type] = mime_type.to_s unless mime_type.nil?
|
12
12
|
options[:disposition] = 'inline'
|
13
13
|
file = File.expand_path(filepath, __FILE__)
|
14
|
-
if File.
|
14
|
+
if File.exist?(file)
|
15
15
|
send_file file, options
|
16
16
|
else
|
17
17
|
raise ActionController::RoutingError.new('')
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mathjax-rails-3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.2.
|
4
|
+
version: 3.2.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrien Wu
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2023-04-13 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: railties
|
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
186
186
|
- !ruby/object:Gem::Version
|
187
187
|
version: 1.3.6
|
188
188
|
requirements: []
|
189
|
-
rubygems_version: 3.
|
189
|
+
rubygems_version: 3.3.5
|
190
190
|
signing_key:
|
191
191
|
specification_version: 4
|
192
192
|
summary: A simple gem to integrate MathJax with Rails
|