initforthe-cookies 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 2319e94eef61ecee1fbf83878c6c9cbb80eed37b
4
+ data.tar.gz: 9985c8979bf09067e8d8d5be6d6df5db09ffc866
5
+ SHA512:
6
+ metadata.gz: a270ae905bed7e3383b79e9a060f673b60e494ad0d6c4ad8d2763b5fa51b9b65166ed5a815a03c25d3f93740b027ffce90e738e9152b988ca57c8ae860d5f419
7
+ data.tar.gz: 54bc35c9c8ed4606a0aa34674f69a2e197385b3011c91e4c3a57e46dccba1ff180218b97b0161037adcb0d2bef8955ed040b1e25cb7b6497b2b6355b9efacfba
@@ -1,11 +1,8 @@
1
1
  <div id="cookie_policy">
2
- <%= form_for :cookie_policy, url: initforthe_cookies.accept_cookie_policy_path, remote: true do |f| -%>
3
- <%= f.submit 'Hide this notice', class: Initforthe::Cookies.button_classes || '' -%>
4
- <%- end -%>
5
- <p>
6
- <%= Initforthe::Cookies.site_name %> uses cookies. Some may have been set already.
7
- <%= link_to 'Read about cookies used on this site', Initforthe::Cookies.policy_url %>.
8
- Please click the button to hide this notice.
9
- By continuing your use of the site, you agree that you're happy to accept the cookies we use.
10
- </p>
2
+ <%= form_for :cookie_policy, url: initforthe_cookies.accept_cookie_policy_path, remote: true do |f| -%>
3
+ <%= f.submit t(:hide_button), class: Initforthe::Cookies.button_classes || '' -%>
4
+ <% end %>
5
+ <%= t :first_phrase, site: Initforthe::Cookies.site_name %>
6
+ <%= link_to t(:link_to_regulations), Initforthe::Cookies.policy_url %>.
7
+ <%= t :second_phrase %>
11
8
  </div>
@@ -0,0 +1,5 @@
1
+ en:
2
+ hide_button: "Hide this notice"
3
+ first_phrase: "%{site} uses cookies. Some may have been set already."
4
+ link_to_regulations: 'Read about cookies used on this site'
5
+ second_phrase: "Please click the button to hide this notice. By continuing your use of the site, you agree that you're happy to accept the cookies we use."
@@ -0,0 +1,5 @@
1
+ pl:
2
+ hide_button: "Ukryj"
3
+ first_phrase: "Serwis %{site} używa plików cookie. Niektóre z nich już zostały ustawione."
4
+ link_to_regulations: 'Przeczytaj o naszej polityce cookie.'
5
+ second_phrase: "Możesz kliknąć na przycisk, aby ukryć tą wiadomość . Ale pamiętaj, dalsze korzystanie ze strony onacza akceptacje naszej polityki plików cookie."
@@ -1,3 +1,3 @@
1
1
  module InitfortheCookies
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,30 +1,28 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: initforthe-cookies
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
5
- prerelease:
4
+ version: 0.0.4
6
5
  platform: ruby
7
6
  authors:
7
+ - Tom Simnett
8
8
  - Rob Holland
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-01 00:00:00.000000000 Z
12
+ date: 2013-10-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
16
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
17
  requirements:
19
- - - ! '>='
18
+ - - '>='
20
19
  - !ruby/object:Gem::Version
21
20
  version: 3.1.0
22
21
  type: :runtime
23
22
  prerelease: false
24
23
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
24
  requirements:
27
- - - ! '>='
25
+ - - '>='
28
26
  - !ruby/object:Gem::Version
29
27
  version: 3.1.0
30
28
  description: The Information Commissioner's Office provide information as to how UK-based
@@ -32,17 +30,19 @@ description: The Information Commissioner's Office provide information as to how
32
30
  overlay which sets a cookie on acceptance, but otherwise doesn't interfere with
33
31
  the site, in line with ICO guidelines.
34
32
  email:
35
- - rob@initforthe.com
33
+ - info@initforthe.com
36
34
  executables: []
37
35
  extensions: []
38
36
  extra_rdoc_files: []
39
37
  files:
40
38
  - app/controllers/initforthe/cookies/policy_controller.rb
41
39
  - app/views/cookie_policy/_show.html.erb
40
+ - config/locales/en.cookies.initforthe.yml
41
+ - config/locales/pl.cookies.initforthe.yml
42
42
  - config/routes.rb
43
+ - lib/initforthe-cookies/engine.rb
43
44
  - lib/initforthe-cookies/helpers.rb
44
45
  - lib/initforthe-cookies/hooks.rb
45
- - lib/initforthe-cookies/engine.rb
46
46
  - lib/initforthe-cookies/version.rb
47
47
  - lib/initforthe-cookies.rb
48
48
  - vendor/assets/javascripts/initforthe-cookies.js
@@ -51,27 +51,27 @@ files:
51
51
  - Rakefile
52
52
  - README.md
53
53
  homepage: http://github.com/initforthe/initforthe-cookies
54
- licenses: []
54
+ licenses:
55
+ - MIT
56
+ metadata: {}
55
57
  post_install_message:
56
58
  rdoc_options: []
57
59
  require_paths:
58
60
  - lib
59
61
  required_ruby_version: !ruby/object:Gem::Requirement
60
- none: false
61
62
  requirements:
62
- - - ! '>='
63
+ - - '>='
63
64
  - !ruby/object:Gem::Version
64
65
  version: '0'
65
66
  required_rubygems_version: !ruby/object:Gem::Requirement
66
- none: false
67
67
  requirements:
68
- - - ! '>='
68
+ - - '>='
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
72
  rubyforge_project:
73
- rubygems_version: 1.8.23
73
+ rubygems_version: 2.0.3
74
74
  signing_key:
75
- specification_version: 3
75
+ specification_version: 4
76
76
  summary: Opt-out cookie policy notice engine for rails.
77
77
  test_files: []