remetric 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 719a7271c69b7d7c7b86f8b44ab1e597be94e8b7
4
- data.tar.gz: 9a146251b7529e4a9f988895b2fafafc32ce0073
3
+ metadata.gz: 2c25c7c747ca4f55f6842fcd45b1cbaab4ed7cd0
4
+ data.tar.gz: 59dbb3448be5e0c4fbdae41764d2967d41b8a02d
5
5
  SHA512:
6
- metadata.gz: e7a2360b34db5ecc79f41d670e5f76626aa1a7f4e48d0cb08919eb7c866a2e8d6c43d5e2ad899fa21f5c594495b3fb237450e663c02fd0b49b446aa1ce0f22c3
7
- data.tar.gz: 23fb8f4fe86f5f14d5a01b68afe3a0dd5f3877e783c42aa693ca6ddd7244af9d3a8850f674cd3b702a72c673d27289a70931c827f946bac16f0d85f926f5906c
6
+ metadata.gz: db967d9df2a8fcbd257c1a4967ab84188b826932ceaa2c2f23ef3302df8558623bfa062fc46e812e96bd243d67c65514db1801f5abcf29c28c2fc358c993002c
7
+ data.tar.gz: 76ffd2e8f33c48e18b794af6198b81cab687f653bbc2f8cacb3004f5dba1da15e2c9c70aca080a98814152eae1a7e294084f3a42c4eb5bc688fb3186872dc139
@@ -42,7 +42,7 @@ module Remetric
42
42
  if self.has_attribute? model
43
43
  args = self.send(model)
44
44
 
45
- if args.method_defined? :remetric_attributes
45
+ if args.respond_to? :remetric_attributes
46
46
  args = args.remetric_attributes
47
47
  elsif args.class.ancestors.include? ActiveRecord::Base
48
48
  args = args.attributes
@@ -1,3 +1,3 @@
1
1
  module Remetric
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remetric
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dallas Read
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-14 00:00:00.000000000 Z
11
+ date: 2014-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails