little_brother 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/little_brother/utils.rb +1 -1
- data/lib/little_brother/version.rb +1 -1
- data/little_brother.gemspec +1 -1
- metadata +2 -2
data/lib/little_brother/utils.rb
CHANGED
@@ -11,7 +11,7 @@ module LittleBrother
|
|
11
11
|
|
12
12
|
def self.user_actions_in_timeframe(user, start_date, end_date)
|
13
13
|
unless user.nil? || start_date.nil? || end_date.nil?
|
14
|
-
where(:user => user, :created_at => start_date..end_date)
|
14
|
+
Watcher.where(:user => user, :created_at => start_date..end_date)
|
15
15
|
end
|
16
16
|
end
|
17
17
|
end
|
data/little_brother.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: little_brother
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-09-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|