console_util 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,4 +1,5 @@
1
1
  *.gem
2
2
  .bundle
3
+ .idea
3
4
  Gemfile.lock
4
5
  pkg/*
data/lib/console_util.rb CHANGED
@@ -16,7 +16,7 @@ module ConsoleUtil
16
16
  ActiveRecord::Base.connection.class_eval do
17
17
  define_method(:execute) do |sql, *name|
18
18
  puts "#{color}#{sql}#{Color::RESET}"
19
- super
19
+ super(sql, *name)
20
20
  end
21
21
  end
22
22
 
@@ -1,3 +1,3 @@
1
1
  module ConsoleUtil
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: console_util
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 1
10
- version: 0.4.1
9
+ - 2
10
+ version: 0.4.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Clyde Law
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2016-12-09 00:00:00 Z
18
+ date: 2017-01-19 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rails