superstore 2.1.3 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: da400b4c3815703b7d1277cf646357a68773fceb
4
- data.tar.gz: 1c93c96bb1f5d4c6e943d7d5d8feb5df47c4ecc7
3
+ metadata.gz: 5693d8b8ef6d996873be8b90469953d6d43da3d9
4
+ data.tar.gz: 3441e366eb68a131363c9d8376905bc3c4dfd68a
5
5
  SHA512:
6
- metadata.gz: 595569b57d0758f0dbec5fd727a64707425d08310efd5623d0665a61346982b9ae832f6f09b3ac704aa0b51ec79a7973e4ceb0cd2a4f3ab49c07435d1059e6ae
7
- data.tar.gz: 659464f96e68e5f1689743a5370f43829b57b543ab62f03b9a21ee7f62e303d650677fe8985778f98a525f793a6295a71da6e16676418dd7dc8fced0433d3b1c
6
+ metadata.gz: f9b800bb4f54c8e9bda088ebc7dbe97fb64eea4bc84f3e601658495b0d9afeb897a03738de445bf55c4527128f1d8a7fa2845663df1164deb68aef1d973054bf
7
+ data.tar.gz: 2324d4e9d7cff4f03db292828eee93973e138b38637a206eae00f9b04889e595b0656d6711abf3456586159f6550eb8a8e53cf55fbc1134b7b406df722956cf9
@@ -2,6 +2,7 @@ Superstore::Type.register(:array, Superstore::Types::ArrayType)
2
2
  Superstore::Type.register(:boolean, Superstore::Types::BooleanType)
3
3
  Superstore::Type.register(:date, Superstore::Types::DateType)
4
4
  Superstore::Type.register(:float, Superstore::Types::FloatType)
5
+ Superstore::Type.register(:geo_point, Superstore::Types::JsonType)
5
6
  Superstore::Type.register(:integer, Superstore::Types::IntegerType)
6
7
  Superstore::Type.register(:json, Superstore::Types::JsonType)
7
8
  Superstore::Type.register(:time, Superstore::Types::TimeType)
data/superstore.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'superstore'
5
- s.version = '2.1.3'
5
+ s.version = '2.2.0'
6
6
  s.description = 'ActiveModel for many attributes'
7
7
  s.summary = 'JSONB ActiveModel'
8
8
  s.authors = ["Michael Koziarski", "Infogroup"]
@@ -47,7 +47,7 @@ class Superstore::PersistenceTest < Superstore::TestCase
47
47
  assert_nothing_raised(Superstore::RecordNotFound) { Issue.find(second_issue.id) }
48
48
  end
49
49
 
50
- test 'persistance inquiries' do
50
+ test 'persistence inquiries' do
51
51
  issue = Issue.new
52
52
  assert issue.new_record?
53
53
  assert !issue.persisted?
@@ -160,17 +160,6 @@ class Superstore::PersistenceTest < Superstore::TestCase
160
160
  assert_equal persisted_issue, reloaded_issue
161
161
  end
162
162
 
163
- test 'allow CQL keyword in column name' do
164
- assert_nothing_raised do
165
- Issue.string :text
166
- issue = Issue.create :text => 'hello'
167
- issue.text = 'world'
168
- issue.save!
169
- issue.text = nil
170
- issue.save!
171
- end
172
- end
173
-
174
163
  test 'quote_columns' do
175
164
  klass = Class.new { include Superstore::Persistence }
176
165
  assert_equal %w{'a' 'b'}, klass.__send__(:quote_columns, %w{a b})
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: superstore
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Koziarski
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-05-14 00:00:00.000000000 Z
12
+ date: 2016-06-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activemodel