do_riak 0.10.1.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +2 -0
- data/Gemfile +9 -0
- data/LICENSE +20 -0
- data/README.textile +23 -0
- data/TODO.txt +4 -0
- data/deps.rip +8 -0
- data/do_riak.gemspec +40 -0
- data/do_riak.pre.gemspec +8 -0
- data/gems/cache/bacon-1.1.0.gem +0 -0
- data/gems/cache/code-cleaner-0.8.1.gem +0 -0
- data/gems/cache/nake-0.0.8.gem +0 -0
- data/gems/cache/term-ansicolor-1.0.4.gem +0 -0
- data/gems/environment.rb +107 -0
- data/gems/gems/bacon-1.1.0/COPYING +18 -0
- data/gems/gems/bacon-1.1.0/ChangeLog +220 -0
- data/gems/gems/bacon-1.1.0/RDOX +69 -0
- data/gems/gems/bacon-1.1.0/README +290 -0
- data/gems/gems/bacon-1.1.0/Rakefile +138 -0
- data/gems/gems/bacon-1.1.0/bin/bacon +117 -0
- data/gems/gems/bacon-1.1.0/lib/autotest/bacon.rb +36 -0
- data/gems/gems/bacon-1.1.0/lib/autotest/bacon_rspec.rb +2 -0
- data/gems/gems/bacon-1.1.0/lib/autotest/discover.rb +9 -0
- data/gems/gems/bacon-1.1.0/lib/bacon.rb +354 -0
- data/gems/gems/bacon-1.1.0/test/spec_bacon.rb +374 -0
- data/gems/gems/bacon-1.1.0/test/spec_should.rb +32 -0
- data/gems/gems/code-cleaner-0.8.1/LICENSE +20 -0
- data/gems/gems/code-cleaner-0.8.1/README.textile +87 -0
- data/gems/gems/code-cleaner-0.8.1/TODO.txt +1 -0
- data/gems/gems/code-cleaner-0.8.1/bin/code-cleaner +143 -0
- data/gems/gems/code-cleaner-0.8.1/code-cleaner-0.8.gem +0 -0
- data/gems/gems/code-cleaner-0.8.1/code-cleaner.gemspec +25 -0
- data/gems/gems/code-cleaner-0.8.1/support/pre-commit.erb +70 -0
- data/gems/gems/code-cleaner-0.8.1/tasks.rb +13 -0
- data/gems/gems/code-cleaner-0.8.1/tasks/code-cleaner.nake +49 -0
- data/gems/gems/code-cleaner-0.8.1/tasks/code-cleaner.rake +22 -0
- data/gems/gems/code-cleaner-0.8.1/tasks/code-cleaner.thor +35 -0
- data/gems/gems/nake-0.0.8/CHANGELOG +48 -0
- data/gems/gems/nake-0.0.8/LICENSE +20 -0
- data/gems/gems/nake-0.0.8/README.textile +39 -0
- data/gems/gems/nake-0.0.8/TODO.txt +23 -0
- data/gems/gems/nake-0.0.8/bin/nake +66 -0
- data/gems/gems/nake-0.0.8/bin/nrake +4 -0
- data/gems/gems/nake-0.0.8/bin/rake2nake +1 -0
- data/gems/gems/nake-0.0.8/bin/snake +41 -0
- data/gems/gems/nake-0.0.8/bm/Rakefile +28 -0
- data/gems/gems/nake-0.0.8/bm/bms.rb +56 -0
- data/gems/gems/nake-0.0.8/bm/output.txt +5 -0
- data/gems/gems/nake-0.0.8/bm/tasks.rb +21 -0
- data/gems/gems/nake-0.0.8/bm/tmp/test.c +6 -0
- data/gems/gems/nake-0.0.8/bm/tmp/www/index.html +1 -0
- data/gems/gems/nake-0.0.8/deps.rb +5 -0
- data/gems/gems/nake-0.0.8/deps.rip +5 -0
- data/gems/gems/nake-0.0.8/examples/arguments.rb +38 -0
- data/gems/gems/nake-0.0.8/examples/basic.rb +5 -0
- data/gems/gems/nake-0.0.8/examples/boot.rb +18 -0
- data/gems/gems/nake-0.0.8/examples/complex.rb +9 -0
- data/gems/gems/nake-0.0.8/examples/configuration.rb +15 -0
- data/gems/gems/nake-0.0.8/examples/default.rb +10 -0
- data/gems/gems/nake-0.0.8/examples/default_proc.rb +11 -0
- data/gems/gems/nake-0.0.8/examples/dependencies.rb +10 -0
- data/gems/gems/nake-0.0.8/examples/description.rb +33 -0
- data/gems/gems/nake-0.0.8/examples/file.rb +22 -0
- data/gems/gems/nake-0.0.8/examples/helpers.rb +3 -0
- data/gems/gems/nake-0.0.8/examples/invoking.rb +14 -0
- data/gems/gems/nake-0.0.8/examples/rules.rb +0 -0
- data/gems/gems/nake-0.0.8/examples/script.rb +20 -0
- data/gems/gems/nake-0.0.8/examples/task_arguments.rb +27 -0
- data/gems/gems/nake-0.0.8/features/arguments.feature +22 -0
- data/gems/gems/nake-0.0.8/features/basic.feature +6 -0
- data/gems/gems/nake-0.0.8/features/boot.feature +5 -0
- data/gems/gems/nake-0.0.8/features/builtin_arguments.feature +14 -0
- data/gems/gems/nake-0.0.8/features/complex.feature +6 -0
- data/gems/gems/nake-0.0.8/features/configuration.feature +10 -0
- data/gems/gems/nake-0.0.8/features/default.feature +10 -0
- data/gems/gems/nake-0.0.8/features/default_proc.feature +6 -0
- data/gems/gems/nake-0.0.8/features/dependencies.feature +16 -0
- data/gems/gems/nake-0.0.8/features/description.feature +0 -0
- data/gems/gems/nake-0.0.8/features/env.rb +11 -0
- data/gems/gems/nake-0.0.8/features/executable.feature +29 -0
- data/gems/gems/nake-0.0.8/features/file.feature +23 -0
- data/gems/gems/nake-0.0.8/features/helpers.feature +6 -0
- data/gems/gems/nake-0.0.8/features/invoking.feature +14 -0
- data/gems/gems/nake-0.0.8/features/rules.feature +0 -0
- data/gems/gems/nake-0.0.8/features/script.feature +10 -0
- data/gems/gems/nake-0.0.8/features/steps.rb +39 -0
- data/gems/gems/nake-0.0.8/features/task_arguments.feature +10 -0
- data/gems/gems/nake-0.0.8/lib/nake.rb +103 -0
- data/gems/gems/nake-0.0.8/lib/nake/abstract_task.rb +175 -0
- data/gems/gems/nake-0.0.8/lib/nake/args.rb +65 -0
- data/gems/gems/nake-0.0.8/lib/nake/argv.rb +47 -0
- data/gems/gems/nake-0.0.8/lib/nake/colors.rb +22 -0
- data/gems/gems/nake-0.0.8/lib/nake/dsl.rb +70 -0
- data/gems/gems/nake-0.0.8/lib/nake/file_task.rb +62 -0
- data/gems/gems/nake-0.0.8/lib/nake/helpers.rb +65 -0
- data/gems/gems/nake-0.0.8/lib/nake/rake.rb +38 -0
- data/gems/gems/nake-0.0.8/lib/nake/rule.rb +35 -0
- data/gems/gems/nake-0.0.8/lib/nake/struct_hash.rb +22 -0
- data/gems/gems/nake-0.0.8/lib/nake/task.rb +6 -0
- data/gems/gems/nake-0.0.8/lib/nake/tasks/bundle.rb +30 -0
- data/gems/gems/nake-0.0.8/lib/nake/tasks/clean.rb +12 -0
- data/gems/gems/nake-0.0.8/lib/nake/tasks/gem.rb +29 -0
- data/gems/gems/nake-0.0.8/lib/nake/tasks/release.rb +43 -0
- data/gems/gems/nake-0.0.8/lib/nake/tasks/rip.rb +33 -0
- data/gems/gems/nake-0.0.8/lib/nake/tasks/spec.rb +20 -0
- data/gems/gems/nake-0.0.8/lib/nake/template.rb +51 -0
- data/gems/gems/nake-0.0.8/nake-0.0.8.pre.gem +0 -0
- data/gems/gems/nake-0.0.8/nake.gemspec +42 -0
- data/gems/gems/nake-0.0.8/nake.pre.gemspec +8 -0
- data/gems/gems/nake-0.0.8/spec/nake/abstract_task_spec.rb +0 -0
- data/gems/gems/nake-0.0.8/spec/nake/args_spec.rb +0 -0
- data/gems/gems/nake-0.0.8/spec/nake/argv_spec.rb +51 -0
- data/gems/gems/nake-0.0.8/spec/nake/colors_spec.rb +0 -0
- data/gems/gems/nake-0.0.8/spec/nake/dsl_spec.rb +35 -0
- data/gems/gems/nake-0.0.8/spec/nake/file_task_spec.rb +0 -0
- data/gems/gems/nake-0.0.8/spec/nake/helpers_spec.rb +14 -0
- data/gems/gems/nake-0.0.8/spec/nake/rake_spec.rb +0 -0
- data/gems/gems/nake-0.0.8/spec/nake/rule_spec.rb +72 -0
- data/gems/gems/nake-0.0.8/spec/nake/struct_hash_spec.rb +0 -0
- data/gems/gems/nake-0.0.8/spec/nake/task_spec.rb +72 -0
- data/gems/gems/nake-0.0.8/spec/nake/tasks/bundle_spec.rb +28 -0
- data/gems/gems/nake-0.0.8/spec/nake/tasks/clean_spec.rb +0 -0
- data/gems/gems/nake-0.0.8/spec/nake/tasks/gem_spec.rb +0 -0
- data/gems/gems/nake-0.0.8/spec/nake/tasks/release_spec.rb +0 -0
- data/gems/gems/nake-0.0.8/spec/nake/tasks/rip_spec.rb +0 -0
- data/gems/gems/nake-0.0.8/spec/nake/tasks/spec_spec.rb +0 -0
- data/gems/gems/nake-0.0.8/spec/nake/tasks_spec.rb +48 -0
- data/gems/gems/nake-0.0.8/spec/nake/template_spec.rb +84 -0
- data/gems/gems/nake-0.0.8/spec/nake_spec.rb +9 -0
- data/gems/gems/nake-0.0.8/spec/spec.opts +5 -0
- data/gems/gems/nake-0.0.8/spec/spec_helper.rb +29 -0
- data/gems/gems/nake-0.0.8/spec/stubs/database.yml.erb +9 -0
- data/gems/gems/nake-0.0.8/spec/stubs/database.yml.tt +9 -0
- data/gems/gems/nake-0.0.8/tasks.rb +42 -0
- data/gems/gems/term-ansicolor-1.0.4/CHANGES +22 -0
- data/gems/gems/term-ansicolor-1.0.4/COPYING +340 -0
- data/gems/gems/term-ansicolor-1.0.4/README +31 -0
- data/gems/gems/term-ansicolor-1.0.4/Rakefile +86 -0
- data/gems/gems/term-ansicolor-1.0.4/VERSION +1 -0
- data/gems/gems/term-ansicolor-1.0.4/doc-main.txt +119 -0
- data/gems/gems/term-ansicolor-1.0.4/examples/cdiff.rb +19 -0
- data/gems/gems/term-ansicolor-1.0.4/examples/example.rb +89 -0
- data/gems/gems/term-ansicolor-1.0.4/install.rb +15 -0
- data/gems/gems/term-ansicolor-1.0.4/lib/term/ansicolor.rb +102 -0
- data/gems/gems/term-ansicolor-1.0.4/lib/term/ansicolor/version.rb +10 -0
- data/gems/gems/term-ansicolor-1.0.4/term-ansicolor.gemspec +20 -0
- data/gems/specifications/bacon-1.1.0.gemspec +30 -0
- data/gems/specifications/code-cleaner-0.8.1.gemspec +31 -0
- data/gems/specifications/nake-0.0.8.gemspec +35 -0
- data/gems/specifications/term-ansicolor-1.0.4.gemspec +30 -0
- data/lib/do_riak.rb +10 -0
- data/lib/do_riak/errors.rb +11 -0
- data/lib/do_riak/transaction.rb +24 -0
- data/lib/do_riak/version.rb +7 -0
- data/script/bacon +3 -0
- data/script/code-cleaner +3 -0
- data/script/nake +3 -0
- data/spec/command_spec.rb +8 -0
- data/spec/connection_spec.rb +17 -0
- data/spec/reader_spec.rb +8 -0
- data/spec/result_spec.rb +12 -0
- data/spec/spec_helper.rb +19 -0
- data/spec/typecast/array_spec.rb +8 -0
- data/spec/typecast/bigdecimal_spec.rb +8 -0
- data/spec/typecast/boolean_spec.rb +8 -0
- data/spec/typecast/byte_array_spec.rb +8 -0
- data/spec/typecast/class_spec.rb +8 -0
- data/spec/typecast/date_spec.rb +8 -0
- data/spec/typecast/datetime_spec.rb +8 -0
- data/spec/typecast/float_spec.rb +12 -0
- data/spec/typecast/integer_spec.rb +8 -0
- data/spec/typecast/nil_spec.rb +16 -0
- data/spec/typecast/other_spec.rb +8 -0
- data/spec/typecast/range_spec.rb +8 -0
- data/spec/typecast/string_spec.rb +8 -0
- data/spec/typecast/time_spec.rb +8 -0
- data/tasks.rb +37 -0
- metadata +238 -0
@@ -0,0 +1,10 @@
|
|
1
|
+
module Term
|
2
|
+
module ANSIColor
|
3
|
+
# Term::ANSIColor version
|
4
|
+
VERSION = '1.0.4'
|
5
|
+
VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc:
|
6
|
+
VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
|
7
|
+
VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
|
8
|
+
VERSION_BUILD = VERSION_ARRAY[2] # :nodoc:
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
Gem::Specification.new do |s|
|
3
|
+
s.name = 'term-ansicolor'
|
4
|
+
s.version = '1.0.4'
|
5
|
+
s.summary = "Ruby library that colors strings using ANSI escape sequences"
|
6
|
+
s.description = ""
|
7
|
+
|
8
|
+
s.files = ["CHANGES", "COPYING", "README", "Rakefile", "VERSION", "examples", "examples/cdiff.rb", "examples/example.rb", "install.rb", "lib", "lib/term", "lib/term/ansicolor", "lib/term/ansicolor.rb", "lib/term/ansicolor/version.rb", "term-ansicolor.gemspec"]
|
9
|
+
|
10
|
+
s.require_path = 'lib'
|
11
|
+
|
12
|
+
s.has_rdoc = true
|
13
|
+
s.extra_rdoc_files << 'doc-main.txt'
|
14
|
+
s.rdoc_options << '--main' << 'doc-main.txt'
|
15
|
+
|
16
|
+
s.author = "Florian Frank"
|
17
|
+
s.email = "flori@ping.de"
|
18
|
+
s.homepage = "http://term-ansicolor.rubyforge.org"
|
19
|
+
s.rubyforge_project = 'term-ansicolor'
|
20
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = %q{bacon}
|
5
|
+
s.version = "1.1.0"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["Christian Neukirchen"]
|
9
|
+
s.date = %q{2008-11-30}
|
10
|
+
s.default_executable = %q{bacon}
|
11
|
+
s.description = %q{Bacon is a small RSpec clone weighing less than 350 LoC but nevertheless providing all essential features. http://github.com/chneukirchen/bacon}
|
12
|
+
s.email = %q{chneukirchen@gmail.com}
|
13
|
+
s.executables = ["bacon"]
|
14
|
+
s.extra_rdoc_files = ["README", "RDOX"]
|
15
|
+
s.files = ["COPYING", "README", "Rakefile", "bin/bacon", "lib/autotest/bacon.rb", "lib/autotest/bacon_rspec.rb", "lib/autotest/discover.rb", "lib/bacon.rb", "test/spec_bacon.rb", "test/spec_should.rb", "RDOX", "ChangeLog"]
|
16
|
+
s.homepage = %q{http://chneukirchen.org/repos/bacon}
|
17
|
+
s.require_paths = ["lib"]
|
18
|
+
s.rubygems_version = %q{1.3.5}
|
19
|
+
s.summary = %q{a small RSpec clone}
|
20
|
+
|
21
|
+
if s.respond_to? :specification_version then
|
22
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
23
|
+
s.specification_version = 2
|
24
|
+
|
25
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
26
|
+
else
|
27
|
+
end
|
28
|
+
else
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = %q{code-cleaner}
|
5
|
+
s.version = "0.8.1"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["Jakub Šťastný aka Botanicus"]
|
9
|
+
s.cert_chain = nil
|
10
|
+
s.date = %q{2010-01-10}
|
11
|
+
s.default_executable = %q{code-cleaner}
|
12
|
+
s.description = %q{}
|
13
|
+
s.email = %q{knava.bestvinensis@gmail.com}
|
14
|
+
s.executables = ["code-cleaner"]
|
15
|
+
s.files = ["bin/code-cleaner", "code-cleaner-0.8.gem", "code-cleaner.gemspec", "LICENSE", "README.textile", "support/pre-commit.erb", "tasks/code-cleaner.nake", "tasks/code-cleaner.rake", "tasks/code-cleaner.thor", "tasks.rb", "TODO.txt"]
|
16
|
+
s.homepage = %q{http://github.com/botanicus/code-cleaner}
|
17
|
+
s.require_paths = ["tasks"]
|
18
|
+
s.rubyforge_project = %q{code-cleaner}
|
19
|
+
s.rubygems_version = %q{1.3.5}
|
20
|
+
s.summary = %q{Remove trailing whitespace, append missing \n and replace tabs by two spaces}
|
21
|
+
|
22
|
+
if s.respond_to? :specification_version then
|
23
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
24
|
+
s.specification_version = 3
|
25
|
+
|
26
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
27
|
+
else
|
28
|
+
end
|
29
|
+
else
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = %q{nake}
|
5
|
+
s.version = "0.0.8"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["Jakub Šťastný aka Botanicus"]
|
9
|
+
s.cert_chain = nil
|
10
|
+
s.date = %q{2010-01-10}
|
11
|
+
s.default_executable = %q{nake}
|
12
|
+
s.description = %q{}
|
13
|
+
s.email = %q{knava.bestvinensis@gmail.com}
|
14
|
+
s.executables = ["nake"]
|
15
|
+
s.files = ["bin/nake", "bin/nrake", "bin/rake2nake", "bin/snake", "bm/bms.rb", "bm/output.txt", "bm/Rakefile", "bm/tasks.rb", "bm/tmp/test.c", "bm/tmp/www/index.html", "CHANGELOG", "deps.rb", "deps.rip", "examples/arguments.rb", "examples/basic.rb", "examples/boot.rb", "examples/complex.rb", "examples/configuration.rb", "examples/default.rb", "examples/default_proc.rb", "examples/dependencies.rb", "examples/description.rb", "examples/file.rb", "examples/helpers.rb", "examples/invoking.rb", "examples/rules.rb", "examples/script.rb", "examples/task_arguments.rb", "features/arguments.feature", "features/basic.feature", "features/boot.feature", "features/builtin_arguments.feature", "features/complex.feature", "features/configuration.feature", "features/default.feature", "features/default_proc.feature", "features/dependencies.feature", "features/description.feature", "features/env.rb", "features/executable.feature", "features/file.feature", "features/helpers.feature", "features/invoking.feature", "features/rules.feature", "features/script.feature", "features/steps.rb", "features/task_arguments.feature", "lib/nake/abstract_task.rb", "lib/nake/args.rb", "lib/nake/argv.rb", "lib/nake/colors.rb", "lib/nake/dsl.rb", "lib/nake/file_task.rb", "lib/nake/helpers.rb", "lib/nake/rake.rb", "lib/nake/rule.rb", "lib/nake/struct_hash.rb", "lib/nake/task.rb", "lib/nake/tasks/bundle.rb", "lib/nake/tasks/clean.rb", "lib/nake/tasks/gem.rb", "lib/nake/tasks/release.rb", "lib/nake/tasks/rip.rb", "lib/nake/tasks/spec.rb", "lib/nake/template.rb", "lib/nake.rb", "LICENSE", "nake-0.0.8.gem", "nake-0.0.8.pre.gem", "nake.gemspec", "nake.pre.gemspec", "README.textile", "spec/nake/abstract_task_spec.rb", "spec/nake/args_spec.rb", "spec/nake/argv_spec.rb", "spec/nake/colors_spec.rb", "spec/nake/dsl_spec.rb", "spec/nake/file_task_spec.rb", "spec/nake/helpers_spec.rb", "spec/nake/rake_spec.rb", "spec/nake/rule_spec.rb", "spec/nake/struct_hash_spec.rb", "spec/nake/task_spec.rb", "spec/nake/tasks/bundle_spec.rb", "spec/nake/tasks/clean_spec.rb", "spec/nake/tasks/gem_spec.rb", "spec/nake/tasks/release_spec.rb", "spec/nake/tasks/rip_spec.rb", "spec/nake/tasks/spec_spec.rb", "spec/nake/tasks_spec.rb", "spec/nake/template_spec.rb", "spec/nake_spec.rb", "spec/spec.opts", "spec/spec_helper.rb", "spec/stubs/database.yml.erb", "spec/stubs/database.yml.tt", "tasks.rb", "TODO.txt"]
|
16
|
+
s.homepage = %q{http://github.com/botanicus/nake}
|
17
|
+
s.require_paths = ["lib"]
|
18
|
+
s.required_ruby_version = Gem::Requirement.new("~> 1.9")
|
19
|
+
s.rubyforge_project = %q{nake}
|
20
|
+
s.rubygems_version = %q{1.3.5}
|
21
|
+
s.summary = %q{Nake is light-weight and highly flexible Rake replacement with much better arguments parsing}
|
22
|
+
|
23
|
+
if s.respond_to? :specification_version then
|
24
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
25
|
+
s.specification_version = 3
|
26
|
+
|
27
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
28
|
+
s.add_runtime_dependency(%q<term-ansicolor>, [">= 0"])
|
29
|
+
else
|
30
|
+
s.add_dependency(%q<term-ansicolor>, [">= 0"])
|
31
|
+
end
|
32
|
+
else
|
33
|
+
s.add_dependency(%q<term-ansicolor>, [">= 0"])
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = %q{term-ansicolor}
|
5
|
+
s.version = "1.0.4"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["Florian Frank"]
|
9
|
+
s.date = %q{2009-07-23}
|
10
|
+
s.description = %q{}
|
11
|
+
s.email = %q{flori@ping.de}
|
12
|
+
s.extra_rdoc_files = ["doc-main.txt"]
|
13
|
+
s.files = ["CHANGES", "COPYING", "README", "Rakefile", "VERSION", "examples/cdiff.rb", "examples/example.rb", "install.rb", "lib/term/ansicolor.rb", "lib/term/ansicolor/version.rb", "term-ansicolor.gemspec", "doc-main.txt"]
|
14
|
+
s.homepage = %q{http://term-ansicolor.rubyforge.org}
|
15
|
+
s.rdoc_options = ["--main", "doc-main.txt"]
|
16
|
+
s.require_paths = ["lib"]
|
17
|
+
s.rubyforge_project = %q{term-ansicolor}
|
18
|
+
s.rubygems_version = %q{1.3.5}
|
19
|
+
s.summary = %q{Ruby library that colors strings using ANSI escape sequences}
|
20
|
+
|
21
|
+
if s.respond_to? :specification_version then
|
22
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
23
|
+
s.specification_version = 3
|
24
|
+
|
25
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
26
|
+
else
|
27
|
+
end
|
28
|
+
else
|
29
|
+
end
|
30
|
+
end
|
data/lib/do_riak.rb
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
|
4
|
+
module DataObjects
|
5
|
+
module Riak
|
6
|
+
class Transaction < DataObjects::Transaction
|
7
|
+
def begin_prepared
|
8
|
+
raise NotImplementedError
|
9
|
+
end
|
10
|
+
|
11
|
+
def commit_prepared
|
12
|
+
raise NotImplementedError
|
13
|
+
end
|
14
|
+
|
15
|
+
def rollback_prepared
|
16
|
+
raise NotImplementedError
|
17
|
+
end
|
18
|
+
|
19
|
+
def prepare
|
20
|
+
raise NotImplementedError
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
data/script/bacon
ADDED
data/script/code-cleaner
ADDED
data/script/nake
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require_relative "spec_helper"
|
4
|
+
require "data_objects/spec/connection_spec"
|
5
|
+
|
6
|
+
describe DataObjects::Riak::Connection do
|
7
|
+
before do
|
8
|
+
@driver = CONFIG.scheme
|
9
|
+
@user = CONFIG.user
|
10
|
+
@password = CONFIG.pass
|
11
|
+
@host = CONFIG.host
|
12
|
+
@port = CONFIG.port
|
13
|
+
@database = CONFIG.database
|
14
|
+
end
|
15
|
+
|
16
|
+
behaves_like "a Connection"
|
17
|
+
end
|
data/spec/reader_spec.rb
ADDED
data/spec/result_spec.rb
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require_relative "spec_helper"
|
4
|
+
require "data_objects/spec/result_spec"
|
5
|
+
|
6
|
+
describe DataObjects::Riak::Result do
|
7
|
+
behaves_like "a Result"
|
8
|
+
end
|
9
|
+
|
10
|
+
describe DataObjects::Riak::Result do
|
11
|
+
behaves_like "a Result which returns inserted keys"
|
12
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require "date"
|
4
|
+
require "ostruct"
|
5
|
+
require "fileutils"
|
6
|
+
|
7
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
|
8
|
+
|
9
|
+
require "do_riak"
|
10
|
+
require "data_objects/spec/bacon"
|
11
|
+
|
12
|
+
DataObjects::Riak.logger = DataObjects::Logger.new(STDOUT, :off)
|
13
|
+
at_exit { DataObjects.logger.flush }
|
14
|
+
|
15
|
+
CONFIG = OpenStruct.new
|
16
|
+
CONFIG.scheme = "riak"
|
17
|
+
CONFIG.database = ":memory:"
|
18
|
+
|
19
|
+
CONFIG.uri = "#{CONFIG.scheme}:#{CONFIG.database}"
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require_relative "../spec_helper"
|
4
|
+
require "data_objects/spec/typecast/float_spec"
|
5
|
+
|
6
|
+
describe "DataObjects::Riak with Float" do
|
7
|
+
behaves_like "supporting Float"
|
8
|
+
end
|
9
|
+
|
10
|
+
describe "DataObjects::Riak with Float" do
|
11
|
+
behaves_like "supporting Float autocasting"
|
12
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require_relative "../spec_helper"
|
4
|
+
require "data_objects/spec/typecast/nil_spec"
|
5
|
+
|
6
|
+
describe "DataObjects::Riak with Nil" do
|
7
|
+
behaves_like "supporting Nil"
|
8
|
+
end
|
9
|
+
|
10
|
+
describe "DataObjects::Riak with Nil" do
|
11
|
+
behaves_like "supporting writing an Nil"
|
12
|
+
end
|
13
|
+
|
14
|
+
describe "DataObjects::Riak with Nil" do
|
15
|
+
behaves_like "supporting Nil autocasting"
|
16
|
+
end
|