activerecord-mysql-enum 0.1.1 → 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: 40b6266785cc450b49ea4e4219a2df53afe8b726ae70098fab23a1e2bdef5c19
4
- data.tar.gz: 733e134f0210b4cd71d7a98aa7bbbc9692c666015cb858e7c89f7c308f027e5e
3
+ metadata.gz: 990d55ec62633ed4bc3da5770f0b37fe020b24681b689d2528defa237d3d3411
4
+ data.tar.gz: 4500ece77eae411c0d4c51f1f7732258cb2c8e41ce8dc0bc7a0db56de0f491f6
5
5
  SHA512:
6
- metadata.gz: ab926bd379bffa19b06e5beb57ccd2980c8ba9dde06c4bec54e6c644921f03010d2e6f49c67d416adaa9ad01f2c6327df6e560398d905b101efbc84448d1242b
7
- data.tar.gz: d59ee75892c1c6b9ae53c72f76deb28b8bdfcfca7163c9bb51e5bec47f86b19aceace5185765dced1457aeedb784b5d575c6f45dc37c517589f0958512c61e47
6
+ metadata.gz: e993d90711a95befe09afff1f556e7f3a533cd2668a13164e69bb078601735f621bef907e373415280e6fb3a343b561a4ed479c70bdf3d95ce937ca86029654d
7
+ data.tar.gz: a1599a97a54c13f69f12f2c02be06b004d9b613ebe8913e3044eaa7b62a3b2b133c27231d4918508bd9af34388d31a0df8d49c01228444eeda68506302a400f3
@@ -4,6 +4,10 @@ Inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
5
  Note: this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.1.2] - 2020-08-18
8
+ ### Changed
9
+ - fixed frozen string to reassign value instead of append
10
+
7
11
  ## [0.1.1] - 2020-08-18
8
12
  ### Added
9
13
  - extended activerecord dependency to '>= 4.2', '< 7'
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- activerecord-mysql-enum (0.1.1)
4
+ activerecord-mysql-enum (0.1.2)
5
5
  activerecord (>= 4.2, < 7)
6
6
 
7
7
  GEM
@@ -33,7 +33,7 @@ module ActiveRecord
33
33
  native = native_database_types[type]
34
34
  column_type_sql = (native || {})[:name] || 'enum'
35
35
 
36
- column_type_sql << "(#{limit.map { |v| quote(v) }.join(',')})"
36
+ column_type_sql += "(#{limit.map { |v| quote(v) }.join(',')})"
37
37
 
38
38
  column_type_sql
39
39
  else
@@ -46,7 +46,7 @@ module ActiveRecord
46
46
  native = native_database_types[type]
47
47
  column_type_sql = (native || {})[:name] || 'enum'
48
48
 
49
- column_type_sql << "(#{limit.map { |v| quote(v) }.join(',')})"
49
+ column_type_sql += "(#{limit.map { |v| quote(v) }.join(',')})"
50
50
 
51
51
  column_type_sql
52
52
  else
@@ -3,7 +3,7 @@
3
3
  module ActiveRecord
4
4
  module Mysql
5
5
  module Enum
6
- VERSION = "0.1.1"
6
+ VERSION = "0.1.2"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-mysql-enum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Pohodnya