oracle-enhanced-enhanced 0.1.6 → 0.1.7
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/Gemfile.lock +2 -3
- data/LICENSE.txt +20 -0
- data/README.rdoc +0 -1
- data/lib/oracle-enhanced-enhanced.rb +2 -5
- data/lib/oracle-enhanced-enhanced/version.rb +1 -1
- data/oracle-enhanced-enhanced.gemspec +2 -2
- metadata +46 -60
data/Gemfile.lock
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
oracle-enhanced-enhanced (0.1.
|
|
4
|
+
oracle-enhanced-enhanced (0.1.7)
|
|
5
5
|
activerecord-oracle_enhanced-adapter
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: http://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
activerecord-oracle_enhanced-adapter (1.
|
|
10
|
+
activerecord-oracle_enhanced-adapter (1.4.1)
|
|
11
11
|
|
|
12
12
|
PLATFORMS
|
|
13
13
|
ruby
|
|
14
14
|
|
|
15
15
|
DEPENDENCIES
|
|
16
|
-
activerecord-oracle_enhanced-adapter
|
|
17
16
|
oracle-enhanced-enhanced!
|
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
Copyright (c) 2011 Steve Lamotte
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
+
a copy of this software and associated documentation files (the
|
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
+
the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be
|
|
12
|
+
included in all copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.rdoc
CHANGED
|
@@ -36,7 +36,6 @@ You can at any time change the text representation by calling +set_text_storage_
|
|
|
36
36
|
|
|
37
37
|
There are also helper methods <tt>text_is_clob?</tt> and <tt>text_is_varchar2?</tt>, and a new constant <tt>VARCHAR2_MAX_LENGTH</tt>. Note
|
|
38
38
|
that these are added to <tt>ActiveRecord::ConnectionAdapters::OracleEnhancedAdapter</tt>.
|
|
39
|
-
==
|
|
40
39
|
|
|
41
40
|
== Known Issues
|
|
42
41
|
|
|
@@ -36,11 +36,11 @@ module ActiveRecord
|
|
|
36
36
|
set_text_storage_representation true
|
|
37
37
|
|
|
38
38
|
# Cache columns because we don't need to hit the database to check metadata all the time.
|
|
39
|
-
# This requires that you restart your server when
|
|
39
|
+
# This requires that you restart your server when developing if your models change.
|
|
40
40
|
#TODO: should we disable this for development?
|
|
41
41
|
self.cache_columns = true
|
|
42
42
|
|
|
43
|
-
# Oracle's default sequence
|
|
43
|
+
# Oracle's default sequence behaviour doesn't appeal to us OCD freaks who prefer monotonically increasing sequences
|
|
44
44
|
self.default_sequence_start_value = "1 NOCACHE ORDER"
|
|
45
45
|
end
|
|
46
46
|
|
|
@@ -73,9 +73,6 @@ module ActiveRecord
|
|
|
73
73
|
alter table #{quoted_table_name} rename column #{temp_col} to #{orig_col}
|
|
74
74
|
SQL
|
|
75
75
|
cmds.split("\n").map(&:strip).each{|cmd| execute cmd}
|
|
76
|
-
|
|
77
|
-
# Also process any history table
|
|
78
|
-
convert_text_column_storage_type(history_table_name(table_name), column_name, to_type, temp_column_name) if history_table_exists?(table_name)
|
|
79
76
|
end
|
|
80
77
|
end
|
|
81
78
|
|
|
@@ -7,8 +7,8 @@ Gem::Specification.new do |s|
|
|
|
7
7
|
s.version = Oracle::Enhanced::Enhanced::VERSION
|
|
8
8
|
s.platform = Gem::Platform::RUBY
|
|
9
9
|
s.authors = ["Steve Lamotte"]
|
|
10
|
-
s.email = ["
|
|
11
|
-
s.homepage = "
|
|
10
|
+
s.email = ["steve@lexor.ca"]
|
|
11
|
+
s.homepage = "https://github.com/slamotte/oracle-enhanced-enhanced"
|
|
12
12
|
s.summary = %q{Additional enhancements/customizations to the excellent ActiveRecord Oracle Enhanced adapter}
|
|
13
13
|
s.description = <<-END
|
|
14
14
|
This gem includes several enhancements and customizations to the standard ActiveRecord Oracle Enhanced adapter, which is still required.
|
metadata
CHANGED
|
@@ -1,92 +1,78 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: oracle-enhanced-enhanced
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
5
|
-
prerelease:
|
|
6
|
-
segments:
|
|
7
|
-
- 0
|
|
8
|
-
- 1
|
|
9
|
-
- 6
|
|
10
|
-
version: 0.1.6
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.7
|
|
5
|
+
prerelease:
|
|
11
6
|
platform: ruby
|
|
12
|
-
authors:
|
|
7
|
+
authors:
|
|
13
8
|
- Steve Lamotte
|
|
14
9
|
autorequire:
|
|
15
10
|
bindir: bin
|
|
16
11
|
cert_chain: []
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
dependencies:
|
|
21
|
-
- !ruby/object:Gem::Dependency
|
|
12
|
+
date: 2012-08-10 00:00:00.000000000 Z
|
|
13
|
+
dependencies:
|
|
14
|
+
- !ruby/object:Gem::Dependency
|
|
22
15
|
name: activerecord-oracle_enhanced-adapter
|
|
23
|
-
|
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
|
25
17
|
none: false
|
|
26
|
-
requirements:
|
|
27
|
-
- -
|
|
28
|
-
- !ruby/object:Gem::Version
|
|
29
|
-
|
|
30
|
-
segments:
|
|
31
|
-
- 0
|
|
32
|
-
version: "0"
|
|
18
|
+
requirements:
|
|
19
|
+
- - ! '>='
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
21
|
+
version: '0'
|
|
33
22
|
type: :runtime
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
23
|
+
prerelease: false
|
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
+
none: false
|
|
26
|
+
requirements:
|
|
27
|
+
- - ! '>='
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: '0'
|
|
30
|
+
description: ! 'This gem includes several enhancements and customizations to the standard
|
|
31
|
+
ActiveRecord Oracle Enhanced adapter, which is still required.
|
|
39
32
|
|
|
40
|
-
email:
|
|
41
|
-
- slamotte@winnipeg.ca
|
|
42
|
-
executables: []
|
|
43
33
|
|
|
44
|
-
|
|
34
|
+
Any customizations to this adapter''s behaviour or additional Oracle-specific utilities
|
|
35
|
+
should be added here.
|
|
45
36
|
|
|
37
|
+
'
|
|
38
|
+
email:
|
|
39
|
+
- steve@lexor.ca
|
|
40
|
+
executables: []
|
|
41
|
+
extensions: []
|
|
46
42
|
extra_rdoc_files: []
|
|
47
|
-
|
|
48
|
-
files:
|
|
43
|
+
files:
|
|
49
44
|
- .gitignore
|
|
50
45
|
- Gemfile
|
|
51
46
|
- Gemfile.lock
|
|
47
|
+
- LICENSE.txt
|
|
52
48
|
- README.rdoc
|
|
53
49
|
- Rakefile
|
|
54
50
|
- lib/oracle-enhanced-enhanced.rb
|
|
55
51
|
- lib/oracle-enhanced-enhanced/version.rb
|
|
56
52
|
- oracle-enhanced-enhanced.gemspec
|
|
57
|
-
|
|
58
|
-
homepage: http://gems.winnipegtransit.org
|
|
53
|
+
homepage: https://github.com/slamotte/oracle-enhanced-enhanced
|
|
59
54
|
licenses: []
|
|
60
|
-
|
|
61
55
|
post_install_message:
|
|
62
56
|
rdoc_options: []
|
|
63
|
-
|
|
64
|
-
require_paths:
|
|
57
|
+
require_paths:
|
|
65
58
|
- lib
|
|
66
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
59
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
67
60
|
none: false
|
|
68
|
-
requirements:
|
|
69
|
-
- -
|
|
70
|
-
- !ruby/object:Gem::Version
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
- 0
|
|
74
|
-
version: "0"
|
|
75
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
61
|
+
requirements:
|
|
62
|
+
- - ! '>='
|
|
63
|
+
- !ruby/object:Gem::Version
|
|
64
|
+
version: '0'
|
|
65
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
66
|
none: false
|
|
77
|
-
requirements:
|
|
78
|
-
- -
|
|
79
|
-
- !ruby/object:Gem::Version
|
|
80
|
-
|
|
81
|
-
segments:
|
|
82
|
-
- 0
|
|
83
|
-
version: "0"
|
|
67
|
+
requirements:
|
|
68
|
+
- - ! '>='
|
|
69
|
+
- !ruby/object:Gem::Version
|
|
70
|
+
version: '0'
|
|
84
71
|
requirements: []
|
|
85
|
-
|
|
86
72
|
rubyforge_project: oracle-enhanced-enhanced
|
|
87
|
-
rubygems_version: 1.
|
|
73
|
+
rubygems_version: 1.8.24
|
|
88
74
|
signing_key:
|
|
89
75
|
specification_version: 3
|
|
90
|
-
summary: Additional enhancements/customizations to the excellent ActiveRecord Oracle
|
|
76
|
+
summary: Additional enhancements/customizations to the excellent ActiveRecord Oracle
|
|
77
|
+
Enhanced adapter
|
|
91
78
|
test_files: []
|
|
92
|
-
|