effective_slugs 1.2.0 → 1.2.1

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: b37e7607960936f530c960d412f8bfa3220f011a
4
- data.tar.gz: 6bf37caaeccb8b155282f5bbf79cee3058568540
3
+ metadata.gz: 22ef1ecc2ccc4117be79389a9cebfd1fb913d2db
4
+ data.tar.gz: d7dd2719ae9d4939663f33a976ed854a5d519de4
5
5
  SHA512:
6
- metadata.gz: 61fe26a272e28864d2a83b74c9216afcfeee5ea77aec14b66ae397375c6da84acd12a0d1478c5aa7cbb9e1bd157ff77fdba13cb5814e03853b801a2ec589d310
7
- data.tar.gz: 661b7f5ffb2b9142f93da55d3fab9a034bc5f9f98a45e81827229f1b6aab9f54c4c3cd0a9ca8ab082c5f9acbba2615a0065da326ecdeef98d69b1f49edbcef4a
6
+ metadata.gz: c34cc9af3e85ca221ae08c6992cd094ff746bcf79e0aec84357d961bdf3f694a0f4c9a8e79f273cc40e97d232551f3934144ff6ebea887ea19a4ad0f9fe2ca8b
7
+ data.tar.gz: 7e701e9b040a7259718f0e63d59fe2c6ddc543bab266a5b9276d8517cd7571b1b6c85b1aef5e4724f3a350c0ca25256b43b924f26eba124bae23076ab1c2f75c
@@ -109,10 +109,8 @@ module ActsAsSluggable
109
109
  end
110
110
 
111
111
  module ClassMethods
112
- unless ::ActiveRecord::VERSION::MAJOR == 4 && ::ActiveRecord::VERSION::MINOR == 2
113
- def relation
114
- super.tap { |relation| relation.extend(FinderMethods) }
115
- end
112
+ def relation
113
+ super.tap { |relation| relation.extend(FinderMethods) }
116
114
  end
117
115
  end
118
116
 
@@ -135,7 +133,5 @@ module ActsAsSluggable
135
133
  args.first.is_a?(Array) || args.first.to_i > 0
136
134
  end
137
135
  end
138
-
139
-
140
136
  end
141
137
 
@@ -1,3 +1,3 @@
1
1
  module EffectiveSlugs
2
- VERSION = '1.2.0'.freeze
2
+ VERSION = '1.2.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_slugs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect