redhillonrails_core 1.0.4 → 1.0.4.1

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 CHANGED
@@ -1 +1 @@
1
- 1.0.4
1
+ 1.0.4.1
@@ -8,13 +8,13 @@ module RedHillConsulting::Core::ActiveRecord::ConnectionAdapters
8
8
  end
9
9
 
10
10
  def connect_with_redhillonrails_core(*args)
11
- returning connect_without_redhillonrails_core(*args) do
12
- if version[0] < 5
13
- self.class.send(:include, Mysql4Adapter) unless self.class.include?(Mysql4Adapter)
14
- else
15
- self.class.send(:include, Mysql5Adapter) unless self.class.include?(Mysql5Adapter)
16
- end
11
+ result = connect_without_redhillonrails_core(*args)
12
+ if version[0] < 5
13
+ self.class.send(:include, Mysql4Adapter) unless self.class.include?(Mysql4Adapter)
14
+ else
15
+ self.class.send(:include, Mysql5Adapter) unless self.class.include?(Mysql5Adapter)
17
16
  end
17
+ result
18
18
  end
19
19
 
20
20
  def set_table_comment(table_name, comment)
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{redhillonrails_core}
8
- s.version = "1.0.4"
8
+ s.version = "1.0.4.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michał Łomnicki"]
12
- s.date = %q{2010-04-05}
12
+ s.date = %q{2010-04-06}
13
13
  s.description = %q{RedHill on Rails Core is a plugin that features to support other RedHill on Rails plugins. It creates and drops views and foreign-keys or obtains indexes directly from a model class.}
14
14
  s.email = %q{michal.lomnicki@gmail.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -6,7 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 1
7
7
  - 0
8
8
  - 4
9
- version: 1.0.4
9
+ - 1
10
+ version: 1.0.4.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - "Micha\xC5\x82 \xC5\x81omnicki"
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-04-05 00:00:00 +02:00
18
+ date: 2010-04-06 00:00:00 +02:00
18
19
  default_executable:
19
20
  dependencies: []
20
21