activerecord-oracle_enhanced-adapter-monky_patch_755 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/activerecord-oracle_enhanced-adapter-monky_patch_755.rb +4 -5
- data/lib/activerecord/monkey_patch.rb +4 -2
- data/lib/activerecord/monkey_patch/rails4.rb +1 -1
- data/lib/oracle_enhanced/monkey_patch_755/hooks.rb +11 -0
- data/lib/oracle_enhanced/monkey_patch_755/railtie.rb +9 -0
- data/lib/oracle_enhanced/monkey_patch_755/version.rb +5 -0
- metadata +5 -10
- data/lib/activerecord/monkey_patch/version.rb +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f52477ecfea60965cab665db9538b9ec3628e8a
|
4
|
+
data.tar.gz: 233d34227e9b5f6862f632348e644c74dbd389b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fee727e8ec1ee52b3279c61992463e6ee9cdbf3861879d52a6024293997dbdaefd21fc7538eced4b7a332a7037ce7de0dfc741b0f2012532a1a1845e53d56fdd
|
7
|
+
data.tar.gz: 0a2d87e55362fd8afdb70d7a11eca11c5582c225f28add0763cb7e7df773ec75a33d6f6a4168dcad72829473c91e6a7ae89bd245ca0b3695e4b8ea12baf8e88b
|
data/README.md
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
module OracleEnhanced
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
end
|
2
|
+
require 'oracle_enhanced/monkey_patch_755/hooks'
|
3
|
+
|
4
|
+
if defined? ::Rails::Railtie
|
5
|
+
require 'oracle_enhanced/monkey_patch_755/railtie'
|
7
6
|
end
|
8
7
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'activerecord/monkey_patch/rails4'
|
2
|
+
|
1
3
|
#
|
2
4
|
# This code is a monkey patch for oracle-enhanced ISSUE #755.
|
3
5
|
#
|
@@ -7,8 +9,8 @@ module ActiveRecord
|
|
7
9
|
module MonkeyPatch
|
8
10
|
def adjust_timezone_offset(opts)
|
9
11
|
if ActiveRecord::Base.connection_config[:adapter] != 'oracle_enhanced' ||
|
10
|
-
|
11
|
-
|
12
|
+
ActiveRecord::VERSION::MAJOR != SUPPORTED_MAJOR_VERSION ||
|
13
|
+
ActiveRecord.version < Gem::Version.create(MINIMUM_SUPPORTED_VERSION)
|
12
14
|
return opts
|
13
15
|
end
|
14
16
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-oracle_enhanced-adapter-monky_patch_755
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Koichi ITO
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -17,9 +17,6 @@ dependencies:
|
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 4.2.1
|
20
|
-
- - "<="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 4.2.7.1
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,9 +24,6 @@ dependencies:
|
|
27
24
|
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 4.2.1
|
30
|
-
- - "<="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 4.2.7.1
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: activerecord-oracle_enhanced-adapter
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -69,7 +63,9 @@ files:
|
|
69
63
|
- lib/activerecord-oracle_enhanced-adapter-monky_patch_755.rb
|
70
64
|
- lib/activerecord/monkey_patch.rb
|
71
65
|
- lib/activerecord/monkey_patch/rails4.rb
|
72
|
-
- lib/
|
66
|
+
- lib/oracle_enhanced/monkey_patch_755/hooks.rb
|
67
|
+
- lib/oracle_enhanced/monkey_patch_755/railtie.rb
|
68
|
+
- lib/oracle_enhanced/monkey_patch_755/version.rb
|
73
69
|
homepage: http://github.com/koic/oracle-enhanced-monky_patch_755
|
74
70
|
licenses:
|
75
71
|
- MIT
|
@@ -95,4 +91,3 @@ signing_key:
|
|
95
91
|
specification_version: 4
|
96
92
|
summary: 'A monkey patch for oracle-enhanced ISSUE #755.'
|
97
93
|
test_files: []
|
98
|
-
has_rdoc:
|