cloudwow-not_relational 0.1.3 → 0.1.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.
data/VERSION.yml
CHANGED
@@ -46,8 +46,8 @@ module NotRelational
|
|
46
46
|
@cipher_key=File.open(@cipher_key_file).read
|
47
47
|
end
|
48
48
|
|
49
|
-
@cipher_iv_file ||= "./cipher_iv"
|
50
49
|
@cipher_iv_file=not_relational_config['cipher_iv_file']
|
50
|
+
@cipher_iv_file ||= "./cipher_iv"
|
51
51
|
if @cipher_iv_file and File.exists?(@cipher_iv_file)
|
52
52
|
@cipher_iv=File.open(@cipher_iv_file).read
|
53
53
|
end
|
@@ -376,7 +376,7 @@ def get_text(table_name,primary_key,clob_name)
|
|
376
376
|
end
|
377
377
|
if options.has_key?(:order_by) && options[:order_by]
|
378
378
|
clause=" ['#{options[:order_by]}' starts-with ''] sort '#{options[:order_by]}' "
|
379
|
-
if options.has_key?(:order) and options[:order]==:descending
|
379
|
+
if options.has_key?(:order) and ( options[:order]==:descending or options[:order]==:desc)
|
380
380
|
clause<<" desc "
|
381
381
|
end
|
382
382
|
extend_query(query,clause)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudwow-not_relational
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cloudwow
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-03-
|
12
|
+
date: 2009-03-26 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|