moped 0.0.0.beta → 1.0.0.alpha

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of moped might be problematic. Click here for more details.

Files changed (50) hide show
  1. data/MIT_LICENSE +19 -0
  2. data/README.md +323 -0
  3. data/lib/moped.rb +19 -0
  4. data/lib/moped/bson.rb +25 -0
  5. data/lib/moped/bson/binary.rb +68 -0
  6. data/lib/moped/bson/code.rb +61 -0
  7. data/lib/moped/bson/document.rb +16 -0
  8. data/lib/moped/bson/extensions.rb +81 -0
  9. data/lib/moped/bson/extensions/array.rb +44 -0
  10. data/lib/moped/bson/extensions/boolean.rb +14 -0
  11. data/lib/moped/bson/extensions/false_class.rb +15 -0
  12. data/lib/moped/bson/extensions/float.rb +23 -0
  13. data/lib/moped/bson/extensions/hash.rb +49 -0
  14. data/lib/moped/bson/extensions/integer.rb +37 -0
  15. data/lib/moped/bson/extensions/nil_class.rb +20 -0
  16. data/lib/moped/bson/extensions/regexp.rb +40 -0
  17. data/lib/moped/bson/extensions/string.rb +35 -0
  18. data/lib/moped/bson/extensions/symbol.rb +25 -0
  19. data/lib/moped/bson/extensions/time.rb +21 -0
  20. data/lib/moped/bson/extensions/true_class.rb +15 -0
  21. data/lib/moped/bson/max_key.rb +21 -0
  22. data/lib/moped/bson/min_key.rb +21 -0
  23. data/lib/moped/bson/object_id.rb +123 -0
  24. data/lib/moped/bson/timestamp.rb +15 -0
  25. data/lib/moped/bson/types.rb +67 -0
  26. data/lib/moped/cluster.rb +193 -0
  27. data/lib/moped/collection.rb +67 -0
  28. data/lib/moped/cursor.rb +60 -0
  29. data/lib/moped/database.rb +76 -0
  30. data/lib/moped/errors.rb +61 -0
  31. data/lib/moped/indexes.rb +93 -0
  32. data/lib/moped/logging.rb +25 -0
  33. data/lib/moped/protocol.rb +20 -0
  34. data/lib/moped/protocol/command.rb +27 -0
  35. data/lib/moped/protocol/commands.rb +11 -0
  36. data/lib/moped/protocol/commands/authenticate.rb +54 -0
  37. data/lib/moped/protocol/delete.rb +92 -0
  38. data/lib/moped/protocol/get_more.rb +79 -0
  39. data/lib/moped/protocol/insert.rb +92 -0
  40. data/lib/moped/protocol/kill_cursors.rb +61 -0
  41. data/lib/moped/protocol/message.rb +320 -0
  42. data/lib/moped/protocol/query.rb +131 -0
  43. data/lib/moped/protocol/reply.rb +90 -0
  44. data/lib/moped/protocol/update.rb +107 -0
  45. data/lib/moped/query.rb +230 -0
  46. data/lib/moped/server.rb +73 -0
  47. data/lib/moped/session.rb +253 -0
  48. data/lib/moped/socket.rb +201 -0
  49. data/lib/moped/version.rb +4 -0
  50. metadata +108 -46
@@ -0,0 +1,4 @@
1
+ # encoding: utf-8
2
+ module Moped
3
+ VERSION = "1.0.0.alpha"
4
+ end
metadata CHANGED
@@ -1,68 +1,130 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: moped
3
- version: !ruby/object:Gem::Version
4
- prerelease: true
5
- segments:
6
- - 0
7
- - 0
8
- - 0
9
- - beta
10
- version: 0.0.0.beta
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0.alpha
5
+ prerelease: 6
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Bernerd Schaefer
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-12-14 00:00:00 +01:00
19
- default_executable:
20
- dependencies: []
21
-
22
- description: Lightweight and Ultra-Fast MongoDB Persistence in Ruby, Respect.
23
- email:
12
+ date: 2012-04-13 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rspec
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '2.9'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '2.9'
30
+ - !ruby/object:Gem::Dependency
31
+ name: guard-rspec
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: '0.6'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '0.6'
46
+ description: A MongoDB driver for Ruby.
47
+ email:
24
48
  - bj.schaefer@gmail.com
25
49
  executables: []
26
-
27
50
  extensions: []
28
-
29
51
  extra_rdoc_files: []
30
-
31
- files:
52
+ files:
53
+ - lib/moped/bson/binary.rb
54
+ - lib/moped/bson/code.rb
55
+ - lib/moped/bson/document.rb
56
+ - lib/moped/bson/extensions/array.rb
57
+ - lib/moped/bson/extensions/boolean.rb
58
+ - lib/moped/bson/extensions/false_class.rb
59
+ - lib/moped/bson/extensions/float.rb
60
+ - lib/moped/bson/extensions/hash.rb
61
+ - lib/moped/bson/extensions/integer.rb
62
+ - lib/moped/bson/extensions/nil_class.rb
63
+ - lib/moped/bson/extensions/regexp.rb
64
+ - lib/moped/bson/extensions/string.rb
65
+ - lib/moped/bson/extensions/symbol.rb
66
+ - lib/moped/bson/extensions/time.rb
67
+ - lib/moped/bson/extensions/true_class.rb
68
+ - lib/moped/bson/extensions.rb
69
+ - lib/moped/bson/max_key.rb
70
+ - lib/moped/bson/min_key.rb
71
+ - lib/moped/bson/object_id.rb
72
+ - lib/moped/bson/timestamp.rb
73
+ - lib/moped/bson/types.rb
74
+ - lib/moped/bson.rb
75
+ - lib/moped/cluster.rb
76
+ - lib/moped/collection.rb
77
+ - lib/moped/cursor.rb
78
+ - lib/moped/database.rb
79
+ - lib/moped/errors.rb
80
+ - lib/moped/indexes.rb
81
+ - lib/moped/logging.rb
82
+ - lib/moped/protocol/command.rb
83
+ - lib/moped/protocol/commands/authenticate.rb
84
+ - lib/moped/protocol/commands.rb
85
+ - lib/moped/protocol/delete.rb
86
+ - lib/moped/protocol/get_more.rb
87
+ - lib/moped/protocol/insert.rb
88
+ - lib/moped/protocol/kill_cursors.rb
89
+ - lib/moped/protocol/message.rb
90
+ - lib/moped/protocol/query.rb
91
+ - lib/moped/protocol/reply.rb
92
+ - lib/moped/protocol/update.rb
93
+ - lib/moped/protocol.rb
94
+ - lib/moped/query.rb
95
+ - lib/moped/server.rb
96
+ - lib/moped/session.rb
97
+ - lib/moped/socket.rb
98
+ - lib/moped/version.rb
99
+ - lib/moped.rb
100
+ - MIT_LICENSE
32
101
  - README.md
33
- has_rdoc: true
34
- homepage: http://mongoid.org
102
+ homepage: http://mongoid.org/moped
35
103
  licenses: []
36
-
37
104
  post_install_message:
38
105
  rdoc_options: []
39
-
40
- require_paths:
106
+ require_paths:
41
107
  - lib
42
- required_ruby_version: !ruby/object:Gem::Requirement
108
+ required_ruby_version: !ruby/object:Gem::Requirement
43
109
  none: false
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- segments:
110
+ requirements:
111
+ - - ! '>='
112
+ - !ruby/object:Gem::Version
113
+ version: '0'
114
+ segments:
48
115
  - 0
49
- version: "0"
50
- required_rubygems_version: !ruby/object:Gem::Requirement
116
+ hash: -3885832787048717619
117
+ required_rubygems_version: !ruby/object:Gem::Requirement
51
118
  none: false
52
- requirements:
53
- - - ">="
54
- - !ruby/object:Gem::Version
55
- segments:
56
- - 1
57
- - 3
58
- - 6
59
- version: 1.3.6
119
+ requirements:
120
+ - - ! '>'
121
+ - !ruby/object:Gem::Version
122
+ version: 1.3.1
60
123
  requirements: []
61
-
62
- rubyforge_project: moped
63
- rubygems_version: 1.3.7
124
+ rubyforge_project:
125
+ rubygems_version: 1.8.19
64
126
  signing_key:
65
127
  specification_version: 3
66
- summary: Lightweight and Ultra-Fast MongoDB Persistence in Ruby
128
+ summary: A MongoDB driver for Ruby.
67
129
  test_files: []
68
-
130
+ has_rdoc: