myna_bird 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +8 -11
- data/VERSION +1 -1
- data/lib/myna_bird.rb +2 -2
- data/myna_bird.gemspec +9 -10
- metadata +34 -51
data/Rakefile
CHANGED
@@ -7,7 +7,7 @@ begin
|
|
7
7
|
gem.name = "myna_bird"
|
8
8
|
gem.summary = %Q{Transform email addresses into account names for your app}
|
9
9
|
gem.description = %Q{Given an email address, MynaBird generates a name suitable for use in a host name}
|
10
|
-
gem.email = "
|
10
|
+
gem.email = "brendan@wistia.com"
|
11
11
|
gem.homepage = "http://github.com/wistia/myna_bird"
|
12
12
|
gem.authors = ["Brendan Schwartz"]
|
13
13
|
gem.add_development_dependency "rspec", ">= 1.2.9"
|
@@ -18,28 +18,25 @@ rescue LoadError
|
|
18
18
|
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
19
19
|
end
|
20
20
|
|
21
|
-
require '
|
22
|
-
|
23
|
-
|
24
|
-
spec.
|
21
|
+
require 'rspec/core'
|
22
|
+
require 'rspec/core/rake_task'
|
23
|
+
RSpec::Core::RakeTask.new(:spec) do |spec|
|
24
|
+
spec.pattern = FileList['spec/**/*_spec.rb']
|
25
25
|
end
|
26
26
|
|
27
|
-
|
28
|
-
spec.libs << 'lib' << 'spec'
|
27
|
+
RSpec::Core::RakeTask.new(:rcov) do |spec|
|
29
28
|
spec.pattern = 'spec/**/*_spec.rb'
|
30
29
|
spec.rcov = true
|
31
30
|
end
|
32
31
|
|
33
|
-
task :spec => :check_dependencies
|
34
|
-
|
35
32
|
task :default => :spec
|
36
33
|
|
37
|
-
require '
|
34
|
+
require 'rdoc/task'
|
38
35
|
Rake::RDocTask.new do |rdoc|
|
39
36
|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
40
37
|
|
41
38
|
rdoc.rdoc_dir = 'rdoc'
|
42
|
-
rdoc.title = "
|
39
|
+
rdoc.title = "blah #{version}"
|
43
40
|
rdoc.rdoc_files.include('README*')
|
44
41
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
45
42
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.6
|
data/lib/myna_bird.rb
CHANGED
@@ -9,12 +9,12 @@ class MynaBird
|
|
9
9
|
|
10
10
|
COMMON_DOMAINS = %w(
|
11
11
|
hotmail msn live yahoo yahoo.co.uk ymail rocketmail gmail googlemail aol
|
12
|
-
fastmail.fm web
|
12
|
+
fastmail.fm web inbox freemail rediff indiatimes lycos libero.it rambler.ru mac
|
13
13
|
paracalls linkedin mynet interia.pl yandex.ru sina 126 lycos bol in me
|
14
14
|
voila.fr mail comcast netcom roadrunner verizon 1and1 att adelphia
|
15
15
|
bigpond bluebottle blueyonder btopenworld charter cox earthlink sbc telus
|
16
16
|
mailinator charter rogers sympatico tiscali tmail sbcglobal aim windowslive
|
17
|
-
juno qq optonline.net mailhaven.com shaw.ca
|
17
|
+
juno qq optonline.net mailhaven.com shaw.ca btinternet email orange.fr
|
18
18
|
) + [
|
19
19
|
/\.edu$/
|
20
20
|
]
|
data/myna_bird.gemspec
CHANGED
@@ -4,14 +4,14 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.2.
|
7
|
+
s.name = "myna_bird"
|
8
|
+
s.version = "0.2.6"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Brendan Schwartz"]
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
12
|
+
s.date = "2012-06-09"
|
13
|
+
s.description = "Given an email address, MynaBird generates a name suitable for use in a host name"
|
14
|
+
s.email = "brendan@wistia.com"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE",
|
17
17
|
"README"
|
@@ -27,16 +27,15 @@ Gem::Specification.new do |s|
|
|
27
27
|
"spec/spec.opts",
|
28
28
|
"spec/spec_helper.rb"
|
29
29
|
]
|
30
|
-
s.homepage =
|
30
|
+
s.homepage = "http://github.com/wistia/myna_bird"
|
31
31
|
s.require_paths = ["lib"]
|
32
|
-
s.rubygems_version =
|
33
|
-
s.summary =
|
32
|
+
s.rubygems_version = "1.8.11"
|
33
|
+
s.summary = "Transform email addresses into account names for your app"
|
34
34
|
|
35
35
|
if s.respond_to? :specification_version then
|
36
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
37
36
|
s.specification_version = 3
|
38
37
|
|
39
|
-
if Gem::Version.new(Gem::
|
38
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
40
39
|
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
|
41
40
|
else
|
42
41
|
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
metadata
CHANGED
@@ -1,46 +1,36 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: myna_bird
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 2
|
8
|
-
- 5
|
9
|
-
version: 0.2.5
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.6
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Brendan Schwartz
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-06-09 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: rspec
|
22
|
-
|
23
|
-
|
24
|
-
requirements:
|
25
|
-
- -
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
segments:
|
28
|
-
- 1
|
29
|
-
- 2
|
30
|
-
- 9
|
16
|
+
requirement: &70279657220500 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
31
21
|
version: 1.2.9
|
32
22
|
type: :development
|
33
|
-
|
34
|
-
|
35
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70279657220500
|
25
|
+
description: Given an email address, MynaBird generates a name suitable for use in
|
26
|
+
a host name
|
27
|
+
email: brendan@wistia.com
|
36
28
|
executables: []
|
37
|
-
|
38
29
|
extensions: []
|
39
|
-
|
40
|
-
extra_rdoc_files:
|
30
|
+
extra_rdoc_files:
|
41
31
|
- LICENSE
|
42
32
|
- README
|
43
|
-
files:
|
33
|
+
files:
|
44
34
|
- LICENSE
|
45
35
|
- README
|
46
36
|
- Rakefile
|
@@ -50,35 +40,28 @@ files:
|
|
50
40
|
- spec/myna_bird_spec.rb
|
51
41
|
- spec/spec.opts
|
52
42
|
- spec/spec_helper.rb
|
53
|
-
has_rdoc: true
|
54
43
|
homepage: http://github.com/wistia/myna_bird
|
55
44
|
licenses: []
|
56
|
-
|
57
45
|
post_install_message:
|
58
46
|
rdoc_options: []
|
59
|
-
|
60
|
-
require_paths:
|
47
|
+
require_paths:
|
61
48
|
- lib
|
62
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
requirements:
|
71
|
-
- -
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
|
74
|
-
- 0
|
75
|
-
version: "0"
|
49
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
|
+
none: false
|
57
|
+
requirements:
|
58
|
+
- - ! '>='
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
76
61
|
requirements: []
|
77
|
-
|
78
62
|
rubyforge_project:
|
79
|
-
rubygems_version: 1.
|
63
|
+
rubygems_version: 1.8.11
|
80
64
|
signing_key:
|
81
65
|
specification_version: 3
|
82
66
|
summary: Transform email addresses into account names for your app
|
83
67
|
test_files: []
|
84
|
-
|