Skip to content

Commit

Permalink
Merge 98db949 into a27fb52
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisokamoto committed Jul 2, 2019
2 parents a27fb52 + 98db949 commit 0e281eb
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
@@ -1,8 +1,7 @@
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.2.2
gemfile:
- gemfiles/rails_3.gemfile
- gemfiles/rails_4.gemfile
- gemfiles/rails_5.gemfile
services: mongodb
4 changes: 2 additions & 2 deletions gemfiles/rails_3.gemfile → gemfiles/rails_5.gemfile
Expand Up @@ -5,7 +5,7 @@ source "https://rubygems.org/"
gem "jquery-rails"
gem "responders"
gem "test-unit", "~> 3.0"
gem "rails", "~> 3.2.21"
gem "mongoid", "~> 3.1.6"
gem "rails", "~> 5.0"
gem "mongoid", "~> 5"

gemspec path: "../"
4 changes: 2 additions & 2 deletions lib/re_track/sweeper.rb
Expand Up @@ -5,7 +5,7 @@ module Sweeper
mattr_accessor :rt_model_instance_names

included do
after_filter :rt_after_filter, only: :create
after_action :rt_after_action, only: :create
end

module ClassMethods
Expand All @@ -20,7 +20,7 @@ def rt_record_instance_names

private

def rt_after_filter
def rt_after_action
rt_records.each { |record| rt_after_create record }
true
end
Expand Down
2 changes: 1 addition & 1 deletion lib/re_track/tracker.rb
Expand Up @@ -3,7 +3,7 @@ module Tracker
extend ActiveSupport::Concern

included do
before_filter :rt_track_referer
before_action :rt_track_referer
end

private
Expand Down
2 changes: 1 addition & 1 deletion lib/re_track/version.rb
@@ -1,3 +1,3 @@
module ReTrack
VERSION = '0.7.4'
VERSION = '0.7.5'
end
2 changes: 1 addition & 1 deletion spec/dummy/app/controllers/users_controller.rb
Expand Up @@ -3,7 +3,7 @@ class UsersController < ApplicationController
re_track :user

respond_to :html
before_filter :get_user, only: [:show, :edit, :update, :destroy]
before_action :get_user, only: [:show, :edit, :update, :destroy]

def index
@users = User.all
Expand Down

0 comments on commit 0e281eb

Please sign in to comment.