do_riak 0.10.1.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (177) hide show
  1. data/CHANGELOG +2 -0
  2. data/Gemfile +9 -0
  3. data/LICENSE +20 -0
  4. data/README.textile +23 -0
  5. data/TODO.txt +4 -0
  6. data/deps.rip +8 -0
  7. data/do_riak.gemspec +40 -0
  8. data/do_riak.pre.gemspec +8 -0
  9. data/gems/cache/bacon-1.1.0.gem +0 -0
  10. data/gems/cache/code-cleaner-0.8.1.gem +0 -0
  11. data/gems/cache/nake-0.0.8.gem +0 -0
  12. data/gems/cache/term-ansicolor-1.0.4.gem +0 -0
  13. data/gems/environment.rb +107 -0
  14. data/gems/gems/bacon-1.1.0/COPYING +18 -0
  15. data/gems/gems/bacon-1.1.0/ChangeLog +220 -0
  16. data/gems/gems/bacon-1.1.0/RDOX +69 -0
  17. data/gems/gems/bacon-1.1.0/README +290 -0
  18. data/gems/gems/bacon-1.1.0/Rakefile +138 -0
  19. data/gems/gems/bacon-1.1.0/bin/bacon +117 -0
  20. data/gems/gems/bacon-1.1.0/lib/autotest/bacon.rb +36 -0
  21. data/gems/gems/bacon-1.1.0/lib/autotest/bacon_rspec.rb +2 -0
  22. data/gems/gems/bacon-1.1.0/lib/autotest/discover.rb +9 -0
  23. data/gems/gems/bacon-1.1.0/lib/bacon.rb +354 -0
  24. data/gems/gems/bacon-1.1.0/test/spec_bacon.rb +374 -0
  25. data/gems/gems/bacon-1.1.0/test/spec_should.rb +32 -0
  26. data/gems/gems/code-cleaner-0.8.1/LICENSE +20 -0
  27. data/gems/gems/code-cleaner-0.8.1/README.textile +87 -0
  28. data/gems/gems/code-cleaner-0.8.1/TODO.txt +1 -0
  29. data/gems/gems/code-cleaner-0.8.1/bin/code-cleaner +143 -0
  30. data/gems/gems/code-cleaner-0.8.1/code-cleaner-0.8.gem +0 -0
  31. data/gems/gems/code-cleaner-0.8.1/code-cleaner.gemspec +25 -0
  32. data/gems/gems/code-cleaner-0.8.1/support/pre-commit.erb +70 -0
  33. data/gems/gems/code-cleaner-0.8.1/tasks.rb +13 -0
  34. data/gems/gems/code-cleaner-0.8.1/tasks/code-cleaner.nake +49 -0
  35. data/gems/gems/code-cleaner-0.8.1/tasks/code-cleaner.rake +22 -0
  36. data/gems/gems/code-cleaner-0.8.1/tasks/code-cleaner.thor +35 -0
  37. data/gems/gems/nake-0.0.8/CHANGELOG +48 -0
  38. data/gems/gems/nake-0.0.8/LICENSE +20 -0
  39. data/gems/gems/nake-0.0.8/README.textile +39 -0
  40. data/gems/gems/nake-0.0.8/TODO.txt +23 -0
  41. data/gems/gems/nake-0.0.8/bin/nake +66 -0
  42. data/gems/gems/nake-0.0.8/bin/nrake +4 -0
  43. data/gems/gems/nake-0.0.8/bin/rake2nake +1 -0
  44. data/gems/gems/nake-0.0.8/bin/snake +41 -0
  45. data/gems/gems/nake-0.0.8/bm/Rakefile +28 -0
  46. data/gems/gems/nake-0.0.8/bm/bms.rb +56 -0
  47. data/gems/gems/nake-0.0.8/bm/output.txt +5 -0
  48. data/gems/gems/nake-0.0.8/bm/tasks.rb +21 -0
  49. data/gems/gems/nake-0.0.8/bm/tmp/test.c +6 -0
  50. data/gems/gems/nake-0.0.8/bm/tmp/www/index.html +1 -0
  51. data/gems/gems/nake-0.0.8/deps.rb +5 -0
  52. data/gems/gems/nake-0.0.8/deps.rip +5 -0
  53. data/gems/gems/nake-0.0.8/examples/arguments.rb +38 -0
  54. data/gems/gems/nake-0.0.8/examples/basic.rb +5 -0
  55. data/gems/gems/nake-0.0.8/examples/boot.rb +18 -0
  56. data/gems/gems/nake-0.0.8/examples/complex.rb +9 -0
  57. data/gems/gems/nake-0.0.8/examples/configuration.rb +15 -0
  58. data/gems/gems/nake-0.0.8/examples/default.rb +10 -0
  59. data/gems/gems/nake-0.0.8/examples/default_proc.rb +11 -0
  60. data/gems/gems/nake-0.0.8/examples/dependencies.rb +10 -0
  61. data/gems/gems/nake-0.0.8/examples/description.rb +33 -0
  62. data/gems/gems/nake-0.0.8/examples/file.rb +22 -0
  63. data/gems/gems/nake-0.0.8/examples/helpers.rb +3 -0
  64. data/gems/gems/nake-0.0.8/examples/invoking.rb +14 -0
  65. data/gems/gems/nake-0.0.8/examples/rules.rb +0 -0
  66. data/gems/gems/nake-0.0.8/examples/script.rb +20 -0
  67. data/gems/gems/nake-0.0.8/examples/task_arguments.rb +27 -0
  68. data/gems/gems/nake-0.0.8/features/arguments.feature +22 -0
  69. data/gems/gems/nake-0.0.8/features/basic.feature +6 -0
  70. data/gems/gems/nake-0.0.8/features/boot.feature +5 -0
  71. data/gems/gems/nake-0.0.8/features/builtin_arguments.feature +14 -0
  72. data/gems/gems/nake-0.0.8/features/complex.feature +6 -0
  73. data/gems/gems/nake-0.0.8/features/configuration.feature +10 -0
  74. data/gems/gems/nake-0.0.8/features/default.feature +10 -0
  75. data/gems/gems/nake-0.0.8/features/default_proc.feature +6 -0
  76. data/gems/gems/nake-0.0.8/features/dependencies.feature +16 -0
  77. data/gems/gems/nake-0.0.8/features/description.feature +0 -0
  78. data/gems/gems/nake-0.0.8/features/env.rb +11 -0
  79. data/gems/gems/nake-0.0.8/features/executable.feature +29 -0
  80. data/gems/gems/nake-0.0.8/features/file.feature +23 -0
  81. data/gems/gems/nake-0.0.8/features/helpers.feature +6 -0
  82. data/gems/gems/nake-0.0.8/features/invoking.feature +14 -0
  83. data/gems/gems/nake-0.0.8/features/rules.feature +0 -0
  84. data/gems/gems/nake-0.0.8/features/script.feature +10 -0
  85. data/gems/gems/nake-0.0.8/features/steps.rb +39 -0
  86. data/gems/gems/nake-0.0.8/features/task_arguments.feature +10 -0
  87. data/gems/gems/nake-0.0.8/lib/nake.rb +103 -0
  88. data/gems/gems/nake-0.0.8/lib/nake/abstract_task.rb +175 -0
  89. data/gems/gems/nake-0.0.8/lib/nake/args.rb +65 -0
  90. data/gems/gems/nake-0.0.8/lib/nake/argv.rb +47 -0
  91. data/gems/gems/nake-0.0.8/lib/nake/colors.rb +22 -0
  92. data/gems/gems/nake-0.0.8/lib/nake/dsl.rb +70 -0
  93. data/gems/gems/nake-0.0.8/lib/nake/file_task.rb +62 -0
  94. data/gems/gems/nake-0.0.8/lib/nake/helpers.rb +65 -0
  95. data/gems/gems/nake-0.0.8/lib/nake/rake.rb +38 -0
  96. data/gems/gems/nake-0.0.8/lib/nake/rule.rb +35 -0
  97. data/gems/gems/nake-0.0.8/lib/nake/struct_hash.rb +22 -0
  98. data/gems/gems/nake-0.0.8/lib/nake/task.rb +6 -0
  99. data/gems/gems/nake-0.0.8/lib/nake/tasks/bundle.rb +30 -0
  100. data/gems/gems/nake-0.0.8/lib/nake/tasks/clean.rb +12 -0
  101. data/gems/gems/nake-0.0.8/lib/nake/tasks/gem.rb +29 -0
  102. data/gems/gems/nake-0.0.8/lib/nake/tasks/release.rb +43 -0
  103. data/gems/gems/nake-0.0.8/lib/nake/tasks/rip.rb +33 -0
  104. data/gems/gems/nake-0.0.8/lib/nake/tasks/spec.rb +20 -0
  105. data/gems/gems/nake-0.0.8/lib/nake/template.rb +51 -0
  106. data/gems/gems/nake-0.0.8/nake-0.0.8.pre.gem +0 -0
  107. data/gems/gems/nake-0.0.8/nake.gemspec +42 -0
  108. data/gems/gems/nake-0.0.8/nake.pre.gemspec +8 -0
  109. data/gems/gems/nake-0.0.8/spec/nake/abstract_task_spec.rb +0 -0
  110. data/gems/gems/nake-0.0.8/spec/nake/args_spec.rb +0 -0
  111. data/gems/gems/nake-0.0.8/spec/nake/argv_spec.rb +51 -0
  112. data/gems/gems/nake-0.0.8/spec/nake/colors_spec.rb +0 -0
  113. data/gems/gems/nake-0.0.8/spec/nake/dsl_spec.rb +35 -0
  114. data/gems/gems/nake-0.0.8/spec/nake/file_task_spec.rb +0 -0
  115. data/gems/gems/nake-0.0.8/spec/nake/helpers_spec.rb +14 -0
  116. data/gems/gems/nake-0.0.8/spec/nake/rake_spec.rb +0 -0
  117. data/gems/gems/nake-0.0.8/spec/nake/rule_spec.rb +72 -0
  118. data/gems/gems/nake-0.0.8/spec/nake/struct_hash_spec.rb +0 -0
  119. data/gems/gems/nake-0.0.8/spec/nake/task_spec.rb +72 -0
  120. data/gems/gems/nake-0.0.8/spec/nake/tasks/bundle_spec.rb +28 -0
  121. data/gems/gems/nake-0.0.8/spec/nake/tasks/clean_spec.rb +0 -0
  122. data/gems/gems/nake-0.0.8/spec/nake/tasks/gem_spec.rb +0 -0
  123. data/gems/gems/nake-0.0.8/spec/nake/tasks/release_spec.rb +0 -0
  124. data/gems/gems/nake-0.0.8/spec/nake/tasks/rip_spec.rb +0 -0
  125. data/gems/gems/nake-0.0.8/spec/nake/tasks/spec_spec.rb +0 -0
  126. data/gems/gems/nake-0.0.8/spec/nake/tasks_spec.rb +48 -0
  127. data/gems/gems/nake-0.0.8/spec/nake/template_spec.rb +84 -0
  128. data/gems/gems/nake-0.0.8/spec/nake_spec.rb +9 -0
  129. data/gems/gems/nake-0.0.8/spec/spec.opts +5 -0
  130. data/gems/gems/nake-0.0.8/spec/spec_helper.rb +29 -0
  131. data/gems/gems/nake-0.0.8/spec/stubs/database.yml.erb +9 -0
  132. data/gems/gems/nake-0.0.8/spec/stubs/database.yml.tt +9 -0
  133. data/gems/gems/nake-0.0.8/tasks.rb +42 -0
  134. data/gems/gems/term-ansicolor-1.0.4/CHANGES +22 -0
  135. data/gems/gems/term-ansicolor-1.0.4/COPYING +340 -0
  136. data/gems/gems/term-ansicolor-1.0.4/README +31 -0
  137. data/gems/gems/term-ansicolor-1.0.4/Rakefile +86 -0
  138. data/gems/gems/term-ansicolor-1.0.4/VERSION +1 -0
  139. data/gems/gems/term-ansicolor-1.0.4/doc-main.txt +119 -0
  140. data/gems/gems/term-ansicolor-1.0.4/examples/cdiff.rb +19 -0
  141. data/gems/gems/term-ansicolor-1.0.4/examples/example.rb +89 -0
  142. data/gems/gems/term-ansicolor-1.0.4/install.rb +15 -0
  143. data/gems/gems/term-ansicolor-1.0.4/lib/term/ansicolor.rb +102 -0
  144. data/gems/gems/term-ansicolor-1.0.4/lib/term/ansicolor/version.rb +10 -0
  145. data/gems/gems/term-ansicolor-1.0.4/term-ansicolor.gemspec +20 -0
  146. data/gems/specifications/bacon-1.1.0.gemspec +30 -0
  147. data/gems/specifications/code-cleaner-0.8.1.gemspec +31 -0
  148. data/gems/specifications/nake-0.0.8.gemspec +35 -0
  149. data/gems/specifications/term-ansicolor-1.0.4.gemspec +30 -0
  150. data/lib/do_riak.rb +10 -0
  151. data/lib/do_riak/errors.rb +11 -0
  152. data/lib/do_riak/transaction.rb +24 -0
  153. data/lib/do_riak/version.rb +7 -0
  154. data/script/bacon +3 -0
  155. data/script/code-cleaner +3 -0
  156. data/script/nake +3 -0
  157. data/spec/command_spec.rb +8 -0
  158. data/spec/connection_spec.rb +17 -0
  159. data/spec/reader_spec.rb +8 -0
  160. data/spec/result_spec.rb +12 -0
  161. data/spec/spec_helper.rb +19 -0
  162. data/spec/typecast/array_spec.rb +8 -0
  163. data/spec/typecast/bigdecimal_spec.rb +8 -0
  164. data/spec/typecast/boolean_spec.rb +8 -0
  165. data/spec/typecast/byte_array_spec.rb +8 -0
  166. data/spec/typecast/class_spec.rb +8 -0
  167. data/spec/typecast/date_spec.rb +8 -0
  168. data/spec/typecast/datetime_spec.rb +8 -0
  169. data/spec/typecast/float_spec.rb +12 -0
  170. data/spec/typecast/integer_spec.rb +8 -0
  171. data/spec/typecast/nil_spec.rb +16 -0
  172. data/spec/typecast/other_spec.rb +8 -0
  173. data/spec/typecast/range_spec.rb +8 -0
  174. data/spec/typecast/string_spec.rb +8 -0
  175. data/spec/typecast/time_spec.rb +8 -0
  176. data/tasks.rb +37 -0
  177. 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,10 @@
1
+ # encoding: utf-8
2
+
3
+ require "data_objects"
4
+ require "do_riak/version"
5
+ require "do_riak/transaction"
6
+
7
+ module DataObjects
8
+ module Riak
9
+ end
10
+ end
@@ -0,0 +1,11 @@
1
+ # encoding: utf-8
2
+
3
+ module DataObjects
4
+ module Riak
5
+ RiakError ||= Class.new(StandardError)
6
+ #SyntaxError
7
+ #ConnectionError
8
+ #DataError
9
+ #IntegrityError
10
+ end
11
+ end
@@ -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
@@ -0,0 +1,7 @@
1
+ # encoding: utf-8
2
+
3
+ module DataObjects
4
+ module Riak
5
+ VERSION = "0.10.1".freeze
6
+ end
7
+ end
data/script/bacon ADDED
@@ -0,0 +1,3 @@
1
+ #!/Users/botanicus/.rvm/ruby-1.9.1-p376/bin/ruby
2
+ require File.expand_path(File.join(File.dirname(__FILE__), "../gems/environment"))
3
+ load File.expand_path(File.join(File.dirname(__FILE__), "../gems/gems/bacon-1.1.0/bin/bacon"))
@@ -0,0 +1,3 @@
1
+ #!/Users/botanicus/.rvm/ruby-1.9.1-p376/bin/ruby -i
2
+ require File.expand_path(File.join(File.dirname(__FILE__), "../gems/environment"))
3
+ load File.expand_path(File.join(File.dirname(__FILE__), "../gems/gems/code-cleaner-0.8.1/bin/code-cleaner"))
data/script/nake ADDED
@@ -0,0 +1,3 @@
1
+ #!/Users/botanicus/.rvm/ruby-1.9.1-p376/bin/ruby
2
+ require File.expand_path(File.join(File.dirname(__FILE__), "../gems/environment"))
3
+ load File.expand_path(File.join(File.dirname(__FILE__), "../gems/gems/nake-0.0.8/bin/nake"))
@@ -0,0 +1,8 @@
1
+ # encoding: utf-8
2
+
3
+ require_relative "spec_helper"
4
+ require "data_objects/spec/command_spec"
5
+
6
+ describe DataObjects::Riak::Command do
7
+ behaves_like "a Command"
8
+ end
@@ -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
@@ -0,0 +1,8 @@
1
+ # encoding: utf-8
2
+
3
+ require_relative "spec_helper"
4
+ require "data_objects/spec/reader_spec"
5
+
6
+ describe DataObjects::Riak::Reader do
7
+ behaves_like "a Reader"
8
+ end
@@ -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
@@ -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,8 @@
1
+ # encoding: utf-8
2
+
3
+ require_relative "../spec_helper"
4
+ require "data_objects/spec/typecast/array_spec"
5
+
6
+ describe "DataObjects::Riak with Array" do
7
+ behaves_like "supporting Array"
8
+ end
@@ -0,0 +1,8 @@
1
+ # encoding: utf-8
2
+
3
+ require_relative "../spec_helper"
4
+ require "data_objects/spec/typecast/bigdecimal_spec"
5
+
6
+ describe "DataObjects::Riak with BigDecimal" do
7
+ behaves_like "supporting BigDecimal"
8
+ end
@@ -0,0 +1,8 @@
1
+ # encoding: utf-8
2
+
3
+ require_relative "../spec_helper"
4
+ require "data_objects/spec/typecast/boolean_spec"
5
+
6
+ describe "DataObjects::Riak with Boolean" do
7
+ behaves_like "supporting Boolean"
8
+ end
@@ -0,0 +1,8 @@
1
+ # encoding: utf-8
2
+
3
+ require_relative "../spec_helper"
4
+ require "data_objects/spec/typecast/byte_array_spec"
5
+
6
+ describe "DataObjects::Riak with ByteArray" do
7
+ behaves_like "supporting ByteArray"
8
+ end
@@ -0,0 +1,8 @@
1
+ # encoding: utf-8
2
+
3
+ require_relative "../spec_helper"
4
+ require "data_objects/spec/typecast/class_spec"
5
+
6
+ describe "DataObjects::Riak with Class" do
7
+ behaves_like "supporting Class"
8
+ end
@@ -0,0 +1,8 @@
1
+ # encoding: utf-8
2
+
3
+ require_relative "../spec_helper"
4
+ require "data_objects/spec/typecast/date_spec"
5
+
6
+ describe "DataObjects::Riak with Date" do
7
+ behaves_like "supporting Date"
8
+ end
@@ -0,0 +1,8 @@
1
+ # encoding: utf-8
2
+
3
+ require_relative "../spec_helper"
4
+ require "data_objects/spec/typecast/datetime_spec"
5
+
6
+ describe "DataObjects::Riak with DateTime" do
7
+ behaves_like "supporting DateTime"
8
+ end
@@ -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,8 @@
1
+ # encoding: utf-8
2
+
3
+ require_relative "../spec_helper"
4
+ require "data_objects/spec/typecast/integer_spec"
5
+
6
+ describe "DataObjects::Riak with Integer" do
7
+ behaves_like "supporting Integer"
8
+ 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
@@ -0,0 +1,8 @@
1
+ # encoding: utf-8
2
+
3
+ require_relative "../spec_helper"
4
+ require "data_objects/spec/typecast/other_spec"
5
+
6
+ describe "DataObjects::Riak with other (unknown) type" do
7
+ behaves_like "supporting other (unknown) type"
8
+ end
@@ -0,0 +1,8 @@
1
+ # encoding: utf-8
2
+
3
+ require_relative "../spec_helper"
4
+ require "data_objects/spec/typecast/range_spec"
5
+
6
+ describe "DataObjects::Riak with Range" do
7
+ behaves_like "supporting Range"
8
+ end