simple_nested_set 0.0.21 → 0.0.22
Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@ module SimpleNestedSet
|
|
6
6
|
case database.to_sym
|
7
7
|
when :sqlite, :sqlite3
|
8
8
|
"GROUP_CONCAT(#{field}, '#{separator}')"
|
9
|
-
when :mysql
|
9
|
+
when :mysql, :mysql2
|
10
10
|
"GROUP_CONCAT(`#{field}`, '#{separator}')"
|
11
11
|
when :postgresql
|
12
12
|
"array_to_string(array_agg(\"#{field}\"), '#{separator}')"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_nested_set
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 51
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 22
|
10
|
+
version: 0.0.22
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Sven Fuchs
|