big-phoney 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/big-phoney.gemspec CHANGED
@@ -2,12 +2,23 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{big-phoney}
5
- s.version = "0.0.6"
5
+ s.version = "0.0.7"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Pat Nakajima", "Brandon Keene"]
9
9
  s.date = %q{2010-08-26}
10
- s.files = ["LICENSE", "README.md", "big-phoney.gemspec", "lib/big-phoney.rb", "lib/big_phoney.rb", "lib/big_phoney/rails.rb", "lib/big_phoney/phone_number.rb", "rails/init.rb", "lib/big_phoney/.gitignore", "spec/big_phoney_spec.rb", "spec/spec_helper.rb"]
10
+ s.files = [
11
+ "LICENSE",
12
+ "README.md",
13
+ "big-phoney.gemspec",
14
+ "lib/big-phoney.rb",
15
+ "lib/big_phoney.rb",
16
+ "lib/big_phoney/rails.rb",
17
+ "lib/big_phoney/phone_number.rb",
18
+ "lib/big_phoney/.gitignore",
19
+ "spec/big_phoney_spec.rb",
20
+ "spec/spec_helper.rb"
21
+ ]
11
22
  s.require_paths = ["lib"]
12
23
  s.rubygems_version = %q{1.3.7}
13
24
  s.summary = %q{Simple phone number parsing in Ruby}
data/lib/big-phoney.rb CHANGED
@@ -1,2 +1,3 @@
1
1
  $LOAD_PATH.unshift File.join(File.dirname(__FILE__))
2
2
  require 'big_phoney/phone_number'
3
+ require 'big_phoney/rails'
@@ -30,4 +30,6 @@ module BigPhoney
30
30
  end
31
31
  end
32
32
 
33
- ActiveRecord::Base.extend(BigPhoney::Rails::ActiveRecord)
33
+ if defined?(ActiveRecord::Base)
34
+ ActiveRecord::Base.extend(BigPhoney::Rails::ActiveRecord)
35
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: big-phoney
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Pat Nakajima
@@ -36,7 +36,6 @@ files:
36
36
  - lib/big_phoney.rb
37
37
  - lib/big_phoney/rails.rb
38
38
  - lib/big_phoney/phone_number.rb
39
- - rails/init.rb
40
39
  - lib/big_phoney/.gitignore
41
40
  - spec/big_phoney_spec.rb
42
41
  - spec/spec_helper.rb
data/rails/init.rb DELETED
@@ -1 +0,0 @@
1
- require 'big_phoney/rails'