clevic 0.14.5 → 0.14.6
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 +4 -4
- data/History.txt +3 -0
- data/bin/clevic +1 -1
- data/lib/clevic/cache_table.rb +3 -0
- data/lib/clevic/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fa53c474d9d2b2620bc6c191ea469c135bb65732
|
|
4
|
+
data.tar.gz: 5dca451abe9be4d23fb9268bc0cd6e80a55f7956
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d79ae6b02579a0b3e743b4c2707b0c45d9dd7d5a007c51a8f8895d4eff5fc892fa5b368225929510bca696e8f2bced54af8c3a31d9ed6e1900804c1cbf881026
|
|
7
|
+
data.tar.gz: dc9f3324ee35bccd5db3344707ae515c773dad44041b1eba1855dd3efefac3eb9d3e6ef999569b129e0751e1a4111b3c9b6fb7c0902a27c8e404186125c75473
|
data/History.txt
CHANGED
data/bin/clevic
CHANGED
|
@@ -33,7 +33,7 @@ oparser.on( '-D', '--debug' ) { |o| $options[:debug] = true }
|
|
|
33
33
|
oparser.on( '-v', '--verbose' ) { |o| $options[:verbose] = true }
|
|
34
34
|
oparser.on( '-V', '--version' ) do
|
|
35
35
|
require 'clevic/version.rb'
|
|
36
|
-
puts "clevic-#{Clevic::VERSION
|
|
36
|
+
puts "clevic-#{Clevic::VERSION}"
|
|
37
37
|
exit 0
|
|
38
38
|
end
|
|
39
39
|
oparser.on( '-h', '-?', '--help' ) do |o|
|
data/lib/clevic/cache_table.rb
CHANGED
|
@@ -143,6 +143,9 @@ class CacheTable < Array
|
|
|
143
143
|
# similar to candidate <=> entity
|
|
144
144
|
key, direction = attribute
|
|
145
145
|
if result == 0
|
|
146
|
+
return nil unless entity.respond_to? key
|
|
147
|
+
return nil unless candidate.respond_to? key
|
|
148
|
+
|
|
146
149
|
# compare taking ordering direction into account
|
|
147
150
|
retval = compare( entity.send( key ), candidate.send( key ), direction )
|
|
148
151
|
|
data/lib/clevic/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: clevic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.14.
|
|
4
|
+
version: 0.14.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John Anderson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-05-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -355,7 +355,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
355
355
|
version: '0'
|
|
356
356
|
requirements: []
|
|
357
357
|
rubyforge_project:
|
|
358
|
-
rubygems_version: 2.
|
|
358
|
+
rubygems_version: 2.4.4
|
|
359
359
|
signing_key:
|
|
360
360
|
specification_version: 4
|
|
361
361
|
summary: SQL table GUI with Qt / Java Swing and Sequel.
|