lolita 4.0.8 → 4.0.9

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: fb235ce8ccc674fbd77d59c5b144e367cc663ec0
4
- data.tar.gz: 77e8cba67899a98ba17c2740b152ebe67159f274
3
+ metadata.gz: cbc9a4485985028f7250b27916072f4b1e682f06
4
+ data.tar.gz: 5fb89f093750d3599a452eebb6a774a98135a14f
5
5
  SHA512:
6
- metadata.gz: db5fca90884309c5d1808a849b7929ea46dba8fc92d456e9ef76ca67cf02265459fd81bc2224a9b12214780e556fafab0ce26bdc04ce1d9da67df06efae9e229
7
- data.tar.gz: aec870082bad339b2291db8d2a449fd777af10b36ad9e4343075d6fbb40c9a2dd70f417ba76a3262434a03fdca21d7a85b8aef1dcfdcbebaa1e82887b24a56ef
6
+ metadata.gz: bc587a64ec4362a2193c5f61493d1576003eead43df43632ed9906e04e3207075dddcbb82f45b439450a95d1b412cb85ab0966cc8ccf65dbb5b18ca144621203
7
+ data.tar.gz: 585fa489330f5f490b90a1f36d25421a36dcb68d0659aeba143e35e4abcb73c8662e4c4a13da5fb308fb227d35ba931bcea9475e96b74b89ddd4abfedbc6735b
@@ -128,7 +128,7 @@ module Lolita
128
128
  @name = @field.name
129
129
  @type = type_cast(@field.type)
130
130
  @options = {
131
- :primary => @field.primary,
131
+ :primary => @adapter.klass.primary_key == @field.name,
132
132
  :native_type => @field.type.to_s
133
133
  }
134
134
  end
@@ -2,7 +2,7 @@ module Lolita
2
2
  module Version
3
3
  MAJOR = 4
4
4
  MINOR = 0
5
- PATCH = 8
5
+ PATCH = 9
6
6
  BUILD = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lolita
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.8
4
+ version: 4.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - ITHouse (Latvia) and Arturs Meisters
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-20 00:00:00.000000000 Z
11
+ date: 2015-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kaminari
@@ -547,7 +547,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
547
547
  version: '0'
548
548
  requirements: []
549
549
  rubyforge_project:
550
- rubygems_version: 2.2.2
550
+ rubygems_version: 2.4.3
551
551
  signing_key:
552
552
  specification_version: 4
553
553
  summary: Great web resources management tool