look_up_table 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. data/README.rdoc +1 -1
  2. data/lib/look_up_table.rb +5 -10
  3. data/lib/look_up_table/base.rb +1 -0
  4. data/lib/look_up_table/cache.rb +1 -0
  5. data/lib/look_up_table/method_missing.rb +1 -0
  6. data/lib/look_up_table/no_cache.rb +1 -0
  7. data/lib/look_up_table/support.rb +1 -0
  8. data/lib/look_up_table/version.rb +2 -1
  9. data/test/dummy/app/controllers/application_controller.rb +1 -0
  10. data/test/dummy/app/helpers/application_helper.rb +1 -0
  11. data/test/dummy/app/models/bar.rb +1 -0
  12. data/test/dummy/app/models/foo.rb +1 -0
  13. data/test/dummy/app/models/foobar.rb +1 -0
  14. data/test/dummy/config/application.rb +1 -0
  15. data/test/dummy/config/boot.rb +2 -1
  16. data/test/dummy/config/environment.rb +1 -0
  17. data/test/dummy/config/environments/development.rb +1 -0
  18. data/test/dummy/config/environments/production.rb +1 -0
  19. data/test/dummy/config/environments/test.rb +1 -0
  20. data/test/dummy/config/initializers/backtrace_silencers.rb +1 -0
  21. data/test/dummy/config/initializers/inflections.rb +1 -0
  22. data/test/dummy/config/initializers/mime_types.rb +1 -0
  23. data/test/dummy/config/initializers/secret_token.rb +1 -0
  24. data/test/dummy/config/initializers/session_store.rb +1 -0
  25. data/test/dummy/config/initializers/wrap_parameters.rb +1 -0
  26. data/test/dummy/config/routes.rb +1 -0
  27. data/test/dummy/db/migrate/20111024130333_create_foobars.rb +1 -0
  28. data/test/dummy/db/migrate/20111024130334_create_foos.rb +1 -0
  29. data/test/dummy/db/migrate/20111024130335_create_bars.rb +1 -0
  30. data/test/dummy/db/schema.rb +1 -1
  31. data/test/dummy/test/unit/foobar_test.rb +1 -0
  32. data/test/look_up_table_test.rb +1 -0
  33. data/test/test_helper.rb +1 -0
  34. metadata +94 -254
  35. data/test/dummy/db/development.sqlite3 +0 -0
  36. data/test/dummy/db/test.sqlite3 +0 -0
  37. data/test/dummy/log/development.log +0 -25
  38. data/test/dummy/log/test.log +0 -70
  39. data/test/dummy/tmp/cache/203/1B0/bar%2F0 +0 -0
  40. data/test/dummy/tmp/cache/212/7C0/foo%2F0 +0 -0
  41. data/test/dummy/tmp/cache/213/7D0/foo%2F1 +0 -0
  42. data/test/dummy/tmp/cache/3F4/570/Foobarid%2F0 +0 -0
  43. data/test/dummy/tmp/cache/3F5/580/Foobarid%2F1 +0 -0
  44. data/test/dummy/tmp/cache/45C/750/Foobarbar%2F0 +0 -0
  45. data/test/dummy/tmp/cache/45D/760/Foobarbar%2F1 +0 -0
  46. data/test/dummy/tmp/cache/45E/770/Foobarbar%2F2 +0 -0
  47. data/test/dummy/tmp/cache/45F/780/Foobarbar%2F3 +0 -0
  48. data/test/dummy/tmp/cache/460/790/Foobarbar%2F4 +0 -0
  49. data/test/dummy/tmp/cache/461/7A0/Foobarbar%2F5 +0 -0
  50. data/test/dummy/tmp/cache/462/7B0/Foobarbar%2F6 +0 -0
  51. data/test/dummy/tmp/cache/463/7C0/Foobarbar%2F7 +0 -0
  52. data/test/dummy/tmp/cache/464/7D0/Foobarbar%2F8 +0 -0
  53. data/test/dummy/tmp/cache/465/7E0/Foobarbar%2F9 +0 -0
  54. data/test/dummy/tmp/cache/46B/D60/Foobarfoo%2F0 +0 -0
  55. data/test/dummy/tmp/cache/46C/D70/Foobarfoo%2F1 +0 -0
  56. data/test/dummy/tmp/cache/46D/D80/Foobarfoo%2F2 +0 -0
  57. data/test/dummy/tmp/cache/46E/D90/Foobarfoo%2F3 +0 -0
  58. data/test/dummy/tmp/cache/46F/DA0/Foobarfoo%2F4 +0 -0
  59. data/test/dummy/tmp/cache/470/DB0/Foobarfoo%2F5 +0 -0
  60. data/test/dummy/tmp/cache/471/DC0/Foobarfoo%2F6 +0 -0
  61. data/test/dummy/tmp/cache/472/DD0/Foobarfoo%2F7 +0 -0
  62. data/test/dummy/tmp/cache/473/DE0/Foobarfoo%2F8 +0 -0
  63. data/test/dummy/tmp/cache/474/DF0/Foobarfoo%2F9 +0 -0
  64. data/test/dummy/tmp/cache/48D/030/Foobarbar%2F10 +0 -0
  65. data/test/dummy/tmp/cache/48E/040/Foobarbar%2F11 +0 -0
  66. data/test/dummy/tmp/cache/48E/050/Foobarbar%2F20 +0 -0
  67. data/test/dummy/tmp/cache/48F/050/Foobarbar%2F12 +0 -0
  68. data/test/dummy/tmp/cache/48F/060/Foobarbar%2F21 +0 -0
  69. data/test/dummy/tmp/cache/48F/070/Foobarbar%2F30 +0 -0
  70. data/test/dummy/tmp/cache/490/060/Foobarbar%2F13 +0 -0
  71. data/test/dummy/tmp/cache/490/070/Foobarbar%2F22 +0 -0
  72. data/test/dummy/tmp/cache/490/080/Foobarbar%2F31 +0 -0
  73. data/test/dummy/tmp/cache/490/090/Foobarbar%2F40 +0 -0
  74. data/test/dummy/tmp/cache/491/070/Foobarbar%2F14 +0 -0
  75. data/test/dummy/tmp/cache/491/080/Foobarbar%2F23 +0 -0
  76. data/test/dummy/tmp/cache/491/090/Foobarbar%2F32 +0 -0
  77. data/test/dummy/tmp/cache/491/0A0/Foobarbar%2F41 +0 -0
  78. data/test/dummy/tmp/cache/492/080/Foobarbar%2F15 +0 -0
  79. data/test/dummy/tmp/cache/492/090/Foobarbar%2F24 +0 -0
  80. data/test/dummy/tmp/cache/492/0A0/Foobarbar%2F33 +0 -0
  81. data/test/dummy/tmp/cache/493/090/Foobarbar%2F16 +0 -0
  82. data/test/dummy/tmp/cache/493/0A0/Foobarbar%2F25 +0 -0
  83. data/test/dummy/tmp/cache/493/0B0/Foobarbar%2F34 +0 -0
  84. data/test/dummy/tmp/cache/494/0A0/Foobarbar%2F17 +0 -0
  85. data/test/dummy/tmp/cache/494/0B0/Foobarbar%2F26 +0 -0
  86. data/test/dummy/tmp/cache/494/0C0/Foobarbar%2F35 +0 -0
  87. data/test/dummy/tmp/cache/495/0B0/Foobarbar%2F18 +0 -0
  88. data/test/dummy/tmp/cache/495/0C0/Foobarbar%2F27 +0 -0
  89. data/test/dummy/tmp/cache/495/0D0/Foobarbar%2F36 +0 -0
  90. data/test/dummy/tmp/cache/496/0C0/Foobarbar%2F19 +0 -0
  91. data/test/dummy/tmp/cache/496/0D0/Foobarbar%2F28 +0 -0
  92. data/test/dummy/tmp/cache/496/0E0/Foobarbar%2F37 +0 -0
  93. data/test/dummy/tmp/cache/497/0E0/Foobarbar%2F29 +0 -0
  94. data/test/dummy/tmp/cache/497/0F0/Foobarbar%2F38 +0 -0
  95. data/test/dummy/tmp/cache/498/100/Foobarbar%2F39 +0 -0
  96. data/test/dummy/tmp/cache/49C/730/Foobarfoo%2F10 +0 -0
  97. data/test/dummy/tmp/cache/49D/740/Foobarfoo%2F11 +0 -0
  98. data/test/dummy/tmp/cache/49D/750/Foobarfoo%2F20 +0 -0
  99. data/test/dummy/tmp/cache/49E/750/Foobarfoo%2F12 +0 -0
  100. data/test/dummy/tmp/cache/49E/760/Foobarfoo%2F21 +0 -0
  101. data/test/dummy/tmp/cache/49E/770/Foobarfoo%2F30 +0 -0
  102. data/test/dummy/tmp/cache/49F/760/Foobarfoo%2F13 +0 -0
  103. data/test/dummy/tmp/cache/49F/770/Foobarfoo%2F22 +0 -0
  104. data/test/dummy/tmp/cache/49F/780/Foobarfoo%2F31 +0 -0
  105. data/test/dummy/tmp/cache/49F/790/Foobarfoo%2F40 +0 -0
  106. data/test/dummy/tmp/cache/4A0/770/Foobarfoo%2F14 +0 -0
  107. data/test/dummy/tmp/cache/4A0/780/Foobarfoo%2F23 +0 -0
  108. data/test/dummy/tmp/cache/4A0/790/Foobarfoo%2F32 +0 -0
  109. data/test/dummy/tmp/cache/4A0/7A0/Foobarfoo%2F41 +0 -0
  110. data/test/dummy/tmp/cache/4A1/780/Foobarfoo%2F15 +0 -0
  111. data/test/dummy/tmp/cache/4A1/790/Foobarfoo%2F24 +0 -0
  112. data/test/dummy/tmp/cache/4A1/7A0/Foobarfoo%2F33 +0 -0
  113. data/test/dummy/tmp/cache/4A2/790/Foobarfoo%2F16 +0 -0
  114. data/test/dummy/tmp/cache/4A2/7A0/Foobarfoo%2F25 +0 -0
  115. data/test/dummy/tmp/cache/4A2/7B0/Foobarfoo%2F34 +0 -0
  116. data/test/dummy/tmp/cache/4A3/7A0/Foobarfoo%2F17 +0 -0
  117. data/test/dummy/tmp/cache/4A3/7B0/Foobarfoo%2F26 +0 -0
  118. data/test/dummy/tmp/cache/4A3/7C0/Foobarfoo%2F35 +0 -0
  119. data/test/dummy/tmp/cache/4A4/7B0/Foobarfoo%2F18 +0 -0
  120. data/test/dummy/tmp/cache/4A4/7C0/Foobarfoo%2F27 +0 -0
  121. data/test/dummy/tmp/cache/4A4/7D0/Foobarfoo%2F36 +0 -0
  122. data/test/dummy/tmp/cache/4A5/7C0/Foobarfoo%2F19 +0 -0
  123. data/test/dummy/tmp/cache/4A5/7D0/Foobarfoo%2F28 +0 -0
  124. data/test/dummy/tmp/cache/4A5/7E0/Foobarfoo%2F37 +0 -0
  125. data/test/dummy/tmp/cache/4A6/7E0/Foobarfoo%2F29 +0 -0
  126. data/test/dummy/tmp/cache/4A6/7F0/Foobarfoo%2F38 +0 -0
  127. data/test/dummy/tmp/cache/4A7/800/Foobarfoo%2F39 +0 -0
data/README.rdoc CHANGED
@@ -1,5 +1,5 @@
1
1
  = LookUpTable
2
- *STILL IN DEVELOPMENT!*::
2
+ STILL IN DEVELOPMENT!
3
3
 
4
4
  == Requirements:
5
5
  * Rails 3.x
data/lib/look_up_table.rb CHANGED
@@ -1,14 +1,9 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  # TODO:
2
- # * move Methods to different modules
3
- # * add private/protected
4
- # * add class_names to CacheKey per default
5
- # * if key allready used, transform values to array
6
- # * somehow handle "cache-overflow"
7
3
  # * use symbols freely
8
-
9
- # FIXME:
10
- # * Avoid @class_variables, issues if "subclassed"
11
-
4
+ # * add some locking on CacheWriting
5
+ # * may find a solution for non-static data
6
+ # * add method_added listener
12
7
 
13
8
  require 'look_up_table'
14
9
 
@@ -16,7 +11,7 @@ module LookUpTable
16
11
  extend ActiveSupport::Autoload
17
12
  extend ActiveSupport::Concern
18
13
 
19
- require 'look_up_table/base'
14
+ require 'look_up_table/base' # HACK
20
15
  #autoload :Base # CHECK
21
16
  end
22
17
 
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require 'look_up_table'
2
3
  require 'look_up_table/base'
3
4
  require 'look_up_table/cache'
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module LookUpTable
2
3
  module ClassMethods
3
4
  protected
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module LookUpTable
2
3
  module ClassMethods
3
4
  # Delegating <attribute>_lut(args) method calls
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module LookUpTable
2
3
  module ClassMethods
3
4
  protected
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
 
2
3
  module LookUpTable
3
4
  module ClassMethods
@@ -1,4 +1,5 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module LookUpTable
2
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
3
4
  end
4
5
 
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  class ApplicationController < ActionController::Base
2
3
  protect_from_forgery
3
4
  end
@@ -1,2 +1,3 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module ApplicationHelper
2
3
  end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  class Bar < Foobar
2
3
  #look_up_table :bar
3
4
  end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  class Foo < Foobar
2
3
  #look_up_table :foo
3
4
  end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  class Foobar < ActiveRecord::Base
2
3
 
3
4
  look_up_table :id
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path('../boot', __FILE__)
2
3
 
3
4
  require 'rails/all'
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require 'rubygems'
2
3
  gemfile = File.expand_path('../../../../Gemfile', __FILE__)
3
4
 
@@ -7,4 +8,4 @@ if File.exist?(gemfile)
7
8
  Bundler.setup
8
9
  end
9
10
 
10
- $:.unshift File.expand_path('../../../../lib', __FILE__)
11
+ $:.unshift File.expand_path('../../../../lib', __FILE__)
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  # Load the rails application
2
3
  require File.expand_path('../application', __FILE__)
3
4
 
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  Dummy::Application.configure do
2
3
  # Settings specified here will take precedence over those in config/application.rb
3
4
 
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  Dummy::Application.configure do
2
3
  # Settings specified here will take precedence over those in config/application.rb
3
4
 
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  Dummy::Application.configure do
2
3
  # Settings specified here will take precedence over those in config/application.rb
3
4
 
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  # Be sure to restart your server when you modify this file.
2
3
 
3
4
  # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  # Be sure to restart your server when you modify this file.
2
3
 
3
4
  # Add new inflection rules using the following format
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  # Be sure to restart your server when you modify this file.
2
3
 
3
4
  # Add new mime types for use in respond_to blocks:
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  # Be sure to restart your server when you modify this file.
2
3
 
3
4
  # Your secret key for verifying the integrity of signed cookies.
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  # Be sure to restart your server when you modify this file.
2
3
 
3
4
  Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  # Be sure to restart your server when you modify this file.
2
3
  #
3
4
  # This file contains settings for ActionController::ParamsWrapper which
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  Dummy::Application.routes.draw do
2
3
  # The priority is based upon order of creation:
3
4
  # first created -> highest priority.
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  class CreateFoobars < ActiveRecord::Migration
2
3
  def change
3
4
  create_table :foobars do |t|
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  class CreateFoos < ActiveRecord::Migration
2
3
  def change
3
4
  create_table :foos do |t|
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  class CreateBars < ActiveRecord::Migration
2
3
  def change
3
4
  create_table :bars do |t|
@@ -1,4 +1,4 @@
1
- # encoding: UTF-8
1
+ # -*- encoding : utf-8 -*-
2
2
  # This file is auto-generated from the current state of the database. Instead
3
3
  # of editing this file, please use the migrations feature of Active Record to
4
4
  # incrementally modify your database, and then regenerate this schema definition.
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require 'test_helper'
2
3
 
3
4
  class FoobarTest < ActiveSupport::TestCase
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require 'test_helper'
2
3
 
3
4
  class LookUpTableTest < ActiveSupport::TestCase
data/test/test_helper.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  # Configure Rails Environment
2
3
  ENV["RAILS_ENV"] = "test"
3
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: look_up_table
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,22 +9,27 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-08 00:00:00.000000000Z
12
+ date: 2013-01-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &72080760 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ~>
19
+ - - ! '>'
20
20
  - !ruby/object:Gem::Version
21
- version: 3.1.1
21
+ version: '3.1'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *72080760
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>'
28
+ - !ruby/object:Gem::Version
29
+ version: '3.1'
25
30
  - !ruby/object:Gem::Dependency
26
- name: sqlite3
27
- requirement: &72080410 !ruby/object:Gem::Requirement
31
+ name: pg
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,7 +37,28 @@ dependencies:
32
37
  version: '0'
33
38
  type: :development
34
39
  prerelease: false
35
- version_requirements: *72080410
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: memcache-client
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
36
62
  description: A simple LookUpTable to cache large (!) and static(!) data
37
63
  email:
38
64
  - ph@werbeboten.de
@@ -42,147 +68,54 @@ extensions: []
42
68
  extra_rdoc_files: []
43
69
  files:
44
70
  - lib/look_up_table.rb
45
- - lib/look_up_table/version.rb
71
+ - lib/tasks/look_up_table_tasks.rake
46
72
  - lib/look_up_table/support.rb
47
- - lib/look_up_table/base.rb
73
+ - lib/look_up_table/version.rb
74
+ - lib/look_up_table/method_missing.rb
48
75
  - lib/look_up_table/no_cache.rb
49
76
  - lib/look_up_table/cache.rb
50
- - lib/look_up_table/method_missing.rb
51
- - lib/tasks/look_up_table_tasks.rake
77
+ - lib/look_up_table/base.rb
52
78
  - MIT-LICENSE
53
79
  - Rakefile
54
80
  - README.rdoc
55
- - test/test_helper.rb
56
81
  - test/look_up_table_test.rb
57
- - test/dummy/db/migrate/20111024130335_create_bars.rb
58
- - test/dummy/db/migrate/20111024130333_create_foobars.rb
59
- - test/dummy/db/migrate/20111024130334_create_foos.rb
60
- - test/dummy/db/schema.rb
61
- - test/dummy/db/development.sqlite3
62
- - test/dummy/db/test.sqlite3
63
- - test/dummy/config.ru
64
- - test/dummy/test/fixtures/foobars.yml
65
- - test/dummy/test/unit/foobar_test.rb
66
- - test/dummy/Rakefile
67
- - test/dummy/log/development.log
68
- - test/dummy/log/test.log
69
- - test/dummy/app/views/layouts/application.html.erb
82
+ - test/dummy/app/models/foo.rb
70
83
  - test/dummy/app/models/foobar.rb
71
84
  - test/dummy/app/models/bar.rb
72
- - test/dummy/app/models/foo.rb
73
- - test/dummy/app/assets/javascripts/application.js
74
- - test/dummy/app/assets/stylesheets/application.css
75
- - test/dummy/app/helpers/application_helper.rb
76
85
  - test/dummy/app/controllers/application_controller.rb
77
- - test/dummy/config/database.yml
78
- - test/dummy/config/boot.rb
86
+ - test/dummy/app/views/layouts/application.html.erb
87
+ - test/dummy/app/helpers/application_helper.rb
88
+ - test/dummy/app/assets/stylesheets/application.css
89
+ - test/dummy/app/assets/javascripts/application.js
90
+ - test/dummy/test/unit/foobar_test.rb
91
+ - test/dummy/test/fixtures/foobars.yml
92
+ - test/dummy/public/favicon.ico
93
+ - test/dummy/public/422.html
94
+ - test/dummy/public/404.html
95
+ - test/dummy/public/500.html
79
96
  - test/dummy/config/locales/en.yml
80
- - test/dummy/config/routes.rb
81
- - test/dummy/config/environments/production.rb
82
- - test/dummy/config/environments/test.rb
83
- - test/dummy/config/environments/development.rb
97
+ - test/dummy/config/boot.rb
84
98
  - test/dummy/config/initializers/inflections.rb
85
- - test/dummy/config/initializers/session_store.rb
86
99
  - test/dummy/config/initializers/secret_token.rb
87
100
  - test/dummy/config/initializers/wrap_parameters.rb
88
101
  - test/dummy/config/initializers/mime_types.rb
89
102
  - test/dummy/config/initializers/backtrace_silencers.rb
90
- - test/dummy/config/environment.rb
103
+ - test/dummy/config/initializers/session_store.rb
104
+ - test/dummy/config/routes.rb
105
+ - test/dummy/config/environments/test.rb
106
+ - test/dummy/config/environments/development.rb
107
+ - test/dummy/config/environments/production.rb
108
+ - test/dummy/config/database.yml
91
109
  - test/dummy/config/application.rb
92
- - test/dummy/public/404.html
93
- - test/dummy/public/422.html
94
- - test/dummy/public/favicon.ico
95
- - test/dummy/public/500.html
96
- - test/dummy/tmp/cache/493/0A0/Foobarbar%2F25
97
- - test/dummy/tmp/cache/493/090/Foobarbar%2F16
98
- - test/dummy/tmp/cache/493/0B0/Foobarbar%2F34
99
- - test/dummy/tmp/cache/45D/760/Foobarbar%2F1
100
- - test/dummy/tmp/cache/213/7D0/foo%2F1
101
- - test/dummy/tmp/cache/465/7E0/Foobarbar%2F9
102
- - test/dummy/tmp/cache/48F/070/Foobarbar%2F30
103
- - test/dummy/tmp/cache/48F/050/Foobarbar%2F12
104
- - test/dummy/tmp/cache/48F/060/Foobarbar%2F21
105
- - test/dummy/tmp/cache/46B/D60/Foobarfoo%2F0
106
- - test/dummy/tmp/cache/496/0E0/Foobarbar%2F37
107
- - test/dummy/tmp/cache/496/0D0/Foobarbar%2F28
108
- - test/dummy/tmp/cache/496/0C0/Foobarbar%2F19
109
- - test/dummy/tmp/cache/49D/740/Foobarfoo%2F11
110
- - test/dummy/tmp/cache/49D/750/Foobarfoo%2F20
111
- - test/dummy/tmp/cache/49F/780/Foobarfoo%2F31
112
- - test/dummy/tmp/cache/49F/770/Foobarfoo%2F22
113
- - test/dummy/tmp/cache/49F/760/Foobarfoo%2F13
114
- - test/dummy/tmp/cache/49F/790/Foobarfoo%2F40
115
- - test/dummy/tmp/cache/46F/DA0/Foobarfoo%2F4
116
- - test/dummy/tmp/cache/471/DC0/Foobarfoo%2F6
117
- - test/dummy/tmp/cache/461/7A0/Foobarbar%2F5
118
- - test/dummy/tmp/cache/495/0D0/Foobarbar%2F36
119
- - test/dummy/tmp/cache/495/0B0/Foobarbar%2F18
120
- - test/dummy/tmp/cache/495/0C0/Foobarbar%2F27
121
- - test/dummy/tmp/cache/4A5/7C0/Foobarfoo%2F19
122
- - test/dummy/tmp/cache/4A5/7E0/Foobarfoo%2F37
123
- - test/dummy/tmp/cache/4A5/7D0/Foobarfoo%2F28
124
- - test/dummy/tmp/cache/45F/780/Foobarbar%2F3
125
- - test/dummy/tmp/cache/498/100/Foobarbar%2F39
126
- - test/dummy/tmp/cache/203/1B0/bar%2F0
127
- - test/dummy/tmp/cache/49C/730/Foobarfoo%2F10
128
- - test/dummy/tmp/cache/473/DE0/Foobarfoo%2F8
129
- - test/dummy/tmp/cache/48E/050/Foobarbar%2F20
130
- - test/dummy/tmp/cache/48E/040/Foobarbar%2F11
131
- - test/dummy/tmp/cache/212/7C0/foo%2F0
132
- - test/dummy/tmp/cache/3F5/580/Foobarid%2F1
133
- - test/dummy/tmp/cache/4A0/780/Foobarfoo%2F23
134
- - test/dummy/tmp/cache/4A0/770/Foobarfoo%2F14
135
- - test/dummy/tmp/cache/4A0/7A0/Foobarfoo%2F41
136
- - test/dummy/tmp/cache/4A0/790/Foobarfoo%2F32
137
- - test/dummy/tmp/cache/46C/D70/Foobarfoo%2F1
138
- - test/dummy/tmp/cache/492/0A0/Foobarbar%2F33
139
- - test/dummy/tmp/cache/492/090/Foobarbar%2F24
140
- - test/dummy/tmp/cache/492/080/Foobarbar%2F15
141
- - test/dummy/tmp/cache/4A7/800/Foobarfoo%2F39
142
- - test/dummy/tmp/cache/48D/030/Foobarbar%2F10
143
- - test/dummy/tmp/cache/3F4/570/Foobarid%2F0
144
- - test/dummy/tmp/cache/4A6/7F0/Foobarfoo%2F38
145
- - test/dummy/tmp/cache/4A6/7E0/Foobarfoo%2F29
146
- - test/dummy/tmp/cache/460/790/Foobarbar%2F4
147
- - test/dummy/tmp/cache/4A3/7C0/Foobarfoo%2F35
148
- - test/dummy/tmp/cache/4A3/7B0/Foobarfoo%2F26
149
- - test/dummy/tmp/cache/4A3/7A0/Foobarfoo%2F17
150
- - test/dummy/tmp/cache/45E/770/Foobarbar%2F2
151
- - test/dummy/tmp/cache/462/7B0/Foobarbar%2F6
152
- - test/dummy/tmp/cache/470/DB0/Foobarfoo%2F5
153
- - test/dummy/tmp/cache/46E/D90/Foobarfoo%2F3
154
- - test/dummy/tmp/cache/472/DD0/Foobarfoo%2F7
155
- - test/dummy/tmp/cache/46D/D80/Foobarfoo%2F2
156
- - test/dummy/tmp/cache/49E/770/Foobarfoo%2F30
157
- - test/dummy/tmp/cache/49E/760/Foobarfoo%2F21
158
- - test/dummy/tmp/cache/49E/750/Foobarfoo%2F12
159
- - test/dummy/tmp/cache/490/070/Foobarbar%2F22
160
- - test/dummy/tmp/cache/490/090/Foobarbar%2F40
161
- - test/dummy/tmp/cache/490/060/Foobarbar%2F13
162
- - test/dummy/tmp/cache/490/080/Foobarbar%2F31
163
- - test/dummy/tmp/cache/497/0E0/Foobarbar%2F29
164
- - test/dummy/tmp/cache/497/0F0/Foobarbar%2F38
165
- - test/dummy/tmp/cache/491/070/Foobarbar%2F14
166
- - test/dummy/tmp/cache/491/0A0/Foobarbar%2F41
167
- - test/dummy/tmp/cache/491/090/Foobarbar%2F32
168
- - test/dummy/tmp/cache/491/080/Foobarbar%2F23
169
- - test/dummy/tmp/cache/45C/750/Foobarbar%2F0
170
- - test/dummy/tmp/cache/4A4/7C0/Foobarfoo%2F27
171
- - test/dummy/tmp/cache/4A4/7B0/Foobarfoo%2F18
172
- - test/dummy/tmp/cache/4A4/7D0/Foobarfoo%2F36
173
- - test/dummy/tmp/cache/4A2/7B0/Foobarfoo%2F34
174
- - test/dummy/tmp/cache/4A2/7A0/Foobarfoo%2F25
175
- - test/dummy/tmp/cache/4A2/790/Foobarfoo%2F16
176
- - test/dummy/tmp/cache/494/0A0/Foobarbar%2F17
177
- - test/dummy/tmp/cache/494/0B0/Foobarbar%2F26
178
- - test/dummy/tmp/cache/494/0C0/Foobarbar%2F35
179
- - test/dummy/tmp/cache/4A1/780/Foobarfoo%2F15
180
- - test/dummy/tmp/cache/4A1/7A0/Foobarfoo%2F33
181
- - test/dummy/tmp/cache/4A1/790/Foobarfoo%2F24
182
- - test/dummy/tmp/cache/464/7D0/Foobarbar%2F8
183
- - test/dummy/tmp/cache/474/DF0/Foobarfoo%2F9
184
- - test/dummy/tmp/cache/463/7C0/Foobarbar%2F7
110
+ - test/dummy/config/environment.rb
111
+ - test/dummy/db/schema.rb
112
+ - test/dummy/db/migrate/20111024130335_create_bars.rb
113
+ - test/dummy/db/migrate/20111024130333_create_foobars.rb
114
+ - test/dummy/db/migrate/20111024130334_create_foos.rb
185
115
  - test/dummy/script/rails
116
+ - test/dummy/Rakefile
117
+ - test/dummy/config.ru
118
+ - test/test_helper.rb
186
119
  homepage: http://www.deckel-gesucht.de
187
120
  licenses: []
188
121
  post_install_message:
@@ -197,7 +130,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
197
130
  version: '0'
198
131
  segments:
199
132
  - 0
200
- hash: 965549137
133
+ hash: 2629821881933286204
201
134
  required_rubygems_version: !ruby/object:Gem::Requirement
202
135
  none: false
203
136
  requirements:
@@ -206,142 +139,49 @@ required_rubygems_version: !ruby/object:Gem::Requirement
206
139
  version: '0'
207
140
  segments:
208
141
  - 0
209
- hash: 965549137
142
+ hash: 2629821881933286204
210
143
  requirements: []
211
144
  rubyforge_project:
212
- rubygems_version: 1.8.10
145
+ rubygems_version: 1.8.24
213
146
  signing_key:
214
147
  specification_version: 3
215
148
  summary: A simple LookUpTable to cache large (!) and static(!) data
216
149
  test_files:
217
- - test/test_helper.rb
218
150
  - test/look_up_table_test.rb
219
- - test/dummy/db/migrate/20111024130335_create_bars.rb
220
- - test/dummy/db/migrate/20111024130333_create_foobars.rb
221
- - test/dummy/db/migrate/20111024130334_create_foos.rb
222
- - test/dummy/db/schema.rb
223
- - test/dummy/db/development.sqlite3
224
- - test/dummy/db/test.sqlite3
225
- - test/dummy/config.ru
226
- - test/dummy/test/fixtures/foobars.yml
227
- - test/dummy/test/unit/foobar_test.rb
228
- - test/dummy/Rakefile
229
- - test/dummy/log/development.log
230
- - test/dummy/log/test.log
231
- - test/dummy/app/views/layouts/application.html.erb
151
+ - test/dummy/app/models/foo.rb
232
152
  - test/dummy/app/models/foobar.rb
233
153
  - test/dummy/app/models/bar.rb
234
- - test/dummy/app/models/foo.rb
235
- - test/dummy/app/assets/javascripts/application.js
236
- - test/dummy/app/assets/stylesheets/application.css
237
- - test/dummy/app/helpers/application_helper.rb
238
154
  - test/dummy/app/controllers/application_controller.rb
239
- - test/dummy/config/database.yml
240
- - test/dummy/config/boot.rb
155
+ - test/dummy/app/views/layouts/application.html.erb
156
+ - test/dummy/app/helpers/application_helper.rb
157
+ - test/dummy/app/assets/stylesheets/application.css
158
+ - test/dummy/app/assets/javascripts/application.js
159
+ - test/dummy/test/unit/foobar_test.rb
160
+ - test/dummy/test/fixtures/foobars.yml
161
+ - test/dummy/public/favicon.ico
162
+ - test/dummy/public/422.html
163
+ - test/dummy/public/404.html
164
+ - test/dummy/public/500.html
241
165
  - test/dummy/config/locales/en.yml
242
- - test/dummy/config/routes.rb
243
- - test/dummy/config/environments/production.rb
244
- - test/dummy/config/environments/test.rb
245
- - test/dummy/config/environments/development.rb
166
+ - test/dummy/config/boot.rb
246
167
  - test/dummy/config/initializers/inflections.rb
247
- - test/dummy/config/initializers/session_store.rb
248
168
  - test/dummy/config/initializers/secret_token.rb
249
169
  - test/dummy/config/initializers/wrap_parameters.rb
250
170
  - test/dummy/config/initializers/mime_types.rb
251
171
  - test/dummy/config/initializers/backtrace_silencers.rb
252
- - test/dummy/config/environment.rb
172
+ - test/dummy/config/initializers/session_store.rb
173
+ - test/dummy/config/routes.rb
174
+ - test/dummy/config/environments/test.rb
175
+ - test/dummy/config/environments/development.rb
176
+ - test/dummy/config/environments/production.rb
177
+ - test/dummy/config/database.yml
253
178
  - test/dummy/config/application.rb
254
- - test/dummy/public/404.html
255
- - test/dummy/public/422.html
256
- - test/dummy/public/favicon.ico
257
- - test/dummy/public/500.html
258
- - test/dummy/tmp/cache/493/0A0/Foobarbar%2F25
259
- - test/dummy/tmp/cache/493/090/Foobarbar%2F16
260
- - test/dummy/tmp/cache/493/0B0/Foobarbar%2F34
261
- - test/dummy/tmp/cache/45D/760/Foobarbar%2F1
262
- - test/dummy/tmp/cache/213/7D0/foo%2F1
263
- - test/dummy/tmp/cache/465/7E0/Foobarbar%2F9
264
- - test/dummy/tmp/cache/48F/070/Foobarbar%2F30
265
- - test/dummy/tmp/cache/48F/050/Foobarbar%2F12
266
- - test/dummy/tmp/cache/48F/060/Foobarbar%2F21
267
- - test/dummy/tmp/cache/46B/D60/Foobarfoo%2F0
268
- - test/dummy/tmp/cache/496/0E0/Foobarbar%2F37
269
- - test/dummy/tmp/cache/496/0D0/Foobarbar%2F28
270
- - test/dummy/tmp/cache/496/0C0/Foobarbar%2F19
271
- - test/dummy/tmp/cache/49D/740/Foobarfoo%2F11
272
- - test/dummy/tmp/cache/49D/750/Foobarfoo%2F20
273
- - test/dummy/tmp/cache/49F/780/Foobarfoo%2F31
274
- - test/dummy/tmp/cache/49F/770/Foobarfoo%2F22
275
- - test/dummy/tmp/cache/49F/760/Foobarfoo%2F13
276
- - test/dummy/tmp/cache/49F/790/Foobarfoo%2F40
277
- - test/dummy/tmp/cache/46F/DA0/Foobarfoo%2F4
278
- - test/dummy/tmp/cache/471/DC0/Foobarfoo%2F6
279
- - test/dummy/tmp/cache/461/7A0/Foobarbar%2F5
280
- - test/dummy/tmp/cache/495/0D0/Foobarbar%2F36
281
- - test/dummy/tmp/cache/495/0B0/Foobarbar%2F18
282
- - test/dummy/tmp/cache/495/0C0/Foobarbar%2F27
283
- - test/dummy/tmp/cache/4A5/7C0/Foobarfoo%2F19
284
- - test/dummy/tmp/cache/4A5/7E0/Foobarfoo%2F37
285
- - test/dummy/tmp/cache/4A5/7D0/Foobarfoo%2F28
286
- - test/dummy/tmp/cache/45F/780/Foobarbar%2F3
287
- - test/dummy/tmp/cache/498/100/Foobarbar%2F39
288
- - test/dummy/tmp/cache/203/1B0/bar%2F0
289
- - test/dummy/tmp/cache/49C/730/Foobarfoo%2F10
290
- - test/dummy/tmp/cache/473/DE0/Foobarfoo%2F8
291
- - test/dummy/tmp/cache/48E/050/Foobarbar%2F20
292
- - test/dummy/tmp/cache/48E/040/Foobarbar%2F11
293
- - test/dummy/tmp/cache/212/7C0/foo%2F0
294
- - test/dummy/tmp/cache/3F5/580/Foobarid%2F1
295
- - test/dummy/tmp/cache/4A0/780/Foobarfoo%2F23
296
- - test/dummy/tmp/cache/4A0/770/Foobarfoo%2F14
297
- - test/dummy/tmp/cache/4A0/7A0/Foobarfoo%2F41
298
- - test/dummy/tmp/cache/4A0/790/Foobarfoo%2F32
299
- - test/dummy/tmp/cache/46C/D70/Foobarfoo%2F1
300
- - test/dummy/tmp/cache/492/0A0/Foobarbar%2F33
301
- - test/dummy/tmp/cache/492/090/Foobarbar%2F24
302
- - test/dummy/tmp/cache/492/080/Foobarbar%2F15
303
- - test/dummy/tmp/cache/4A7/800/Foobarfoo%2F39
304
- - test/dummy/tmp/cache/48D/030/Foobarbar%2F10
305
- - test/dummy/tmp/cache/3F4/570/Foobarid%2F0
306
- - test/dummy/tmp/cache/4A6/7F0/Foobarfoo%2F38
307
- - test/dummy/tmp/cache/4A6/7E0/Foobarfoo%2F29
308
- - test/dummy/tmp/cache/460/790/Foobarbar%2F4
309
- - test/dummy/tmp/cache/4A3/7C0/Foobarfoo%2F35
310
- - test/dummy/tmp/cache/4A3/7B0/Foobarfoo%2F26
311
- - test/dummy/tmp/cache/4A3/7A0/Foobarfoo%2F17
312
- - test/dummy/tmp/cache/45E/770/Foobarbar%2F2
313
- - test/dummy/tmp/cache/462/7B0/Foobarbar%2F6
314
- - test/dummy/tmp/cache/470/DB0/Foobarfoo%2F5
315
- - test/dummy/tmp/cache/46E/D90/Foobarfoo%2F3
316
- - test/dummy/tmp/cache/472/DD0/Foobarfoo%2F7
317
- - test/dummy/tmp/cache/46D/D80/Foobarfoo%2F2
318
- - test/dummy/tmp/cache/49E/770/Foobarfoo%2F30
319
- - test/dummy/tmp/cache/49E/760/Foobarfoo%2F21
320
- - test/dummy/tmp/cache/49E/750/Foobarfoo%2F12
321
- - test/dummy/tmp/cache/490/070/Foobarbar%2F22
322
- - test/dummy/tmp/cache/490/090/Foobarbar%2F40
323
- - test/dummy/tmp/cache/490/060/Foobarbar%2F13
324
- - test/dummy/tmp/cache/490/080/Foobarbar%2F31
325
- - test/dummy/tmp/cache/497/0E0/Foobarbar%2F29
326
- - test/dummy/tmp/cache/497/0F0/Foobarbar%2F38
327
- - test/dummy/tmp/cache/491/070/Foobarbar%2F14
328
- - test/dummy/tmp/cache/491/0A0/Foobarbar%2F41
329
- - test/dummy/tmp/cache/491/090/Foobarbar%2F32
330
- - test/dummy/tmp/cache/491/080/Foobarbar%2F23
331
- - test/dummy/tmp/cache/45C/750/Foobarbar%2F0
332
- - test/dummy/tmp/cache/4A4/7C0/Foobarfoo%2F27
333
- - test/dummy/tmp/cache/4A4/7B0/Foobarfoo%2F18
334
- - test/dummy/tmp/cache/4A4/7D0/Foobarfoo%2F36
335
- - test/dummy/tmp/cache/4A2/7B0/Foobarfoo%2F34
336
- - test/dummy/tmp/cache/4A2/7A0/Foobarfoo%2F25
337
- - test/dummy/tmp/cache/4A2/790/Foobarfoo%2F16
338
- - test/dummy/tmp/cache/494/0A0/Foobarbar%2F17
339
- - test/dummy/tmp/cache/494/0B0/Foobarbar%2F26
340
- - test/dummy/tmp/cache/494/0C0/Foobarbar%2F35
341
- - test/dummy/tmp/cache/4A1/780/Foobarfoo%2F15
342
- - test/dummy/tmp/cache/4A1/7A0/Foobarfoo%2F33
343
- - test/dummy/tmp/cache/4A1/790/Foobarfoo%2F24
344
- - test/dummy/tmp/cache/464/7D0/Foobarbar%2F8
345
- - test/dummy/tmp/cache/474/DF0/Foobarfoo%2F9
346
- - test/dummy/tmp/cache/463/7C0/Foobarbar%2F7
179
+ - test/dummy/config/environment.rb
180
+ - test/dummy/db/schema.rb
181
+ - test/dummy/db/migrate/20111024130335_create_bars.rb
182
+ - test/dummy/db/migrate/20111024130333_create_foobars.rb
183
+ - test/dummy/db/migrate/20111024130334_create_foos.rb
347
184
  - test/dummy/script/rails
185
+ - test/dummy/Rakefile
186
+ - test/dummy/config.ru
187
+ - test/test_helper.rb
Binary file
Binary file
@@ -1,25 +0,0 @@
1
-  (0.1ms) select sqlite_version(*)
2
-  (135.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3
-  (0.1ms) PRAGMA index_list("schema_migrations")
4
-  (88.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6
- Migrating to CreateFoobars (20111024130333)
7
-  (1.1ms) CREATE TABLE "foobars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "foo" varchar(255), "bar" integer, "created_at" datetime, "updated_at" datetime)
8
-  (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024130333')
9
-  (0.5ms) select sqlite_version(*)
10
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
11
-  (0.0ms) PRAGMA index_list("foobars")
12
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
13
- Migrating to CreateFoobars (20111024130333)
14
- Migrating to CreateFoos (20111024130334)
15
-  (0.0ms) select sqlite_version(*)
16
-  (0.7ms) CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "foo" varchar(255), "created_at" datetime, "updated_at" datetime) 
17
-  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024130334')
18
- Migrating to CreateBars (20111024130335)
19
-  (1.1ms) CREATE TABLE "bars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" integer, "created_at" datetime, "updated_at" datetime) 
20
-  (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024130335')
21
-  (0.3ms) select sqlite_version(*)
22
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
23
-  (0.0ms) PRAGMA index_list("bars")
24
-  (0.0ms) PRAGMA index_list("foobars")
25
-  (0.0ms) PRAGMA index_list("foos")
@@ -1,70 +0,0 @@
1
-  (0.1ms) select sqlite_version(*)
2
-  (115.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3
-  (0.1ms) PRAGMA index_list("schema_migrations")
4
-  (99.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6
- Migrating to CreateFoobars (20111024130333)
7
-  (1.1ms) CREATE TABLE "foobars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "foo" varchar(255), "bar" integer, "created_at" datetime, "updated_at" datetime)
8
-  (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024130333')
9
-  (0.3ms) select sqlite_version(*)
10
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
11
-  (0.1ms) PRAGMA index_list("foobars")
12
-  (28.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
13
-  (0.3ms) SHOW search_path
14
-  (2.9ms)  SELECT distinct i.relname, d.indisunique, d.indkey, t.oid
15
- FROM pg_class t
16
- INNER JOIN pg_index d ON t.oid = d.indrelid
17
- INNER JOIN pg_class i ON d.indexrelid = i.oid
18
- WHERE i.relkind = 'i'
19
- AND d.indisprimary = 'f'
20
- AND t.relname = 'schema_migrations'
21
- AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname IN ('"$user"','public') )
22
- ORDER BY i.relname
23
- 
24
-  (73.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
25
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
26
- Migrating to CreateFoobars (20111024130333)
27
-  (0.1ms) BEGIN
28
-  (34.4ms) CREATE TABLE "foobars" ("id" serial primary key, "foo" character varying(255), "bar" integer, "created_at" timestamp, "updated_at" timestamp) 
29
-  (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024130333')
30
-  (15.0ms) COMMIT
31
- Migrating to CreateFoos (20111024130334)
32
-  (0.8ms) BEGIN
33
-  (66.9ms) CREATE TABLE "foos" ("id" serial primary key, "foo" character varying(255), "created_at" timestamp, "updated_at" timestamp) 
34
-  (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024130334')
35
-  (15.0ms) COMMIT
36
- Migrating to CreateBars (20111024130335)
37
-  (0.4ms) BEGIN
38
-  (86.8ms) CREATE TABLE "bars" ("id" serial primary key, "bar" integer, "created_at" timestamp, "updated_at" timestamp) 
39
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024130335')
40
-  (9.6ms) COMMIT
41
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
42
-  (0.4ms) SHOW search_path
43
-  (2.2ms) SELECT distinct i.relname, d.indisunique, d.indkey, t.oid
44
- FROM pg_class t
45
- INNER JOIN pg_index d ON t.oid = d.indrelid
46
- INNER JOIN pg_class i ON d.indexrelid = i.oid
47
- WHERE i.relkind = 'i'
48
- AND d.indisprimary = 'f'
49
- AND t.relname = 'bars'
50
- AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname IN ('"$user"','public') )
51
- ORDER BY i.relname
52
-  (1.0ms)  SELECT distinct i.relname, d.indisunique, d.indkey, t.oid
53
- FROM pg_class t
54
- INNER JOIN pg_index d ON t.oid = d.indrelid
55
- INNER JOIN pg_class i ON d.indexrelid = i.oid
56
- WHERE i.relkind = 'i'
57
- AND d.indisprimary = 'f'
58
- AND t.relname = 'foobars'
59
- AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname IN ('"$user"','public') )
60
- ORDER BY i.relname
61
- 
62
-  (0.9ms) SELECT distinct i.relname, d.indisunique, d.indkey, t.oid
63
- FROM pg_class t
64
- INNER JOIN pg_index d ON t.oid = d.indrelid
65
- INNER JOIN pg_class i ON d.indexrelid = i.oid
66
- WHERE i.relkind = 'i'
67
- AND d.indisprimary = 'f'
68
- AND t.relname = 'foos'
69
- AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname IN ('"$user"','public') )
70
- ORDER BY i.relname
Binary file
Binary file
Binary file