pidgin2adium 3.2.3 → 3.2.4
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.
- data/Rakefile +10 -33
- data/bin/pidgin2adium +7 -3
- data/lib/pidgin2adium.rb +7 -4
- data/lib/pidgin2adium/parsers/basic_parser.rb +35 -4
- data/lib/pidgin2adium/parsers/html_log_parser.rb +2 -2
- data/lib/pidgin2adium/parsers/text_log_parser.rb +2 -2
- data/lib/version.rb +1 -1
- data/pidgin2adium.gemspec +82 -64
- data/spec/basic_parser_spec.rb +31 -11
- metadata +91 -33
- data/.gitignore +0 -29
data/Rakefile
CHANGED
@@ -15,49 +15,26 @@ begin
|
|
15
15
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
16
16
|
gem.add_development_dependency(%q<bundler>, [">= 1.0.0"])
|
17
17
|
gem.add_development_dependency(%q<jeweler>, [">= 0"])
|
18
|
-
gem.add_development_dependency(%q<rspec>, ["
|
18
|
+
gem.add_development_dependency(%q<rspec>, ["~> 2.4.0"])
|
19
19
|
end
|
20
20
|
Jeweler::GemcutterTasks.new
|
21
21
|
rescue LoadError
|
22
22
|
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
23
23
|
end
|
24
24
|
|
25
|
-
|
26
|
-
# RSpec 2
|
27
|
-
gem "rspec", ">= 2.0.0"
|
28
|
-
require 'rspec/core/rake_task'
|
29
|
-
|
30
|
-
RSpec::Core::RakeTask.new(:spec) do |spec|
|
31
|
-
spec.rspec_opts = %w{-Ilib -Ispec}
|
32
|
-
spec.pattern = 'spec/**/*_spec.rb'
|
33
|
-
end
|
34
|
-
|
35
|
-
RSpec::Core::RakeTask.new(:rcov) do |spec|
|
36
|
-
spec.rspec_opts = %w{-Ilib -Ispec}
|
37
|
-
spec.pattern = 'spec/**/*_spec.rb'
|
38
|
-
spec.rcov = true
|
39
|
-
end
|
40
|
-
rescue Gem::LoadError
|
41
|
-
# RSpec 1
|
42
|
-
gem "rspec", "~> 1.3.0"
|
43
|
-
require 'spec/rake/spectask'
|
25
|
+
require 'rspec/core/rake_task'
|
44
26
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
27
|
+
RSpec::Core::RakeTask.new(:spec) do |spec|
|
28
|
+
spec.rspec_opts = %w{-Ilib -Ispec}
|
29
|
+
spec.pattern = 'spec/**/*_spec.rb'
|
30
|
+
end
|
49
31
|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
end
|
55
|
-
rescue Gem::LoadError => bang
|
56
|
-
puts "!! Please install RSpec: `gem install rspec`"
|
57
|
-
raise bang
|
32
|
+
RSpec::Core::RakeTask.new(:rcov) do |spec|
|
33
|
+
spec.rspec_opts = %w{-Ilib -Ispec}
|
34
|
+
spec.pattern = 'spec/**/*_spec.rb'
|
35
|
+
spec.rcov = true
|
58
36
|
end
|
59
37
|
|
60
|
-
task :spec => :check_dependencies
|
61
38
|
task :spec => "extconf:compile"
|
62
39
|
|
63
40
|
task :default => :spec
|
data/bin/pidgin2adium
CHANGED
@@ -49,6 +49,10 @@ oparser = OptionParser.new do |opts|
|
|
49
49
|
options[:force] = f
|
50
50
|
end
|
51
51
|
|
52
|
+
opts.on('-c', '--continue', "Continue converting after hitting unparseable lines. Will print the problem lines and log at the end.") do |c|
|
53
|
+
options[:force_conversion] = c
|
54
|
+
end
|
55
|
+
|
52
56
|
opts.on("-v", "--version", "Show version information") do
|
53
57
|
puts version
|
54
58
|
exit
|
@@ -95,9 +99,9 @@ if need_opts
|
|
95
99
|
end
|
96
100
|
|
97
101
|
extra_opts = {:overwrite => options[:force]}
|
98
|
-
|
99
|
-
|
100
|
-
|
102
|
+
|
103
|
+
extra_opts[:output_dir] = options[:output_dir]
|
104
|
+
extra_opts[:force_conversion] = options[:force_conversion]
|
101
105
|
|
102
106
|
log_converter = Pidgin2Adium::LogConverter.new(options[:in],
|
103
107
|
options[:aliases],
|
data/lib/pidgin2adium.rb
CHANGED
@@ -39,19 +39,20 @@ module Pidgin2Adium
|
|
39
39
|
|
40
40
|
# Parses the provided log.
|
41
41
|
# Returns a LogFile instance or false if an error occurred.
|
42
|
-
def parse(logfile_path, my_aliases)
|
42
|
+
def parse(logfile_path, my_aliases, force_conversion)
|
43
43
|
logfile_path = File.expand_path(logfile_path)
|
44
44
|
ext = File.extname(logfile_path).sub('.', '').downcase
|
45
45
|
|
46
46
|
if(ext == "html" || ext == "htm")
|
47
|
-
|
47
|
+
parser_class = HtmlLogParser
|
48
48
|
elsif(ext == "txt")
|
49
|
-
|
49
|
+
parser_class = TextLogParser
|
50
50
|
else
|
51
51
|
error("Doing nothing, logfile is not a text or html file. Path: #{logfile_path}.")
|
52
52
|
return false
|
53
53
|
end
|
54
54
|
|
55
|
+
parser = parser_class.new(logfile_path, my_aliases, force_conversion)
|
55
56
|
return parser.parse()
|
56
57
|
end
|
57
58
|
|
@@ -72,6 +73,8 @@ module Pidgin2Adium
|
|
72
73
|
def parse_and_generate(logfile_path, my_aliases, opts = {})
|
73
74
|
opts = {} unless opts.is_a?(Hash)
|
74
75
|
overwrite = !!opts[:overwrite]
|
76
|
+
force_conversion = opts[:force_conversion]
|
77
|
+
|
75
78
|
if opts.key?(:output_dir)
|
76
79
|
output_dir = opts[:output_dir]
|
77
80
|
else
|
@@ -88,7 +91,7 @@ module Pidgin2Adium
|
|
88
91
|
end
|
89
92
|
end
|
90
93
|
|
91
|
-
logfile_obj = parse(logfile_path, my_aliases)
|
94
|
+
logfile_obj = parse(logfile_path, my_aliases, force_conversion)
|
92
95
|
return false if logfile_obj == false
|
93
96
|
dest_file_path = logfile_obj.write_out(overwrite, output_dir)
|
94
97
|
if dest_file_path == false
|
@@ -35,10 +35,13 @@ module Pidgin2Adium
|
|
35
35
|
# "2007-04-17 12:33:13" => %w{2007, 04, 17}
|
36
36
|
TIME_REGEX = /^(\d{4})-(\d{2})-(\d{2}) \d{2}:\d{2}:\d{2}$/
|
37
37
|
|
38
|
-
|
38
|
+
# force_conversion: Should we continue to convert after hitting an unparseable line?
|
39
|
+
def initialize(src_path, user_aliases, force_conversion = false)
|
39
40
|
@src_path = src_path
|
40
41
|
# Whitespace is removed for easy matching later on.
|
41
42
|
@user_aliases = user_aliases.split(',').map!{|x| x.downcase.gsub(/\s+/,'') }.uniq
|
43
|
+
|
44
|
+
@force_conversion = force_conversion
|
42
45
|
# @user_alias is set each time get_sender_by_alias is called. It is a non-normalized
|
43
46
|
# alias.
|
44
47
|
# Set an initial value just in case the first message doesn't give
|
@@ -155,8 +158,14 @@ module Pidgin2Adium
|
|
155
158
|
create_msg($~.captures)
|
156
159
|
elsif line =~ @line_regex_status
|
157
160
|
msg = create_status_or_event_msg($~.captures)
|
158
|
-
|
159
|
-
|
161
|
+
if msg == false
|
162
|
+
if force_conversion?
|
163
|
+
nil # will get compacted out
|
164
|
+
else
|
165
|
+
# Error occurred while parsing
|
166
|
+
return false
|
167
|
+
end
|
168
|
+
end
|
160
169
|
else
|
161
170
|
error "Could not parse line:"
|
162
171
|
p line
|
@@ -400,7 +409,16 @@ module Pidgin2Adium
|
|
400
409
|
# not a libpurple event, try others
|
401
410
|
regex, event_type = @event_map.detect{|rxp,ev_type| str =~ rxp}
|
402
411
|
unless regex and event_type
|
403
|
-
|
412
|
+
if force_conversion?
|
413
|
+
unless printed_conversion_error?
|
414
|
+
error("#{@src_path} was converted with the following errors:")
|
415
|
+
printed_conversion_error!
|
416
|
+
end
|
417
|
+
end
|
418
|
+
|
419
|
+
error(sprintf("%sError parsing status or event message, no status or event found: %p",
|
420
|
+
force_conversion? ? "\t" : '', # indent if we're forcing conversion
|
421
|
+
str))
|
404
422
|
return false
|
405
423
|
end
|
406
424
|
end
|
@@ -421,5 +439,18 @@ module Pidgin2Adium
|
|
421
439
|
end
|
422
440
|
return msg
|
423
441
|
end
|
442
|
+
|
443
|
+
# Should we continue to convert after hitting an unparseable line?
|
444
|
+
def force_conversion?
|
445
|
+
!! @force_conversion
|
446
|
+
end
|
447
|
+
|
448
|
+
def printed_conversion_error?
|
449
|
+
@printed_conversion_error == true
|
450
|
+
end
|
451
|
+
|
452
|
+
def printed_conversion_error!
|
453
|
+
@printed_conversion_error = true
|
454
|
+
end
|
424
455
|
end # END BasicParser class
|
425
456
|
end
|
@@ -5,8 +5,8 @@ require 'balance_tags_c'
|
|
5
5
|
|
6
6
|
module Pidgin2Adium
|
7
7
|
class HtmlLogParser < BasicParser
|
8
|
-
def initialize(src_path, user_aliases)
|
9
|
-
super(src_path, user_aliases)
|
8
|
+
def initialize(src_path, user_aliases, force_conversion = false)
|
9
|
+
super(src_path, user_aliases, force_conversion)
|
10
10
|
@timestamp_rx = '\(((?:\d{4}-\d{2}-\d{2} )?\d{1,2}:\d{1,2}:\d{1,2}(?: [AP]M)?)\)'
|
11
11
|
|
12
12
|
# @line_regex matches a line in an HTML log file other than the
|
@@ -3,8 +3,8 @@
|
|
3
3
|
|
4
4
|
module Pidgin2Adium
|
5
5
|
class TextLogParser < BasicParser
|
6
|
-
def initialize(src_path, user_aliases)
|
7
|
-
super(src_path, user_aliases)
|
6
|
+
def initialize(src_path, user_aliases, force_conversion = false)
|
7
|
+
super(src_path, user_aliases, force_conversion)
|
8
8
|
@timestamp_rx = '\((\d{1,2}:\d{1,2}:\d{1,2})\)'
|
9
9
|
|
10
10
|
# @line_regex matches a line in a TXT log file other than the first
|
data/lib/version.rb
CHANGED
data/pidgin2adium.gemspec
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{pidgin2adium}
|
8
|
-
s.version = "3.2.
|
8
|
+
s.version = "3.2.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Gabe Berke-Williams"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2011-03-16}
|
13
13
|
s.default_executable = %q{pidgin2adium}
|
14
14
|
s.description = %q{Pidgin2Adium is a fast, easy way to convert Pidgin (formerly gaim) logs to the Adium format.}
|
15
15
|
s.email = %q{gbw@brandeis.edu}
|
@@ -17,91 +17,109 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.extensions = ["ext/balance_tags_c/extconf.rb"]
|
18
18
|
s.extra_rdoc_files = [
|
19
19
|
"ChangeLog",
|
20
|
-
|
21
|
-
|
20
|
+
"LICENSE",
|
21
|
+
"README.rdoc"
|
22
22
|
]
|
23
23
|
s.files = [
|
24
24
|
".autotest",
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
"tasks/extconf/balance_tags_c.rake"
|
25
|
+
".rspec",
|
26
|
+
"ChangeLog",
|
27
|
+
"Gemfile",
|
28
|
+
"LICENSE",
|
29
|
+
"Manifest.txt",
|
30
|
+
"README.rdoc",
|
31
|
+
"Rakefile",
|
32
|
+
"bin/pidgin2adium",
|
33
|
+
"config/website.yml",
|
34
|
+
"ext/balance_tags_c/balance_tags_c.c",
|
35
|
+
"ext/balance_tags_c/extconf.rb",
|
36
|
+
"lib/pidgin2adium.rb",
|
37
|
+
"lib/pidgin2adium/log_converter.rb",
|
38
|
+
"lib/pidgin2adium/log_file.rb",
|
39
|
+
"lib/pidgin2adium/log_parser.rb",
|
40
|
+
"lib/pidgin2adium/message.rb",
|
41
|
+
"lib/pidgin2adium/messages/all.rb",
|
42
|
+
"lib/pidgin2adium/messages/auto_reply_message.rb",
|
43
|
+
"lib/pidgin2adium/messages/event.rb",
|
44
|
+
"lib/pidgin2adium/messages/message.rb",
|
45
|
+
"lib/pidgin2adium/messages/status_message.rb",
|
46
|
+
"lib/pidgin2adium/messages/xml_message.rb",
|
47
|
+
"lib/pidgin2adium/parsers/all.rb",
|
48
|
+
"lib/pidgin2adium/parsers/basic_parser.rb",
|
49
|
+
"lib/pidgin2adium/parsers/html_log_parser.rb",
|
50
|
+
"lib/pidgin2adium/parsers/text_log_parser.rb",
|
51
|
+
"lib/version.rb",
|
52
|
+
"pidgin2adium.gemspec",
|
53
|
+
"spec/balance_tags_c_extn_spec.rb",
|
54
|
+
"spec/basic_parser_spec.rb",
|
55
|
+
"spec/html_log_parser_spec.rb",
|
56
|
+
"spec/log_converter_spec.rb",
|
57
|
+
"spec/log_file_spec.rb",
|
58
|
+
"spec/logfiles/2006-12-21.223606.txt",
|
59
|
+
"spec/logfiles/2008-01-15.071445-0500PST.htm",
|
60
|
+
"spec/logfiles/2008-01-15.071445-0500PST.html",
|
61
|
+
"spec/pidgin2adium_spec.rb",
|
62
|
+
"spec/spec.opts",
|
63
|
+
"spec/spec_helper.rb",
|
64
|
+
"spec/test-output/README.md",
|
65
|
+
"spec/test-output/html_log_output.xml",
|
66
|
+
"spec/test-output/text_log_output.xml",
|
67
|
+
"spec/text_log_parser_spec.rb",
|
68
|
+
"tasks/extconf.rake",
|
69
|
+
"tasks/extconf/balance_tags_c.rake"
|
71
70
|
]
|
72
71
|
s.homepage = %q{http://github.com/gabebw/pidgin2adium}
|
73
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
74
72
|
s.require_paths = ["lib"]
|
75
|
-
s.rubygems_version = %q{1.
|
73
|
+
s.rubygems_version = %q{1.6.2}
|
76
74
|
s.summary = %q{Pidgin2Adium is a fast, easy way to convert Pidgin (formerly gaim) logs to the Adium format}
|
77
75
|
s.test_files = [
|
78
76
|
"spec/balance_tags_c_extn_spec.rb",
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
77
|
+
"spec/basic_parser_spec.rb",
|
78
|
+
"spec/html_log_parser_spec.rb",
|
79
|
+
"spec/log_converter_spec.rb",
|
80
|
+
"spec/log_file_spec.rb",
|
81
|
+
"spec/pidgin2adium_spec.rb",
|
82
|
+
"spec/spec_helper.rb",
|
83
|
+
"spec/text_log_parser_spec.rb"
|
86
84
|
]
|
87
85
|
|
88
86
|
if s.respond_to? :specification_version then
|
89
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
90
87
|
s.specification_version = 3
|
91
88
|
|
92
89
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
90
|
+
s.add_runtime_dependency(%q<pidgin2adium>, [">= 0"])
|
91
|
+
s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
|
92
|
+
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
93
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.4.0"])
|
93
94
|
s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
|
94
95
|
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
95
|
-
s.add_development_dependency(%q<rspec>, ["
|
96
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.4.0"])
|
97
|
+
s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
|
98
|
+
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
99
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.4.0"])
|
96
100
|
else
|
101
|
+
s.add_dependency(%q<pidgin2adium>, [">= 0"])
|
102
|
+
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
103
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
104
|
+
s.add_dependency(%q<rspec>, ["~> 2.4.0"])
|
105
|
+
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
106
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
107
|
+
s.add_dependency(%q<rspec>, ["~> 2.4.0"])
|
97
108
|
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
98
109
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
99
|
-
s.add_dependency(%q<rspec>, ["
|
110
|
+
s.add_dependency(%q<rspec>, ["~> 2.4.0"])
|
100
111
|
end
|
101
112
|
else
|
113
|
+
s.add_dependency(%q<pidgin2adium>, [">= 0"])
|
114
|
+
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
115
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
116
|
+
s.add_dependency(%q<rspec>, ["~> 2.4.0"])
|
117
|
+
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
118
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
119
|
+
s.add_dependency(%q<rspec>, ["~> 2.4.0"])
|
102
120
|
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
103
121
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
104
|
-
s.add_dependency(%q<rspec>, ["
|
122
|
+
s.add_dependency(%q<rspec>, ["~> 2.4.0"])
|
105
123
|
end
|
106
124
|
end
|
107
125
|
|
data/spec/basic_parser_spec.rb
CHANGED
@@ -53,7 +53,7 @@ describe "BasicParser" do
|
|
53
53
|
end
|
54
54
|
end
|
55
55
|
|
56
|
-
describe "#pre_parse" do
|
56
|
+
describe "#pre_parse!" do
|
57
57
|
it "should raise an error for an invalid first line" do
|
58
58
|
bp = Pidgin2Adium::BasicParser.new(
|
59
59
|
File.join(@current_dir,
|
@@ -61,21 +61,41 @@ describe "BasicParser" do
|
|
61
61
|
"invalid-first-line.txt"),
|
62
62
|
@aliases)
|
63
63
|
lambda do
|
64
|
-
bp.pre_parse()
|
64
|
+
bp.pre_parse!()
|
65
65
|
end.should raise_error(Pidgin2Adium::InvalidFirstLineError)
|
66
66
|
end
|
67
67
|
|
68
|
-
it "should return
|
68
|
+
it "should return true when everything can be parsed" do
|
69
69
|
bp = Pidgin2Adium::BasicParser.new(@html_logfile_path,
|
70
70
|
@aliases)
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
71
|
+
bp.pre_parse!.should be_true
|
72
|
+
end
|
73
|
+
|
74
|
+
describe "correctly setting variables" do
|
75
|
+
before do
|
76
|
+
@bp = Pidgin2Adium::BasicParser.new(@html_logfile_path, @aliases)
|
77
|
+
@bp.pre_parse!()
|
78
|
+
end
|
79
|
+
|
80
|
+
it "should correctly set @service" do
|
81
|
+
@bp.instance_variable_get('@service').should == 'aim'
|
82
|
+
end
|
83
|
+
|
84
|
+
it "should correctly set user_SN" do
|
85
|
+
@bp.instance_variable_get('@user_SN').should == 'othersn'
|
86
|
+
end
|
87
|
+
|
88
|
+
it "should correctly set partner_SN" do
|
89
|
+
@bp.instance_variable_get('@partner_SN').should == 'aolsystemmsg'
|
90
|
+
end
|
91
|
+
|
92
|
+
it "should correctly set basic_time_info" do
|
93
|
+
@bp.instance_variable_get('@basic_time_info').should == {:year=>2008, :mon=>1, :mday=>15}
|
94
|
+
end
|
95
|
+
|
96
|
+
it "should correctly set adium_chat_time_start" do
|
97
|
+
@bp.instance_variable_get('@adium_chat_time_start').should == '2008-01-15T07:14:45-05:00'
|
98
|
+
end
|
79
99
|
end
|
80
100
|
end
|
81
101
|
|
metadata
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pidgin2adium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 3
|
7
|
-
- 2
|
8
|
-
- 3
|
9
|
-
version: 3.2.3
|
4
|
+
prerelease:
|
5
|
+
version: 3.2.4
|
10
6
|
platform: ruby
|
11
7
|
authors:
|
12
8
|
- Gabe Berke-Williams
|
@@ -14,52 +10,119 @@ autorequire:
|
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
12
|
|
17
|
-
date:
|
13
|
+
date: 2011-03-16 00:00:00 -04:00
|
18
14
|
default_executable: pidgin2adium
|
19
15
|
dependencies:
|
20
16
|
- !ruby/object:Gem::Dependency
|
21
|
-
name:
|
22
|
-
prerelease: false
|
17
|
+
name: pidgin2adium
|
23
18
|
requirement: &id001 !ruby/object:Gem::Requirement
|
24
19
|
none: false
|
25
20
|
requirements:
|
26
21
|
- - ">="
|
27
22
|
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
23
|
+
version: "0"
|
24
|
+
type: :runtime
|
25
|
+
prerelease: false
|
26
|
+
version_requirements: *id001
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
30
|
+
none: false
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
32
34
|
version: 1.0.0
|
33
35
|
type: :development
|
34
|
-
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: *id002
|
35
38
|
- !ruby/object:Gem::Dependency
|
36
39
|
name: jeweler
|
40
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: "0"
|
46
|
+
type: :development
|
37
47
|
prerelease: false
|
38
|
-
|
48
|
+
version_requirements: *id003
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: rspec
|
51
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
53
|
+
requirements:
|
54
|
+
- - ~>
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.4.0
|
57
|
+
type: :development
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: *id004
|
60
|
+
- !ruby/object:Gem::Dependency
|
61
|
+
name: bundler
|
62
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
63
|
+
none: false
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: 1.0.0
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: *id005
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: jeweler
|
73
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
39
74
|
none: false
|
40
75
|
requirements:
|
41
76
|
- - ">="
|
42
77
|
- !ruby/object:Gem::Version
|
43
|
-
segments:
|
44
|
-
- 0
|
45
78
|
version: "0"
|
46
79
|
type: :development
|
47
|
-
|
80
|
+
prerelease: false
|
81
|
+
version_requirements: *id006
|
48
82
|
- !ruby/object:Gem::Dependency
|
49
83
|
name: rspec
|
84
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
85
|
+
none: false
|
86
|
+
requirements:
|
87
|
+
- - ~>
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 2.4.0
|
90
|
+
type: :development
|
50
91
|
prerelease: false
|
51
|
-
|
92
|
+
version_requirements: *id007
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
name: bundler
|
95
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
52
96
|
none: false
|
53
97
|
requirements:
|
54
98
|
- - ">="
|
55
99
|
- !ruby/object:Gem::Version
|
56
|
-
|
57
|
-
- 1
|
58
|
-
- 3
|
59
|
-
- 0
|
60
|
-
version: 1.3.0
|
100
|
+
version: 1.0.0
|
61
101
|
type: :development
|
62
|
-
|
102
|
+
prerelease: false
|
103
|
+
version_requirements: *id008
|
104
|
+
- !ruby/object:Gem::Dependency
|
105
|
+
name: jeweler
|
106
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
107
|
+
none: false
|
108
|
+
requirements:
|
109
|
+
- - ">="
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: "0"
|
112
|
+
type: :development
|
113
|
+
prerelease: false
|
114
|
+
version_requirements: *id009
|
115
|
+
- !ruby/object:Gem::Dependency
|
116
|
+
name: rspec
|
117
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
118
|
+
none: false
|
119
|
+
requirements:
|
120
|
+
- - ~>
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: 2.4.0
|
123
|
+
type: :development
|
124
|
+
prerelease: false
|
125
|
+
version_requirements: *id010
|
63
126
|
description: Pidgin2Adium is a fast, easy way to convert Pidgin (formerly gaim) logs to the Adium format.
|
64
127
|
email: gbw@brandeis.edu
|
65
128
|
executables:
|
@@ -72,7 +135,6 @@ extra_rdoc_files:
|
|
72
135
|
- README.rdoc
|
73
136
|
files:
|
74
137
|
- .autotest
|
75
|
-
- .gitignore
|
76
138
|
- .rspec
|
77
139
|
- ChangeLog
|
78
140
|
- Gemfile
|
@@ -123,8 +185,8 @@ homepage: http://github.com/gabebw/pidgin2adium
|
|
123
185
|
licenses: []
|
124
186
|
|
125
187
|
post_install_message:
|
126
|
-
rdoc_options:
|
127
|
-
|
188
|
+
rdoc_options: []
|
189
|
+
|
128
190
|
require_paths:
|
129
191
|
- lib
|
130
192
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -132,21 +194,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
132
194
|
requirements:
|
133
195
|
- - ">="
|
134
196
|
- !ruby/object:Gem::Version
|
135
|
-
segments:
|
136
|
-
- 0
|
137
197
|
version: "0"
|
138
198
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
139
199
|
none: false
|
140
200
|
requirements:
|
141
201
|
- - ">="
|
142
202
|
- !ruby/object:Gem::Version
|
143
|
-
segments:
|
144
|
-
- 0
|
145
203
|
version: "0"
|
146
204
|
requirements: []
|
147
205
|
|
148
206
|
rubyforge_project:
|
149
|
-
rubygems_version: 1.
|
207
|
+
rubygems_version: 1.6.2
|
150
208
|
signing_key:
|
151
209
|
specification_version: 3
|
152
210
|
summary: Pidgin2Adium is a fast, easy way to convert Pidgin (formerly gaim) logs to the Adium format
|
data/.gitignore
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
## MAC OS
|
2
|
-
.DS_Store
|
3
|
-
|
4
|
-
## TEXTMATE
|
5
|
-
*.tmproj
|
6
|
-
tmtags
|
7
|
-
|
8
|
-
## EMACS
|
9
|
-
*~
|
10
|
-
\#*
|
11
|
-
.\#*
|
12
|
-
|
13
|
-
## VIM
|
14
|
-
*.swp
|
15
|
-
|
16
|
-
## PROJECT::GENERAL
|
17
|
-
coverage
|
18
|
-
rdoc
|
19
|
-
pkg
|
20
|
-
|
21
|
-
## PROJECT::SPECIFIC
|
22
|
-
.bundle
|
23
|
-
ext/balance_tags_c/Makefile
|
24
|
-
ext/balance_tags_c/balance_tags_c.bundle
|
25
|
-
ext/balance_tags_c/balance_tags_c.o
|
26
|
-
.rvmrc
|
27
|
-
spec/output-dir
|
28
|
-
spec/nonexistent_output_dir
|
29
|
-
Gemfile.lock
|