eu_cookies 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3fa48eb9dac60abf79394dc56ecc86f61c431c3f
4
- data.tar.gz: f85fb2bca6de16291aaa8c4d36a22dadcdf14d09
3
+ metadata.gz: 677ac0ae9f9c15a7fc7c0d1b2db638b89c188445
4
+ data.tar.gz: 2264280f5a823e2f7d2834e8a6fc8cb2f47395e4
5
5
  SHA512:
6
- metadata.gz: ed3a6760164fd7ceace7a831d31ec8f0231bb1e1a0df77b80cebd5aa8e2e0d485240ce370a473ad468380847924bbd24162161efd6b06b050e08ad44bb51939d
7
- data.tar.gz: fc8f4f919052b087a815e19221e80c6b82f8e6e5c96976bce55eb3a1b13d250c27c887d32f8fdf6cc2e40a78f7df240e40c036173fbe8901bea5b16b3c04ed68
6
+ metadata.gz: 264114ba06380ced27c8ba41c85ce89742afa3e26591ff648f7abde701d6c7e88659e1eef391da37736d600ce1777103b926a827fdf963591c7b96d17413b065
7
+ data.tar.gz: 2dc7caf4f165e9ed53b1cfc60c97c989ae836f857b62f76c5b0e79bb54c4814aefc02613318ef82fb3eca23a19b7bd50e2b3fd09f075bbf6188e39d5e16bd63c
data/config/routes.rb CHANGED
@@ -1,5 +1,7 @@
1
1
  Rails.application.routes.draw do
2
- get "cookies-policy", to: "eu_cookies#policy", constraints: ->(_) {
2
+ get "cookies-policy", to: "eu_cookies#policy",
3
+ as: :cookies_policy,
4
+ constraints: ->(_) {
3
5
  EuCookies.enabled && EuCookies.display_policy == true
4
6
  }
5
7
  end
@@ -1,3 +1,3 @@
1
1
  module EuCookies
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eu_cookies
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Lepore
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-08-12 00:00:00.000000000 Z
12
+ date: 2016-09-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -242,7 +242,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
242
242
  version: '0'
243
243
  requirements: []
244
244
  rubyforge_project:
245
- rubygems_version: 2.4.6
245
+ rubygems_version: 2.4.8
246
246
  signing_key:
247
247
  specification_version: 4
248
248
  summary: A Rails solution to the European Cookie Law issue