dialy 0.0.2 → 0.0.3

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
data/dialy.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{dialy}
8
- s.version = "0.0.2"
8
+ s.version = "0.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Georg Ledermann"]
data/lib/dialy.rb CHANGED
@@ -167,9 +167,9 @@ module Dialy
167
167
  '1371', '1372', '1373', '1374', '1375', '1376', '1377', '1378', '1379',
168
168
 
169
169
  # 015 / 016 / 017 (Mobile)
170
- '150', '152', '153', '154', '155', '156', '157', '158', '159',
171
- '160', '162', '163', '164', '165', '166', '167', '168', '169',
172
- '170', '172', '173', '174', '175', '176', '177', '178', '179',
170
+ '150', '151', '152', '153', '154', '155', '156', '157', '158', '159',
171
+ '160', '161', '162', '163', '164', '165', '166', '167', '168', '169',
172
+ '170', '171', '172', '173', '174', '175', '176', '177', '178', '179',
173
173
 
174
174
  # 018 (Shared Cost)
175
175
  '1801', '1802', '1803', '1804', '1805',
data/spec/dialy_spec.rb CHANGED
@@ -43,12 +43,9 @@ describe "Dialy" do
43
43
  end
44
44
 
45
45
  describe "German mobile" do
46
- before :each do
47
- @expected = '+49 163 1234567'
48
- end
49
-
50
46
  it "should format" do
51
- Dialy.format_number('0163-1234567').should == @expected
47
+ Dialy.format_number('0163-1234567').should == '+49 163 1234567'
48
+ Dialy.format_number('0171-1234567').should == '+49 171 1234567'
52
49
  end
53
50
  end
54
51
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dialy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Georg Ledermann