shiftable 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +25 -0
- data/README.md +85 -37
- data/lib/shiftable/mod_signature.rb +1 -4
- data/lib/shiftable/version.rb +1 -1
- metadata +9 -162
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7792e05d55078e47ad4fec714ebc5aeed51c6373ba64d31e410ab8cdfe01eb44
|
4
|
+
data.tar.gz: d1435eb2ab87f9e81367d73036d8bf23c270eccb29157cc1eaf364da9ef8fcb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fc584eefc4ab6e4bbdcbb22a3b856f8baa2dff98daf5eceb149ced8865fa5c1dc020bcf1cde2918df47f3b0545c9c1827e9f369e2131c4bb5498804c1cce37c
|
7
|
+
data.tar.gz: d7970f2f74a80bdd5a657e89846a5eddd54d7396cd000d3022b0ba1782336b464586ea1391a23af6ff8df6b7d6047715c571cdfb43d55145744504f5ced7e4db
|
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
## Contributing
|
2
|
+
|
3
|
+
Bug reports and pull requests are welcome on GitHub at [https://github.com/pboling/activerecord-transactionable][source]
|
4
|
+
. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to
|
5
|
+
the [code of conduct][conduct].
|
6
|
+
|
7
|
+
To submit a patch, please fork the project and create a patch with tests. Once you're happy with it send a pull request!
|
8
|
+
|
9
|
+
## Contributors
|
10
|
+
|
11
|
+
[![Contributors](https://contrib.rocks/image?repo=pboling/activerecord-transactionable)][contributors]
|
12
|
+
|
13
|
+
Made with [contributors-img][contrib-rocks].
|
14
|
+
|
15
|
+
[comment]: <> (Following links are used by README, CONTRIBUTING)
|
16
|
+
|
17
|
+
[conduct]: https://github.com/pboling/activerecord-transactionable/blob/master/CODE_OF_CONDUCT.md
|
18
|
+
|
19
|
+
[contrib-rocks]: https://contrib.rocks
|
20
|
+
|
21
|
+
[contributors]: https://github.com/pboling/activerecord-transactionable/graphs/contributors
|
22
|
+
|
23
|
+
[comment]: <> (Following links are used by README, CONTRIBUTING, Homepage)
|
24
|
+
|
25
|
+
[source]: https://github.com/pboling/activerecord-transactionable/
|
data/README.md
CHANGED
@@ -5,31 +5,23 @@ Do your Spaceships belong to Captains, but sometimes a Captain will retire, and
|
|
5
5
|
We've all been there. This gem provides structure around the process of "shifting" your records from one associated
|
6
6
|
record to a new record.
|
7
7
|
|
8
|
-
| Project
|
9
|
-
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
| unsupported status | [![unsupported status](https://github.com/pboling/shiftable/actions/workflows/unsupported.yml/badge.svg)](https://github.com/pboling/shiftable/actions) |
|
18
|
-
| test coverage | [![Test Coverage](https://api.codeclimate.com/v1/badges/a53aa8b7c413b950d519/test_coverage)](https://codeclimate.com/github/pboling/shiftable/test_coverage) |
|
19
|
-
| maintainability | [![Maintainability](https://api.codeclimate.com/v1/badges/a53aa8b7c413b950d519/maintainability)](https://codeclimate.com/github/pboling/shiftable/maintainability) |
|
20
|
-
| code triage | [![Open Source Helpers](https://www.codetriage.com/pboling/shiftable/badges/users.svg)](https://www.codetriage.com/pboling/shiftable) |
|
21
|
-
| homepage | [on Github.com][homepage], [on Railsbling.com][blogpage] |
|
22
|
-
| documentation | [on RDoc.info][documentation] |
|
23
|
-
| Spread ~♡ⓛⓞⓥⓔ♡~ | [🌏][aboutme], [👼][angelme], [💻][coderme], [![Tweet @ Peter][followme-img]][tweetme], [🌹][politicme] |
|
8
|
+
| Project | Shiftable |
|
9
|
+
|--------------------------- | ----------------------- |
|
10
|
+
| name, license, docs | [![RubyGems.org](https://img.shields.io/badge/name-shiftable-brightgreen.svg?style=flat)][rubygems] [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)][license-ref] [![RubyDoc.info](https://img.shields.io/badge/documentation-rubydoc-brightgreen.svg?style=flat)][documentation] |
|
11
|
+
| version & downloads | [![Version](https://img.shields.io/gem/v/shiftable.svg)][rubygems] [![Total Downloads](https://img.shields.io/gem/dt/shiftable.svg)][rubygems] [![Downloads Today](https://img.shields.io/gem/rd/shiftable.svg)][rubygems] [![Homepage](https://img.shields.io/badge/source-github-brightgreen.svg?style=flat)][source] |
|
12
|
+
| dependencies & linting | [![Depfu](https://badges.depfu.com/badges/0412727b7e3b740b950a683eebc708e2/count.svg)][depfu] [![lint status](https://github.com/pboling/shiftable/actions/workflows/style.yml/badge.svg)][actions] |
|
13
|
+
| unit tests | [![supported rubies](https://github.com/pboling/shiftable/actions/workflows/supported.yml/badge.svg)][actions] [![unsupported status](https://github.com/pboling/shiftable/actions/workflows/unsupported.yml/badge.svg)][actions] |
|
14
|
+
| coverage & maintainability | [![Test Coverage](https://api.codeclimate.com/v1/badges/a53aa8b7c413b950d519/test_coverage)][climate_coverage] [![codecov](https://codecov.io/gh/pboling/shiftable/branch/main/graph/badge.svg?token=J1542PYN2Z)][codecov_coverage] [![Maintainability](https://api.codeclimate.com/v1/badges/a53aa8b7c413b950d519/maintainability)][climate_maintainability] [![Security Policy](https://img.shields.io/badge/security-policy-brightgreen.svg?style=flat)][security] |
|
15
|
+
| resources | [![Discussion](https://img.shields.io/badge/discussions-github-brightgreen.svg?style=flat)][gh_discussions] [![Get help on Codementor](https://cdn.codementor.io/badges/get_help_github.svg)](https://www.codementor.io/peterboling?utm_source=github&utm_medium=button&utm_term=peterboling&utm_campaign=github) [![Join the chat at https://gitter.im/pboling/shiftable](https://badges.gitter.im/Join%20Chat.svg)][chat] [![Blog](https://img.shields.io/badge/blog-railsbling-brightgreen.svg?style=flat)][blogpage] |
|
16
|
+
| Spread ~♡ⓛⓞⓥⓔ♡~ | [![Open Source Helpers](https://www.codetriage.com/pboling/shiftable/badges/users.svg)][code_triage] [![Liberapay Patrons](https://img.shields.io/liberapay/patrons/pboling.svg?logo=liberapay)][liberapay_donate] [![Sponsor Me](https://img.shields.io/badge/sponsor-pboling.svg?style=social&logo=github)][gh_sponsors] [🌏][aboutme] [👼][angelme] [💻][coderme] [🌹][politicme] [![Tweet @ Peter][followme-img]][tweetme] |
|
24
17
|
|
25
18
|
## Compatibility
|
26
19
|
|
27
20
|
Targeted ruby compatibility is non-EOL versions of Ruby, currently 2.6, 2.7, and 3.0, but may work on older Rubies back
|
28
21
|
to 2.0, though it is limited to 2.5 in the gemspec. Feel free to fork if you need something older! Targeted ActiveRecord
|
29
22
|
(Rails not required) compatibility follows the same scheme
|
30
|
-
as [Rails Security Issue maintenance policy]
|
31
|
-
|
32
|
-
on Ruby 2+.
|
23
|
+
as [Rails Security Issue maintenance policy][maintenancee_policy], currently 6.1, 6.0, 5.2, but it is highly likely that
|
24
|
+
this code will work in any version of ActiveRecord/Rails that runs on Ruby 2+.
|
33
25
|
|
34
26
|
## Installation
|
35
27
|
|
@@ -123,9 +115,9 @@ all federation spaceships are commandeered! You are ruined!
|
|
123
115
|
class Spaceship < ActiveRecord::Base
|
124
116
|
belongs_to :space_federation
|
125
117
|
extend Shiftable::Collection.new belongs_to: :space_federation, has_one: :spaceship,
|
126
|
-
before_shift: lambda
|
127
|
-
|
128
|
-
|
118
|
+
before_shift: lambda { |shifting_rel:, shift_to:, shift_from:|
|
119
|
+
shifting_rel.each { |spaceship| spaceship.federation_changes += 1 }
|
120
|
+
}
|
129
121
|
end
|
130
122
|
|
131
123
|
class SpaceFederation < ActiveRecord::Base
|
@@ -157,9 +149,9 @@ class Spaceship < ActiveRecord::Base
|
|
157
149
|
|
158
150
|
belongs_to :space_federation
|
159
151
|
extend Shiftable::Collection.new belongs_to: :space_federation, has_one: :spaceship,
|
160
|
-
before_shift: lambda
|
161
|
-
|
162
|
-
|
152
|
+
before_shift: lambda { |shifting_rel:, shift_to:, shift_from:|
|
153
|
+
shifting_rel.each { |spaceship| spaceship.federation_changes += 1 }
|
154
|
+
}
|
163
155
|
end
|
164
156
|
|
165
157
|
class SpaceFederation < ActiveRecord::Base
|
@@ -174,6 +166,21 @@ end
|
|
174
166
|
|
175
167
|
... stay tuned!
|
176
168
|
|
169
|
+
## More Information
|
170
|
+
|
171
|
+
* RubyDoc
|
172
|
+
Documentation: [![RubyDoc.info](https://img.shields.io/badge/documentation-rubydoc-brightgreen.svg?style=flat)][documentation]
|
173
|
+
* GitHub
|
174
|
+
Discussions: [![Discussion](https://img.shields.io/badge/discussions-github-brightgreen.svg?style=flat)][gh_discussions]
|
175
|
+
* Live Chat on
|
176
|
+
Gitter: [![Join the chat at https://gitter.im/pboling/activerecord-transactionable](https://badges.gitter.im/Join%20Chat.svg)][chat]
|
177
|
+
* Maintainer's Blog: [![Blog](https://img.shields.io/badge/blog-railsbling-brightgreen.svg?style=flat)][blogpage]
|
178
|
+
|
179
|
+
## Code of Conduct
|
180
|
+
|
181
|
+
Everyone interacting in the Shiftable project's codebases, issue trackers, chat rooms and mailing lists is expected to
|
182
|
+
follow the [code of conduct][conduct].
|
183
|
+
|
177
184
|
## Development
|
178
185
|
|
179
186
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can
|
@@ -185,14 +192,13 @@ push git commits and the created tag, and push the `.gem` file to [rubygems.org]
|
|
185
192
|
|
186
193
|
## Contributing
|
187
194
|
|
188
|
-
|
189
|
-
be a safe, welcoming space for collaboration, and contributors are expected to adhere to
|
190
|
-
the [code of conduct](https://github.com/pboling/shiftable/blob/master/CODE_OF_CONDUCT.md).
|
195
|
+
See [CONTRIBUTING.md][contributing]
|
191
196
|
|
192
|
-
##
|
197
|
+
## Contributors
|
193
198
|
|
194
|
-
|
195
|
-
|
199
|
+
[![Contributors](https://contrib.rocks/image?repo=pboling/shiftable)]("https://github.com/pboling/shiftable/graphs/contributors")
|
200
|
+
|
201
|
+
Made with [contributors-img](https://contrib.rocks).
|
196
202
|
|
197
203
|
## Versioning
|
198
204
|
|
@@ -207,18 +213,36 @@ the [Pessimistic Version Constraint][pvc] with two digits of precision.
|
|
207
213
|
For example:
|
208
214
|
|
209
215
|
```ruby
|
210
|
-
spec.add_dependency "shiftable", "~> 0.
|
216
|
+
spec.add_dependency "shiftable", "~> 0.4"
|
211
217
|
```
|
212
218
|
|
219
|
+
## Contact
|
220
|
+
|
221
|
+
Author and maintainer is Peter Boling ([@pboling][gh_sponsors]).
|
222
|
+
|
223
|
+
Comments are welcome in the [GitHub Discussions][gh_discussions] board.
|
224
|
+
|
225
|
+
For security-related issues see [SECURITY][security].
|
226
|
+
|
213
227
|
## License
|
214
228
|
|
215
229
|
The gem is available as open source under the terms of
|
216
|
-
the [MIT License]
|
217
|
-
.
|
230
|
+
the [MIT License][license] [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)][license-ref].
|
231
|
+
See [LICENSE][license] for the official [Copyright Notice][copyright-notice-explainer].
|
218
232
|
|
219
233
|
* Copyright (c) 2021 [Peter H. Boling][peterboling] of [Rails Bling][railsbling]
|
220
234
|
|
221
|
-
[
|
235
|
+
[copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
236
|
+
|
237
|
+
[gh_discussions]: https://github.com/pboling/shiftable/discussions
|
238
|
+
|
239
|
+
[conduct]: https://github.com/pboling/shiftable/blob/master/CODE_OF_CONDUCT.md
|
240
|
+
|
241
|
+
[security]: https://github.com/pboling/shiftable/blob/master/SECURITY.md
|
242
|
+
|
243
|
+
[license]: https://github.com/pboling/shiftable/blob/master/LICENSE.txt
|
244
|
+
|
245
|
+
[license-ref]: https://opensource.org/licenses/MIT
|
222
246
|
|
223
247
|
[semver]: http://semver.org/
|
224
248
|
|
@@ -240,8 +264,32 @@ the [MIT License](https://opensource.org/licenses/MIT) [![License: MIT](https://
|
|
240
264
|
|
241
265
|
[politicme]: https://nationalprogressiveparty.org
|
242
266
|
|
243
|
-
[documentation]:
|
267
|
+
[documentation]: https://rubydoc.info/github/pboling/shiftable/main
|
268
|
+
|
269
|
+
[source]: https://github.com/pboling/shiftable/
|
270
|
+
|
271
|
+
[actions]: https://github.com/pboling/shiftable/actions
|
272
|
+
|
273
|
+
[issues]: https://github.com/pboling/shiftable/issues
|
274
|
+
|
275
|
+
[climate_maintainability]: https://codeclimate.com/github/pboling/shiftable/maintainability
|
244
276
|
|
245
|
-
[
|
277
|
+
[climate_coverage]: https://codeclimate.com/github/pboling/shiftable/test_coverage
|
278
|
+
|
279
|
+
[codecov_coverage]: https://codecov.io/gh/pboling/shiftable
|
280
|
+
|
281
|
+
[code_triage]: https://www.codetriage.com/pboling/shiftable
|
282
|
+
|
283
|
+
[depfu]: https://depfu.com/github/pboling/shiftable?project_id=32594
|
246
284
|
|
247
285
|
[blogpage]: http://www.railsbling.com/tags/shiftable/
|
286
|
+
|
287
|
+
[rubygems]: https://rubygems.org/gems/shiftable
|
288
|
+
|
289
|
+
[chat]: https://gitter.im/pboling/shiftable?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
|
290
|
+
|
291
|
+
[maintenancee_policy]: https://guides.rubyonrails.org/maintenance_policy.html#security-issues
|
292
|
+
|
293
|
+
[liberapay_donate]: https://liberapay.com/pboling/donate
|
294
|
+
|
295
|
+
[gh_sponsors]: https://github.com/sponsors/pboling
|
@@ -3,10 +3,7 @@
|
|
3
3
|
module Shiftable
|
4
4
|
class ModSignature
|
5
5
|
VALID_TYPES = %i[sg cx].freeze
|
6
|
-
VALID_ASSOCIATIONS = {
|
7
|
-
sg: %i[belongs_to has_one],
|
8
|
-
cx: %i[belongs_to has_many]
|
9
|
-
}.freeze
|
6
|
+
VALID_ASSOCIATIONS = { sg: %i[belongs_to has_one], cx: %i[belongs_to has_many] }.freeze
|
10
7
|
DEFAULT_BEFORE_SHIFT = ->(*_) { true }
|
11
8
|
attr_reader :associations, :options, :type, :base
|
12
9
|
|
data/lib/shiftable/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shiftable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Boling
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-10
|
11
|
+
date: 2021-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '5'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -109,105 +109,7 @@ dependencies:
|
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '3.10'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name: rspec-
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '1.0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '1.0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: rubocop
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - "~>"
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '1.2'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - "~>"
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '1.2'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: rubocop-faker
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - "~>"
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '1.1'
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - "~>"
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '1.1'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: rubocop-md
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - "~>"
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '1.0'
|
160
|
-
type: :development
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - "~>"
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '1.0'
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: rubocop-minitest
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - "~>"
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: '0.15'
|
174
|
-
type: :development
|
175
|
-
prerelease: false
|
176
|
-
version_requirements: !ruby/object:Gem::Requirement
|
177
|
-
requirements:
|
178
|
-
- - "~>"
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: '0.15'
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: rubocop-packaging
|
183
|
-
requirement: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - "~>"
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: '0.5'
|
188
|
-
type: :development
|
189
|
-
prerelease: false
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
191
|
-
requirements:
|
192
|
-
- - "~>"
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
version: '0.5'
|
195
|
-
- !ruby/object:Gem::Dependency
|
196
|
-
name: rubocop-performance
|
197
|
-
requirement: !ruby/object:Gem::Requirement
|
198
|
-
requirements:
|
199
|
-
- - "~>"
|
200
|
-
- !ruby/object:Gem::Version
|
201
|
-
version: '1.11'
|
202
|
-
type: :development
|
203
|
-
prerelease: false
|
204
|
-
version_requirements: !ruby/object:Gem::Requirement
|
205
|
-
requirements:
|
206
|
-
- - "~>"
|
207
|
-
- !ruby/object:Gem::Version
|
208
|
-
version: '1.11'
|
209
|
-
- !ruby/object:Gem::Dependency
|
210
|
-
name: rubocop-rake
|
112
|
+
name: rspec-benchmark
|
211
113
|
requirement: !ruby/object:Gem::Requirement
|
212
114
|
requirements:
|
213
115
|
- - "~>"
|
@@ -221,21 +123,7 @@ dependencies:
|
|
221
123
|
- !ruby/object:Gem::Version
|
222
124
|
version: '0.6'
|
223
125
|
- !ruby/object:Gem::Dependency
|
224
|
-
name:
|
225
|
-
requirement: !ruby/object:Gem::Requirement
|
226
|
-
requirements:
|
227
|
-
- - "~>"
|
228
|
-
- !ruby/object:Gem::Version
|
229
|
-
version: '2.5'
|
230
|
-
type: :development
|
231
|
-
prerelease: false
|
232
|
-
version_requirements: !ruby/object:Gem::Requirement
|
233
|
-
requirements:
|
234
|
-
- - "~>"
|
235
|
-
- !ruby/object:Gem::Version
|
236
|
-
version: '2.5'
|
237
|
-
- !ruby/object:Gem::Dependency
|
238
|
-
name: rubocop-rspec-focused
|
126
|
+
name: rspec-block_is_expected
|
239
127
|
requirement: !ruby/object:Gem::Requirement
|
240
128
|
requirements:
|
241
129
|
- - "~>"
|
@@ -248,48 +136,6 @@ dependencies:
|
|
248
136
|
- - "~>"
|
249
137
|
- !ruby/object:Gem::Version
|
250
138
|
version: '1.0'
|
251
|
-
- !ruby/object:Gem::Dependency
|
252
|
-
name: rubocop-thread_safety
|
253
|
-
requirement: !ruby/object:Gem::Requirement
|
254
|
-
requirements:
|
255
|
-
- - "~>"
|
256
|
-
- !ruby/object:Gem::Version
|
257
|
-
version: '0.4'
|
258
|
-
type: :development
|
259
|
-
prerelease: false
|
260
|
-
version_requirements: !ruby/object:Gem::Requirement
|
261
|
-
requirements:
|
262
|
-
- - "~>"
|
263
|
-
- !ruby/object:Gem::Version
|
264
|
-
version: '0.4'
|
265
|
-
- !ruby/object:Gem::Dependency
|
266
|
-
name: simplecov
|
267
|
-
requirement: !ruby/object:Gem::Requirement
|
268
|
-
requirements:
|
269
|
-
- - "~>"
|
270
|
-
- !ruby/object:Gem::Version
|
271
|
-
version: '0.21'
|
272
|
-
type: :development
|
273
|
-
prerelease: false
|
274
|
-
version_requirements: !ruby/object:Gem::Requirement
|
275
|
-
requirements:
|
276
|
-
- - "~>"
|
277
|
-
- !ruby/object:Gem::Version
|
278
|
-
version: '0.21'
|
279
|
-
- !ruby/object:Gem::Dependency
|
280
|
-
name: simplecov-cobertura
|
281
|
-
requirement: !ruby/object:Gem::Requirement
|
282
|
-
requirements:
|
283
|
-
- - "~>"
|
284
|
-
- !ruby/object:Gem::Version
|
285
|
-
version: '1.4'
|
286
|
-
type: :development
|
287
|
-
prerelease: false
|
288
|
-
version_requirements: !ruby/object:Gem::Requirement
|
289
|
-
requirements:
|
290
|
-
- - "~>"
|
291
|
-
- !ruby/object:Gem::Version
|
292
|
-
version: '1.4'
|
293
139
|
- !ruby/object:Gem::Dependency
|
294
140
|
name: sqlite3
|
295
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -328,6 +174,7 @@ extra_rdoc_files: []
|
|
328
174
|
files:
|
329
175
|
- CHANGELOG.md
|
330
176
|
- CODE_OF_CONDUCT.md
|
177
|
+
- CONTRIBUTING.md
|
331
178
|
- LICENSE.txt
|
332
179
|
- README.md
|
333
180
|
- lib/shiftable.rb
|
@@ -353,14 +200,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
353
200
|
requirements:
|
354
201
|
- - ">="
|
355
202
|
- !ruby/object:Gem::Version
|
356
|
-
version:
|
203
|
+
version: 2.5.0
|
357
204
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
358
205
|
requirements:
|
359
206
|
- - ">="
|
360
207
|
- !ruby/object:Gem::Version
|
361
208
|
version: '0'
|
362
209
|
requirements: []
|
363
|
-
rubygems_version: 3.
|
210
|
+
rubygems_version: 3.0.3.1
|
364
211
|
signing_key:
|
365
212
|
specification_version: 4
|
366
213
|
summary: Easily shift record associations
|