RubyGems
npm
Organizations
Log in
Sign up
RubyGems
ar_http_wrapper
Versions diffs
0.1.9 → 0.2.0
ar_http_wrapper 0.1.9 → 0.2.0
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (3)
hide
show
data/lib/ar_http_wrapper/active_record_http_wrapper.rb
+1
-1
data/lib/ar_http_wrapper/version.rb
+1
-1
metadata
+1
-1
data/lib/ar_http_wrapper/active_record_http_wrapper.rb
CHANGED
Viewed
@@ -47,7 +47,7 @@ class ActiveRecordHttpWrapper
47
47
48
48
def self.count(params={})
49
49
options = {:body => {:count => true}.merge(params)}
50
-
get(to_path("/"),options)
50
+
get(to_path("/"),options)
.body.try(:to_i)
51
51
end
52
52
private
53
53
data/lib/ar_http_wrapper/version.rb
CHANGED
Viewed
@@ -1,3 +1,3 @@
1
1
module ArHttpWrapper
2
-
VERSION = "0.
1
.
9
"
2
+
VERSION = "0.
2
.
0
"
3
3
end
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: ar_http_wrapper
3
3
version: !ruby/object:Gem::Version
4
-
version: 0.
1
.
9
4
+
version: 0.
2
.
0
5
5
prerelease:
6
6
platform: ruby
7
7
authors: