dblp 0.0.1
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/History.txt +4 -0
- data/License.txt +20 -0
- data/Manifest.txt +20 -0
- data/PostInstall.txt +7 -0
- data/README.txt +48 -0
- data/Rakefile +4 -0
- data/bin/dblp +16 -0
- data/config/hoe.rb +73 -0
- data/config/requirements.rb +15 -0
- data/lib/dblp/grabber.rb +31 -0
- data/lib/dblp/parser.rb +22 -0
- data/lib/dblp/version.rb +9 -0
- data/lib/dblp.rb +26 -0
- data/setup.rb +1585 -0
- data/tasks/deployment.rake +34 -0
- data/tasks/environment.rake +7 -0
- data/tasks/website.rake +17 -0
- data/test/test.aux +53 -0
- data/test/test_dblp.rb +25 -0
- data/test/test_helper.rb +2 -0
- metadata +86 -0
@@ -0,0 +1,34 @@
|
|
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/website.rake
ADDED
@@ -0,0 +1,17 @@
|
|
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
ADDED
@@ -0,0 +1,53 @@
|
|
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
|
+
\citation{Stonebraker:2007fk}
|
17
|
+
\@writefile{toc}{\contentsline {section}{\numberline {I}Introduction}{1}{section.1}}
|
18
|
+
\newlabel{sec:introduction}{{I}{1}{Introduction\relax }{section.1}{}}
|
19
|
+
\@writefile{toc}{\contentsline {section}{\numberline {II}Multi-Tenancy}{1}{section.2}}
|
20
|
+
\newlabel{sec:multi_tenancy}{{II}{1}{Multi-Tenancy\relax }{section.2}{}}
|
21
|
+
\@writefile{toc}{\contentsline {section}{\numberline {III}Multi-Tenant Databases}{1}{section.3}}
|
22
|
+
\newlabel{sec:multi_tenant_databases}{{III}{1}{Multi-Tenant Databases\relax }{section.3}{}}
|
23
|
+
\@writefile{toc}{\contentsline {section}{\numberline {IV}Shared Table Access Patterns}{1}{section.4}}
|
24
|
+
\newlabel{sec:shared_table_access_patterns}{{IV}{1}{Shared Table Access Patterns\relax }{section.4}{}}
|
25
|
+
\@writefile{toc}{\contentsline {subsection}{\numberline {IV-A}Table Operations}{2}{subsection.4.1}}
|
26
|
+
\newlabel{sub:table_operations}{{IV-A}{2}{Table Operations\relax }{subsection.4.1}{}}
|
27
|
+
\@writefile{lof}{\contentsline {figure}{\numberline {1}{\ignorespaces Accounts Table not Modified}}{2}{figure.1}}
|
28
|
+
\newlabel{fig:base_table}{{1}{2}{Table Operations\relax }{figure.1}{}}
|
29
|
+
\@writefile{lof}{\contentsline {figure}{\numberline {2}{\ignorespaces Horizontal Table Operation}}{2}{figure.2}}
|
30
|
+
\newlabel{fig:tbl_horizontal}{{2}{2}{Table Operations\relax }{figure.2}{}}
|
31
|
+
\citation{conf/btw/JacobsA07}
|
32
|
+
\@writefile{lof}{\contentsline {figure}{\numberline {3}{\ignorespaces Vertical Table Operation}}{3}{figure.3}}
|
33
|
+
\newlabel{fig:tbl_vertical_operation}{{3}{3}{Table Operations\relax }{figure.3}{}}
|
34
|
+
\@writefile{lof}{\contentsline {figure}{\numberline {4}{\ignorespaces Custom Schema Extension}}{3}{figure.4}}
|
35
|
+
\newlabel{fig:tbl_cust_extension}{{4}{3}{Table Operations\relax }{figure.4}{}}
|
36
|
+
\@writefile{toc}{\contentsline {subsection}{\numberline {IV-B}Multi-Tenant Shared Table Design}{3}{subsection.4.2}}
|
37
|
+
\newlabel{sub:shared_table}{{IV-B}{3}{Multi-Tenant Shared Table Design\relax }{subsection.4.2}{}}
|
38
|
+
\@writefile{lof}{\contentsline {figure}{\numberline {5}{\ignorespaces Multi-Tenant Shared Table}}{3}{figure.5}}
|
39
|
+
\newlabel{fig:tbl_tenant_store}{{5}{3}{Multi-Tenant Shared Table Design\relax }{figure.5}{}}
|
40
|
+
\bibstyle{IEEEtran}
|
41
|
+
\bibdata{IEEEabrv,amige}
|
42
|
+
\bibcite{conf/btw/JacobsA07}{1}
|
43
|
+
\bibcite{DBLP:conf/cidr/StonebrakerBCCGHHLRZ07}{2}
|
44
|
+
\bibcite{Stonebraker:2007fk}{3}
|
45
|
+
\@writefile{lof}{\contentsline {figure}{\numberline {6}{\ignorespaces Multi-Tenant Shared Table Index Structure}}{4}{figure.6}}
|
46
|
+
\newlabel{fig:tbl_mt_index}{{6}{4}{Multi-Tenant Shared Table Design\relax }{figure.6}{}}
|
47
|
+
\@writefile{lof}{\contentsline {figure}{\numberline {7}{\ignorespaces Multi-Tenant Shared Table Customer Extension}}{4}{figure.7}}
|
48
|
+
\newlabel{fig:tbl_mt_cust_ext}{{7}{4}{Multi-Tenant Shared Table Design\relax }{figure.7}{}}
|
49
|
+
\@writefile{toc}{\contentsline {section}{\numberline {V}Related Work}{4}{section.5}}
|
50
|
+
\newlabel{sec:related_work}{{V}{4}{Related Work\relax }{section.5}{}}
|
51
|
+
\@writefile{toc}{\contentsline {section}{\numberline {VI}Conclusion and Future Research}{4}{section.6}}
|
52
|
+
\newlabel{sec:conclusion_and_future_research}{{VI}{4}{Conclusion and Future Research\relax }{section.6}{}}
|
53
|
+
\@writefile{toc}{\contentsline {section}{References}{4}{section*.1}}
|
data/test/test_dblp.rb
ADDED
@@ -0,0 +1,25 @@
|
|
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
|
+
assert result.size == 3
|
13
|
+
assert_equal "conf/btw/JacobsA07", result.first
|
14
|
+
assert_equal "conf/cidr/StonebrakerBCCGHHLRZ07", result[1]
|
15
|
+
|
16
|
+
end
|
17
|
+
|
18
|
+
def test_grabber
|
19
|
+
|
20
|
+
g = Dblp::Grabber.new
|
21
|
+
assert g.grab("conf/btw/JacobsA07").values.size == 2
|
22
|
+
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
data/test/test_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,86 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: dblp
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Martin Grund
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-05-29 00:00:00 +02:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: Dynamically generate the bibtex file from your citations
|
17
|
+
email:
|
18
|
+
- grundprinzip@gmail.com
|
19
|
+
executables:
|
20
|
+
- dblp
|
21
|
+
extensions: []
|
22
|
+
|
23
|
+
extra_rdoc_files:
|
24
|
+
- History.txt
|
25
|
+
- License.txt
|
26
|
+
- Manifest.txt
|
27
|
+
- PostInstall.txt
|
28
|
+
- README.txt
|
29
|
+
files:
|
30
|
+
- History.txt
|
31
|
+
- License.txt
|
32
|
+
- Manifest.txt
|
33
|
+
- PostInstall.txt
|
34
|
+
- README.txt
|
35
|
+
- Rakefile
|
36
|
+
- bin/dblp
|
37
|
+
- config/hoe.rb
|
38
|
+
- config/requirements.rb
|
39
|
+
- lib/dblp.rb
|
40
|
+
- lib/dblp/grabber.rb
|
41
|
+
- lib/dblp/parser.rb
|
42
|
+
- lib/dblp/version.rb
|
43
|
+
- setup.rb
|
44
|
+
- tasks/deployment.rake
|
45
|
+
- tasks/environment.rake
|
46
|
+
- tasks/website.rake
|
47
|
+
- test/test.aux
|
48
|
+
- test/test_dblp.rb
|
49
|
+
- test/test_helper.rb
|
50
|
+
has_rdoc: true
|
51
|
+
homepage: http://blog.grundprinzip.de
|
52
|
+
post_install_message: |+
|
53
|
+
|
54
|
+
For more information on dblp, see http://dblp.rubyforge.org
|
55
|
+
|
56
|
+
NOTE: Change this information in PostInstall.txt
|
57
|
+
You can also delete it if you don't want it.
|
58
|
+
|
59
|
+
|
60
|
+
rdoc_options:
|
61
|
+
- --main
|
62
|
+
- README.txt
|
63
|
+
require_paths:
|
64
|
+
- lib
|
65
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: "0"
|
70
|
+
version:
|
71
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: "0"
|
76
|
+
version:
|
77
|
+
requirements: []
|
78
|
+
|
79
|
+
rubyforge_project: rug-b
|
80
|
+
rubygems_version: 1.0.1
|
81
|
+
signing_key:
|
82
|
+
specification_version: 2
|
83
|
+
summary: Dynamically generate the bibtex file from your citations
|
84
|
+
test_files:
|
85
|
+
- test/test_dblp.rb
|
86
|
+
- test/test_helper.rb
|