octoball 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -7
- data/lib/octoball/current_shard_tracker.rb +1 -1
- data/lib/octoball/persistence.rb +1 -1
- data/lib/octoball/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz: '
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0795c1883b68bebf799c031723b21cf2866a36dc7eb265050bd2109ec804d9ff'
|
4
|
+
data.tar.gz: a5511fa201eeb07e95531ae16d900e2cb8aea2eba7f58aeefcf7b6ee69879d5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c8453ca9237450c52106bcfae8211f812b008ca7b2de066931980916e7d1beb7af4e7e7e97a878b0db5b32fad3cd6ac9c059319605f3a76be30bffc4091c3ed
|
7
|
+
data.tar.gz: 736553145f161faa71d32ab6000f3bd1fa4697b315002c64e4683e04236007a90ae21e39ef91964cf172a1451acbffbd37844800e1ca8b1e909c06b140aef776
|
data/README.md
CHANGED
@@ -45,13 +45,6 @@ Currently, its implementation is focusing on horizontal database sharding. Howev
|
|
45
45
|
gem "octoball"
|
46
46
|
```
|
47
47
|
|
48
|
-
Until first release:
|
49
|
-
```
|
50
|
-
# Bundle edge Rails
|
51
|
-
gem 'rails', github: 'rails/rails'
|
52
|
-
gem 'octoball', git: 'git@github.com:aktsk/octoball'
|
53
|
-
```
|
54
|
-
|
55
48
|
Define the database connections in `config/database.yml`, e.g.:
|
56
49
|
```
|
57
50
|
default: &default
|
@@ -19,7 +19,7 @@ class Octoball
|
|
19
19
|
|
20
20
|
def instantiate_instance_of(klass, attributes, column_types = {}, &block)
|
21
21
|
result = super
|
22
|
-
result.instance_variable_set(:@current_shard,
|
22
|
+
result.instance_variable_set(:@current_shard, current_shard)
|
23
23
|
result
|
24
24
|
end
|
25
25
|
end
|
data/lib/octoball/persistence.rb
CHANGED
data/lib/octoball/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octoball
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomoki Sekiyama
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|