ruby-oci8 1.0.4 → 1.0.5

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.
Files changed (6) hide show
  1. data/ChangeLog +9 -0
  2. data/NEWS +7 -0
  3. data/VERSION +1 -1
  4. data/ext/oci8/oraconf.rb +7 -2
  5. data/ruby-oci8.spec +1 -1
  6. metadata +3 -3
data/ChangeLog CHANGED
@@ -1,8 +1,17 @@
1
+ 2009-03-17 KUBO Takehiro <kubo@jiubao.org>
2
+ * NEWS: add changes between 1.0.4 and 1.0.5.
3
+ * VERSION: change version to 1.0.5.
4
+
5
+ 2009-03-11 KUBO Takehiro <kubo@jiubao.org>
6
+ * oraconf.rb: fix big/little endian checking problem on Mac OS X ppc.
7
+ (contributed by unknown. See: Bug ID 24284 on rubyforge.)
8
+
1
9
  2009-02-08 KUBO Takehiro <kubo@jiubao.org>
2
10
  * NEWS: add changes between 1.0.3 and 1.0.4.
3
11
  * VERSION: change version to 1.0.4.
4
12
  * dist-files: add newly added file names which must be included
5
13
  in gem or tar.gz packages.
14
+ * metaconfig: follow the change of dbd/OCI8.rb location.
6
15
 
7
16
  2009-02-01 KUBO Takehiro <kubo@jiubao.org>
8
17
  * lib/dbd/OCI8.rb: add code for ruby-dbi 0.4 type conversion.
data/NEWS CHANGED
@@ -1,3 +1,10 @@
1
+ 1.0.5:
2
+
3
+ No changes except who try to install on Mac OS X ppc.
4
+
5
+ - fix big/little endian checking problem on Mac OS X ppc.
6
+ (contributed by unknown. See: Bug ID 24284 on rubyforge.)
7
+
1
8
  1.0.4:
2
9
 
3
10
  1. [dbi] support ruby-dbi 0.4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.4
1
+ 1.0.5
@@ -425,7 +425,7 @@ EOS
425
425
  so_ext = 'dylib'
426
426
  check_proc = Proc.new do |file|
427
427
  is_32bit = [0].pack('l!').size == 4
428
- is_big_endian = "\x01\x02".unpack('s') == 0x0102
428
+ is_big_endian = "\x01\x02".unpack('s')[0] == 0x0102
429
429
  if is_32bit
430
430
  if is_big_endian
431
431
  this_cpu = :ppc # 32-bit big-endian
@@ -444,7 +444,12 @@ EOS
444
444
  if so.cpu.include? this_cpu
445
445
  true
446
446
  else
447
- puts " skip: #{file} is for #{so.cpu} cpu."
447
+ if so.cpu.size > 1
448
+ arch_types = so.cpu[0..-2].join(', ') + ' and ' + so.cpu[-1].to_s
449
+ else
450
+ arch_types = so.cpu[0]
451
+ end
452
+ puts " skip: #{file} is for #{arch_types} cpu."
448
453
  false
449
454
  end
450
455
  else
@@ -3,7 +3,7 @@
3
3
 
4
4
  Summary: ruby interface for Oracle using OCI8 API
5
5
  Name: ruby-oci8
6
- Version: 1.0.3
6
+ Version: 1.0.5
7
7
  Release: 1%{?dist}
8
8
  Group: Development/Libraries
9
9
  License: Ruby License
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-oci8
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - KUBO Takehiro
@@ -9,7 +9,7 @@ autorequire: oci8
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-02-08 00:00:00 +09:00
12
+ date: 2009-03-18 00:00:00 +09:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  requirements: []
119
119
 
120
120
  rubyforge_project: ruby-oci8
121
- rubygems_version: 1.3.1
121
+ rubygems_version: 1.2.0
122
122
  signing_key:
123
123
  specification_version: 2
124
124
  summary: Ruby interface for Oracle using OCI8 API