marfa 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/marfa/configuration.rb +2 -0
- data/lib/marfa/version.rb +1 -1
- data/marfa.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6202c57faaf2f98fea4cc2929f2e90532619ccc0
|
4
|
+
data.tar.gz: 7f35b97f66b3ce9454d8c43f6a191e3508c40d72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59c404179618044b13d3213f79d8c22a56a3ce9c0d24a1eeb4785a2750acfb06ecd6aa792c2c1643585c12d6150dba81628e938b1191db0e20b8b6f934eaa530
|
7
|
+
data.tar.gz: 98f91c8ad0a64291581faca28d0e95ea1d3159c5bc1865125772da92babee63d3556ee122a69b3015e3b4d4e176bd1a7ecf6cb46bd1e4aab40ecb8b68193ee08
|
data/lib/marfa/configuration.rb
CHANGED
@@ -39,6 +39,8 @@ module Marfa
|
|
39
39
|
def self._configure_ext_modules(app)
|
40
40
|
opts = Marfa.config.html_compression_options
|
41
41
|
|
42
|
+
app.use Rack::Session::Cookie, key: 'rack.session', secret: Marfa.config.session_secret
|
43
|
+
|
42
44
|
app.configure do
|
43
45
|
app.use Rack::Csrf, raise: true if Marfa.config.csrf_enabled
|
44
46
|
app.use HtmlCompressor::Rack, opts if opts && opts[:enabled]
|
data/lib/marfa/version.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Version constant
|
2
2
|
module Marfa
|
3
3
|
# The version constant for the current version of Marfa
|
4
|
-
VERSION = '0.4.
|
4
|
+
VERSION = '0.4.6' unless defined?(Marfa::VERSION)
|
5
5
|
|
6
6
|
# The current Marfa version.
|
7
7
|
# @return [String] The version number
|
data/marfa.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: marfa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Max Krechetov
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-05-
|
13
|
+
date: 2017-05-17 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: haml
|