sunstone 1.6.6 → 1.6.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/arel/collectors/sunstone.rb +4 -2
- data/sunstone.gemspec +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: e7c685f5bbc67b0a8e32d4198047d49167013ba0
|
4
|
+
data.tar.gz: bb61492a6994d5dfa7df099e2d4032a51022f9f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e94e34eaac36f9c206a120fdfd270f1e6f830b5aa3e3d16355f9ee4802fd190b716fa8d190f7f9eb8414fc0888a6aa20ca4270458aa707382c64c866a2097a7
|
7
|
+
data.tar.gz: 521e2503cb4d49ab17f49dbd8e84665cd04c44a457075f1d9ad3ffce2c17915b6dcaa4bf011f403198e7de33d5a53ca36d605b344d98e90bd88d77697875b2c8
|
@@ -58,10 +58,12 @@ module Arel
|
|
58
58
|
get_params[:limit] = limit if limit
|
59
59
|
get_params[:offset] = offset if offset
|
60
60
|
get_params[:order] = order if order
|
61
|
-
get_params[:columns] = columns if columns
|
62
61
|
|
63
62
|
case operation
|
64
|
-
when :count
|
63
|
+
when :count
|
64
|
+
path += "/#{operation}"
|
65
|
+
when :average, :min, :max
|
66
|
+
get_params[:column] = columns.first
|
65
67
|
path += "/#{operation}"
|
66
68
|
when :update, :delete
|
67
69
|
path += "/#{get_params[:where]['id']}"
|
data/sunstone.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sunstone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Bracy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|