taps 0.2.14 → 0.2.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION.yml +1 -1
- data/lib/taps/adapter_hacks.rb +1 -1
- data/lib/taps/adapter_hacks/invalid_binary_limit.rb +13 -0
- metadata +8 -7
data/VERSION.yml
CHANGED
data/lib/taps/adapter_hacks.rb
CHANGED
@@ -0,0 +1,13 @@
|
|
1
|
+
module ActiveRecord
|
2
|
+
module ConnectionAdapters
|
3
|
+
class TableDefinition
|
4
|
+
alias_method :original_binary, :binary
|
5
|
+
def binary(*args)
|
6
|
+
options = args.extract_options!
|
7
|
+
options.delete(:limit)
|
8
|
+
column_names = args
|
9
|
+
column_names.each { |name| column(name, 'binary', options) }
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: taps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ricardo Chimal, Jr.
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2009-04-
|
13
|
+
date: 2009-04-14 00:00:00 -07:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -89,17 +89,18 @@ files:
|
|
89
89
|
- spec/client_session_spec.rb
|
90
90
|
- spec/utils_spec.rb
|
91
91
|
- lib/taps/progress_bar.rb
|
92
|
-
- lib/taps/client_session.rb
|
93
92
|
- lib/taps/utils.rb
|
94
|
-
- lib/taps/db_session.rb
|
95
93
|
- lib/taps/adapter_hacks/non_rails_schema_dump.rb
|
96
|
-
- lib/taps/adapter_hacks/mysql_invalid_primary_key.rb
|
97
94
|
- lib/taps/adapter_hacks/invalid_text_limit.rb
|
98
|
-
- lib/taps/
|
95
|
+
- lib/taps/adapter_hacks/mysql_invalid_primary_key.rb
|
96
|
+
- lib/taps/adapter_hacks/invalid_binary_limit.rb
|
97
|
+
- lib/taps/client_session.rb
|
98
|
+
- lib/taps/adapter_hacks.rb
|
99
99
|
- lib/taps/config.rb
|
100
100
|
- lib/taps/cli.rb
|
101
|
+
- lib/taps/schema.rb
|
101
102
|
- lib/taps/server.rb
|
102
|
-
- lib/taps/
|
103
|
+
- lib/taps/db_session.rb
|
103
104
|
- README.rdoc
|
104
105
|
- LICENSE
|
105
106
|
- VERSION.yml
|