graybook 1.0.23 → 1.0.24

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES.md CHANGED
@@ -1,49 +1,129 @@
1
- == 1.0.20 / 2009-09-30
1
+ ==1.0.24
2
2
 
3
- * lots of changes undocumented here.
4
- * putting on gemcutter.
3
+ * Fixed Hotmail contact regexp to reflect new site.
4
+
5
+ ==1.0.22 / 2009-09-30
6
+
7
+ * GRAYBOOK WILL CONQUER.
8
+ * Renamed Greybook with aim of JSON and Rails integration.
9
+
10
+ ==1.0.21 / 2009-09-30
11
+
12
+ * Re-added gem dependencies... not sure why they're gone.
13
+ * Removes newline that comes before and after the name...
14
+
15
+ == 1.0.19 / 2009-08-19
16
+
17
+ * better handling for empty strings when creating symbols for column names
18
+
19
+ == 1.0.18 / 2009-08-18
20
+
21
+ * Strip out any '\0' characters when creating a Symbol string ojbect
22
+
23
+ == 1.0.17 / 2009-06-23
24
+
25
+ * fixed broken gmail and aol
26
+ * fixed hotmail finally, credit goes to http://github.com/benalavi for the main fix, i just added in the check if presented with interstitial page
27
+
28
+ == 1.0.15 / 2009-04-16
29
+
30
+ * remove enclosed quotation marks on csv import
31
+
32
+ == 1.0.14 / 2009-03-31
33
+
34
+ * Now handles AOL Legacy accounts
35
+
36
+ == 1.0.13 / 2009-03-10
37
+
38
+ * Removed the ruby-debug require line
39
+ * Added :pattern option for CSV for different CSV formats
40
+
41
+ == 1.0.12 / 2009-03-10
42
+
43
+ * Cleaned up Rakefile
44
+
45
+ == 1.0.11 / 2009-02-25
46
+
47
+ * add support for email addresses @yahoo.co.uk
48
+ * Test and fix issue where plus sign in yahoo csv email address blows up regex test
49
+ * Update to handle hotmail changes.
50
+
51
+ == 1.0.10 / 2009-02-25
52
+
53
+ * Modified gmail importer to check cookie includes username, not equals it, to work for username or full email
54
+ * disabled hotmail from registry, basically they added captcha so must do live.com accounts through OAuth now...
55
+
56
+ == 1.0.9 / 2009-02-19
57
+
58
+ * incorporated hotmail fixes from we-play
59
+ * Update Rakefile
60
+
61
+ == 1.0.8 / 2009-02-19
62
+
63
+ * Updated for 'googlemail.com'
64
+ * merged conflicts
65
+
66
+ == 1.0.7 / 2009-02-18
67
+
68
+ * Modified the tests... I think there is an issue with how the mocking is being done
69
+ * Update to handle hotmail changes.
70
+ * Converted to Jewler
71
+ * test not behaving same as production. Getting strings instead of Nokogiri objects
72
+ * retry redirect a few times if its not working
73
+ * update gmail importer to handle case where initial request to contact page is a loading screen
74
+ * add names and emails as pairs. Do not assume that the n-th name matches the n-th email
75
+ * changes for aol, hotmail, yahoo
76
+ * Added a View map row to fixture html for hotmail contact scrape and updated importer to not choke.
77
+ * Include Windows Live ID label in hotmail importer test
78
+ * Properly detect errors for Yahoo IDs that don't exist
79
+ * Changed a failing test so that result[:name] is nil for a hotmail contact with no name specified. Previous versions of blackbook set result[:name] to the contact's email address.
80
+ * assign :name to the value given by 'Name' or the empty string if not specified for hotmail contacts
81
+ * add Windows Live ID to the list of fields where an email address might be for hotmail contacts
82
+ * Add live.com as a supported domain for the hotmail provider
83
+ * Compatibility with Mechanize 0.9/Nokogiri
84
+ * fix hotmail import
85
+ * remove an unnecessary rspec requirement
5
86
 
6
87
  == 1.0.5 / 2008-11-26
7
88
 
8
- * moved to github
9
- * added patch for gmail. emails were coming in with notes.
10
- * added german stuff to graybook gem
89
+ * moved to github
90
+ * added patch for gmail. emails were coming in with notes.
91
+ * added german stuff to graybook gem
11
92
 
12
93
  == 1.0.4 / 2008-02-27
13
94
 
14
- * 1 minor enhancement
95
+ * 1 minor enhancement
15
96
  * fix 1.0.3 dud with AOL issues - Thank you Howard Wong!
16
97
 
17
98
  == 1.0.3 / 2008-02-27
18
99
 
19
- * 1 minor enhancement
100
+ * 1 minor enhancement
20
101
  * address the change in where AOL contacts are listed
21
102
 
22
103
  == 1.0.2 / 2008-02-20
23
104
 
24
- * 1 minor enhancement
105
+ * 1 minor enhancement
25
106
  * fixed sign on issue with GMail
26
107
 
27
108
  == 1.0.1 / 2008-02-08
28
109
 
29
- * 2 minor enhancement
110
+ * 2 minor enhancement
30
111
  * fix edge case sign on issue with GMail
31
112
 
32
113
  == 1.0.0 / 2008-01-30
33
114
 
34
- * 2 major enhancements
115
+ * 2 major enhancements
35
116
  * Birthday!
36
117
  * Mechanize patch for AOL sign-on! Thanks Mortee!
37
118
 
38
- * Importers
119
+ * Importers
39
120
  * AOL
40
121
  * GMail
41
122
  * Hotmail
42
123
  * Yahoo!
43
124
  * CSV
44
125
 
45
- * Exporters
126
+ * Exporters
46
127
  * Hash
47
128
  * XML
48
129
  * VCard
49
-
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.23
1
+ 1.0.24
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 1
3
3
  :minor: 0
4
- :patch: 23
4
+ :patch: 24
data/VERSION_NAME CHANGED
@@ -1 +1 @@
1
- Gray Grenade
1
+ Gray Gorilla
@@ -98,7 +98,7 @@ class Graybook::Importer::Hotmail < Graybook::Importer::PageScraper
98
98
  end
99
99
 
100
100
  def parse_contacts(source)
101
- source.scan(/ICc.*\:\[.*?,.*?,\['ct'\],'(.*?)',.*?,.*?,'(.*?)',.*\]/).collect do |name, email|
101
+ source.scan(/ICc.*\:\[.*?,.*?,\['se','ct'\],'(.*?)',.*?,.*?,'(.*?)',.*\]/).collect do |name, email|
102
102
  { :name => (name =~ /\\x26\\x2364\\x3b/ ? nil : name), :email => email.gsub(/\\x40/, '@') }
103
103
  end
104
104
  end
data/lib/graybook.rb CHANGED
@@ -4,7 +4,7 @@ require 'rubygems'
4
4
 
5
5
  class Graybook
6
6
  include ::Singleton
7
- VERSION = '1.0.23'
7
+ VERSION = '1.0.24'
8
8
 
9
9
  class GraybookError < ::StandardError; end
10
10
  class BadCredentialsError < GraybookError; end
data/updater.rb CHANGED
@@ -3,13 +3,17 @@ require 'rubygems'
3
3
  begin
4
4
  require 'jeweler'
5
5
  Jeweler::Tasks.new do |s|
6
- s.name = "blackbook"
7
- s.summary = "TODO"
8
- s.email = "bcardarella@gmail.com"
9
- s.homepage = "http://github.com/bcardarella/blackbook"
10
- s.description = "TODO"
11
- s.authors = ["Rany Keddo", "Brian Cardarella"]
6
+ s.name = "graybook"
7
+ s.summary = "It does things. Like import contacts from EVERYWHERE."
8
+ s.email = "kojul@kojul.com"
9
+ s.homepage = "http://github.com/kojul/gray"
10
+ s.description = "It does things. Like import contacts from EVERYWHERE."
11
+ s.authors = ["kojul"]
12
+ s.add_dependency('hpricot', '>= 0.7.0')
13
+ s.add_dependency('mechanize', '>= 0.7.0')
14
+ s.add_dependency('hoe', '>= 1.5.0')
15
+ s.add_dependency('fastercsv', '>= 1.2.0')
12
16
  end
13
17
  rescue LoadError
14
18
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
15
- end
19
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graybook
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.23
4
+ version: 1.0.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - kojul