myna_bird 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.rvmrc +1 -1
- data/Gemfile.lock +36 -4
- data/VERSION +1 -1
- data/lib/myna_bird.rb +2 -0
- data/myna_bird.gemspec +4 -4
- data/spec/myna_bird_spec.rb +2 -1
- data/spec/spec_helper.rb +1 -1
- metadata +5 -16
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NTM5ZTZlYzNiZGQ1NmY0NTdmMTg4NzZhNDIyZTNmMWM4NDZhNjZlOA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
YTlkMmUxODMwNzQxNzM1YzYxOGIzMzU1ODM2ZmMzOWU3NTZkMmM3Mg==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
OWE4OWQyZmI4M2Q5ZmQyODg1NThiNGUzNjJhMjU5NWM5YWZjNmMyZmZmNjAw
|
10
|
+
OTgwMjk1ZTUwMjc4ZGE2MWEzZDgzYmNmYmViYTY5ODJlMWI3ZDFjYWYwM2E0
|
11
|
+
NTBmMDg2ZTc2ZjQzZTc1MDRmNjBlZmVhM2NkY2NjMTk5M2NjMGY=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
Nzc4ZGU4YmU5ZTAyYjY3NjI0ODljNTRhYmU2NGE3NjRiNDIwZWI1M2Y1Yjg0
|
14
|
+
YzhlZTAyMGVkOTg5YzNkMjE5ZWVkMjRjMWUzNTA4OTQ0OTFmNjAzMDE1YTc2
|
15
|
+
OTg5NDc1NWM1MzE1ODlmODNkYzg2OWE3NWM5YTBiOWFmZTE5YzU=
|
data/.rvmrc
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
rvm use 1.9.3@mynabird
|
1
|
+
rvm use 1.9.3@mynabird --create
|
2
2
|
|
data/Gemfile.lock
CHANGED
@@ -1,16 +1,48 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
+
addressable (2.3.5)
|
5
|
+
builder (3.2.2)
|
4
6
|
diff-lcs (1.1.3)
|
7
|
+
faraday (0.8.7)
|
8
|
+
multipart-post (~> 1.1)
|
5
9
|
git (1.2.5)
|
6
|
-
|
10
|
+
github_api (0.10.1)
|
11
|
+
addressable
|
12
|
+
faraday (~> 0.8.1)
|
13
|
+
hashie (>= 1.2)
|
14
|
+
multi_json (~> 1.4)
|
15
|
+
nokogiri (~> 1.5.2)
|
16
|
+
oauth2
|
17
|
+
hashie (2.0.5)
|
18
|
+
highline (1.6.19)
|
19
|
+
httpauth (0.2.0)
|
20
|
+
jeweler (1.8.6)
|
21
|
+
builder
|
7
22
|
bundler (~> 1.0)
|
8
23
|
git (>= 1.2.5)
|
24
|
+
github_api (= 0.10.1)
|
25
|
+
highline (>= 1.6.15)
|
26
|
+
nokogiri (= 1.5.10)
|
9
27
|
rake
|
10
28
|
rdoc
|
11
|
-
json (1.
|
12
|
-
|
13
|
-
|
29
|
+
json (1.8.0)
|
30
|
+
jwt (0.1.8)
|
31
|
+
multi_json (>= 1.5)
|
32
|
+
multi_json (1.7.7)
|
33
|
+
multi_xml (0.5.4)
|
34
|
+
multipart-post (1.2.0)
|
35
|
+
nokogiri (1.5.10)
|
36
|
+
oauth2 (0.9.2)
|
37
|
+
faraday (~> 0.8)
|
38
|
+
httpauth (~> 0.2)
|
39
|
+
jwt (~> 0.1.4)
|
40
|
+
multi_json (~> 1.0)
|
41
|
+
multi_xml (~> 0.5)
|
42
|
+
rack (~> 1.2)
|
43
|
+
rack (1.5.2)
|
44
|
+
rake (10.1.0)
|
45
|
+
rdoc (4.0.1)
|
14
46
|
json (~> 1.4)
|
15
47
|
rspec (2.11.0)
|
16
48
|
rspec-core (~> 2.11.0)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.9
|
data/lib/myna_bird.rb
CHANGED
data/myna_bird.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "myna_bird"
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.9"
|
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 = "
|
12
|
+
s.date = "2013-07-10"
|
13
13
|
s.description = "Given an email address, MynaBird generates a name suitable for use in a host name"
|
14
14
|
s.email = "brendan@wistia.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -32,11 +32,11 @@ Gem::Specification.new do |s|
|
|
32
32
|
]
|
33
33
|
s.homepage = "http://github.com/wistia/myna_bird"
|
34
34
|
s.require_paths = ["lib"]
|
35
|
-
s.rubygems_version = "
|
35
|
+
s.rubygems_version = "2.0.4"
|
36
36
|
s.summary = "Transform email addresses into account names for your app"
|
37
37
|
|
38
38
|
if s.respond_to? :specification_version then
|
39
|
-
s.specification_version =
|
39
|
+
s.specification_version = 4
|
40
40
|
|
41
41
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
42
42
|
s.add_runtime_dependency(%q<jeweler>, [">= 0"])
|
data/spec/myna_bird_spec.rb
CHANGED
@@ -16,6 +16,7 @@ describe MynaBird do
|
|
16
16
|
it_should_convert 'BRENDAN@aol.com', :to => 'brendan'
|
17
17
|
it_should_convert 'brendan@WISTIA.COM', :to => 'wistia'
|
18
18
|
it_should_convert 'BRENDAN@WISTIA', :to => 'wistia'
|
19
|
+
it_should_convert 'brendan@outlook.com', :to => 'brendan'
|
19
20
|
|
20
21
|
# bad input
|
21
22
|
it_should_not_convert 'no.at.sign'
|
@@ -24,4 +25,4 @@ describe MynaBird do
|
|
24
25
|
it_should_not_convert '@@@@'
|
25
26
|
it_should_not_convert '++@++'
|
26
27
|
|
27
|
-
end
|
28
|
+
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: myna_bird
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
5
|
-
prerelease:
|
4
|
+
version: 0.2.9
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Brendan Schwartz
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-07-10 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: jeweler
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ! '>='
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ! '>='
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,7 +27,6 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: rspec
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ! '>='
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ! '>='
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -46,7 +41,6 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rspec
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ! '>='
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ! '>='
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -82,29 +75,25 @@ files:
|
|
82
75
|
- spec/spec_helper.rb
|
83
76
|
homepage: http://github.com/wistia/myna_bird
|
84
77
|
licenses: []
|
78
|
+
metadata: {}
|
85
79
|
post_install_message:
|
86
80
|
rdoc_options: []
|
87
81
|
require_paths:
|
88
82
|
- lib
|
89
83
|
required_ruby_version: !ruby/object:Gem::Requirement
|
90
|
-
none: false
|
91
84
|
requirements:
|
92
85
|
- - ! '>='
|
93
86
|
- !ruby/object:Gem::Version
|
94
87
|
version: '0'
|
95
|
-
segments:
|
96
|
-
- 0
|
97
|
-
hash: 527710454460681586
|
98
88
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
|
-
none: false
|
100
89
|
requirements:
|
101
90
|
- - ! '>='
|
102
91
|
- !ruby/object:Gem::Version
|
103
92
|
version: '0'
|
104
93
|
requirements: []
|
105
94
|
rubyforge_project:
|
106
|
-
rubygems_version:
|
95
|
+
rubygems_version: 2.0.4
|
107
96
|
signing_key:
|
108
|
-
specification_version:
|
97
|
+
specification_version: 4
|
109
98
|
summary: Transform email addresses into account names for your app
|
110
99
|
test_files: []
|