wovnrb 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wovnrb.rb +2 -1
- data/lib/wovnrb/headers.rb +1 -0
- data/lib/wovnrb/version.rb +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: 9bca6921840752d176ce8234475da8575f87d164
|
4
|
+
data.tar.gz: a8036ea52f85e40cddb86b313a26466f26708db9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a828e983b20c53161ad367f0cf9473ca11326e450650e346e38a55f57d14ed2a5e7cfed1607d64ce0440a875375fb4b4499b18c502adcc002d71534a60156f59
|
7
|
+
data.tar.gz: 993df727922b0b3b79f82fb4b7f59c00e80a6ff0ffbc8dbee86a884236bf39625b3bb2fc2ae8c6e5b478950d695139792eea6f53fb9eaf279f6ce3ef35301588
|
data/lib/wovnrb.rb
CHANGED
@@ -107,7 +107,7 @@ module Wovnrb
|
|
107
107
|
end
|
108
108
|
end
|
109
109
|
insert_node = Nokogiri::XML::Node.new('script', d)
|
110
|
-
insert_node['src'] = '//j.wovn.io/0'
|
110
|
+
insert_node['src'] = '//j.dev-wovn.io:3000/0'
|
111
111
|
insert_node['data-wovnio'] = "key=#{STORE.settings['user_token']}&backend=true¤tLang=#{lang}&urlPattern=#{STORE.settings['url_pattern_name']}"
|
112
112
|
# do this so that there will be a closing tag (better compatibility with browsers)
|
113
113
|
insert_node.content = ' '
|
@@ -118,6 +118,7 @@ module Wovnrb
|
|
118
118
|
parent_node.add_child(insert_node)
|
119
119
|
end
|
120
120
|
|
121
|
+
Rails.logger.info("OUTPUT***************************")
|
121
122
|
d.to_html.gsub(/href="([^"]*)"/) {|m| "href=\"#{URI.decode($1)}\""}
|
122
123
|
end
|
123
124
|
end
|
data/lib/wovnrb/headers.rb
CHANGED
data/lib/wovnrb/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wovnrb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeff Sandford
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-06-
|
12
|
+
date: 2015-06-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogumbo
|