as_dialed_from 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml ADDED
@@ -0,0 +1,9 @@
1
+ rvm:
2
+ - 1.8.7
3
+ - 1.9.2
4
+ - 1.9.3
5
+ - rbx-2.0
6
+ - jruby
7
+ - ruby-head
8
+ - ree
9
+
data/Gemfile CHANGED
@@ -6,13 +6,12 @@ group :development, :test do
6
6
  gem 'test-unit'
7
7
  gem 'guard-test'
8
8
 
9
- require 'rbconfig'
10
- if RbConfig::CONFIG['host_os'] =~ /darwin/i
9
+ group :darwin do
11
10
  gem 'rb-fsevent'
12
11
  gem 'growl'
13
12
  end
14
13
 
15
- gem 'rcov'
14
+ gem 'rcov', :platforms => :mri
16
15
 
17
16
  gem 'bundler'
18
17
  gem 'jeweler'
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # as_dialed_from
1
+ # as_dialed_from [![Build Status](https://secure.travis-ci.org/Movitas/as_dialed_from.png)](https://secure.travis-ci.org/Movitas/as_dialed_from)
2
2
 
3
3
  Figure out how a number should be dialed from another country.
4
4
  A fork of a port of Google's libphonenumber.
data/Rakefile CHANGED
@@ -32,12 +32,14 @@ Rake::TestTask.new(:test) do |test|
32
32
  test.verbose = true
33
33
  end
34
34
 
35
- require 'rcov/rcovtask'
36
- Rcov::RcovTask.new do |test|
37
- test.libs << 'test'
38
- test.pattern = 'test/**/test_*.rb'
39
- test.verbose = true
40
- test.rcov_opts << '--exclude "gems/*"'
35
+ if defined? RUBY_ENGINE and RUBY_ENGINE == "ruby"
36
+ require 'rcov/rcovtask'
37
+ Rcov::RcovTask.new do |test|
38
+ test.libs << 'test'
39
+ test.pattern = 'test/**/test_*.rb'
40
+ test.verbose = true
41
+ test.rcov_opts << '--exclude "gems/*"'
42
+ end
41
43
  end
42
44
 
43
45
  task :default => :test
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{as_dialed_from}
8
- s.version = "0.2.1"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Justin Campbell"]
12
- s.date = %q{2011-08-04}
12
+ s.date = %q{2011-10-07}
13
13
  s.description = %q{Figure out how a number should be dialed from another country. A fork of a port of Google's libphonenumber.}
14
14
  s.email = %q{jcampbell@movitas.com}
15
15
  s.extra_rdoc_files = [
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
18
18
  ]
19
19
  s.files = [
20
20
  ".rvmrc",
21
+ ".travis.yml",
21
22
  "Gemfile",
22
23
  "Guardfile",
23
24
  "LICENSE",
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: as_dialed_from
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Justin Campbell
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-04 00:00:00 -04:00
18
+ date: 2011-10-07 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -141,6 +141,7 @@ extra_rdoc_files:
141
141
  - README.md
142
142
  files:
143
143
  - .rvmrc
144
+ - .travis.yml
144
145
  - Gemfile
145
146
  - Guardfile
146
147
  - LICENSE