paraphraser 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/paraphraser/convertor.rb +2 -5
- data/paraphraser.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.10
|
@@ -32,9 +32,8 @@ module Paraphraser
|
|
32
32
|
end
|
33
33
|
|
34
34
|
def apply_stubs
|
35
|
+
connection.class.send(:alias_method, :real_execute, :execute)
|
35
36
|
connection.instance_eval do
|
36
|
-
alias_method :real_execute, :execute
|
37
|
-
|
38
37
|
def execute(*args)
|
39
38
|
p '--', args.first
|
40
39
|
end
|
@@ -42,9 +41,7 @@ module Paraphraser
|
|
42
41
|
end
|
43
42
|
|
44
43
|
def reset_stubs
|
45
|
-
connection.
|
46
|
-
alias_method :execute, :real_execute
|
47
|
-
end
|
44
|
+
connection.class.send(:alias_method, :execute, :real_execute)
|
48
45
|
end
|
49
46
|
|
50
47
|
end
|
data/paraphraser.gemspec
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 10
|
9
|
+
version: 0.1.10
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Vinay Patel
|
@@ -85,7 +85,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
85
85
|
requirements:
|
86
86
|
- - ">="
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
hash:
|
88
|
+
hash: 825956019
|
89
89
|
segments:
|
90
90
|
- 0
|
91
91
|
version: "0"
|