egduphsphonebookadapt 0.0.6 → 0.0.8
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.
- checksums.yaml +8 -8
- data/lib/egduphsphonebookadapt.rb +1 -4
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
N2QzMjM3OGY4Nzg0NmQyZjBhNDFlYTBhMmZiZGMwYzdhY2NmMWI5MA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MmQ2MzI3NjU1NGY2NjhhYWJmMzYzNzljNWZiNjhhODI1ODU4NDFmZA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OTg3MDljZjQ3MmZhOThlNzMyYTEwYTA5NTdhMjE1ZWM3OGJlMDRmNDcwYmUx
|
10
|
+
MTAzOGQ3NDA3Zjc0NDM0NmFjZWVmODllOTI0YmU4MzM2NmJlN2VkYWNiZmNk
|
11
|
+
MmU1MTFiZjg2ZmE1ZmY0MWEyOTdiMDk3MTEwNDEwZmEwNmNhZjA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
M2YzZDY5NTkxMjA4OTljZjE1NDgzYTMxMjJjMjg3ZDAxMDE4MzhiMWIxM2Zh
|
14
|
+
YTRlODVjYzBlZWJkODc4YTE0MzlmMDlkMzM1MzRiMzNhZjk3NzQyYjM1ZWY0
|
15
|
+
MzNjNDkwNzQ2ZTA4NTg0Y2IzNGYyNTI5NmQ4OTcxYmQwODMyNGU=
|
@@ -1,8 +1,5 @@
|
|
1
1
|
require 'json'
|
2
2
|
require "date"
|
3
|
-
#require 'mechanize'
|
4
|
-
require 'yaml'
|
5
|
-
require 'nokogiri'
|
6
3
|
|
7
4
|
class Phonebook
|
8
5
|
|
@@ -25,7 +22,7 @@ class Phonebook
|
|
25
22
|
p = Phonebook.new
|
26
23
|
results = p.search_results(name_hash, options)
|
27
24
|
end
|
28
|
-
|
25
|
+
private
|
29
26
|
def get_entire_phonebook()
|
30
27
|
first_page = search_result_page(:first => '', :last => '')
|
31
28
|
results = []
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: egduphsphonebookadapt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eugene Gitelman
|
@@ -9,7 +9,21 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2014-04-02 00:00:00.000000000 Z
|
12
|
-
dependencies:
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: mechanize
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ! '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ! '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
description: ! "The class gives you a search function, which takes a hash in form
|
14
28
|
of {:first => first_name, :last => last_name} and returns an array of hashes corresponding
|
15
29
|
to results. you can send an options hash with :form => 'json' \n to
|