rsl-stringex 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/stringex.rb +3 -1
  2. data/stringex.gemspec +2 -2
  3. metadata +2 -2
data/lib/stringex.rb CHANGED
@@ -4,4 +4,6 @@ require 'lucky_sneaks/unidecoder'
4
4
 
5
5
  String.send :include, LuckySneaks::StringExtensions
6
6
 
7
- ActiveRecord::Base.send :include, LuckySneaks::ActsAsUrl
7
+ if defined?(ActiveRecord)
8
+ ActiveRecord::Base.send :include, LuckySneaks::ActsAsUrl
9
+ end
data/stringex.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "stringex"
3
- s.version = "0.9.2"
4
- s.date = "2008-10-04"
3
+ s.version = "0.9.3"
4
+ s.date = "2008-10-10"
5
5
  s.summary = "Some [hopefully] useful extensions to Ruby’s String class"
6
6
  s.email = "rsl@luckysneaks.com"
7
7
  s.homepage = "http://github.com/rsl/stringex"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rsl-stringex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Russell Norris
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-10-04 00:00:00 -07:00
12
+ date: 2008-10-10 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15