acts_as_trackable 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: a700b0c0fba945f6c9876467d413d0600f0a2ab74d99972056dfe927748db138
4
- data.tar.gz: 9418887b082a2b132aeccd35141195399199b9ad434cbe89deaaeb29504a4e78
3
+ metadata.gz: 041cc056fefd655f6a77b9489f9e06d41fdd543fb81e8b6ebca22790a63a77bb
4
+ data.tar.gz: df5ac7eb491c260a79e6b840c7ce35cff36cb42a5b75787fd12cec224f1fa195
5
5
  SHA512:
6
- metadata.gz: a1f834409c983cd6edec2afa8f15fcd6d1d1d18d918aba0b00d7fa75c5d31c04d4404903b4980256d31882a3b9a8c6bcdc268f3665029b2c83c09dcc9b03e401
7
- data.tar.gz: 0f0c6826c985e4b8de63c2144d2971a6aac46ffb32d1202623e55cefa4e9fa1091358770d60a36254b78bdc1d705be11ece697c3b19c2ae25981596b3d1cb2b5
6
+ metadata.gz: 99b5d849667c3f48ab76948929715aa893b1c96ecb6b2df7a8fa819e520b2be1d587e5d9e2923e703811b85300153cb099a70a3ab81c24a31a13d3809fc5ce3e
7
+ data.tar.gz: 063aaf79b5d6f557619d284059325b74b6f5f4052df4274a08e8eb666c2b5ccbd3476ce76ade9df6e78ed05c99a7359f43e02a4bf7d829d7f7814f259d83a374
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- acts_as_trackable (0.1.0)
4
+ acts_as_trackable (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- <!-- [![Gem Version](https://badge.fury.io/rb/acts_as_trackable.svg)](https://badge.fury.io/rb/acts_as_trackable) -->
1
+ [![Gem Version](https://badge.fury.io/rb/acts_as_trackable.svg)](https://badge.fury.io/rb/acts_as_trackable)
2
2
 
3
3
  # ActsAsTrackable
4
4
 
data/changelog.md ADDED
@@ -0,0 +1,3 @@
1
+ # acts_as_trackable Changelog
2
+
3
+ ## Version: 0.1.0
@@ -23,8 +23,8 @@ module Trackable
23
23
  }
24
24
 
25
25
  def self.left_join_users(action, user_type)
26
- "LEFT JOIN #{user_type.downcase.pluralize} AS #{action}_#{user_type.downcase.pluralize} " \
27
- "ON #{action}_#{user_type.downcase.pluralize}.id = object_activities.#{action}_id " \
26
+ "LEFT JOIN #{user_type.underscore.pluralize} AS #{action}_#{user_type.underscore.pluralize} " \
27
+ "ON #{action}_#{user_type.underscore.pluralize}.id = object_activities.#{action}_id " \
28
28
  "AND object_activities.#{action}_type = '#{user_type}'"
29
29
  end
30
30
 
@@ -1,3 +1,3 @@
1
1
  module ActsAsTrackable
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_trackable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ahmad Keewan
@@ -51,6 +51,7 @@ files:
51
51
  - acts_as_trackable.gemspec
52
52
  - bin/console
53
53
  - bin/setup
54
+ - changelog.md
54
55
  - lib/acts_as_trackable.rb
55
56
  - lib/acts_as_trackable/modifier.rb
56
57
  - lib/acts_as_trackable/trackable.rb