dblp 0.4.5 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/dblp +22 -17
- data/lib/dblp/grabber.rb +32 -6
- data/lib/dblp/query.rb +133 -0
- data/lib/dblp.rb +6 -1
- metadata +40 -109
- data/History.txt +0 -12
- data/License.txt +0 -20
- data/Manifest.txt +0 -20
- data/PostInstall.txt +0 -7
- data/README.txt +0 -46
- data/Rakefile +0 -4
- data/config/hoe.rb +0 -73
- data/config/requirements.rb +0 -15
- data/setup.rb +0 -1585
- data/tasks/deployment.rake +0 -34
- data/tasks/environment.rake +0 -7
- data/tasks/website.rake +0 -17
- data/test/test.aux +0 -56
- data/test/test_dblp.rb +0 -44
- data/test/test_helper.rb +0 -2
data/tasks/deployment.rake
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
desc 'Release the website and new gem version'
|
2
|
-
task :deploy => [:check_version, :release] do
|
3
|
-
puts "Remember to create SVN tag:"
|
4
|
-
puts "svn copy svn+ssh://#{rubyforge_username}@rubyforge.org/var/svn/#{PATH}/trunk " +
|
5
|
-
"svn+ssh://#{rubyforge_username}@rubyforge.org/var/svn/#{PATH}/tags/REL-#{VERS} "
|
6
|
-
puts "Suggested comment:"
|
7
|
-
puts "Tagging release #{CHANGES}"
|
8
|
-
end
|
9
|
-
|
10
|
-
desc 'Runs tasks website_generate and install_gem as a local deployment of the gem'
|
11
|
-
task :local_deploy => [:install_gem]
|
12
|
-
|
13
|
-
task :check_version do
|
14
|
-
unless ENV['VERSION']
|
15
|
-
puts 'Must pass a VERSION=x.y.z release version'
|
16
|
-
exit
|
17
|
-
end
|
18
|
-
unless ENV['VERSION'] == VERS
|
19
|
-
puts "Please update your version.rb to match the release version, currently #{VERS}"
|
20
|
-
exit
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
|
-
desc 'Install the package as a gem, without generating documentation(ri/rdoc)'
|
25
|
-
task :install_gem_no_doc => [:clean, :package] do
|
26
|
-
sh "#{'sudo ' unless Hoe::WINDOZE }gem install pkg/*.gem --no-rdoc --no-ri"
|
27
|
-
end
|
28
|
-
|
29
|
-
namespace :manifest do
|
30
|
-
desc 'Recreate Manifest.txt to include ALL files'
|
31
|
-
task :refresh do
|
32
|
-
`rake check_manifest | patch -p0 > Manifest.txt`
|
33
|
-
end
|
34
|
-
end
|
data/tasks/environment.rake
DELETED
data/tasks/website.rake
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
desc 'Generate website files'
|
2
|
-
task :website_generate => :ruby_env do
|
3
|
-
(Dir['website/**/*.txt'] - Dir['website/version*.txt']).each do |txt|
|
4
|
-
sh %{ #{RUBY_APP} script/txt2html #{txt} > #{txt.gsub(/txt$/,'html')} }
|
5
|
-
end
|
6
|
-
end
|
7
|
-
|
8
|
-
desc 'Upload website files to rubyforge'
|
9
|
-
task :website_upload do
|
10
|
-
host = "#{rubyforge_username}@rubyforge.org"
|
11
|
-
remote_dir = "/var/www/gforge-projects/#{PATH}/"
|
12
|
-
local_dir = 'website'
|
13
|
-
sh %{rsync -aCv #{local_dir}/ #{host}:#{remote_dir}}
|
14
|
-
end
|
15
|
-
|
16
|
-
desc 'Generate and upload website files'
|
17
|
-
task :website => [:website_generate, :website_upload, :publish_docs]
|
data/test/test.aux
DELETED
@@ -1,56 +0,0 @@
|
|
1
|
-
\relax
|
2
|
-
\ifx\hyper@anchor\@undefined
|
3
|
-
\global \let \oldcontentsline\contentsline
|
4
|
-
\gdef \contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}}
|
5
|
-
\global \let \oldnewlabel\newlabel
|
6
|
-
\gdef \newlabel#1#2{\newlabelxx{#1}#2}
|
7
|
-
\gdef \newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}}
|
8
|
-
\AtEndDocument{\let \contentsline\oldcontentsline
|
9
|
-
\let \newlabel\oldnewlabel}
|
10
|
-
\else
|
11
|
-
\global \let \hyper@last\relax
|
12
|
-
\fi
|
13
|
-
|
14
|
-
\citation{conf/btw/JacobsA07}
|
15
|
-
\citation{DBLP:conf/cidr/StonebrakerBCCGHHLRZ07}
|
16
|
-
|
17
|
-
\citation{Martin,Grund}
|
18
|
-
|
19
|
-
\citation{Stonebraker:2007fk}
|
20
|
-
\@writefile{toc}{\contentsline {section}{\numberline {I}Introduction}{1}{section.1}}
|
21
|
-
\newlabel{sec:introduction}{{I}{1}{Introduction\relax }{section.1}{}}
|
22
|
-
\@writefile{toc}{\contentsline {section}{\numberline {II}Multi-Tenancy}{1}{section.2}}
|
23
|
-
\newlabel{sec:multi_tenancy}{{II}{1}{Multi-Tenancy\relax }{section.2}{}}
|
24
|
-
\@writefile{toc}{\contentsline {section}{\numberline {III}Multi-Tenant Databases}{1}{section.3}}
|
25
|
-
\newlabel{sec:multi_tenant_databases}{{III}{1}{Multi-Tenant Databases\relax }{section.3}{}}
|
26
|
-
\@writefile{toc}{\contentsline {section}{\numberline {IV}Shared Table Access Patterns}{1}{section.4}}
|
27
|
-
\newlabel{sec:shared_table_access_patterns}{{IV}{1}{Shared Table Access Patterns\relax }{section.4}{}}
|
28
|
-
\@writefile{toc}{\contentsline {subsection}{\numberline {IV-A}Table Operations}{2}{subsection.4.1}}
|
29
|
-
\newlabel{sub:table_operations}{{IV-A}{2}{Table Operations\relax }{subsection.4.1}{}}
|
30
|
-
\@writefile{lof}{\contentsline {figure}{\numberline {1}{\ignorespaces Accounts Table not Modified}}{2}{figure.1}}
|
31
|
-
\newlabel{fig:base_table}{{1}{2}{Table Operations\relax }{figure.1}{}}
|
32
|
-
\@writefile{lof}{\contentsline {figure}{\numberline {2}{\ignorespaces Horizontal Table Operation}}{2}{figure.2}}
|
33
|
-
\newlabel{fig:tbl_horizontal}{{2}{2}{Table Operations\relax }{figure.2}{}}
|
34
|
-
\citation{conf/btw/JacobsA07}
|
35
|
-
\@writefile{lof}{\contentsline {figure}{\numberline {3}{\ignorespaces Vertical Table Operation}}{3}{figure.3}}
|
36
|
-
\newlabel{fig:tbl_vertical_operation}{{3}{3}{Table Operations\relax }{figure.3}{}}
|
37
|
-
\@writefile{lof}{\contentsline {figure}{\numberline {4}{\ignorespaces Custom Schema Extension}}{3}{figure.4}}
|
38
|
-
\newlabel{fig:tbl_cust_extension}{{4}{3}{Table Operations\relax }{figure.4}{}}
|
39
|
-
\@writefile{toc}{\contentsline {subsection}{\numberline {IV-B}Multi-Tenant Shared Table Design}{3}{subsection.4.2}}
|
40
|
-
\newlabel{sub:shared_table}{{IV-B}{3}{Multi-Tenant Shared Table Design\relax }{subsection.4.2}{}}
|
41
|
-
\@writefile{lof}{\contentsline {figure}{\numberline {5}{\ignorespaces Multi-Tenant Shared Table}}{3}{figure.5}}
|
42
|
-
\newlabel{fig:tbl_tenant_store}{{5}{3}{Multi-Tenant Shared Table Design\relax }{figure.5}{}}
|
43
|
-
\bibstyle{IEEEtran}
|
44
|
-
\bibdata{IEEEabrv,amige}
|
45
|
-
\bibcite{conf/btw/JacobsA07}{1}
|
46
|
-
\bibcite{DBLP:conf/cidr/StonebrakerBCCGHHLRZ07}{2}
|
47
|
-
\bibcite{Stonebraker:2007fk}{3}
|
48
|
-
\@writefile{lof}{\contentsline {figure}{\numberline {6}{\ignorespaces Multi-Tenant Shared Table Index Structure}}{4}{figure.6}}
|
49
|
-
\newlabel{fig:tbl_mt_index}{{6}{4}{Multi-Tenant Shared Table Design\relax }{figure.6}{}}
|
50
|
-
\@writefile{lof}{\contentsline {figure}{\numberline {7}{\ignorespaces Multi-Tenant Shared Table Customer Extension}}{4}{figure.7}}
|
51
|
-
\newlabel{fig:tbl_mt_cust_ext}{{7}{4}{Multi-Tenant Shared Table Design\relax }{figure.7}{}}
|
52
|
-
\@writefile{toc}{\contentsline {section}{\numberline {V}Related Work}{4}{section.5}}
|
53
|
-
\newlabel{sec:related_work}{{V}{4}{Related Work\relax }{section.5}{}}
|
54
|
-
\@writefile{toc}{\contentsline {section}{\numberline {VI}Conclusion and Future Research}{4}{section.6}}
|
55
|
-
\newlabel{sec:conclusion_and_future_research}{{VI}{4}{Conclusion and Future Research\relax }{section.6}{}}
|
56
|
-
\@writefile{toc}{\contentsline {section}{References}{4}{section*.1}}
|
data/test/test_dblp.rb
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
require File.dirname(__FILE__) + '/test_helper.rb'
|
2
|
-
|
3
|
-
class TestDblp < Test::Unit::TestCase
|
4
|
-
|
5
|
-
def setup
|
6
|
-
end
|
7
|
-
|
8
|
-
def test_parser
|
9
|
-
|
10
|
-
p = Dblp::Parser.new(File.dirname(__FILE__) + "/test.aux")
|
11
|
-
result = p.parse
|
12
|
-
|
13
|
-
assert_equal 5, result.size
|
14
|
-
assert_equal "conf/btw/JacobsA07", result.first
|
15
|
-
assert_equal "DBLP:conf/cidr/StonebrakerBCCGHHLRZ07", result[1]
|
16
|
-
|
17
|
-
end
|
18
|
-
|
19
|
-
def test_grabber
|
20
|
-
|
21
|
-
g = Dblp::Grabber.new
|
22
|
-
|
23
|
-
res = g.grab("DBLP:conf/btw/JacobsA07")
|
24
|
-
assert res.size == 1
|
25
|
-
|
26
|
-
res = g.grab("DBLP:conf/icde/ZukowskiHNB06")
|
27
|
-
|
28
|
-
res = g.grab("DBLP:conf/btw/JacobsAss07")
|
29
|
-
assert res.size == 0
|
30
|
-
end
|
31
|
-
|
32
|
-
|
33
|
-
# def test_citeseer
|
34
|
-
|
35
|
-
# g = Dblp::CiteseerGrabber.new
|
36
|
-
# res = g.grab("graefe91data")
|
37
|
-
# assert res.size == 1
|
38
|
-
|
39
|
-
# res = g.grab("nixnurnix")
|
40
|
-
# assert res.size == 0
|
41
|
-
|
42
|
-
# end
|
43
|
-
|
44
|
-
end
|
data/test/test_helper.rb
DELETED