laximo 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/laximo/query.rb +4 -3
- data/lib/laximo/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: e338a88ae51e7d0e2241ffc5a664d32e40a9ab22
|
|
4
|
+
data.tar.gz: b1536a91695f130e644def1594c7029e4ce88554
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7a8a0ff00221b465f6aef65f63e6aaa68f0c82ec4ddbdb18b6f13ed30bf0b679b3dfdc68e659936cd3907a3caa589588678fee25f99f44be45c53b4fde67cb55
|
|
7
|
+
data.tar.gz: dcb4eaa246ece522445f2126142fe291c7ef4e9971d04b7f1822272cae5fb179337f82ea3ab667413f4331e469f968341470f6d7546d5cd08a2712ddbea90fe2
|
data/lib/laximo/query.rb
CHANGED
|
@@ -13,7 +13,7 @@ module Laximo
|
|
|
13
13
|
def locale(v = nil)
|
|
14
14
|
|
|
15
15
|
@str = nil
|
|
16
|
-
@
|
|
16
|
+
@query[:Locale] = escape(v)
|
|
17
17
|
self
|
|
18
18
|
|
|
19
19
|
end # locale
|
|
@@ -196,13 +196,14 @@ module Laximo
|
|
|
196
196
|
|
|
197
197
|
return @str unless @str.nil?
|
|
198
198
|
|
|
199
|
-
@str =
|
|
199
|
+
@str = ''
|
|
200
200
|
|
|
201
201
|
@query.each { |key, value|
|
|
202
202
|
@str << "|#{key}=#{value}"
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
@str
|
|
205
|
+
@str[0] = ''
|
|
206
|
+
@str = "#{@func_name}:#{@str}"
|
|
206
207
|
|
|
207
208
|
end # to_s
|
|
208
209
|
|
data/lib/laximo/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: laximo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ivan Pilyaev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-05-
|
|
11
|
+
date: 2016-05-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: nokogiri
|