composite_primary_keys 2.3.5 → 2.3.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ == 2.3.5.1 2010-02-13
2
+
3
+ * Resolved "warning: already initialized constant HasManyThroughCantAssociateThroughHasManyReflection" [Titi Ala'ilima]
4
+
1
5
  == 2.3.5 2009-12-16
2
6
 
3
7
  * Fixed several bugs in has_one and has_many associations when :primary_key specified [kpumuk]
@@ -1,13 +1,13 @@
1
1
  Composite Primary key support for db2
2
2
 
3
- == Driver Support ==
3
+ == Driver Support
4
4
 
5
5
  DB2 support requires the IBM_DB driver provided by http://rubyforge.org/projects/rubyibm/
6
6
  project. Install using gem install ibm_db. Tested against version 0.60 of the driver.
7
7
  This rubyforge project appears to be permenant location for the IBM adapter.
8
8
  Older versions of the driver available from IBM Alphaworks will not work.
9
9
 
10
- == Driver Bug and workaround provided as part of this plugin ==
10
+ == Driver Bug and workaround provided as part of this plugin
11
11
 
12
12
  Unlike the basic quote routine available for Rails AR, the DB2 adapter's quote
13
13
  method doesn't return " column_name = 1 " when string values (integers in string type variable)
@@ -17,16 +17,16 @@ this plugin a fix is provided for the DB2 adapter since this plugin does
17
17
  pass string values like this. Perhaps a patch should be sent to the DB2 adapter
18
18
  project for a permanant fix.
19
19
 
20
- == Database Setup ==
20
+ == Database Setup
21
21
 
22
22
  Database must be manually created using a separate command. Read the rake task
23
23
  for creating tables and change the db name, user and passwords accordingly.
24
24
 
25
- == Tested Database Server version ==
25
+ == Tested Database Server version
26
26
 
27
27
  This is tested against DB2 v9.1 in Ubuntu Feisty Fawn (7.04)
28
28
 
29
- == Tested Database Client version ==
29
+ == Tested Database Client version
30
30
 
31
31
  This is tested against DB2 v9.1 in Ubuntu Feisty Fawn (7.04)
32
32
 
@@ -33,7 +33,7 @@ unless defined?(ActiveRecord)
33
33
  end
34
34
  end
35
35
 
36
- load 'active_record/associations.rb'
36
+ require 'active_record/associations.rb'
37
37
 
38
38
  require 'composite_primary_keys/fixtures'
39
39
  require 'composite_primary_keys/composite_arrays'
@@ -3,6 +3,7 @@ module CompositePrimaryKeys
3
3
  MAJOR = 2
4
4
  MINOR = 3
5
5
  TINY = 5
6
- STRING = [MAJOR, MINOR, TINY].join('.')
6
+ PATCH = 1
7
+ STRING = [MAJOR, MINOR, TINY, PATCH].join('.')
7
8
  end
8
9
  end
@@ -4,7 +4,9 @@ ENV['cpk_adapters'] = {
4
4
  "mysql" => {
5
5
  :adapter => "mysql",
6
6
  :username => "root",
7
- :password => "root",
8
- # ...
7
+ },
8
+
9
+ "sqlite3" => {
10
+ :adapter => "sqlite3"
9
11
  }
10
12
  }.to_yaml
Binary file
@@ -33,7 +33,7 @@
33
33
  <h1>Composite Primary Keys</h1>
34
34
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/compositekeys"; return false'>
35
35
  Get Version
36
- <a href="http://rubyforge.org/projects/compositekeys" class="numbers">2.3.2</a>
36
+ <a href="http://rubyforge.org/projects/compositekeys" class="numbers">2.3.5.1</a>
37
37
  </div>
38
38
  <h1>&#8594; Ruby on Rails</h1>
39
39
  <h1>&#8594; ActiveRecords</h1>
@@ -179,7 +179,7 @@ other stories and things.</p>
179
179
  <h2>Contact</h2>
180
180
  <p>Comments are welcome. Send an email to <a href="mailto:drnicwilliams@gmail.com">Dr Nic Williams</a>.</p>
181
181
  <p class="coda">
182
- <a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 16th July 2009<br>
182
+ <a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 13th February 2010<br>
183
183
  Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
184
184
  </p>
185
185
  </div>
@@ -1,3 +1,3 @@
1
1
  // Announcement JS file
2
- var version = "2.3.2";
2
+ var version = "2.3.5.1";
3
3
  MagicAnnouncement.show('compositekeys', version);
@@ -1,4 +1,4 @@
1
1
  // Version JS file
2
- var version = "2.3.2";
2
+ var version = "2.3.5.1";
3
3
 
4
4
  document.write(" - " + version);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: composite_primary_keys
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.5
4
+ version: 2.3.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dr Nic Williams
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-16 00:00:00 -06:00
12
+ date: 2010-02-13 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -30,7 +30,7 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 2.4.0
33
+ version: 2.3.3
34
34
  version:
35
35
  description: Composite key support for ActiveRecords
36
36
  email: drnicwilliams@gmail.com