govuk_content_models 6.0.5 → 6.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ module BusinessSupport
4
4
 
5
5
  field :name, type: String
6
6
  field :slug, type: String
7
- index :slug => 1
7
+ index :slug, unique: true
8
8
 
9
9
  validates_presence_of :name
10
10
  validates_uniqueness_of :name
@@ -4,7 +4,7 @@ module BusinessSupport
4
4
 
5
5
  field :name, type: String
6
6
  field :slug, type: String
7
- index :slug => 1
7
+ index :slug, unique: true
8
8
 
9
9
  validates_presence_of :name
10
10
  validates_uniqueness_of :name
@@ -4,7 +4,7 @@ module BusinessSupport
4
4
 
5
5
  field :name, type: String
6
6
  field :slug, type: String
7
- index :slug => 1
7
+ index :slug, unique: true
8
8
 
9
9
  validates_presence_of :name
10
10
  validates_uniqueness_of :name
@@ -4,7 +4,7 @@ module BusinessSupport
4
4
 
5
5
  field :name, type: String
6
6
  field :slug, type: String
7
- index :slug => 1
7
+ index :slug, unique: true
8
8
 
9
9
  validates_presence_of :name
10
10
  validates_uniqueness_of :name
@@ -4,7 +4,7 @@ module BusinessSupport
4
4
 
5
5
  field :name, type: String
6
6
  field :slug, type: String
7
- index :slug => 1
7
+ index :slug, unique: true
8
8
 
9
9
  validates_presence_of :name
10
10
  validates_uniqueness_of :name
@@ -4,7 +4,7 @@ module BusinessSupport
4
4
 
5
5
  field :name, type: String
6
6
  field :slug, type: String
7
- index :slug => 1
7
+ index :slug, unique: true
8
8
 
9
9
  validates_presence_of :name
10
10
  validates_uniqueness_of :name
@@ -4,7 +4,7 @@ module BusinessSupport
4
4
 
5
5
  field :name, type: String
6
6
  field :slug, type: String
7
- index :slug => 1
7
+ index :slug, unique: true
8
8
 
9
9
  validates_presence_of :name
10
10
  validates_uniqueness_of :name
@@ -1,4 +1,4 @@
1
1
  module GovukContentModels
2
2
  # Changing this causes Jenkins to tag and release the gem into the wild
3
- VERSION = "6.0.5"
3
+ VERSION = "6.0.6"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_content_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.5
4
+ version: 6.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-01-13 00:00:00.000000000 Z
12
+ date: 2014-01-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bson_ext
@@ -453,7 +453,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
453
453
  version: '0'
454
454
  segments:
455
455
  - 0
456
- hash: 888131122217194786
456
+ hash: 2437937241290914475
457
457
  required_rubygems_version: !ruby/object:Gem::Requirement
458
458
  none: false
459
459
  requirements:
@@ -462,7 +462,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
462
462
  version: '0'
463
463
  segments:
464
464
  - 0
465
- hash: 888131122217194786
465
+ hash: 2437937241290914475
466
466
  requirements: []
467
467
  rubyforge_project:
468
468
  rubygems_version: 1.8.23