mongoid_slug 3.0.0.rc1 → 3.0.0

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,15 +1,7 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ODMzODllM2NkMGQ3ZjJiYjFjNDdjMzUwYWU4ZWJkYjg2NTI0NTkyZg==
5
- data.tar.gz: !binary |-
6
- YmQ3MTlmYjZlMmRmZWNkZWEyY2I5NGU1OGM0ZmE4NDlhYjRjMmYxMg==
3
+ metadata.gz: ac5949c79bef58e0a3016c3e762128b97d25487c
4
+ data.tar.gz: 5d36ebb038417434407a740fefc38b0dcba40b1a
7
5
  !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- NTVhOGRjYzBlOTc2MTYwMTgzNzdhNjQ4NjRhNGQyZWFhOWU5ZTlhZTJmMzgz
10
- Y2QwYjM3ZDhhZGI2MWQ2OTZiZDQ0OTBkNmU3YmM5ODE2NmJlM2Q2Y2ZjN2Qy
11
- NWE5M2I1YTk0YzFkYWE4ZGE0MDgxZjNhOTBjZmQwZTBkYWJlODc=
12
- data.tar.gz: !binary |-
13
- MjE2ZjA5MGIyYjkzYmNjM2MzMzZmYmMwNDU4MjlhZjU1NDRlZWU2YWUwNTRi
14
- ZWNmMzU2ZjM3ZTMyOGI3MzUwMjg3YWRmOWUxNzY1NmY0ZTY4OTY2OTQwMjVj
15
- NjcwZjQ4NmViNjgzODA0MzZiNDBkOTAyZTA2Y2Y5MjQ5MGE4MDg=
6
+ metadata.gz: 55bc5468b2f8cd4e588833d9e7fad281430f6a93a3d138e75b9642aa607a01d690f7fd5e0211f661f8a4608d3cbc002f9c721d3bf570575ad994e2d00d268fc8
7
+ data.tar.gz: 7adc20de68e362b06562d30d69a453b926908e9abf6fe3b1510c365db088543f1b60d717636c89ae906788268b9221e1aecc0ee404392da85956389d851978a1
@@ -64,7 +64,7 @@ module Mongoid
64
64
  # otherwise default for all other id_types
65
65
  def build_slug_strategy id_type
66
66
  type_method = id_type.to_s.downcase.split('::').last + "_slug_strategy"
67
- self.respond_to?(type_method) ? method(type_method) : lambda {|id| false}
67
+ self.respond_to?(type_method, true) ? method(type_method) : lambda {|id| false}
68
68
  end
69
69
 
70
70
  # a string will not look like a slug if it looks like a legal ObjectId
@@ -1,5 +1,5 @@
1
1
  module Mongoid #:nodoc:
2
2
  module Slug
3
- VERSION = '3.0.0.rc1'
3
+ VERSION = '3.0.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_slug
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.rc1
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Saebjoernsen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-02-25 00:00:00.000000000 Z
11
+ date: 2013-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mongoid
@@ -173,9 +173,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
173
173
  version: '0'
174
174
  required_rubygems_version: !ruby/object:Gem::Requirement
175
175
  requirements:
176
- - - ! '>'
176
+ - - ! '>='
177
177
  - !ruby/object:Gem::Version
178
- version: 1.3.1
178
+ version: '0'
179
179
  requirements: []
180
180
  rubyforge_project: mongoid_slug
181
181
  rubygems_version: 2.0.0