roomer 0.0.8

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 (102) hide show
  1. data/.autotest +17 -0
  2. data/.gitignore +9 -0
  3. data/.rvmrc +2 -0
  4. data/.travis.yml +2 -0
  5. data/Gemfile +31 -0
  6. data/MIT-LICENSE +20 -0
  7. data/README.md +116 -0
  8. data/Rakefile +16 -0
  9. data/TODO.md +10 -0
  10. data/doc/ActiveRecord/Base.html +328 -0
  11. data/doc/ApplicationController.html +116 -0
  12. data/doc/Roomer/Engine.html +116 -0
  13. data/doc/Roomer/Generators/InstallGenerator.html +419 -0
  14. data/doc/Roomer/Generators/SetupGenerator.html +209 -0
  15. data/doc/Roomer/Generators.html +108 -0
  16. data/doc/Roomer/Tools.html +702 -0
  17. data/doc/Roomer/VERSION.html +149 -0
  18. data/doc/Roomer.html +533 -0
  19. data/doc/RoomerCreate.html +121 -0
  20. data/doc/_index.html +232 -0
  21. data/doc/class_list.html +47 -0
  22. data/doc/css/common.css +1 -0
  23. data/doc/css/full_list.css +53 -0
  24. data/doc/css/style.css +320 -0
  25. data/doc/file.README.html +146 -0
  26. data/doc/file_list.html +49 -0
  27. data/doc/frames.html +13 -0
  28. data/doc/index.html +146 -0
  29. data/doc/js/app.js +205 -0
  30. data/doc/js/full_list.js +150 -0
  31. data/doc/js/jquery.js +16 -0
  32. data/doc/method_list.html +182 -0
  33. data/doc/top-level-namespace.html +105 -0
  34. data/lib/generators/roomer/install/install_generator.rb +39 -0
  35. data/lib/generators/roomer/install/templates/README +15 -0
  36. data/lib/generators/roomer/install/templates/roomer.rb +68 -0
  37. data/lib/generators/roomer/migration/migration_generator.rb +35 -0
  38. data/lib/generators/roomer/migration/templates/migration.rb +17 -0
  39. data/lib/generators/roomer/model/model_generator.rb +45 -0
  40. data/lib/generators/roomer/model/templates/migration.rb +16 -0
  41. data/lib/generators/roomer/setup/setup_generator.rb +38 -0
  42. data/lib/generators/roomer/setup/templates/global_migration.rb +20 -0
  43. data/lib/roomer/extensions/controller.rb +36 -0
  44. data/lib/roomer/extensions/model.rb +72 -0
  45. data/lib/roomer/helpers/generator_helper.rb +30 -0
  46. data/lib/roomer/helpers/migration_helper.rb +7 -0
  47. data/lib/roomer/helpers/postgres_helper.rb +75 -0
  48. data/lib/roomer/rails.rb +24 -0
  49. data/lib/roomer/schema.rb +63 -0
  50. data/lib/roomer/schema_dumper.rb +36 -0
  51. data/lib/roomer/tasks/migrate.rake +85 -0
  52. data/lib/roomer/utils.rb +68 -0
  53. data/lib/roomer/version.rb +14 -0
  54. data/lib/roomer.rb +125 -0
  55. data/roomer.gemspec +22 -0
  56. data/test/config.rb +3 -0
  57. data/test/config.yml +7 -0
  58. data/test/generators/install_generator_test.rb +13 -0
  59. data/test/generators/migration_generator_test.rb +33 -0
  60. data/test/generators/model_generator_test.rb +25 -0
  61. data/test/generators/setup_generator_test.rb +25 -0
  62. data/test/rails_app/app/controllers/application_controller.rb +3 -0
  63. data/test/rails_app/app/helpers/application_helper.rb +2 -0
  64. data/test/rails_app/app/models/tenant.rb +12 -0
  65. data/test/rails_app/app/views/layouts/application.html.erb +14 -0
  66. data/test/rails_app/config/application.rb +50 -0
  67. data/test/rails_app/config/boot.rb +6 -0
  68. data/test/rails_app/config/database.yml +2 -0
  69. data/test/rails_app/config/environment.rb +5 -0
  70. data/test/rails_app/config/environments/development.rb +26 -0
  71. data/test/rails_app/config/environments/production.rb +49 -0
  72. data/test/rails_app/config/environments/test.rb +35 -0
  73. data/test/rails_app/config/initializers/backtrace_silencers.rb +7 -0
  74. data/test/rails_app/config/initializers/inflections.rb +10 -0
  75. data/test/rails_app/config/initializers/mime_types.rb +5 -0
  76. data/test/rails_app/config/initializers/roomer.rb +68 -0
  77. data/test/rails_app/config/initializers/secret_token.rb +7 -0
  78. data/test/rails_app/config/initializers/session_store.rb +8 -0
  79. data/test/rails_app/config/locales/en.yml +5 -0
  80. data/test/rails_app/config/routes.rb +58 -0
  81. data/test/rails_app/config.ru +4 -0
  82. data/test/rails_app/db/migrate/global/20110825231409_roomer_create_tenants.rb +20 -0
  83. data/test/rails_app/db/seeds.rb +7 -0
  84. data/test/rails_app/lib/tasks/.gitkeep +0 -0
  85. data/test/rails_app/public/404.html +26 -0
  86. data/test/rails_app/public/422.html +26 -0
  87. data/test/rails_app/public/500.html +26 -0
  88. data/test/rails_app/public/favicon.ico +0 -0
  89. data/test/rails_app/public/images/rails.png +0 -0
  90. data/test/rails_app/public/index.html +239 -0
  91. data/test/rails_app/public/javascripts/application.js +2 -0
  92. data/test/rails_app/public/javascripts/controls.js +965 -0
  93. data/test/rails_app/public/javascripts/dragdrop.js +974 -0
  94. data/test/rails_app/public/javascripts/effects.js +1123 -0
  95. data/test/rails_app/public/javascripts/prototype.js +6001 -0
  96. data/test/rails_app/public/javascripts/rails.js +191 -0
  97. data/test/rails_app/public/robots.txt +5 -0
  98. data/test/rails_app/public/stylesheets/.gitkeep +0 -0
  99. data/test/roomer/helpers/postgres_helper_test.rb +62 -0
  100. data/test/roomer/roomer_test.rb +37 -0
  101. data/test/test_helper.rb +23 -0
  102. metadata +228 -0
@@ -0,0 +1,191 @@
1
+ (function() {
2
+ // Technique from Juriy Zaytsev
3
+ // http://thinkweb2.com/projects/prototype/detecting-event-support-without-browser-sniffing/
4
+ function isEventSupported(eventName) {
5
+ var el = document.createElement('div');
6
+ eventName = 'on' + eventName;
7
+ var isSupported = (eventName in el);
8
+ if (!isSupported) {
9
+ el.setAttribute(eventName, 'return;');
10
+ isSupported = typeof el[eventName] == 'function';
11
+ }
12
+ el = null;
13
+ return isSupported;
14
+ }
15
+
16
+ function isForm(element) {
17
+ return Object.isElement(element) && element.nodeName.toUpperCase() == 'FORM'
18
+ }
19
+
20
+ function isInput(element) {
21
+ if (Object.isElement(element)) {
22
+ var name = element.nodeName.toUpperCase()
23
+ return name == 'INPUT' || name == 'SELECT' || name == 'TEXTAREA'
24
+ }
25
+ else return false
26
+ }
27
+
28
+ var submitBubbles = isEventSupported('submit'),
29
+ changeBubbles = isEventSupported('change')
30
+
31
+ if (!submitBubbles || !changeBubbles) {
32
+ // augment the Event.Handler class to observe custom events when needed
33
+ Event.Handler.prototype.initialize = Event.Handler.prototype.initialize.wrap(
34
+ function(init, element, eventName, selector, callback) {
35
+ init(element, eventName, selector, callback)
36
+ // is the handler being attached to an element that doesn't support this event?
37
+ if ( (!submitBubbles && this.eventName == 'submit' && !isForm(this.element)) ||
38
+ (!changeBubbles && this.eventName == 'change' && !isInput(this.element)) ) {
39
+ // "submit" => "emulated:submit"
40
+ this.eventName = 'emulated:' + this.eventName
41
+ }
42
+ }
43
+ )
44
+ }
45
+
46
+ if (!submitBubbles) {
47
+ // discover forms on the page by observing focus events which always bubble
48
+ document.on('focusin', 'form', function(focusEvent, form) {
49
+ // special handler for the real "submit" event (one-time operation)
50
+ if (!form.retrieve('emulated:submit')) {
51
+ form.on('submit', function(submitEvent) {
52
+ var emulated = form.fire('emulated:submit', submitEvent, true)
53
+ // if custom event received preventDefault, cancel the real one too
54
+ if (emulated.returnValue === false) submitEvent.preventDefault()
55
+ })
56
+ form.store('emulated:submit', true)
57
+ }
58
+ })
59
+ }
60
+
61
+ if (!changeBubbles) {
62
+ // discover form inputs on the page
63
+ document.on('focusin', 'input, select, texarea', function(focusEvent, input) {
64
+ // special handler for real "change" events
65
+ if (!input.retrieve('emulated:change')) {
66
+ input.on('change', function(changeEvent) {
67
+ input.fire('emulated:change', changeEvent, true)
68
+ })
69
+ input.store('emulated:change', true)
70
+ }
71
+ })
72
+ }
73
+
74
+ function handleRemote(element) {
75
+ var method, url, params;
76
+
77
+ var event = element.fire("ajax:before");
78
+ if (event.stopped) return false;
79
+
80
+ if (element.tagName.toLowerCase() === 'form') {
81
+ method = element.readAttribute('method') || 'post';
82
+ url = element.readAttribute('action');
83
+ params = element.serialize();
84
+ } else {
85
+ method = element.readAttribute('data-method') || 'get';
86
+ url = element.readAttribute('href');
87
+ params = {};
88
+ }
89
+
90
+ new Ajax.Request(url, {
91
+ method: method,
92
+ parameters: params,
93
+ evalScripts: true,
94
+
95
+ onComplete: function(request) { element.fire("ajax:complete", request); },
96
+ onSuccess: function(request) { element.fire("ajax:success", request); },
97
+ onFailure: function(request) { element.fire("ajax:failure", request); }
98
+ });
99
+
100
+ element.fire("ajax:after");
101
+ }
102
+
103
+ function handleMethod(element) {
104
+ var method = element.readAttribute('data-method'),
105
+ url = element.readAttribute('href'),
106
+ csrf_param = $$('meta[name=csrf-param]')[0],
107
+ csrf_token = $$('meta[name=csrf-token]')[0];
108
+
109
+ var form = new Element('form', { method: "POST", action: url, style: "display: none;" });
110
+ element.parentNode.insert(form);
111
+
112
+ if (method !== 'post') {
113
+ var field = new Element('input', { type: 'hidden', name: '_method', value: method });
114
+ form.insert(field);
115
+ }
116
+
117
+ if (csrf_param) {
118
+ var param = csrf_param.readAttribute('content'),
119
+ token = csrf_token.readAttribute('content'),
120
+ field = new Element('input', { type: 'hidden', name: param, value: token });
121
+ form.insert(field);
122
+ }
123
+
124
+ form.submit();
125
+ }
126
+
127
+
128
+ document.on("click", "*[data-confirm]", function(event, element) {
129
+ var message = element.readAttribute('data-confirm');
130
+ if (!confirm(message)) event.stop();
131
+ });
132
+
133
+ document.on("click", "a[data-remote]", function(event, element) {
134
+ if (event.stopped) return;
135
+ handleRemote(element);
136
+ event.stop();
137
+ });
138
+
139
+ document.on("click", "a[data-method]", function(event, element) {
140
+ if (event.stopped) return;
141
+ handleMethod(element);
142
+ event.stop();
143
+ });
144
+
145
+ document.on("submit", function(event) {
146
+ var element = event.findElement(),
147
+ message = element.readAttribute('data-confirm');
148
+ if (message && !confirm(message)) {
149
+ event.stop();
150
+ return false;
151
+ }
152
+
153
+ var inputs = element.select("input[type=submit][data-disable-with]");
154
+ inputs.each(function(input) {
155
+ input.disabled = true;
156
+ input.writeAttribute('data-original-value', input.value);
157
+ input.value = input.readAttribute('data-disable-with');
158
+ });
159
+
160
+ var element = event.findElement("form[data-remote]");
161
+ if (element) {
162
+ handleRemote(element);
163
+ event.stop();
164
+ }
165
+ });
166
+
167
+ document.on("ajax:after", "form", function(event, element) {
168
+ var inputs = element.select("input[type=submit][disabled=true][data-disable-with]");
169
+ inputs.each(function(input) {
170
+ input.value = input.readAttribute('data-original-value');
171
+ input.removeAttribute('data-original-value');
172
+ input.disabled = false;
173
+ });
174
+ });
175
+
176
+ Ajax.Responders.register({
177
+ onCreate: function(request) {
178
+ var csrf_meta_tag = $$('meta[name=csrf-token]')[0];
179
+
180
+ if (csrf_meta_tag) {
181
+ var header = 'X-CSRF-Token',
182
+ token = csrf_meta_tag.readAttribute('content');
183
+
184
+ if (!request.options.requestHeaders) {
185
+ request.options.requestHeaders = {};
186
+ }
187
+ request.options.requestHeaders[header] = token;
188
+ }
189
+ }
190
+ });
191
+ })();
@@ -0,0 +1,5 @@
1
+ # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
2
+ #
3
+ # To ban all spiders from the entire site uncomment the next two lines:
4
+ # User-Agent: *
5
+ # Disallow: /
File without changes
@@ -0,0 +1,62 @@
1
+ require "test_helper"
2
+
3
+ class PostgresHelperTest < ActiveSupport::TestCase
4
+ include Roomer::Helpers::PostgresHelper
5
+
6
+ setup do
7
+ @connection = ActiveRecord::Base.connection
8
+ end
9
+
10
+ test 'create schema' do
11
+ assert_nothing_raised { create_schema("test_schema") }
12
+ assert schemas.include? "test_schema"
13
+ end
14
+
15
+ test 'drop schema' do
16
+ assert_nothing_raised { create_schema("old_test_schema") }
17
+ assert schemas.include? "old_test_schema"
18
+ assert_nothing_raised { drop_schema("old_test_schema") }
19
+ assert (! schemas.include?("old_test_schema"))
20
+ end
21
+
22
+ test 'ensure prefix' do
23
+ ActiveRecord::Base.table_name_prefix = "old_prefix_"
24
+ ensure_prefix(:global) do
25
+ assert_equal ActiveRecord::Base.table_name_prefix, "global."
26
+ end
27
+ assert_equal ActiveRecord::Base.table_name_prefix, "old_prefix_"
28
+ end
29
+
30
+ test'ensure schema migrations' do
31
+ create_schema("test_schema")
32
+ ensure_prefix(:test_schema) do
33
+ ensure_schema_migrations
34
+ assert @connection.table_exists?(ActiveRecord::Migrator.schema_migrations_table_name)
35
+ end
36
+ end
37
+
38
+ test 'ensure schema' do
39
+ assert_raises(ArgumentError) do
40
+ ensuring_schema {}
41
+ end
42
+
43
+ assert_nothing_raised do
44
+ assert (! schemas.include?("new_tenant"))
45
+ ensuring_schema(:new_tenant) do
46
+ assert schemas.include? "new_tenant"
47
+ assert_equal ActiveRecord::Base.table_name_prefix, "new_tenant."
48
+ end
49
+ end
50
+ end
51
+
52
+ test 'ensure schema with capital letters in the name' do
53
+ assert_nothing_raised do
54
+ create_schema("Testschema")
55
+ ensuring_schema("Testschema") do
56
+ assert schemas.include? "Testschema"
57
+ assert_equal ActiveRecord::Base.table_name_prefix, "Testschema."
58
+ end
59
+ end
60
+ end
61
+
62
+ end
@@ -0,0 +1,37 @@
1
+ require "test_helper"
2
+
3
+ class RoomerTest < ActiveSupport::TestCase
4
+
5
+ test 'setup block yeilds self' do
6
+ Roomer.setup do |config|
7
+ assert_equal Roomer, config
8
+ end
9
+ end
10
+
11
+ test 'return migrations directory' do
12
+ assert_equal Roomer.tenanted_migrations_directory, "db/migrate"
13
+ Roomer.use_tenanted_migrations_directory = true
14
+ assert_equal Roomer.tenanted_migrations_directory, "db/migrate/tenants"
15
+ end
16
+
17
+
18
+ test 'set the current tenant' do
19
+ tenant1 = mock()
20
+ tenant2 = mock()
21
+
22
+ assert_not_equal(tenant1,tenant2)
23
+
24
+ thread1 = Thread.new do
25
+ Roomer.current_tenant = tenant1
26
+ sleep 1
27
+ assert_equal(Roomer.current_tenant,tenant1)
28
+ end
29
+
30
+ thread2 = Thread.new do
31
+ Roomer.current_tenant = tenant2
32
+ assert_equal(Roomer.current_tenant,tenant2)
33
+ end
34
+
35
+ thread2.join
36
+ end
37
+ end
@@ -0,0 +1,23 @@
1
+
2
+ # FIXME Remove Postgres Server Hard dependency
3
+
4
+ ENV["RAILS_ENV"] = "test"
5
+
6
+ require "roomer"
7
+ require "rails_app/config/environment"
8
+ require "rails/test_help"
9
+
10
+ require 'mocha'
11
+ #require 'webrat'
12
+ #Webrat.configure do |config|
13
+ # config.mode = :rails
14
+ # config.open_error_files = false
15
+ #end
16
+
17
+ # Add support to load paths so we can overwrite broken webrat setup
18
+ #$:.unshift File.expand_path('../support', __FILE__)
19
+ #Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
20
+
21
+ # For generators
22
+ require "rails/generators/test_case"
23
+
metadata ADDED
@@ -0,0 +1,228 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: roomer
3
+ version: !ruby/object:Gem::Version
4
+ hash: 15
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 8
10
+ version: 0.0.8
11
+ platform: ruby
12
+ authors:
13
+ - Greg Osuri
14
+ - Daniel Ceballos
15
+ autorequire:
16
+ bindir: bin
17
+ cert_chain: []
18
+
19
+ date: 2011-09-17 00:00:00 Z
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: rails
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ hash: 21
30
+ segments:
31
+ - 3
32
+ - 0
33
+ - 9
34
+ version: 3.0.9
35
+ type: :runtime
36
+ version_requirements: *id001
37
+ description: roomer 0.0.8
38
+ email:
39
+ - gosuri@gmail.com
40
+ - dceballos@gmail.com
41
+ executables: []
42
+
43
+ extensions: []
44
+
45
+ extra_rdoc_files: []
46
+
47
+ files:
48
+ - .autotest
49
+ - .gitignore
50
+ - .rvmrc
51
+ - .travis.yml
52
+ - Gemfile
53
+ - MIT-LICENSE
54
+ - README.md
55
+ - Rakefile
56
+ - TODO.md
57
+ - doc/ActiveRecord/Base.html
58
+ - doc/ApplicationController.html
59
+ - doc/Roomer.html
60
+ - doc/Roomer/Engine.html
61
+ - doc/Roomer/Generators.html
62
+ - doc/Roomer/Generators/InstallGenerator.html
63
+ - doc/Roomer/Generators/SetupGenerator.html
64
+ - doc/Roomer/Tools.html
65
+ - doc/Roomer/VERSION.html
66
+ - doc/RoomerCreate.html
67
+ - doc/_index.html
68
+ - doc/class_list.html
69
+ - doc/css/common.css
70
+ - doc/css/full_list.css
71
+ - doc/css/style.css
72
+ - doc/file.README.html
73
+ - doc/file_list.html
74
+ - doc/frames.html
75
+ - doc/index.html
76
+ - doc/js/app.js
77
+ - doc/js/full_list.js
78
+ - doc/js/jquery.js
79
+ - doc/method_list.html
80
+ - doc/top-level-namespace.html
81
+ - lib/generators/roomer/install/install_generator.rb
82
+ - lib/generators/roomer/install/templates/README
83
+ - lib/generators/roomer/install/templates/roomer.rb
84
+ - lib/generators/roomer/migration/migration_generator.rb
85
+ - lib/generators/roomer/migration/templates/migration.rb
86
+ - lib/generators/roomer/model/model_generator.rb
87
+ - lib/generators/roomer/model/templates/migration.rb
88
+ - lib/generators/roomer/setup/setup_generator.rb
89
+ - lib/generators/roomer/setup/templates/global_migration.rb
90
+ - lib/roomer.rb
91
+ - lib/roomer/extensions/controller.rb
92
+ - lib/roomer/extensions/model.rb
93
+ - lib/roomer/helpers/generator_helper.rb
94
+ - lib/roomer/helpers/migration_helper.rb
95
+ - lib/roomer/helpers/postgres_helper.rb
96
+ - lib/roomer/rails.rb
97
+ - lib/roomer/schema.rb
98
+ - lib/roomer/schema_dumper.rb
99
+ - lib/roomer/tasks/migrate.rake
100
+ - lib/roomer/utils.rb
101
+ - lib/roomer/version.rb
102
+ - roomer.gemspec
103
+ - test/config.rb
104
+ - test/config.yml
105
+ - test/generators/install_generator_test.rb
106
+ - test/generators/migration_generator_test.rb
107
+ - test/generators/model_generator_test.rb
108
+ - test/generators/setup_generator_test.rb
109
+ - test/rails_app/app/controllers/application_controller.rb
110
+ - test/rails_app/app/helpers/application_helper.rb
111
+ - test/rails_app/app/models/tenant.rb
112
+ - test/rails_app/app/views/layouts/application.html.erb
113
+ - test/rails_app/config.ru
114
+ - test/rails_app/config/application.rb
115
+ - test/rails_app/config/boot.rb
116
+ - test/rails_app/config/database.yml
117
+ - test/rails_app/config/environment.rb
118
+ - test/rails_app/config/environments/development.rb
119
+ - test/rails_app/config/environments/production.rb
120
+ - test/rails_app/config/environments/test.rb
121
+ - test/rails_app/config/initializers/backtrace_silencers.rb
122
+ - test/rails_app/config/initializers/inflections.rb
123
+ - test/rails_app/config/initializers/mime_types.rb
124
+ - test/rails_app/config/initializers/roomer.rb
125
+ - test/rails_app/config/initializers/secret_token.rb
126
+ - test/rails_app/config/initializers/session_store.rb
127
+ - test/rails_app/config/locales/en.yml
128
+ - test/rails_app/config/routes.rb
129
+ - test/rails_app/db/migrate/global/20110825231409_roomer_create_tenants.rb
130
+ - test/rails_app/db/seeds.rb
131
+ - test/rails_app/lib/tasks/.gitkeep
132
+ - test/rails_app/public/404.html
133
+ - test/rails_app/public/422.html
134
+ - test/rails_app/public/500.html
135
+ - test/rails_app/public/favicon.ico
136
+ - test/rails_app/public/images/rails.png
137
+ - test/rails_app/public/index.html
138
+ - test/rails_app/public/javascripts/application.js
139
+ - test/rails_app/public/javascripts/controls.js
140
+ - test/rails_app/public/javascripts/dragdrop.js
141
+ - test/rails_app/public/javascripts/effects.js
142
+ - test/rails_app/public/javascripts/prototype.js
143
+ - test/rails_app/public/javascripts/rails.js
144
+ - test/rails_app/public/robots.txt
145
+ - test/rails_app/public/stylesheets/.gitkeep
146
+ - test/roomer/helpers/postgres_helper_test.rb
147
+ - test/roomer/roomer_test.rb
148
+ - test/test_helper.rb
149
+ homepage: https://github.com/gosuri/roomer
150
+ licenses: []
151
+
152
+ post_install_message:
153
+ rdoc_options: []
154
+
155
+ require_paths:
156
+ - lib
157
+ required_ruby_version: !ruby/object:Gem::Requirement
158
+ none: false
159
+ requirements:
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ hash: 3
163
+ segments:
164
+ - 0
165
+ version: "0"
166
+ required_rubygems_version: !ruby/object:Gem::Requirement
167
+ none: false
168
+ requirements:
169
+ - - ">="
170
+ - !ruby/object:Gem::Version
171
+ hash: 3
172
+ segments:
173
+ - 0
174
+ version: "0"
175
+ requirements: []
176
+
177
+ rubyforge_project:
178
+ rubygems_version: 1.8.9
179
+ signing_key:
180
+ specification_version: 3
181
+ summary: Roomer is a multitenant framework for Rails using PostgreSQL
182
+ test_files:
183
+ - test/config.rb
184
+ - test/config.yml
185
+ - test/generators/install_generator_test.rb
186
+ - test/generators/migration_generator_test.rb
187
+ - test/generators/model_generator_test.rb
188
+ - test/generators/setup_generator_test.rb
189
+ - test/rails_app/app/controllers/application_controller.rb
190
+ - test/rails_app/app/helpers/application_helper.rb
191
+ - test/rails_app/app/models/tenant.rb
192
+ - test/rails_app/app/views/layouts/application.html.erb
193
+ - test/rails_app/config.ru
194
+ - test/rails_app/config/application.rb
195
+ - test/rails_app/config/boot.rb
196
+ - test/rails_app/config/database.yml
197
+ - test/rails_app/config/environment.rb
198
+ - test/rails_app/config/environments/development.rb
199
+ - test/rails_app/config/environments/production.rb
200
+ - test/rails_app/config/environments/test.rb
201
+ - test/rails_app/config/initializers/backtrace_silencers.rb
202
+ - test/rails_app/config/initializers/inflections.rb
203
+ - test/rails_app/config/initializers/mime_types.rb
204
+ - test/rails_app/config/initializers/roomer.rb
205
+ - test/rails_app/config/initializers/secret_token.rb
206
+ - test/rails_app/config/initializers/session_store.rb
207
+ - test/rails_app/config/locales/en.yml
208
+ - test/rails_app/config/routes.rb
209
+ - test/rails_app/db/migrate/global/20110825231409_roomer_create_tenants.rb
210
+ - test/rails_app/db/seeds.rb
211
+ - test/rails_app/lib/tasks/.gitkeep
212
+ - test/rails_app/public/404.html
213
+ - test/rails_app/public/422.html
214
+ - test/rails_app/public/500.html
215
+ - test/rails_app/public/favicon.ico
216
+ - test/rails_app/public/images/rails.png
217
+ - test/rails_app/public/index.html
218
+ - test/rails_app/public/javascripts/application.js
219
+ - test/rails_app/public/javascripts/controls.js
220
+ - test/rails_app/public/javascripts/dragdrop.js
221
+ - test/rails_app/public/javascripts/effects.js
222
+ - test/rails_app/public/javascripts/prototype.js
223
+ - test/rails_app/public/javascripts/rails.js
224
+ - test/rails_app/public/robots.txt
225
+ - test/rails_app/public/stylesheets/.gitkeep
226
+ - test/roomer/helpers/postgres_helper_test.rb
227
+ - test/roomer/roomer_test.rb
228
+ - test/test_helper.rb