taupe 0.6.1 → 0.6.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8a2c0a9f56009d2ce7ba093cd9069380c6b071b2
4
- data.tar.gz: d1401fecf29967d599365dcfece011f69e788e27
3
+ metadata.gz: 53d3e5e6c90aa505c4d04eccb9184cb493f34a42
4
+ data.tar.gz: cd81f4aa6580ae8fd0d6b171f3214f764e7ee946
5
5
  SHA512:
6
- metadata.gz: f660d2425a1766b1d829a38576d9bcdda563cbf1468a1569ce37db0a927f670fc620385073c6e7e20e1b37b54adbd6317978dad14fbb80bc46f04c0d0129134d
7
- data.tar.gz: 5bf686251cfc41a9aef472295337c6306687ed74a1e4b590d2759f642295bb6deaf5e36cbedc752c86d9779f0fb3a14c85dc4cee9a425ab88c7e8c69ad1d693a
6
+ metadata.gz: c42fa8fd1a323d6bf9bd36417b86e47c49c2dba0e3edad882ad7405d2ede8051e7f6d2641c5c8851316c8c18fc71a3c20030ff139a60fda342feff037b2ee574
7
+ data.tar.gz: 7a0f7da1e0a9e2a10742ddc6a19d45fd74f204428a8e53e7d3c2a4ee355f9743ba32596bc3c85850149c65a1b7f997e55fcfc4aaae35371155f3daba0d525552
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  # File: table.rb
4
- # Time-stamp: <2014-12-10 14:46:01 pierre>
4
+ # Time-stamp: <2014-12-10 15:43:32 pierre>
5
5
  # Copyright (C) 2014 Pierre Lecocq
6
6
  # Description: Taupe library model table class
7
7
 
@@ -175,7 +175,7 @@ module Taupe
175
175
  # @param key [Symbol]
176
176
  # @return [Boolean]
177
177
  def property?(key)
178
- @_columns.include? key.to_sym
178
+ @_values.include? key.to_sym
179
179
  end
180
180
 
181
181
  # Add a propery to the current model
data/lib/taupe.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # File: taupe.rb
2
- # Time-stamp: <2014-12-10 14:53:34 pierre>
2
+ # Time-stamp: <2014-12-10 15:42:29 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, 1].join('.')
16
+ VERSION = [0, 6, 2].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 14:53:22 pierre>
2
+ # Time-stamp: <2014-12-10 15:42:44 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.1' do
11
- expect(Taupe::VERSION).to eql '0.6.1'
10
+ it 'should return 0.6.2' do
11
+ expect(Taupe::VERSION).to eql '0.6.2'
12
12
  end
13
13
  end
14
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taupe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pierre Lecocq