rails_core_extensions 0.11.2 → 0.11.3

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: e58d4846243aed9d34acbc12219f9968d0794dac0c7663809293660306e7b76f
4
- data.tar.gz: a455c966efdfaa720de412cadb772fff9efc6dd9c5b1951cd012686bce40be52
3
+ metadata.gz: cb01e71e0bcfd0cfbeb33038f8b4d0c352963b1e038281cc7b367efb857a0c4a
4
+ data.tar.gz: 420d2f75e7177bc8e830f3e664d715e05b7edfbe926bc1c1d8281bfded08e631
5
5
  SHA512:
6
- metadata.gz: 2e742d0b0c274dce91c59cbc500cfa47a98abe66dc295b4ecec30fde12c01e9c503abeed9714c8c9a23f0de09d9dbc069a47fb3a19671a36a525a23242448a72
7
- data.tar.gz: 64624d95978eac776e0b68c416c496c375c1d35cee267f578cb888c9b0818e610dfdc980815745a96c6023566c762e3bf5eeebcdc39812f88b6d719e94f71244
6
+ metadata.gz: b6ae22bd6a58fe5e52c7d87ccd3638bd61f207845634b1121974ca1f9c9c193d263e476ecc457012e189df62291b4aacfe318f4329943b30051643d355ba380e
7
+ data.tar.gz: '096f622ef44ccf9a96a2d08ea38604ecd73eeb42edcdff939ddae5d2256235546a8c5c31c37d796a691aaa71702796282ff5c2ab39a640ade77c9a22171eac87'
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.11.3
4
+
5
+ - [TT-8647] Fix issue with position_helpers_for active record change
6
+
3
7
  ## 0.11.2
4
8
 
5
9
  * [TT-8640] Add dependabot config
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Rails Core Extensions
2
2
 
3
- [![Build Status](https://github.com/sealink/rails_core_extensions/workflows/Build/badge.svg?branch=master)](https://github.com/sealink/rails_core_extensions/actions)
3
+ [![Build Status](https://github.com/sealink/rails_core_extensions/workflows/Build%20and%20Test/badge.svg?branch=master)](https://github.com/sealink/rails_core_extensions/actions)
4
4
  [![Coverage Status](https://coveralls.io/repos/sealink/rails_core_extensions/badge.png)](https://coveralls.io/r/sealink/rails_core_extensions)
5
5
  [![Code Climate](https://codeclimate.com/github/sealink/rails_core_extensions.png)](https://codeclimate.com/github/sealink/rails_core_extensions)
6
6
 
@@ -62,10 +62,10 @@ along with type_body[]=7.. for all the types in category 6
62
62
 
63
63
  To publish a new version of this gem the following steps must be taken.
64
64
 
65
- * Update the version in the following files
65
+ - Update the version in the following files
66
66
  ```
67
67
  CHANGELOG.md
68
68
  lib/rails_core_extensions/version.rb
69
- ````
70
- * Create a tag using the format v0.1.0
71
- * Follow build progress in GitHub actions
69
+ ```
70
+ - Create a tag using the format v0.1.0
71
+ - Follow build progress in GitHub actions
@@ -70,7 +70,7 @@ module ActiveRecordExtensions
70
70
  reload
71
71
  #{collection}.sort_by(&:position).each_with_index do |o, index|
72
72
  if o.position != (index + 1)
73
- o.update(:position, index + 1)
73
+ o.update_attribute(:position, index + 1)
74
74
  end
75
75
  end
76
76
  end
@@ -1,3 +1,3 @@
1
1
  module RailsCoreExtensions
2
- VERSION = '0.11.2'
2
+ VERSION = '0.11.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_core_extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.2
4
+ version: 0.11.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Noack