enjoy_cms_goto 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/locales/enjoy.goto.ru.yml +12 -0
- data/lib/enjoy/goto/middleware.rb +0 -2
- data/lib/enjoy/goto/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46ff6a0dd7e6a8b5be871adaeaf59c61533552a3
|
4
|
+
data.tar.gz: f12b1c6a868b98d5b295ea03366f331fa9b9b707
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5494059e3b5cd68dccc02f32c56c373d1be73dc2ae771368afc903ff949e306cb2d634ddf7a30c29ce84e2f04cad170c9812f026e45c7704e3371fcb42eeca3
|
7
|
+
data.tar.gz: 1b5e57b43ad0d148f222e6fa29b095aaa6e3e7cc8296e138e652914f51ba581fa1718bc42a1f49bd4e0ef8554c78ab714ef9b7c982e3037399fcabfc04128002
|
@@ -0,0 +1,12 @@
|
|
1
|
+
ru:
|
2
|
+
mongoid:
|
3
|
+
models:
|
4
|
+
enjoy/goto/transfer: "Переходы с сайта"
|
5
|
+
attributes:
|
6
|
+
enjoy/goto/transfer:
|
7
|
+
url: URL перехода
|
8
|
+
received_url: Принятый URL
|
9
|
+
host: Хост перехода
|
10
|
+
referer: Страница, с которой перешли
|
11
|
+
source_ip: IP пользователя
|
12
|
+
creator: Пользователь
|
@@ -21,8 +21,6 @@ module Enjoy::Goto
|
|
21
21
|
if _href =~ /^(https?:)?\/\//i
|
22
22
|
begin
|
23
23
|
_host = Addressable::URI.parse(_href).host
|
24
|
-
puts _href
|
25
|
-
puts _host
|
26
24
|
unless @excluded_hosts.include?(_host)
|
27
25
|
a['href'] = Rails.application.routes.url_helpers.enjoy_goto_path(url: _href)
|
28
26
|
end
|
data/lib/enjoy/goto/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enjoy_cms_goto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Kiseliev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -101,6 +101,7 @@ files:
|
|
101
101
|
- bin/console
|
102
102
|
- bin/setup
|
103
103
|
- config/initializers/rails_admin.rb
|
104
|
+
- config/locales/enjoy.goto.ru.yml
|
104
105
|
- enjoy_cms_goto.gemspec
|
105
106
|
- lib/enjoy/goto/admin.rb
|
106
107
|
- lib/enjoy/goto/admin/transfer.rb
|