stringex 2.1.1 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZjRmMzU0YzkxYjIwY2FmY2ZhZTg2OWZkMzc5YTA0ZjIxZmMyMGU1Ng==
4
+ OTgxMjBjNTlhYmEyMGIzZDYyZmI4MmU2M2UwMTU1OGJmZGZlMzQ0YQ==
5
5
  data.tar.gz: !binary |-
6
- ZGVkM2NlYmJhZDg4NTg2NDgyMzQ3ZDg4MWFjMjJhNzk1ZGI1NTIwZA==
6
+ Nzc2MjZlZWE3MDJhNDg3MDJjNGU3NTkyMzNlOWQxODU1NDFmMmMzNw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NTE4MjZmODY3ZmQwYWI4ZDY1ZmJkMDc0NGYyMDZiZGYxYjBmY2JmMmMwYzlm
10
- MDBkODc1MTU5NDlhMDQ4N2RmZTU3YTE4M2FkYmFjZmUyZGZhMzI0MTM4M2Uz
11
- NWQzMTEyZGViOWU3MTgwNDM1ODNlZDliNzY3N2NjYjA5NTQwN2Q=
9
+ ZDEyZjQ0ZWI3OTM5MjBiOTY1N2IxNTY1MGQ4ZTQ2NGEwMmFjYTU2YjgxZmQ3
10
+ YWM4ZGNlZDIyMzk4ZjNhNWM0YzZlODg4NmNmZjA2MzhiOWYwNWVkNGExNGIz
11
+ Y2YzNDEwZTU0YjQyZWI0Y2M0YjQ5YTBmODEwN2U1NzI4MWY3OWU=
12
12
  data.tar.gz: !binary |-
13
- ZWE0NzNlNTQ1YWNkZDE0YmVkMGZhY2JlMzI2MzE3OWQ2NTAyMDFiNjcyZWVm
14
- OWE2ZTMwMWUzMTFlY2M5MDJlNjM4YWFhNzMxNGZhZmJlNTZiNmRkNWZlM2Q2
15
- MGVkZjZmYzE1YjFiM2RlMmZkZTZkYzAwMzZlZjZjZjc1ZDJjZjI=
13
+ ZDdkOWJhMjFjYjc4YzE1NDc0ZGM1ZjNhMjRhNDAwZTA2MDkxMjE5ZjQwOWQx
14
+ NmY2YWU3Yjg0MDkxMWM5OGNiYTdhNmNkODE3MDE5NzAxNDEwZWRkOWRiNTJj
15
+ MzI3NzM1YTdlZmI5NThkNjRlODYzNDU2OTcyNzEyNTg0ZGRkZjk=
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.1
1
+ 2.1.2
@@ -11,7 +11,7 @@ module Stringex
11
11
  private
12
12
 
13
13
  def klass_previous_instances(&block)
14
- klass.find_each(:conditions => {settings.url_attribute => [nil, '']}, &block)
14
+ klass.where(settings.url_attribute => [nil, '']).find_each(&block)
15
15
  end
16
16
 
17
17
  def self.orm_class
data/stringex.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "stringex"
8
- s.version = "2.1.1"
8
+ s.version = "2.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Russell Norris"]
12
- s.date = "2013-11-13"
12
+ s.date = "2013-11-25"
13
13
  s.description = "Some [hopefully] useful extensions to Ruby's String class. Stringex is made up of three libraries: ActsAsUrl [permalink solution with better character translation], Unidecoder [Unicode to ASCII transliteration], and StringExtensions [miscellaneous helper methods for the String class]."
14
14
  s.email = "rsl@luckysneaks.com"
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stringex
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Russell Norris
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-13 00:00:00.000000000 Z
11
+ date: 2013-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord