activerecord-id_regions 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.codeclimate.yml +47 -0
- data/.rspec +2 -1
- data/.rspec_ci +4 -0
- data/.rubocop.yml +4 -0
- data/.rubocop_cc.yml +5 -0
- data/.rubocop_local.yml +11 -0
- data/.travis.yml +12 -2
- data/README.md +9 -0
- data/activerecord-id_regions.gemspec +3 -0
- data/lib/active_record/id_regions.rb +0 -4
- data/lib/active_record/id_regions/version.rb +1 -1
- metadata +35 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11c3818bfad626f47dc0c68e09d030a1c977b0b3
|
4
|
+
data.tar.gz: c07e9d64102ee08b1c2718c512a56321e8d68a43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '03579a1cecb1dc82b1c97fe862c65424d6316eebb7ebb266137e5427e6e3e82cc675931f26d566568bca7190f2fa3dcf07e3ee1a346bfd6aa860576bfbd67d08'
|
7
|
+
data.tar.gz: 3758552f03dfc1f54dfe1c0b10fccc85cd52001f5037ee8b1b1bdb099c08aa2dfaab59185490a23154047a16669e96ace1f27f81719e4edd397888a19c2861ef
|
data/.codeclimate.yml
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
---
|
2
|
+
exclude_paths:
|
3
|
+
- ".git/"
|
4
|
+
- "**.xml"
|
5
|
+
- "**.yaml"
|
6
|
+
- "**.yml"
|
7
|
+
- "locale/"
|
8
|
+
- "spec/"
|
9
|
+
- "tools/"
|
10
|
+
engines:
|
11
|
+
brakeman:
|
12
|
+
# very slow :sad_panda:
|
13
|
+
enabled: false
|
14
|
+
bundler-audit:
|
15
|
+
# requires Gemfile.lock
|
16
|
+
enabled: false
|
17
|
+
csslint:
|
18
|
+
enabled: false
|
19
|
+
duplication:
|
20
|
+
enabled: true
|
21
|
+
config:
|
22
|
+
languages:
|
23
|
+
- ruby
|
24
|
+
- javascript
|
25
|
+
eslint:
|
26
|
+
enabled: false
|
27
|
+
channel: "eslint-3"
|
28
|
+
fixme:
|
29
|
+
# let's enable later
|
30
|
+
enabled: false
|
31
|
+
markdownlint:
|
32
|
+
# let's enable later
|
33
|
+
enabled: false
|
34
|
+
rubocop:
|
35
|
+
enabled: true
|
36
|
+
config: '.rubocop_cc.yml'
|
37
|
+
prepare:
|
38
|
+
fetch:
|
39
|
+
- url: "https://raw.githubusercontent.com/ManageIQ/guides/master/.rubocop_base.yml"
|
40
|
+
path: ".rubocop_base.yml"
|
41
|
+
- url: "https://raw.githubusercontent.com/ManageIQ/guides/master/.rubocop_cc_base.yml"
|
42
|
+
path: ".rubocop_cc_base.yml"
|
43
|
+
ratings:
|
44
|
+
paths:
|
45
|
+
- Gemfile.lock
|
46
|
+
- "**.rake"
|
47
|
+
- "**.rb"
|
data/.rspec
CHANGED
data/.rspec_ci
ADDED
data/.rubocop.yml
ADDED
data/.rubocop_cc.yml
ADDED
data/.rubocop_local.yml
ADDED
data/.travis.yml
CHANGED
@@ -1,5 +1,15 @@
|
|
1
|
-
sudo: false
|
2
1
|
language: ruby
|
3
2
|
rvm:
|
4
|
-
- 2.
|
3
|
+
- '2.3.1'
|
4
|
+
- '2.4.1'
|
5
|
+
sudo: false
|
6
|
+
cache: bundler
|
5
7
|
before_install: gem install bundler -v 1.14.6
|
8
|
+
after_script: bundle exec codeclimate-test-reporter
|
9
|
+
notifications:
|
10
|
+
webhooks:
|
11
|
+
urls:
|
12
|
+
- https://webhooks.gitter.im/e/d69f1b2b4c21a45fd023
|
13
|
+
on_success: change
|
14
|
+
on_failure: always
|
15
|
+
on_start: never
|
data/README.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# ActiveRecord::IdRegions
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/activerecord-id_regions.svg)](http://badge.fury.io/rb/activerecord-id_regions)
|
4
|
+
[![Build Status](https://travis-ci.org/ManageIQ/activerecord-id_regions.svg)](https://travis-ci.org/ManageIQ/activerecord-id_regions)
|
5
|
+
[![Code Climate](https://codeclimate.com/github/ManageIQ/activerecord-id_regions.svg)](https://codeclimate.com/github/ManageIQ/activerecord-id_regions)
|
6
|
+
[![Test Coverage](https://codeclimate.com/github/ManageIQ/activerecord-id_regions/badges/coverage.svg)](https://codeclimate.com/github/ManageIQ/activerecord-id_regions/coverage)
|
7
|
+
[![Dependency Status](https://gemnasium.com/ManageIQ/activerecord-id_regions.svg)](https://gemnasium.com/ManageIQ/activerecord-id_regions)
|
8
|
+
[![Security](https://hakiri.io/github/ManageIQ/activerecord-id_regions/master.svg)](https://hakiri.io/github/ManageIQ/activerecord-id_regions/master)
|
9
|
+
|
10
|
+
[![Chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/ManageIQ/activerecord-id_regions?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
11
|
+
|
3
12
|
ActiveRecord extension to allow partitioning ids into regions, for merge replication purposes
|
4
13
|
|
5
14
|
## Installation
|
@@ -27,4 +27,7 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.add_development_dependency "bundler"
|
28
28
|
spec.add_development_dependency "rake"
|
29
29
|
spec.add_development_dependency "rspec", "~> 3.0"
|
30
|
+
|
31
|
+
spec.add_development_dependency "codeclimate-test-reporter", "~> 1.0.0"
|
32
|
+
spec.add_development_dependency "simplecov"
|
30
33
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-id_regions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ManageIQ Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -106,6 +106,34 @@ dependencies:
|
|
106
106
|
- - "~>"
|
107
107
|
- !ruby/object:Gem::Version
|
108
108
|
version: '3.0'
|
109
|
+
- !ruby/object:Gem::Dependency
|
110
|
+
name: codeclimate-test-reporter
|
111
|
+
requirement: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - "~>"
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: 1.0.0
|
116
|
+
type: :development
|
117
|
+
prerelease: false
|
118
|
+
version_requirements: !ruby/object:Gem::Requirement
|
119
|
+
requirements:
|
120
|
+
- - "~>"
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: 1.0.0
|
123
|
+
- !ruby/object:Gem::Dependency
|
124
|
+
name: simplecov
|
125
|
+
requirement: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
127
|
+
- - ">="
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '0'
|
130
|
+
type: :development
|
131
|
+
prerelease: false
|
132
|
+
version_requirements: !ruby/object:Gem::Requirement
|
133
|
+
requirements:
|
134
|
+
- - ">="
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '0'
|
109
137
|
description: ActiveRecord extension to allow partitioning ids into regions, for merge
|
110
138
|
replication purposes
|
111
139
|
email:
|
@@ -113,8 +141,13 @@ executables: []
|
|
113
141
|
extensions: []
|
114
142
|
extra_rdoc_files: []
|
115
143
|
files:
|
144
|
+
- ".codeclimate.yml"
|
116
145
|
- ".gitignore"
|
117
146
|
- ".rspec"
|
147
|
+
- ".rspec_ci"
|
148
|
+
- ".rubocop.yml"
|
149
|
+
- ".rubocop_cc.yml"
|
150
|
+
- ".rubocop_local.yml"
|
118
151
|
- ".travis.yml"
|
119
152
|
- Gemfile
|
120
153
|
- LICENSE.txt
|