mit_stalker 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 5701623befeafc1b5db38a51e16f7f86b41fb376
4
+ data.tar.gz: 8e39c95146544cd8a532b536fdd30227a819ecb4
5
+ SHA512:
6
+ metadata.gz: 9e21bfe8e21588c1d546d6ee1cab15e701b41d8897f2ce484b63386c89f5800f2b5283d794e78e5ce5f9f84f241280299f9089c7ecc470dcd383f91da8847b0f
7
+ data.tar.gz: 3e0e2147e4c824114ef041d53c91806c1e0ea8866228bf4c044d0a7eae8ea54ca3140435de21df482a5a491731a6eb8ad0ea6d61bf4dff3ad958655273cfd627
data/Gemfile CHANGED
@@ -1,10 +1,11 @@
1
- source :rubygems
1
+ source "https://rubygems.org"
2
+
3
+ gem 'net-ldap', '>= 0.11'
2
4
 
3
5
  group :development do
4
- gem 'mocha', '>= 0.14.0', :require => false
5
- gem 'minitest', '>= 4.7.3'
6
- gem 'yard', '>= 0.8.7'
7
- gem 'bundler', '>= 1.3.5'
8
- gem 'jeweler', '>= 1.8.7'
9
- gem 'simplecov', '>= 0', :platform => :mri_19
6
+ gem 'mocha', '>= 1.1.0', require: false
7
+ gem 'minitest', '>= 5.8.0'
8
+ gem 'yard', '>= 0.8.7.6'
9
+ gem 'bundler', '>= 1.6.0'
10
+ gem 'jeweler', '>= 2.0.1'
10
11
  end
@@ -1,65 +1,66 @@
1
1
  GEM
2
- remote: http://rubygems.org/
2
+ remote: https://rubygems.org/
3
3
  specs:
4
- addressable (2.3.5)
4
+ addressable (2.3.8)
5
5
  builder (3.2.2)
6
- faraday (0.8.8)
7
- multipart-post (~> 1.2.0)
8
- git (1.2.6)
9
- github_api (0.10.1)
10
- addressable
11
- faraday (~> 0.8.1)
12
- hashie (>= 1.2)
13
- multi_json (~> 1.4)
14
- nokogiri (~> 1.5.2)
6
+ descendants_tracker (0.0.4)
7
+ thread_safe (~> 0.3, >= 0.3.1)
8
+ faraday (0.9.1)
9
+ multipart-post (>= 1.2, < 3)
10
+ git (1.2.9.1)
11
+ github_api (0.12.4)
12
+ addressable (~> 2.3)
13
+ descendants_tracker (~> 0.0.4)
14
+ faraday (~> 0.8, < 0.10)
15
+ hashie (>= 3.4)
16
+ multi_json (>= 1.7.5, < 2.0)
17
+ nokogiri (~> 1.6.6)
15
18
  oauth2
16
- hashie (2.0.5)
17
- highline (1.6.19)
18
- httpauth (0.2.0)
19
- jeweler (1.8.7)
19
+ hashie (3.4.2)
20
+ highline (1.7.3)
21
+ jeweler (2.0.1)
20
22
  builder
21
- bundler (~> 1.0)
23
+ bundler (>= 1.0)
22
24
  git (>= 1.2.5)
23
- github_api (= 0.10.1)
25
+ github_api
24
26
  highline (>= 1.6.15)
25
- nokogiri (= 1.5.10)
27
+ nokogiri (>= 1.5.10)
26
28
  rake
27
29
  rdoc
28
- json (1.8.0)
29
- jwt (0.1.8)
30
- multi_json (>= 1.5)
31
- metaclass (0.0.1)
32
- minitest (5.0.6)
33
- mocha (0.14.0)
30
+ jwt (1.5.1)
31
+ metaclass (0.0.4)
32
+ mini_portile (0.6.2)
33
+ minitest (5.8.0)
34
+ mocha (1.1.0)
34
35
  metaclass (~> 0.0.1)
35
- multi_json (1.7.9)
36
+ multi_json (1.11.2)
36
37
  multi_xml (0.5.5)
37
- multipart-post (1.2.0)
38
- nokogiri (1.5.10)
39
- oauth2 (0.9.2)
40
- faraday (~> 0.8)
41
- httpauth (~> 0.2)
42
- jwt (~> 0.1.4)
43
- multi_json (~> 1.0)
38
+ multipart-post (2.0.0)
39
+ net-ldap (0.11)
40
+ nokogiri (1.6.6.2)
41
+ mini_portile (~> 0.6.0)
42
+ oauth2 (1.0.0)
43
+ faraday (>= 0.8, < 0.10)
44
+ jwt (~> 1.0)
45
+ multi_json (~> 1.3)
44
46
  multi_xml (~> 0.5)
45
47
  rack (~> 1.2)
46
- rack (1.5.2)
47
- rake (10.1.0)
48
- rdoc (4.0.1)
49
- json (~> 1.4)
50
- simplecov (0.7.1)
51
- multi_json (~> 1.0)
52
- simplecov-html (~> 0.7.1)
53
- simplecov-html (0.7.1)
54
- yard (0.8.7)
48
+ rack (1.6.4)
49
+ rake (10.4.2)
50
+ rdoc (4.2.0)
51
+ thread_safe (0.3.5)
52
+ yard (0.8.7.6)
55
53
 
56
54
  PLATFORMS
57
55
  ruby
58
56
 
59
57
  DEPENDENCIES
60
- bundler (>= 1.3.5)
61
- jeweler (>= 1.8.7)
62
- minitest (>= 4.7.3)
63
- mocha (>= 0.14.0)
64
- simplecov
65
- yard (>= 0.8.7)
58
+ bundler (>= 1.6.0)
59
+ jeweler (>= 2.0.1)
60
+ minitest (>= 5.8.0)
61
+ mocha (>= 1.1.0)
62
+ net-ldap (>= 0.11)
63
+ yard (>= 0.8.7.6)
64
+
65
+ BUNDLED WITH
66
+ 1.10.6
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.6
1
+ 1.0.7
@@ -38,7 +38,7 @@ module MitStalker
38
38
  # Returns a string containing the full name, or nil if the Athena username is
39
39
  # not recognized.
40
40
  def self.full_name_from_user_name(user_name)
41
- athena_data = finger user_name.downcase, 'linux.mit.edu'
41
+ athena_data = finger user_name.downcase, 'athena.dialup.mit.edu'
42
42
  return nil if athena_data.nil?
43
43
  match = /(N|n)ame\: (.*)$/.match athena_data
44
44
  match and match[2].strip
@@ -2,14 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
+ # stub: mit_stalker 1.0.7 ruby lib
5
6
 
6
7
  Gem::Specification.new do |s|
7
8
  s.name = "mit_stalker"
8
- s.version = "1.0.6"
9
+ s.version = "1.0.7"
9
10
 
10
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib"]
11
13
  s.authors = ["Victor Costan"]
12
- s.date = "2013-09-06"
14
+ s.date = "2015-09-10"
13
15
  s.description = "Fetches publicly available information about MIT students."
14
16
  s.email = "victor@costan.us"
15
17
  s.extra_rdoc_files = [
@@ -36,35 +38,34 @@ Gem::Specification.new do |s|
36
38
  ]
37
39
  s.homepage = "http://github.com/pwnall/mit_stalker"
38
40
  s.licenses = ["MIT"]
39
- s.require_paths = ["lib"]
40
- s.rubygems_version = "1.8.23"
41
+ s.rubygems_version = "2.4.5"
41
42
  s.summary = "Fetches publicly available information about MIT students."
42
43
 
43
44
  if s.respond_to? :specification_version then
44
- s.specification_version = 3
45
+ s.specification_version = 4
45
46
 
46
47
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
47
- s.add_development_dependency(%q<mocha>, [">= 0.14.0"])
48
- s.add_development_dependency(%q<minitest>, [">= 4.7.3"])
49
- s.add_development_dependency(%q<yard>, [">= 0.8.7"])
50
- s.add_development_dependency(%q<bundler>, [">= 1.3.5"])
51
- s.add_development_dependency(%q<jeweler>, [">= 1.8.7"])
52
- s.add_development_dependency(%q<simplecov>, [">= 0"])
48
+ s.add_runtime_dependency(%q<net-ldap>, [">= 0.11"])
49
+ s.add_development_dependency(%q<mocha>, [">= 1.1.0"])
50
+ s.add_development_dependency(%q<minitest>, [">= 5.8.0"])
51
+ s.add_development_dependency(%q<yard>, [">= 0.8.7.6"])
52
+ s.add_development_dependency(%q<bundler>, [">= 1.6.0"])
53
+ s.add_development_dependency(%q<jeweler>, [">= 2.0.1"])
53
54
  else
54
- s.add_dependency(%q<mocha>, [">= 0.14.0"])
55
- s.add_dependency(%q<minitest>, [">= 4.7.3"])
56
- s.add_dependency(%q<yard>, [">= 0.8.7"])
57
- s.add_dependency(%q<bundler>, [">= 1.3.5"])
58
- s.add_dependency(%q<jeweler>, [">= 1.8.7"])
59
- s.add_dependency(%q<simplecov>, [">= 0"])
55
+ s.add_dependency(%q<net-ldap>, [">= 0.11"])
56
+ s.add_dependency(%q<mocha>, [">= 1.1.0"])
57
+ s.add_dependency(%q<minitest>, [">= 5.8.0"])
58
+ s.add_dependency(%q<yard>, [">= 0.8.7.6"])
59
+ s.add_dependency(%q<bundler>, [">= 1.6.0"])
60
+ s.add_dependency(%q<jeweler>, [">= 2.0.1"])
60
61
  end
61
62
  else
62
- s.add_dependency(%q<mocha>, [">= 0.14.0"])
63
- s.add_dependency(%q<minitest>, [">= 4.7.3"])
64
- s.add_dependency(%q<yard>, [">= 0.8.7"])
65
- s.add_dependency(%q<bundler>, [">= 1.3.5"])
66
- s.add_dependency(%q<jeweler>, [">= 1.8.7"])
67
- s.add_dependency(%q<simplecov>, [">= 0"])
63
+ s.add_dependency(%q<net-ldap>, [">= 0.11"])
64
+ s.add_dependency(%q<mocha>, [">= 1.1.0"])
65
+ s.add_dependency(%q<minitest>, [">= 5.8.0"])
66
+ s.add_dependency(%q<yard>, [">= 0.8.7.6"])
67
+ s.add_dependency(%q<bundler>, [">= 1.6.0"])
68
+ s.add_dependency(%q<jeweler>, [">= 2.0.1"])
68
69
  end
69
70
  end
70
71
 
@@ -10,7 +10,7 @@ class MitStalkerTest < Minitest::Test
10
10
  assert_equal nil, MitStalker.finger('root', 'nosuchhostname.com'),
11
11
  'Invalid hostname'
12
12
 
13
- result = MitStalker.finger 'no_such_user', 'linux.mit.edu'
13
+ result = MitStalker.finger 'no_such_user', 'athena.dialup.mit.edu'
14
14
  assert_operator(/no_such_user/, :=~, result,
15
15
  "The finger response looks incorrect")
16
16
 
metadata CHANGED
@@ -1,112 +1,99 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mit_stalker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
5
- prerelease:
4
+ version: 1.0.7
6
5
  platform: ruby
7
6
  authors:
8
7
  - Victor Costan
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-09-06 00:00:00.000000000 Z
11
+ date: 2015-09-10 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- name: mocha
14
+ name: net-ldap
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
- version: 0.14.0
22
- type: :development
19
+ version: '0.11'
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
29
- version: 0.14.0
26
+ version: '0.11'
30
27
  - !ruby/object:Gem::Dependency
31
- name: minitest
28
+ name: mocha
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
- version: 4.7.3
33
+ version: 1.1.0
38
34
  type: :development
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
45
- version: 4.7.3
40
+ version: 1.1.0
46
41
  - !ruby/object:Gem::Dependency
47
- name: yard
42
+ name: minitest
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
- version: 0.8.7
47
+ version: 5.8.0
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
61
- version: 0.8.7
54
+ version: 5.8.0
62
55
  - !ruby/object:Gem::Dependency
63
- name: bundler
56
+ name: yard
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - ">="
68
60
  - !ruby/object:Gem::Version
69
- version: 1.3.5
61
+ version: 0.8.7.6
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - ">="
76
67
  - !ruby/object:Gem::Version
77
- version: 1.3.5
68
+ version: 0.8.7.6
78
69
  - !ruby/object:Gem::Dependency
79
- name: jeweler
70
+ name: bundler
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - ">="
84
74
  - !ruby/object:Gem::Version
85
- version: 1.8.7
75
+ version: 1.6.0
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - ">="
92
81
  - !ruby/object:Gem::Version
93
- version: 1.8.7
82
+ version: 1.6.0
94
83
  - !ruby/object:Gem::Dependency
95
- name: simplecov
84
+ name: jeweler
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ! '>='
87
+ - - ">="
100
88
  - !ruby/object:Gem::Version
101
- version: '0'
89
+ version: 2.0.1
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ! '>='
94
+ - - ">="
108
95
  - !ruby/object:Gem::Version
109
- version: '0'
96
+ version: 2.0.1
110
97
  description: Fetches publicly available information about MIT students.
111
98
  email: victor@costan.us
112
99
  executables: []
@@ -115,7 +102,7 @@ extra_rdoc_files:
115
102
  - LICENSE.txt
116
103
  - README.textile
117
104
  files:
118
- - .project
105
+ - ".project"
119
106
  - Gemfile
120
107
  - Gemfile.lock
121
108
  - LICENSE.txt
@@ -134,29 +121,25 @@ files:
134
121
  homepage: http://github.com/pwnall/mit_stalker
135
122
  licenses:
136
123
  - MIT
124
+ metadata: {}
137
125
  post_install_message:
138
126
  rdoc_options: []
139
127
  require_paths:
140
128
  - lib
141
129
  required_ruby_version: !ruby/object:Gem::Requirement
142
- none: false
143
130
  requirements:
144
- - - ! '>='
131
+ - - ">="
145
132
  - !ruby/object:Gem::Version
146
133
  version: '0'
147
- segments:
148
- - 0
149
- hash: 2812083979974987100
150
134
  required_rubygems_version: !ruby/object:Gem::Requirement
151
- none: false
152
135
  requirements:
153
- - - ! '>='
136
+ - - ">="
154
137
  - !ruby/object:Gem::Version
155
138
  version: '0'
156
139
  requirements: []
157
140
  rubyforge_project:
158
- rubygems_version: 1.8.23
141
+ rubygems_version: 2.4.5
159
142
  signing_key:
160
- specification_version: 3
143
+ specification_version: 4
161
144
  summary: Fetches publicly available information about MIT students.
162
145
  test_files: []