datastore_decide 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/decide +5 -0
  2. data/lib/datastore_decide.rb +8 -0
  3. metadata +69 -0
data/bin/decide ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'datastore_decide'
4
+
5
+ DatastoreDecide.decide
@@ -0,0 +1,8 @@
1
+ module DatastoreDecide
2
+
3
+ def self.decide
4
+ dbs = ["Mongo", "Cassandra", "Redis", "MySQL", "Hadoop", "something you make yourself", "your face"]
5
+ puts "Just store it in #{dbs.shuffle[0]}."
6
+ end
7
+
8
+ end
metadata ADDED
@@ -0,0 +1,69 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: datastore_decide
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ version: 0.0.1
11
+ platform: ruby
12
+ authors:
13
+ - nodanaonlyzuul
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2012-04-03 00:00:00 -04:00
19
+ default_executable:
20
+ dependencies: []
21
+
22
+ description:
23
+ email:
24
+ - beholdthepanda@gmail.com
25
+ executables:
26
+ - decide
27
+ extensions: []
28
+
29
+ extra_rdoc_files: []
30
+
31
+ files:
32
+ - bin/decide
33
+ - lib/datastore_decide.rb
34
+ has_rdoc: true
35
+ homepage: https://github.com/nodanaonlyzuul
36
+ licenses: []
37
+
38
+ post_install_message:
39
+ rdoc_options: []
40
+
41
+ require_paths:
42
+ - lib
43
+ required_ruby_version: !ruby/object:Gem::Requirement
44
+ none: false
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ hash: 3
49
+ segments:
50
+ - 0
51
+ version: "0"
52
+ required_rubygems_version: !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ hash: 3
58
+ segments:
59
+ - 0
60
+ version: "0"
61
+ requirements: []
62
+
63
+ rubyforge_project: nowarning
64
+ rubygems_version: 1.3.7
65
+ signing_key:
66
+ specification_version: 3
67
+ summary: How will you store that info?
68
+ test_files: []
69
+