datastore_mongo 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.
Files changed (74) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +3 -0
  3. data/Rakefile +39 -0
  4. data/app/assets/javascripts/datastore_mongo/application.js +9 -0
  5. data/app/assets/javascripts/datastore_mongo/mongo_strings.js +2 -0
  6. data/app/assets/stylesheets/datastore_mongo/application.css +7 -0
  7. data/app/assets/stylesheets/datastore_mongo/mongo_strings.css +4 -0
  8. data/app/assets/stylesheets/scaffold.css +56 -0
  9. data/app/controllers/datastore_mongo/application_controller.rb +4 -0
  10. data/app/controllers/datastore_mongo/mongo_strings_controller.rb +85 -0
  11. data/app/helpers/datastore_mongo/application_helper.rb +4 -0
  12. data/app/helpers/datastore_mongo/mongo_strings_helper.rb +4 -0
  13. data/app/models/datastore_mongo/mongo_string.rb +7 -0
  14. data/app/views/datastore_mongo/mongo_strings/_form.html.erb +25 -0
  15. data/app/views/datastore_mongo/mongo_strings/edit.html.erb +6 -0
  16. data/app/views/datastore_mongo/mongo_strings/index.html.erb +25 -0
  17. data/app/views/datastore_mongo/mongo_strings/new.html.erb +5 -0
  18. data/app/views/datastore_mongo/mongo_strings/show.html.erb +15 -0
  19. data/app/views/layouts/datastore_mongo/application.html.erb +14 -0
  20. data/config/initializers/mongo.rb +11 -0
  21. data/config/routes.rb +4 -0
  22. data/lib/datastore_mongo/engine.rb +5 -0
  23. data/lib/datastore_mongo/version.rb +3 -0
  24. data/lib/datastore_mongo.rb +4 -0
  25. data/lib/tasks/datastore_mongo_tasks.rake +4 -0
  26. data/test/datastore_mongo_test.rb +7 -0
  27. data/test/dummy/Rakefile +7 -0
  28. data/test/dummy/app/assets/javascripts/application.js +9 -0
  29. data/test/dummy/app/assets/stylesheets/application.css +7 -0
  30. data/test/dummy/app/controllers/application_controller.rb +3 -0
  31. data/test/dummy/app/helpers/application_helper.rb +2 -0
  32. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  33. data/test/dummy/config/application.rb +45 -0
  34. data/test/dummy/config/boot.rb +10 -0
  35. data/test/dummy/config/database.yml +25 -0
  36. data/test/dummy/config/environment.rb +5 -0
  37. data/test/dummy/config/environments/development.rb +30 -0
  38. data/test/dummy/config/environments/production.rb +60 -0
  39. data/test/dummy/config/environments/test.rb +39 -0
  40. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  41. data/test/dummy/config/initializers/inflections.rb +10 -0
  42. data/test/dummy/config/initializers/mime_types.rb +5 -0
  43. data/test/dummy/config/initializers/secret_token.rb +7 -0
  44. data/test/dummy/config/initializers/session_store.rb +8 -0
  45. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  46. data/test/dummy/config/locales/en.yml +5 -0
  47. data/test/dummy/config/routes.rb +4 -0
  48. data/test/dummy/config.ru +4 -0
  49. data/test/dummy/db/development.sqlite3 +0 -0
  50. data/test/dummy/log/development.log +303 -0
  51. data/test/dummy/public/404.html +26 -0
  52. data/test/dummy/public/422.html +26 -0
  53. data/test/dummy/public/500.html +26 -0
  54. data/test/dummy/public/favicon.ico +0 -0
  55. data/test/dummy/script/rails +6 -0
  56. data/test/dummy/tmp/cache/assets/C79/FE0/sprockets%2F60c98361f2b98f8123dc3220763b1b07 +0 -0
  57. data/test/dummy/tmp/cache/assets/CB5/660/sprockets%2F4828404ba37f9402349bef0e918e0c67 +0 -0
  58. data/test/dummy/tmp/cache/assets/CE2/DF0/sprockets%2Fe389db18b89c773c05fa64f243251b14 +0 -0
  59. data/test/dummy/tmp/cache/assets/CEA/A80/sprockets%2Fe68d6a00959556532e92b70c56edb3b8 +0 -0
  60. data/test/dummy/tmp/cache/assets/CFD/F60/sprockets%2F0f40317a6babb81870b036af43d6d447 +0 -0
  61. data/test/dummy/tmp/cache/assets/CFE/F10/sprockets%2F9988fc39a760525719d57fa2751efcc9 +0 -0
  62. data/test/dummy/tmp/cache/assets/D18/740/sprockets%2F6cf782d157c833aafe2e6132b86e4476 +0 -0
  63. data/test/dummy/tmp/cache/assets/D1F/430/sprockets%2Fd90216589ab4ead84b26d4628f88b8b6 +0 -0
  64. data/test/dummy/tmp/cache/assets/D3C/550/sprockets%2F085759d3bb472fea26d0d3bf2a8813e3 +0 -0
  65. data/test/dummy/tmp/cache/assets/D45/0B0/sprockets%2Fb6fb348130590989cecd0f7bcf3c8621 +0 -0
  66. data/test/dummy/tmp/cache/assets/D46/5C0/sprockets%2F63820178fa5358b3e9206aadfc66e5fe +0 -0
  67. data/test/dummy/tmp/cache/assets/D98/0C0/sprockets%2F122a68de8c1c103dca5f83da769f5e1b +0 -0
  68. data/test/fixtures/datastore_mongo/mongo_strings.yml +9 -0
  69. data/test/functional/datastore_mongo/mongo_strings_controller_test.rb +51 -0
  70. data/test/integration/navigation_test.rb +10 -0
  71. data/test/test_helper.rb +10 -0
  72. data/test/unit/datastore_mongo/mongo_string_test.rb +9 -0
  73. data/test/unit/helpers/datastore_mongo/mongo_strings_helper_test.rb +6 -0
  74. metadata +205 -0
metadata ADDED
@@ -0,0 +1,205 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: datastore_mongo
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - John Hinnegan
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-11-15 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: &2151852800 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 3.1.1
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *2151852800
25
+ - !ruby/object:Gem::Dependency
26
+ name: mongo_mapper
27
+ requirement: &2151850480 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ~>
31
+ - !ruby/object:Gem::Version
32
+ version: 0.10.1
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *2151850480
36
+ - !ruby/object:Gem::Dependency
37
+ name: sqlite3
38
+ requirement: &2151848780 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *2151848780
47
+ description:
48
+ email:
49
+ - john.hinnegan@thinknear.com
50
+ executables: []
51
+ extensions: []
52
+ extra_rdoc_files: []
53
+ files:
54
+ - app/assets/javascripts/datastore_mongo/application.js
55
+ - app/assets/javascripts/datastore_mongo/mongo_strings.js
56
+ - app/assets/stylesheets/datastore_mongo/application.css
57
+ - app/assets/stylesheets/datastore_mongo/mongo_strings.css
58
+ - app/assets/stylesheets/scaffold.css
59
+ - app/controllers/datastore_mongo/application_controller.rb
60
+ - app/controllers/datastore_mongo/mongo_strings_controller.rb
61
+ - app/helpers/datastore_mongo/application_helper.rb
62
+ - app/helpers/datastore_mongo/mongo_strings_helper.rb
63
+ - app/models/datastore_mongo/mongo_string.rb
64
+ - app/views/datastore_mongo/mongo_strings/_form.html.erb
65
+ - app/views/datastore_mongo/mongo_strings/edit.html.erb
66
+ - app/views/datastore_mongo/mongo_strings/index.html.erb
67
+ - app/views/datastore_mongo/mongo_strings/new.html.erb
68
+ - app/views/datastore_mongo/mongo_strings/show.html.erb
69
+ - app/views/layouts/datastore_mongo/application.html.erb
70
+ - config/initializers/mongo.rb
71
+ - config/routes.rb
72
+ - lib/datastore_mongo/engine.rb
73
+ - lib/datastore_mongo/version.rb
74
+ - lib/datastore_mongo.rb
75
+ - lib/tasks/datastore_mongo_tasks.rake
76
+ - MIT-LICENSE
77
+ - Rakefile
78
+ - README.rdoc
79
+ - test/datastore_mongo_test.rb
80
+ - test/dummy/app/assets/javascripts/application.js
81
+ - test/dummy/app/assets/stylesheets/application.css
82
+ - test/dummy/app/controllers/application_controller.rb
83
+ - test/dummy/app/helpers/application_helper.rb
84
+ - test/dummy/app/views/layouts/application.html.erb
85
+ - test/dummy/config/application.rb
86
+ - test/dummy/config/boot.rb
87
+ - test/dummy/config/database.yml
88
+ - test/dummy/config/environment.rb
89
+ - test/dummy/config/environments/development.rb
90
+ - test/dummy/config/environments/production.rb
91
+ - test/dummy/config/environments/test.rb
92
+ - test/dummy/config/initializers/backtrace_silencers.rb
93
+ - test/dummy/config/initializers/inflections.rb
94
+ - test/dummy/config/initializers/mime_types.rb
95
+ - test/dummy/config/initializers/secret_token.rb
96
+ - test/dummy/config/initializers/session_store.rb
97
+ - test/dummy/config/initializers/wrap_parameters.rb
98
+ - test/dummy/config/locales/en.yml
99
+ - test/dummy/config/routes.rb
100
+ - test/dummy/config.ru
101
+ - test/dummy/db/development.sqlite3
102
+ - test/dummy/log/development.log
103
+ - test/dummy/public/404.html
104
+ - test/dummy/public/422.html
105
+ - test/dummy/public/500.html
106
+ - test/dummy/public/favicon.ico
107
+ - test/dummy/Rakefile
108
+ - test/dummy/script/rails
109
+ - test/dummy/tmp/cache/assets/C79/FE0/sprockets%2F60c98361f2b98f8123dc3220763b1b07
110
+ - test/dummy/tmp/cache/assets/CB5/660/sprockets%2F4828404ba37f9402349bef0e918e0c67
111
+ - test/dummy/tmp/cache/assets/CE2/DF0/sprockets%2Fe389db18b89c773c05fa64f243251b14
112
+ - test/dummy/tmp/cache/assets/CEA/A80/sprockets%2Fe68d6a00959556532e92b70c56edb3b8
113
+ - test/dummy/tmp/cache/assets/CFD/F60/sprockets%2F0f40317a6babb81870b036af43d6d447
114
+ - test/dummy/tmp/cache/assets/CFE/F10/sprockets%2F9988fc39a760525719d57fa2751efcc9
115
+ - test/dummy/tmp/cache/assets/D18/740/sprockets%2F6cf782d157c833aafe2e6132b86e4476
116
+ - test/dummy/tmp/cache/assets/D1F/430/sprockets%2Fd90216589ab4ead84b26d4628f88b8b6
117
+ - test/dummy/tmp/cache/assets/D3C/550/sprockets%2F085759d3bb472fea26d0d3bf2a8813e3
118
+ - test/dummy/tmp/cache/assets/D45/0B0/sprockets%2Fb6fb348130590989cecd0f7bcf3c8621
119
+ - test/dummy/tmp/cache/assets/D46/5C0/sprockets%2F63820178fa5358b3e9206aadfc66e5fe
120
+ - test/dummy/tmp/cache/assets/D98/0C0/sprockets%2F122a68de8c1c103dca5f83da769f5e1b
121
+ - test/fixtures/datastore_mongo/mongo_strings.yml
122
+ - test/functional/datastore_mongo/mongo_strings_controller_test.rb
123
+ - test/integration/navigation_test.rb
124
+ - test/test_helper.rb
125
+ - test/unit/datastore_mongo/mongo_string_test.rb
126
+ - test/unit/helpers/datastore_mongo/mongo_strings_helper_test.rb
127
+ homepage: http://softwaregravy.com
128
+ licenses: []
129
+ post_install_message:
130
+ rdoc_options: []
131
+ require_paths:
132
+ - lib
133
+ required_ruby_version: !ruby/object:Gem::Requirement
134
+ none: false
135
+ requirements:
136
+ - - ! '>='
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ segments:
140
+ - 0
141
+ hash: -1946042496381007940
142
+ required_rubygems_version: !ruby/object:Gem::Requirement
143
+ none: false
144
+ requirements:
145
+ - - ! '>='
146
+ - !ruby/object:Gem::Version
147
+ version: '0'
148
+ segments:
149
+ - 0
150
+ hash: -1946042496381007940
151
+ requirements: []
152
+ rubyforge_project:
153
+ rubygems_version: 1.8.10
154
+ signing_key:
155
+ specification_version: 3
156
+ summary: A very simple proof of concept to connecto to mongo
157
+ test_files:
158
+ - test/datastore_mongo_test.rb
159
+ - test/dummy/app/assets/javascripts/application.js
160
+ - test/dummy/app/assets/stylesheets/application.css
161
+ - test/dummy/app/controllers/application_controller.rb
162
+ - test/dummy/app/helpers/application_helper.rb
163
+ - test/dummy/app/views/layouts/application.html.erb
164
+ - test/dummy/config/application.rb
165
+ - test/dummy/config/boot.rb
166
+ - test/dummy/config/database.yml
167
+ - test/dummy/config/environment.rb
168
+ - test/dummy/config/environments/development.rb
169
+ - test/dummy/config/environments/production.rb
170
+ - test/dummy/config/environments/test.rb
171
+ - test/dummy/config/initializers/backtrace_silencers.rb
172
+ - test/dummy/config/initializers/inflections.rb
173
+ - test/dummy/config/initializers/mime_types.rb
174
+ - test/dummy/config/initializers/secret_token.rb
175
+ - test/dummy/config/initializers/session_store.rb
176
+ - test/dummy/config/initializers/wrap_parameters.rb
177
+ - test/dummy/config/locales/en.yml
178
+ - test/dummy/config/routes.rb
179
+ - test/dummy/config.ru
180
+ - test/dummy/db/development.sqlite3
181
+ - test/dummy/log/development.log
182
+ - test/dummy/public/404.html
183
+ - test/dummy/public/422.html
184
+ - test/dummy/public/500.html
185
+ - test/dummy/public/favicon.ico
186
+ - test/dummy/Rakefile
187
+ - test/dummy/script/rails
188
+ - test/dummy/tmp/cache/assets/C79/FE0/sprockets%2F60c98361f2b98f8123dc3220763b1b07
189
+ - test/dummy/tmp/cache/assets/CB5/660/sprockets%2F4828404ba37f9402349bef0e918e0c67
190
+ - test/dummy/tmp/cache/assets/CE2/DF0/sprockets%2Fe389db18b89c773c05fa64f243251b14
191
+ - test/dummy/tmp/cache/assets/CEA/A80/sprockets%2Fe68d6a00959556532e92b70c56edb3b8
192
+ - test/dummy/tmp/cache/assets/CFD/F60/sprockets%2F0f40317a6babb81870b036af43d6d447
193
+ - test/dummy/tmp/cache/assets/CFE/F10/sprockets%2F9988fc39a760525719d57fa2751efcc9
194
+ - test/dummy/tmp/cache/assets/D18/740/sprockets%2F6cf782d157c833aafe2e6132b86e4476
195
+ - test/dummy/tmp/cache/assets/D1F/430/sprockets%2Fd90216589ab4ead84b26d4628f88b8b6
196
+ - test/dummy/tmp/cache/assets/D3C/550/sprockets%2F085759d3bb472fea26d0d3bf2a8813e3
197
+ - test/dummy/tmp/cache/assets/D45/0B0/sprockets%2Fb6fb348130590989cecd0f7bcf3c8621
198
+ - test/dummy/tmp/cache/assets/D46/5C0/sprockets%2F63820178fa5358b3e9206aadfc66e5fe
199
+ - test/dummy/tmp/cache/assets/D98/0C0/sprockets%2F122a68de8c1c103dca5f83da769f5e1b
200
+ - test/fixtures/datastore_mongo/mongo_strings.yml
201
+ - test/functional/datastore_mongo/mongo_strings_controller_test.rb
202
+ - test/integration/navigation_test.rb
203
+ - test/test_helper.rb
204
+ - test/unit/datastore_mongo/mongo_string_test.rb
205
+ - test/unit/helpers/datastore_mongo/mongo_strings_helper_test.rb