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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87ac7433faa0ed7b9035c114563117149cf915d2ed3228bacc4a7b463bedbc98
4
- data.tar.gz: 7f84351d1227527ddfd1e7e19be777be4e75281a41c6f0ee837668d618c10d90
3
+ metadata.gz: 935b81445cab3b81f4b34100aa455fc8944be22cf7a2c053cdf64bbab4938de0
4
+ data.tar.gz: 860c0cb587002ca7500aa63cc684127808e0a1a45a8722dd01117d7d80aea5b2
5
5
  SHA512:
6
- metadata.gz: 6776b1a32281d906fb8dbb786c75069b3d1c5f1d7b859c93b9702bbd79b055fd6875b017d94bf6b33c6291a01253fb0ff8669ece9c09565147ebe2dfd1099c66
7
- data.tar.gz: 10e779276fd944988a7aa9d630625dacd2870f3ee070395909b0065048e0253864609c951c16e9d31463362fe28177b45a6e39b7f53e651e044643f46ad9d81e
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- active_record_fix_integer_limit (0.1.0)
4
+ active_record_fix_integer_limit (0.1.2)
5
5
  activerecord (>= 5.2.1)
6
6
 
7
7
  GEM
File without changes
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module FixIntegerLimit
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
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.0
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
- - MIT-LICENSE
123
+ - LICENSE
123
124
  - README.md
124
125
  - Rakefile
125
126
  - active_record_fix_integer_limit.gemspec