factorylabs-adapter_extensions 0.4.0.1 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +0 -0
- data/LICENSE +0 -0
- data/README +0 -0
- data/Rakefile +1 -1
- data/lib/adapter_extensions.rb +0 -0
- data/lib/adapter_extensions/connection_adapters/abstract_adapter.rb +0 -0
- data/lib/adapter_extensions/connection_adapters/mysql_adapter.rb +1 -1
- data/lib/adapter_extensions/connection_adapters/postgresql_adapter.rb +0 -0
- data/lib/adapter_extensions/connection_adapters/sqlserver_adapter.rb +0 -0
- data/lib/adapter_extensions/version.rb +1 -1
- metadata +54 -27
data/CHANGELOG
CHANGED
File without changes
|
data/LICENSE
CHANGED
File without changes
|
data/README
CHANGED
File without changes
|
data/Rakefile
CHANGED
@@ -60,7 +60,7 @@ PKG_FILES = FileList[
|
|
60
60
|
] - [ 'test' ]
|
61
61
|
|
62
62
|
spec = Gem::Specification.new do |s|
|
63
|
-
s.name = 'adapter_extensions'
|
63
|
+
s.name = 'factorylabs-adapter_extensions'
|
64
64
|
s.version = PKG_VERSION
|
65
65
|
s.summary = "Extensions to Rails ActiveRecord adapters."
|
66
66
|
s.description = <<-EOF
|
data/lib/adapter_extensions.rb
CHANGED
File without changes
|
File without changes
|
@@ -54,7 +54,7 @@ module ActiveRecord #:nodoc:
|
|
54
54
|
q << " ENCLOSED BY '#{options[:fields][:enclosed_by]}'" if options[:fields][:enclosed_by]
|
55
55
|
end
|
56
56
|
q << " IGNORE #{options[:ignore]} LINES" if options[:ignore]
|
57
|
-
q << " (#{options[:columns].join(',')})" if options[:columns]
|
57
|
+
q << " (#{options[:columns].map { |c| quote(c) }.join(',')})" if options[:columns]
|
58
58
|
execute(q)
|
59
59
|
end
|
60
60
|
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: factorylabs-adapter_extensions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 5
|
8
|
+
- 1
|
9
|
+
version: 0.5.1
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Anthony Eden
|
@@ -9,46 +14,66 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date:
|
17
|
+
date: 2010-05-07 00:00:00 -06:00
|
13
18
|
default_executable:
|
14
19
|
dependencies:
|
15
20
|
- !ruby/object:Gem::Dependency
|
16
21
|
name: rake
|
17
|
-
|
18
|
-
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
19
24
|
requirements:
|
20
25
|
- - ">="
|
21
26
|
- !ruby/object:Gem::Version
|
22
|
-
|
23
|
-
|
27
|
+
segments:
|
28
|
+
- 0
|
29
|
+
- 8
|
30
|
+
- 3
|
31
|
+
version: 0.8.3
|
32
|
+
type: :runtime
|
33
|
+
version_requirements: *id001
|
24
34
|
- !ruby/object:Gem::Dependency
|
25
35
|
name: activesupport
|
26
|
-
|
27
|
-
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
38
|
requirements:
|
29
39
|
- - ">="
|
30
40
|
- !ruby/object:Gem::Version
|
31
|
-
|
32
|
-
|
41
|
+
segments:
|
42
|
+
- 2
|
43
|
+
- 1
|
44
|
+
- 0
|
45
|
+
version: 2.1.0
|
46
|
+
type: :runtime
|
47
|
+
version_requirements: *id002
|
33
48
|
- !ruby/object:Gem::Dependency
|
34
49
|
name: activerecord
|
35
|
-
|
36
|
-
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
37
52
|
requirements:
|
38
53
|
- - ">="
|
39
54
|
- !ruby/object:Gem::Version
|
40
|
-
|
41
|
-
|
55
|
+
segments:
|
56
|
+
- 2
|
57
|
+
- 1
|
58
|
+
- 0
|
59
|
+
version: 2.1.0
|
60
|
+
type: :runtime
|
61
|
+
version_requirements: *id003
|
42
62
|
- !ruby/object:Gem::Dependency
|
43
63
|
name: fastercsv
|
44
|
-
|
45
|
-
|
64
|
+
prerelease: false
|
65
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
46
66
|
requirements:
|
47
67
|
- - ">="
|
48
68
|
- !ruby/object:Gem::Version
|
69
|
+
segments:
|
70
|
+
- 1
|
71
|
+
- 0
|
72
|
+
- 0
|
49
73
|
version: 1.0.0
|
50
|
-
|
51
|
-
|
74
|
+
type: :runtime
|
75
|
+
version_requirements: *id004
|
76
|
+
description: " Provides various extensions to the Rails ActiveRecord adapters.\n"
|
52
77
|
email: anthonyeden@gmail.com
|
53
78
|
executables: []
|
54
79
|
|
@@ -61,16 +86,16 @@ files:
|
|
61
86
|
- README
|
62
87
|
- LICENSE
|
63
88
|
- Rakefile
|
64
|
-
- lib/adapter_extensions
|
65
|
-
- lib/adapter_extensions.rb
|
66
|
-
- lib/adapter_extensions/connection_adapters
|
67
|
-
- lib/adapter_extensions/version.rb
|
68
89
|
- lib/adapter_extensions/connection_adapters/abstract_adapter.rb
|
69
90
|
- lib/adapter_extensions/connection_adapters/mysql_adapter.rb
|
70
91
|
- lib/adapter_extensions/connection_adapters/postgresql_adapter.rb
|
71
92
|
- lib/adapter_extensions/connection_adapters/sqlserver_adapter.rb
|
72
|
-
|
93
|
+
- lib/adapter_extensions/version.rb
|
94
|
+
- lib/adapter_extensions.rb
|
95
|
+
has_rdoc: true
|
73
96
|
homepage: http://activewarehouse.rubyforge.org/adapter_extensions
|
97
|
+
licenses: []
|
98
|
+
|
74
99
|
post_install_message:
|
75
100
|
rdoc_options:
|
76
101
|
- --exclude
|
@@ -81,20 +106,22 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
81
106
|
requirements:
|
82
107
|
- - ">="
|
83
108
|
- !ruby/object:Gem::Version
|
109
|
+
segments:
|
110
|
+
- 0
|
84
111
|
version: "0"
|
85
|
-
version:
|
86
112
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
87
113
|
requirements:
|
88
114
|
- - ">="
|
89
115
|
- !ruby/object:Gem::Version
|
116
|
+
segments:
|
117
|
+
- 0
|
90
118
|
version: "0"
|
91
|
-
version:
|
92
119
|
requirements: []
|
93
120
|
|
94
121
|
rubyforge_project: activewarehouse
|
95
|
-
rubygems_version: 1.
|
122
|
+
rubygems_version: 1.3.6
|
96
123
|
signing_key:
|
97
|
-
specification_version:
|
124
|
+
specification_version: 3
|
98
125
|
summary: Extensions to Rails ActiveRecord adapters.
|
99
126
|
test_files: []
|
100
127
|
|