storey 0.0.1 → 0.1.0

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 (5) hide show
  1. data/.rvmrc +1 -0
  2. data/README.md +4 -2
  3. data/lib/storey/version.rb +1 -1
  4. data/storey.gemspec +3 -3
  5. metadata +11 -10
data/.rvmrc ADDED
@@ -0,0 +1 @@
1
+ rvm use ruby-1.9.2-p290@storey --create
data/README.md CHANGED
@@ -9,7 +9,9 @@ Heavily inspired by the Apartment gem, Storey simplifies the implementation of m
9
9
  Typically set in an initializer: config/initializer/storey.rb
10
10
 
11
11
  # Defines the tables that should stay available to all (ie in the public schema)
12
- Storey.excluded_tables = %w(users companies)
12
+ # Note that there's currently no way to exclude tables that aren't linked to models
13
+ # If you have any ideas on how to do this I'm open to suggestions
14
+ Storey.excluded_models = %w(User Company Role Permission)
13
15
 
14
16
  # If set, all schemas are created with the suffix.
15
17
  # Used for obscuring the schema name - which is important when performing schema duplication.
@@ -76,7 +78,7 @@ Accepts
76
78
  origin - name of old schema to copy
77
79
  copy - name of new schema
78
80
 
79
- Copies a schema with all data under a new name.
81
+ Copies a schema with all data under a new name. Best used in conjunction with `Storey.suffix` set.
80
82
 
81
83
  Usage:
82
84
 
@@ -1,3 +1,3 @@
1
1
  module Storey
2
- VERSION = "0.0.1"
2
+ VERSION = "0.1.0"
3
3
  end
data/storey.gemspec CHANGED
@@ -7,9 +7,9 @@ Gem::Specification.new do |s|
7
7
  s.version = Storey::VERSION
8
8
  s.authors = ["Ramon Tayag"]
9
9
  s.email = ["ramon@tayag.net"]
10
- s.homepage = ""
10
+ s.homepage = "https://github.com/ramontayag/storey"
11
11
  s.summary = %q{Manage multiple PostgreSQL schemas in your multi-tenant app.}
12
- s.description = %q{Heavily inspired by the Apartment gem, Storey aims to simplify the implementation of managing a multi-tenant application. This aims to be just the PostgreSQL schema specific portion of Apartment.}
12
+ s.description = %q{Storey aims to simplify the implementation of managing a multi-tenant application.}
13
13
 
14
14
  s.rubyforge_project = "storey"
15
15
 
@@ -23,5 +23,5 @@ Gem::Specification.new do |s|
23
23
  s.add_development_dependency "pg", "~> 0.12.2"
24
24
  s.add_development_dependency "database_cleaner"
25
25
  s.add_development_dependency "ruby-debug"
26
- s.add_runtime_dependency "rails", "~> 3.1.3"
26
+ s.add_runtime_dependency "rails", "~> 3.2.2"
27
27
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: storey
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 0
9
8
  - 1
10
- version: 0.0.1
9
+ - 0
10
+ version: 0.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ramon Tayag
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-01-21 00:00:00 +08:00
18
+ date: 2012-03-17 00:00:00 +08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -84,15 +84,15 @@ dependencies:
84
84
  requirements:
85
85
  - - ~>
86
86
  - !ruby/object:Gem::Version
87
- hash: 5
87
+ hash: 11
88
88
  segments:
89
89
  - 3
90
- - 1
91
- - 3
92
- version: 3.1.3
90
+ - 2
91
+ - 2
92
+ version: 3.2.2
93
93
  type: :runtime
94
94
  version_requirements: *id005
95
- description: Heavily inspired by the Apartment gem, Storey aims to simplify the implementation of managing a multi-tenant application. This aims to be just the PostgreSQL schema specific portion of Apartment.
95
+ description: Storey aims to simplify the implementation of managing a multi-tenant application.
96
96
  email:
97
97
  - ramon@tayag.net
98
98
  executables: []
@@ -104,6 +104,7 @@ extra_rdoc_files: []
104
104
  files:
105
105
  - .gitignore
106
106
  - .rspec
107
+ - .rvmrc
107
108
  - Gemfile
108
109
  - README.md
109
110
  - Rakefile
@@ -167,7 +168,7 @@ files:
167
168
  - spec/tasks/storey_rake_spec.rb
168
169
  - storey.gemspec
169
170
  has_rdoc: true
170
- homepage: ""
171
+ homepage: https://github.com/ramontayag/storey
171
172
  licenses: []
172
173
 
173
174
  post_install_message: