tuk 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +4 -0
- data/VERSION +1 -1
- data/lib/area_codes.csv +5 -1
- data/tuk.gemspec +60 -0
- metadata +5 -4
data/README.rdoc
CHANGED
|
@@ -4,6 +4,10 @@ Tuk makes dealing with uk telephone numbers a little easier.
|
|
|
4
4
|
|
|
5
5
|
Tuk::Number.new('442089732951').area_code => '020'
|
|
6
6
|
|
|
7
|
+
== Install
|
|
8
|
+
|
|
9
|
+
gem install tuk
|
|
10
|
+
|
|
7
11
|
== Contributing to tuk
|
|
8
12
|
|
|
9
13
|
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.1
|
data/lib/area_codes.csv
CHANGED
|
@@ -609,4 +609,8 @@ Code,Ofcom Definition,Traditional BT Definition,Notes
|
|
|
609
609
|
023,Southampton / Portsmouth,Southampton / Portsmouth,
|
|
610
610
|
024,Coventry,Coventry,
|
|
611
611
|
028,Northern Ireland,Northern Ireland,
|
|
612
|
-
029,Cardiff,Cardiff,
|
|
612
|
+
029,Cardiff,Cardiff,
|
|
613
|
+
030,goverment,geographic rate
|
|
614
|
+
033,any org, geographic rate
|
|
615
|
+
034,any,084 replacement
|
|
616
|
+
037,any,087 replacement
|
data/tuk.gemspec
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# Generated by jeweler
|
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
|
+
# -*- encoding: utf-8 -*-
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |s|
|
|
7
|
+
s.name = %q{tuk}
|
|
8
|
+
s.version = "0.1.1"
|
|
9
|
+
|
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
|
+
s.authors = ["Daniel Cooper"]
|
|
12
|
+
s.date = %q{2011-11-18}
|
|
13
|
+
s.description = %q{A small library for sorting out uk telephone numbers}
|
|
14
|
+
s.email = %q{daniel@14lines.com}
|
|
15
|
+
s.extra_rdoc_files = [
|
|
16
|
+
"LICENSE.txt",
|
|
17
|
+
"README.rdoc"
|
|
18
|
+
]
|
|
19
|
+
s.files = [
|
|
20
|
+
".document",
|
|
21
|
+
"Gemfile",
|
|
22
|
+
"Gemfile.lock",
|
|
23
|
+
"LICENSE.txt",
|
|
24
|
+
"README.rdoc",
|
|
25
|
+
"Rakefile",
|
|
26
|
+
"VERSION",
|
|
27
|
+
"lib/area_codes.csv",
|
|
28
|
+
"lib/tuk.rb",
|
|
29
|
+
"test/helper.rb",
|
|
30
|
+
"test/test_tuk.rb",
|
|
31
|
+
"tuk.gemspec"
|
|
32
|
+
]
|
|
33
|
+
s.homepage = %q{http://github.com/danielcooper/tuk}
|
|
34
|
+
s.licenses = ["MIT"]
|
|
35
|
+
s.require_paths = ["lib"]
|
|
36
|
+
s.rubygems_version = %q{1.4.2}
|
|
37
|
+
s.summary = %q{A small library for sorting out uk telephone numbers}
|
|
38
|
+
|
|
39
|
+
if s.respond_to? :specification_version then
|
|
40
|
+
s.specification_version = 3
|
|
41
|
+
|
|
42
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
43
|
+
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
|
44
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
|
45
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
|
|
46
|
+
s.add_development_dependency(%q<rcov>, [">= 0"])
|
|
47
|
+
else
|
|
48
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
|
49
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
|
50
|
+
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
|
51
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
|
52
|
+
end
|
|
53
|
+
else
|
|
54
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
|
55
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
|
56
|
+
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
|
57
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tuk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 25
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.1.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Daniel Cooper
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-
|
|
18
|
+
date: 2011-11-18 00:00:00 +00:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|
|
@@ -99,6 +99,7 @@ files:
|
|
|
99
99
|
- lib/tuk.rb
|
|
100
100
|
- test/helper.rb
|
|
101
101
|
- test/test_tuk.rb
|
|
102
|
+
- tuk.gemspec
|
|
102
103
|
has_rdoc: true
|
|
103
104
|
homepage: http://github.com/danielcooper/tuk
|
|
104
105
|
licenses:
|