active_record_fix_integer_limit 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +48 -0
- data/Gemfile.lock +1 -1
- data/{MIT-LICENSE → LICENSE} +0 -0
- data/lib/active_record/fix_integer_limit/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 935b81445cab3b81f4b34100aa455fc8944be22cf7a2c053cdf64bbab4938de0
|
4
|
+
data.tar.gz: 860c0cb587002ca7500aa63cc684127808e0a1a45a8722dd01117d7d80aea5b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5b0448a47cca85810c2b2b65e66b7491048b7ad96f6a2a9777ff766d4991760e6ffbe85d84426308e5e1824b4f126d7ef591f3e04ac9948f52560c88769dfd6
|
7
|
+
data.tar.gz: 2557cbb32ca76c09eaa7cf99075735ba35505fd8704f442cb142ab867e02447d57583d487b63aa825703456c4825c51eeed3f0864c5442d8dbb0bc61d5dd4f1c
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
# ChangeLog
|
2
|
+
|
3
|
+
Here's an overview of notable changes to this program.
|
4
|
+
For more technical details, try [`tig`](https://jonas.github.io/tig/).
|
5
|
+
|
6
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
7
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
8
|
+
|
9
|
+
## [Unreleased]
|
10
|
+
|
11
|
+
Nothing yet. Maybe open an issue?
|
12
|
+
|
13
|
+
## [0.1.2] - 2018-09-18
|
14
|
+
|
15
|
+
No functionality change.
|
16
|
+
|
17
|
+
### Changed
|
18
|
+
- Last two releases were to fix relative links to the compare view so that it
|
19
|
+
works across Gitlab and Github. Didn't test it on GH yet but it should work.
|
20
|
+
I know, I should have used a branch for this, as it is irrelevant to the code.
|
21
|
+
|
22
|
+
## [0.1.1] - 2018-09-18
|
23
|
+
|
24
|
+
No functionality change.
|
25
|
+
|
26
|
+
### Added
|
27
|
+
- [CHANGELOG.md] (this file)
|
28
|
+
|
29
|
+
### Changed
|
30
|
+
- [LICENSE] file renamed from MIT-LICENSE to comply with code hosting platforms.
|
31
|
+
|
32
|
+
## 0.1.0 - 2018-09-18
|
33
|
+
|
34
|
+
### Added
|
35
|
+
- Initial release: `ActiveRecord::FixIntegerLimit` is a module to pass `limit`
|
36
|
+
of 8 (bytes) to the constructor of `ActiveRecord::Type::UnsignedInteger`,
|
37
|
+
applying the yet unused API of `ActiveModel::Type:Integer` to bypass the
|
38
|
+
`DEFAULT_LIMIT` of 4 bytes than can make tests break without any good reason.
|
39
|
+
An alternative is to use the [activerecord-suppress_range_error] gem that
|
40
|
+
simply does what it says, leaving the (remote) possibility of an actual (and
|
41
|
+
undetected) overflow. Not sure my patch is better, but _it works for me_™.
|
42
|
+
|
43
|
+
[CHANGELOG.md]: ./CHANGELOG.md
|
44
|
+
[LICENSE]: ./LICENSE
|
45
|
+
[Unreleased]: /../compare/v0.1.2...HEAD
|
46
|
+
[0.1.2]: /../compare/v0.1.1...v0.1.2
|
47
|
+
[0.1.1]: /../compare/v0.1.0...v0.1.1
|
48
|
+
[activerecord-suppress_range_error]: https://github.com/kamipo/activerecord-suppress_range_error
|
data/Gemfile.lock
CHANGED
data/{MIT-LICENSE → LICENSE}
RENAMED
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_record_fix_integer_limit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- hellekin
|
@@ -117,9 +117,10 @@ extra_rdoc_files: []
|
|
117
117
|
files:
|
118
118
|
- ".gitignore"
|
119
119
|
- ".rspec"
|
120
|
+
- CHANGELOG.md
|
120
121
|
- Gemfile
|
121
122
|
- Gemfile.lock
|
122
|
-
-
|
123
|
+
- LICENSE
|
123
124
|
- README.md
|
124
125
|
- Rakefile
|
125
126
|
- active_record_fix_integer_limit.gemspec
|