smql 0.0.5 → 0.0.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.5
1
+ 0.0.5.1
@@ -148,7 +148,7 @@ class SmqlToAR
148
148
  when :belongs_to
149
149
  @_joins += build_join query, pretable, t, refl.primary_key_name, premodel.primary_key
150
150
  when :has_and_belongs_to_many
151
- jointable = [','] + table
151
+ jointable = [Column::Col.new(',')] + table
152
152
  @_joins += build_join refl.options[:join_table], pretable, @table_alias[jointable], premodel.primary_key, refl.primary_key_name
153
153
  @_joins += build_join query, jointable, t, refl.association_foreign_key, refl.association_primary_key
154
154
  else raise BuilderError, "Unkown reflection macro: #{refl.macro.inspect}"
metadata CHANGED
@@ -6,7 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 0
8
8
  - 5
9
- version: 0.0.5
9
+ - 1
10
+ version: 0.0.5.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Denis Knauf
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2012-01-12 00:00:00 +01:00
18
+ date: 2012-01-16 00:00:00 +01:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency