ghazel-ar-extensions 0.9.3 → 0.9.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,10 @@
1
+ ActiveRecord::ConnectionAdapters::Mysql2Adapter.class_eval do
2
+ # Returns the maximum number of bytes that the server will allow
3
+ # in a single packet
4
+ def max_allowed_packet # :nodoc:
5
+ result = execute( "SHOW VARIABLES like 'max_allowed_packet';" )
6
+ result.first[1].to_i
7
+ end
8
+
9
+ def rollup_sql; " WITH ROLLUP "; end
10
+ end
@@ -0,0 +1,3 @@
1
+ ActiveRecord::ConnectionAdapters::Mysql2Adapter.class_eval do
2
+ include ActiveRecord::Extensions::ConnectionAdapters::MysqlAdapter
3
+ end
metadata CHANGED
@@ -1,7 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ghazel-ar-extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ hash: 9
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 9
9
+ - 3
10
+ - 1
11
+ version: 0.9.3.1
5
12
  platform: ruby
6
13
  authors:
7
14
  - Zach Dennis
@@ -16,14 +23,19 @@ default_executable:
16
23
  dependencies:
17
24
  - !ruby/object:Gem::Dependency
18
25
  name: activerecord
19
- type: :runtime
20
- version_requirement:
21
- version_requirements: !ruby/object:Gem::Requirement
26
+ prerelease: false
27
+ requirement: &id001 !ruby/object:Gem::Requirement
28
+ none: false
22
29
  requirements:
23
30
  - - ~>
24
31
  - !ruby/object:Gem::Version
32
+ hash: 1
33
+ segments:
34
+ - 2
35
+ - 1
25
36
  version: "2.1"
26
- version:
37
+ type: :runtime
38
+ version_requirements: *id001
27
39
  description: Extends ActiveRecord functionality by adding better finder/query support, as well as supporting mass data import, foreign key, CSV and temporary tables
28
40
  email: zach.dennis@gmail.com
29
41
  executables: []
@@ -47,6 +59,7 @@ files:
47
59
  - config/postgresql.schema
48
60
  - lib/ar-extensions/adapters/abstract_adapter.rb
49
61
  - lib/ar-extensions/adapters/mysql.rb
62
+ - lib/ar-extensions/adapters/mysql2.rb
50
63
  - lib/ar-extensions/adapters/oracle.rb
51
64
  - lib/ar-extensions/adapters/postgresql.rb
52
65
  - lib/ar-extensions/adapters/sqlite.rb
@@ -63,6 +76,7 @@ files:
63
76
  - lib/ar-extensions/fulltext/mysql.rb
64
77
  - lib/ar-extensions/fulltext.rb
65
78
  - lib/ar-extensions/import/mysql.rb
79
+ - lib/ar-extensions/import/mysql2.rb
66
80
  - lib/ar-extensions/import/postgresql.rb
67
81
  - lib/ar-extensions/import/sqlite.rb
68
82
  - lib/ar-extensions/import.rb
@@ -88,21 +102,27 @@ rdoc_options:
88
102
  require_paths:
89
103
  - lib
90
104
  required_ruby_version: !ruby/object:Gem::Requirement
105
+ none: false
91
106
  requirements:
92
107
  - - ">="
93
108
  - !ruby/object:Gem::Version
109
+ hash: 3
110
+ segments:
111
+ - 0
94
112
  version: "0"
95
- version:
96
113
  required_rubygems_version: !ruby/object:Gem::Requirement
114
+ none: false
97
115
  requirements:
98
116
  - - ">="
99
117
  - !ruby/object:Gem::Version
118
+ hash: 3
119
+ segments:
120
+ - 0
100
121
  version: "0"
101
- version:
102
122
  requirements: []
103
123
 
104
124
  rubyforge_project: arext
105
- rubygems_version: 1.3.5
125
+ rubygems_version: 1.4.2
106
126
  signing_key:
107
127
  specification_version: 3
108
128
  summary: Extends ActiveRecord functionality.