jdbc-postgres 9.2.1002.1 → 9.2.1004

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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 75e322a6022073195622a9b945c38c4de9ed995c
4
+ data.tar.gz: a2de53052a611239b8de22d391008eb5d40cc71d
5
+ SHA512:
6
+ metadata.gz: 29e60157ef5721c6ebe8cf40051307e2ecb425234e8fffa704be46637780c5b9c3b831604b08da7c74f2b3b9f067a15279aca8a720445c17d65c5bc0647ec16c
7
+ data.tar.gz: bba2ccca3f3f38a1784c603d7cb5c1d4dbcb400977b7dc2896a4a86621603307ca22b3978b63cc3c8b0b8eff25ef4410cfd24943fe12ee7db9a5bb26999baa88
@@ -0,0 +1,6 @@
1
+ module Jdbc
2
+ module Postgres
3
+ DRIVER_VERSION = '9.2.1004'
4
+ VERSION = DRIVER_VERSION
5
+ end
6
+ end
data/lib/jdbc/postgres.rb CHANGED
@@ -1,9 +1,8 @@
1
1
  warn "Jdbc-Postgres is only for use with JRuby" if (JRUBY_VERSION.nil? rescue true)
2
+ require 'jdbc/postgres/version'
2
3
 
3
4
  module Jdbc
4
5
  module Postgres
5
- DRIVER_VERSION = '9.2.1002'
6
- VERSION = DRIVER_VERSION + '.1'
7
6
 
8
7
  def self.driver_jar
9
8
  version_jdbc_version = DRIVER_VERSION.split( '.' )
@@ -28,10 +27,11 @@ module Jdbc
28
27
  end
29
28
 
30
29
  if defined?(JRUBY_VERSION) && # enable backwards-compat behavior :
31
- ( Java::JavaLang::Boolean.get_boolean("jdbc.driver.autoload") ||
30
+ ( Java::JavaLang::Boolean.get_boolean("jdbc.driver.autoload") ||
32
31
  Java::JavaLang::Boolean.get_boolean("jdbc.postgres.autoload") )
33
32
  warn "autoloading JDBC driver on require 'jdbc/postgres'" if $VERBOSE
34
33
  load_driver :require
35
34
  end
36
35
  end
36
+ PostgreSQL = Postgres
37
37
  end
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jdbc-postgres
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 9.2.1002.1
4
+ version: 9.2.1004
6
5
  platform: ruby
7
6
  authors:
8
7
  - Nick Sieger, Ola Bini and JRuby contributors
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-23 00:00:00.000000000 Z
11
+ date: 2013-11-06 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description: Install this gem `require 'jdbc/postgres'` and invoke `Jdbc::Postgres.load_driver` within JRuby to load the driver.
15
14
  email: nick@nicksieger.com, ola.bini@gmail.com
@@ -17,41 +16,36 @@ executables: []
17
16
  extensions: []
18
17
  extra_rdoc_files: []
19
18
  files:
20
- - LICENSE.txt
21
19
  - README.md
22
- - Rakefile
23
- - lib/postgresql-9.2-1002.jdbc4.jar
24
- - lib/postgresql-9.2-1002.jdbc3.jar
20
+ - LICENSE.txt
21
+ - lib/postgresql-9.2-1004.jdbc4.jar
22
+ - lib/postgresql-9.2-1004.jdbc3.jar
25
23
  - lib/jdbc/postgres.rb
24
+ - lib/jdbc/postgres/version.rb
26
25
  homepage: https://github.com/jruby/activerecord-jdbc-adapter
27
26
  licenses: []
27
+ metadata: {}
28
28
  post_install_message:
29
29
  rdoc_options:
30
- - "--main"
30
+ - --main
31
31
  - README.md
32
32
  require_paths:
33
33
  - lib
34
34
  required_ruby_version: !ruby/object:Gem::Requirement
35
35
  requirements:
36
- - - ">="
36
+ - - '>='
37
37
  - !ruby/object:Gem::Version
38
- segments:
39
- - 0
40
- hash: 2
41
- version: !binary |-
42
- MA==
43
- none: false
38
+ version: '0'
44
39
  required_rubygems_version: !ruby/object:Gem::Requirement
45
40
  requirements:
46
- - - ">="
41
+ - - '>='
47
42
  - !ruby/object:Gem::Version
48
- version: !binary |-
49
- MA==
50
- none: false
43
+ version: '0'
51
44
  requirements: []
52
45
  rubyforge_project: jruby-extras
53
- rubygems_version: 1.8.24
46
+ rubygems_version: 2.1.9
54
47
  signing_key:
55
- specification_version: 3
48
+ specification_version: 4
56
49
  summary: PostgreSQL JDBC driver for JRuby and PostgreSQL/ActiveRecord-JDBC (activerecord-jdbcpostgresql-adapter).
57
50
  test_files: []
51
+ has_rdoc:
data/Rakefile DELETED
@@ -1,18 +0,0 @@
1
- require 'bundler/gem_helper'
2
-
3
- name = Dir["*.gemspec"].first.sub('.gemspec', '')
4
- gem_helper = Bundler::GemHelper.new(Dir.pwd, name)
5
- def gem_helper.version_tag
6
- "#{name}-#{version}" # override "v#{version}"
7
- end
8
-
9
- version = gem_helper.send(:version)
10
- version_tag = gem_helper.version_tag
11
- desc "Build #{name}-#{version}.gem into the pkg directory"
12
- task('build') { gem_helper.build_gem }
13
-
14
- desc "Build and install #{name}-#{version}.gem into system gems"
15
- task('install') { gem_helper.install_gem }
16
-
17
- desc "Create tag #{version_tag} build and push #{name}-#{version}.gem to Rubygems"
18
- task('release') { gem_helper.release_gem }