ar-octopus 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -2
- data/Gemfile.lock +20 -20
- data/Rakefile +1 -1
- data/ar-octopus.gemspec +2 -2
- data/sample_app/Gemfile +1 -2
- data/sample_app/Gemfile.lock +58 -55
- data/sample_app/db/schema.rb +2 -2
- metadata +4 -4
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -2,28 +2,28 @@ GEM
|
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
4
|
abstract (1.0.0)
|
5
|
-
actionpack (3.0.0
|
6
|
-
activemodel (= 3.0.0
|
7
|
-
activesupport (= 3.0.0
|
5
|
+
actionpack (3.0.0)
|
6
|
+
activemodel (= 3.0.0)
|
7
|
+
activesupport (= 3.0.0)
|
8
8
|
builder (~> 2.1.2)
|
9
9
|
erubis (~> 2.6.6)
|
10
10
|
i18n (~> 0.4.1)
|
11
11
|
rack (~> 1.2.1)
|
12
|
-
rack-mount (~> 0.6.
|
12
|
+
rack-mount (~> 0.6.12)
|
13
13
|
rack-test (~> 0.5.4)
|
14
|
-
tzinfo (~> 0.3.
|
15
|
-
activemodel (3.0.0
|
16
|
-
activesupport (= 3.0.0
|
14
|
+
tzinfo (~> 0.3.23)
|
15
|
+
activemodel (3.0.0)
|
16
|
+
activesupport (= 3.0.0)
|
17
17
|
builder (~> 2.1.2)
|
18
18
|
i18n (~> 0.4.1)
|
19
|
-
activerecord (3.0.0
|
20
|
-
activemodel (= 3.0.0
|
21
|
-
activesupport (= 3.0.0
|
22
|
-
arel (~> 0.
|
23
|
-
tzinfo (~> 0.3.
|
24
|
-
activesupport (3.0.0
|
25
|
-
arel (0.
|
26
|
-
activesupport (
|
19
|
+
activerecord (3.0.0)
|
20
|
+
activemodel (= 3.0.0)
|
21
|
+
activesupport (= 3.0.0)
|
22
|
+
arel (~> 1.0.0)
|
23
|
+
tzinfo (~> 0.3.23)
|
24
|
+
activesupport (3.0.0)
|
25
|
+
arel (1.0.1)
|
26
|
+
activesupport (~> 3.0.0)
|
27
27
|
builder (2.1.2)
|
28
28
|
diff-lcs (1.1.2)
|
29
29
|
erubis (2.6.6)
|
@@ -35,11 +35,11 @@ GEM
|
|
35
35
|
gemcutter (>= 0.1.0)
|
36
36
|
git (>= 1.2.5)
|
37
37
|
rubyforge (>= 2.0.0)
|
38
|
-
json_pure (1.4.
|
38
|
+
json_pure (1.4.6)
|
39
39
|
mysql (2.8.1)
|
40
40
|
pg (0.9.0)
|
41
41
|
rack (1.2.1)
|
42
|
-
rack-mount (0.6.
|
42
|
+
rack-mount (0.6.13)
|
43
43
|
rack (>= 1.0.0)
|
44
44
|
rack-test (0.5.4)
|
45
45
|
rack (>= 1.0)
|
@@ -54,14 +54,14 @@ GEM
|
|
54
54
|
rubyforge (2.0.4)
|
55
55
|
json_pure (>= 1.1.7)
|
56
56
|
sqlite3-ruby (1.3.1)
|
57
|
-
tzinfo (0.3.
|
57
|
+
tzinfo (0.3.23)
|
58
58
|
|
59
59
|
PLATFORMS
|
60
60
|
ruby
|
61
61
|
|
62
62
|
DEPENDENCIES
|
63
|
-
actionpack (
|
64
|
-
activerecord (
|
63
|
+
actionpack (= 3.0.0)
|
64
|
+
activerecord (= 3.0.0)
|
65
65
|
jeweler (>= 1.4)
|
66
66
|
mysql (>= 2.8.1)
|
67
67
|
pg (>= 0.9.0)
|
data/Rakefile
CHANGED
@@ -37,7 +37,7 @@ begin
|
|
37
37
|
gem.add_development_dependency "jeweler", ">= 1.4"
|
38
38
|
gem.add_development_dependency "actionpack", ">= 2.3"
|
39
39
|
gem.add_dependency('activerecord', '>= 2.3')
|
40
|
-
gem.version = "0.1.
|
40
|
+
gem.version = "0.1.1"
|
41
41
|
end
|
42
42
|
Jeweler::GemcutterTasks.new
|
43
43
|
rescue LoadError
|
data/ar-octopus.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{ar-octopus}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Thiago Pradi", "Mike Perham"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-09-04}
|
13
13
|
s.description = %q{This gem allows you to use sharded databases with ActiveRecord. this also provides a interface for replication and for running migrations with multiples shards.}
|
14
14
|
s.email = %q{tchandy@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
data/sample_app/Gemfile
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
source :rubygems
|
2
2
|
|
3
|
-
gem 'rails', '3.0.0
|
3
|
+
gem 'rails', '3.0.0'
|
4
4
|
|
5
5
|
# Bundle edge Rails instead:
|
6
6
|
# gem 'rails', :git => 'git://github.com/rails/rails.git'
|
7
7
|
|
8
8
|
gem 'sqlite3-ruby', :require => 'sqlite3'
|
9
|
-
|
10
9
|
gem 'ar-octopus', :git => 'git://github.com/tchandy/octopus.git', :require => "octopus"
|
11
10
|
|
12
11
|
group :test do
|
data/sample_app/Gemfile.lock
CHANGED
@@ -1,42 +1,42 @@
|
|
1
1
|
GIT
|
2
2
|
remote: git://github.com/tchandy/octopus.git
|
3
|
-
revision:
|
3
|
+
revision: ff16c71
|
4
4
|
specs:
|
5
|
-
ar-octopus (0.0
|
5
|
+
ar-octopus (0.1.0)
|
6
6
|
activerecord (>= 2.3)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: http://rubygems.org/
|
10
10
|
specs:
|
11
11
|
abstract (1.0.0)
|
12
|
-
actionmailer (3.0.0
|
13
|
-
actionpack (= 3.0.0
|
12
|
+
actionmailer (3.0.0)
|
13
|
+
actionpack (= 3.0.0)
|
14
14
|
mail (~> 2.2.5)
|
15
|
-
actionpack (3.0.0
|
16
|
-
activemodel (= 3.0.0
|
17
|
-
activesupport (= 3.0.0
|
15
|
+
actionpack (3.0.0)
|
16
|
+
activemodel (= 3.0.0)
|
17
|
+
activesupport (= 3.0.0)
|
18
18
|
builder (~> 2.1.2)
|
19
19
|
erubis (~> 2.6.6)
|
20
20
|
i18n (~> 0.4.1)
|
21
21
|
rack (~> 1.2.1)
|
22
|
-
rack-mount (~> 0.6.
|
22
|
+
rack-mount (~> 0.6.12)
|
23
23
|
rack-test (~> 0.5.4)
|
24
|
-
tzinfo (~> 0.3.
|
25
|
-
activemodel (3.0.0
|
26
|
-
activesupport (= 3.0.0
|
24
|
+
tzinfo (~> 0.3.23)
|
25
|
+
activemodel (3.0.0)
|
26
|
+
activesupport (= 3.0.0)
|
27
27
|
builder (~> 2.1.2)
|
28
28
|
i18n (~> 0.4.1)
|
29
|
-
activerecord (3.0.0
|
30
|
-
activemodel (= 3.0.0
|
31
|
-
activesupport (= 3.0.0
|
32
|
-
arel (~> 0.
|
33
|
-
tzinfo (~> 0.3.
|
34
|
-
activeresource (3.0.0
|
35
|
-
activemodel (= 3.0.0
|
36
|
-
activesupport (= 3.0.0
|
37
|
-
activesupport (3.0.0
|
38
|
-
arel (0.
|
39
|
-
activesupport (
|
29
|
+
activerecord (3.0.0)
|
30
|
+
activemodel (= 3.0.0)
|
31
|
+
activesupport (= 3.0.0)
|
32
|
+
arel (~> 1.0.0)
|
33
|
+
tzinfo (~> 0.3.23)
|
34
|
+
activeresource (3.0.0)
|
35
|
+
activemodel (= 3.0.0)
|
36
|
+
activesupport (= 3.0.0)
|
37
|
+
activesupport (3.0.0)
|
38
|
+
arel (1.0.1)
|
39
|
+
activesupport (~> 3.0.0)
|
40
40
|
aruba (0.2.1)
|
41
41
|
builder (2.1.2)
|
42
42
|
capybara (0.3.9)
|
@@ -46,6 +46,7 @@ GEM
|
|
46
46
|
rack (>= 1.0.0)
|
47
47
|
rack-test (>= 0.5.4)
|
48
48
|
selenium-webdriver (>= 0.0.3)
|
49
|
+
columnize (0.3.1)
|
49
50
|
configuration (1.1.0)
|
50
51
|
cucumber (0.8.5)
|
51
52
|
builder (~> 2.1.2)
|
@@ -55,7 +56,7 @@ GEM
|
|
55
56
|
term-ansicolor (~> 1.0.4)
|
56
57
|
cucumber-rails (0.3.2)
|
57
58
|
cucumber (>= 0.8.0)
|
58
|
-
culerity (0.2.
|
59
|
+
culerity (0.2.12)
|
59
60
|
database_cleaner (0.5.2)
|
60
61
|
diff-lcs (1.1.2)
|
61
62
|
erubis (2.6.6)
|
@@ -65,49 +66,54 @@ GEM
|
|
65
66
|
gherkin (2.1.5)
|
66
67
|
trollop (~> 1.16.2)
|
67
68
|
i18n (0.4.1)
|
68
|
-
json_pure (1.4.
|
69
|
+
json_pure (1.4.6)
|
69
70
|
launchy (0.3.7)
|
70
71
|
configuration (>= 0.0.5)
|
71
72
|
rake (>= 0.8.1)
|
73
|
+
linecache (0.43)
|
72
74
|
mail (2.2.5)
|
73
75
|
activesupport (>= 2.3.6)
|
74
76
|
mime-types
|
75
77
|
treetop (>= 1.4.5)
|
76
78
|
mime-types (1.16)
|
77
|
-
nokogiri (1.4.
|
79
|
+
nokogiri (1.4.3.1)
|
78
80
|
polyglot (0.3.1)
|
79
81
|
rack (1.2.1)
|
80
|
-
rack-mount (0.6.
|
82
|
+
rack-mount (0.6.13)
|
81
83
|
rack (>= 1.0.0)
|
82
84
|
rack-test (0.5.4)
|
83
85
|
rack (>= 1.0)
|
84
|
-
rails (3.0.0
|
85
|
-
actionmailer (= 3.0.0
|
86
|
-
actionpack (= 3.0.0
|
87
|
-
activerecord (= 3.0.0
|
88
|
-
activeresource (= 3.0.0
|
89
|
-
activesupport (= 3.0.0
|
90
|
-
bundler (
|
91
|
-
railties (= 3.0.0
|
92
|
-
railties (3.0.0
|
93
|
-
actionpack (= 3.0.0
|
94
|
-
activesupport (= 3.0.0
|
95
|
-
rake (>= 0.8.
|
86
|
+
rails (3.0.0)
|
87
|
+
actionmailer (= 3.0.0)
|
88
|
+
actionpack (= 3.0.0)
|
89
|
+
activerecord (= 3.0.0)
|
90
|
+
activeresource (= 3.0.0)
|
91
|
+
activesupport (= 3.0.0)
|
92
|
+
bundler (~> 1.0.0)
|
93
|
+
railties (= 3.0.0)
|
94
|
+
railties (3.0.0)
|
95
|
+
actionpack (= 3.0.0)
|
96
|
+
activesupport (= 3.0.0)
|
97
|
+
rake (>= 0.8.4)
|
96
98
|
thor (~> 0.14.0)
|
97
99
|
rake (0.8.7)
|
98
|
-
rspec (2.0.0.beta.
|
99
|
-
rspec-core (= 2.0.0.beta.
|
100
|
-
rspec-expectations (= 2.0.0.beta.
|
101
|
-
rspec-mocks (= 2.0.0.beta.
|
102
|
-
rspec-core (2.0.0.beta.
|
103
|
-
rspec-expectations (2.0.0.beta.
|
100
|
+
rspec (2.0.0.beta.20)
|
101
|
+
rspec-core (= 2.0.0.beta.20)
|
102
|
+
rspec-expectations (= 2.0.0.beta.20)
|
103
|
+
rspec-mocks (= 2.0.0.beta.20)
|
104
|
+
rspec-core (2.0.0.beta.20)
|
105
|
+
rspec-expectations (2.0.0.beta.20)
|
104
106
|
diff-lcs (>= 1.1.2)
|
105
|
-
rspec-mocks (2.0.0.beta.
|
106
|
-
rspec-rails (2.0.0.beta.
|
107
|
-
rspec (= 2.0.0.beta.
|
108
|
-
|
107
|
+
rspec-mocks (2.0.0.beta.20)
|
108
|
+
rspec-rails (2.0.0.beta.20)
|
109
|
+
rspec (= 2.0.0.beta.20)
|
110
|
+
ruby-debug (0.10.3)
|
111
|
+
columnize (>= 0.1)
|
112
|
+
ruby-debug-base (~> 0.10.3.0)
|
113
|
+
ruby-debug-base (0.10.3)
|
114
|
+
linecache (>= 0.3)
|
109
115
|
rubyzip (0.9.4)
|
110
|
-
selenium-webdriver (0.0.
|
116
|
+
selenium-webdriver (0.0.28)
|
111
117
|
ffi (>= 0.6.1)
|
112
118
|
json_pure
|
113
119
|
rubyzip
|
@@ -118,11 +124,7 @@ GEM
|
|
118
124
|
treetop (1.4.8)
|
119
125
|
polyglot (>= 0.3.1)
|
120
126
|
trollop (1.16.2)
|
121
|
-
tzinfo (0.3.
|
122
|
-
webrat (0.7.2.beta.1)
|
123
|
-
nokogiri (>= 1.2.0)
|
124
|
-
rack (>= 1.0)
|
125
|
-
rack-test (>= 0.5.3)
|
127
|
+
tzinfo (0.3.23)
|
126
128
|
|
127
129
|
PLATFORMS
|
128
130
|
ruby
|
@@ -135,7 +137,8 @@ DEPENDENCIES
|
|
135
137
|
cucumber-rails
|
136
138
|
database_cleaner
|
137
139
|
launchy
|
138
|
-
rails (= 3.0.0
|
140
|
+
rails (= 3.0.0)
|
139
141
|
rspec-rails (>= 2.0.0.beta.16)
|
142
|
+
ruby-debug
|
140
143
|
spork
|
141
144
|
sqlite3-ruby
|
data/sample_app/db/schema.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
# This file is auto-generated from the current state of the database. Instead
|
1
|
+
# This file is auto-generated from the current state of the database. Instead
|
2
2
|
# of editing this file, please use the migrations feature of Active Record to
|
3
3
|
# incrementally modify your database, and then regenerate this schema definition.
|
4
4
|
#
|
5
|
-
# Note that this schema.rb definition is the authoritative source for your
|
5
|
+
# Note that this schema.rb definition is the authoritative source for your
|
6
6
|
# database schema. If you need to create the application database on another
|
7
7
|
# system, you should be using db:schema:load, not running all the migrations
|
8
8
|
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ar-octopus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Thiago Pradi
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-
|
19
|
+
date: 2010-09-04 00:00:00 -03:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|