qbrick 2.6.7 → 2.6.8

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: bd6273ff52cc6d56eb6939f28ecaca4ca075e4ba
4
- data.tar.gz: 2f9a48e9174a7618e6ef5f1f33c23eb9f0866732
3
+ metadata.gz: 67f8f765f6e3c6dd0cdb8132014bfc1995853e37
4
+ data.tar.gz: 076e84aea3b7ec757a33bb8e251c23af563d4b70
5
5
  SHA512:
6
- metadata.gz: 3c3525b5ffa1a44d30375ffe1b2a13edbc692cd29d4b9091338e5506d3683db46b4337321ed425d2165ca653eb379eafb74fe2ff466c432d9b7f702a645c5b41
7
- data.tar.gz: 7f51a9cf74dc215329bd0c4ea102647763c46ef00c9195a605a0e1d08a3852a7e526664d8be8d3243a28b61b3c27235aca1ac86a9056c5511409793ff6b6af71
6
+ metadata.gz: 6e39347857944a8718b1fb4998f68e463242c4e52c79e896240e3ee8f71d1bab13d1aa23ce2eff8896869166477cfd9dde08436f0b8884eb40809187b643d03b
7
+ data.tar.gz: 4c91219baac0fcffc31b148aad8d22f92fea7a9ac1be42aada653f9b64be0037af331da58bffb5e5ccff81a361ea089accab69103cd6275cfa5e4ee221e10c30
@@ -75,7 +75,7 @@ module Qbrick
75
75
  return true if errors[field].present?
76
76
  end
77
77
 
78
- page_with_duplicated_paths = self.class.where path_field => path
78
+ page_with_duplicated_paths = self.class.published.translated.where path_field => path
79
79
  page_with_duplicated_paths = page_with_duplicated_paths.where.not id: id if persisted?
80
80
  return true unless page_with_duplicated_paths.exists?
81
81
 
@@ -1,3 +1,3 @@
1
1
  module Qbrick
2
- VERSION = '2.6.7'
2
+ VERSION = '2.6.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qbrick
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.7
4
+ version: 2.6.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Immanuel Häussermann
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2015-06-30 00:00:00.000000000 Z
15
+ date: 2015-07-14 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rspec-rails
@@ -886,7 +886,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
886
886
  version: '0'
887
887
  requirements: []
888
888
  rubyforge_project: qbrick
889
- rubygems_version: 2.4.5
889
+ rubygems_version: 2.2.2
890
890
  signing_key:
891
891
  specification_version: 4
892
892
  summary: A tool that helps you to manage your content within your app.