taupe 0.6.2 → 0.6.3
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/lib/taupe/model/table.rb +2 -2
- data/lib/taupe.rb +2 -2
- data/spec/taupe_spec.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc69b9477f5dd9407b74c29aee3e7c064b24eb85
|
4
|
+
data.tar.gz: 4b05a5d4159f38ada22ad28af67df2f68ea04f2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3dfc4f0b91ca7ddf829500452cd4d9fe9ec75c040e8834dda55e3bbb27fc75962c50f0d7558bc78f8fc38074f828782369000a3c89e903cc853c6b4e18bb6a74
|
7
|
+
data.tar.gz: 61190c1b86d312d7968b9c8ef2bdebd2b99b7950e036083dcdd8ab552d23cf929eb7d771cf91b1e6e5f232e04f93927cc75428f78cbc5c7a0a054db171e93000
|
data/lib/taupe/model/table.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
3
|
# File: table.rb
|
4
|
-
# Time-stamp: <2014-12-10 15:
|
4
|
+
# Time-stamp: <2014-12-10 15:58:00 pierre>
|
5
5
|
# Copyright (C) 2014 Pierre Lecocq
|
6
6
|
# Description: Taupe library model table class
|
7
7
|
|
@@ -162,7 +162,7 @@ module Taupe
|
|
162
162
|
ms = m.to_s
|
163
163
|
if ms.include? '='
|
164
164
|
ms = ms[0..-2]
|
165
|
-
if
|
165
|
+
if @_columns.include? ms.to_sym
|
166
166
|
@_values[ms.to_sym] = args[0]
|
167
167
|
return true
|
168
168
|
end
|
data/lib/taupe.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# File: taupe.rb
|
2
|
-
# Time-stamp: <2014-12-10 15:
|
2
|
+
# Time-stamp: <2014-12-10 15:59:00 pierre>
|
3
3
|
# Copyright (C) 2014 Pierre Lecocq
|
4
4
|
# Description: Taupe library main file
|
5
5
|
|
@@ -13,7 +13,7 @@ require 'taupe/model'
|
|
13
13
|
# Main Taupe module
|
14
14
|
module Taupe
|
15
15
|
# Current version constant in the form major.minor.patch
|
16
|
-
VERSION = [0, 6,
|
16
|
+
VERSION = [0, 6, 3].join('.')
|
17
17
|
|
18
18
|
# Require a gem
|
19
19
|
# @param gem_name [String] the gem name
|
data/spec/taupe_spec.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# File: taupe_spec.rb
|
2
|
-
# Time-stamp: <2014-12-10 15:
|
2
|
+
# Time-stamp: <2014-12-10 15:59:17 pierre>
|
3
3
|
# Copyright (C) 2014 Pierre Lecocq
|
4
4
|
# Description: Taupe library main tests file
|
5
5
|
|
@@ -7,8 +7,8 @@ require_relative '../lib/taupe'
|
|
7
7
|
|
8
8
|
describe Taupe do
|
9
9
|
describe 'VERSION' do
|
10
|
-
it 'should return 0.6.
|
11
|
-
expect(Taupe::VERSION).to eql '0.6.
|
10
|
+
it 'should return 0.6.3' do
|
11
|
+
expect(Taupe::VERSION).to eql '0.6.3'
|
12
12
|
end
|
13
13
|
end
|
14
14
|
end
|