gutentag 2.3.0 → 2.3.1

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: 06163432b93d4590113c493220800afa305a1f982aaa52384648aad8f1646213
4
- data.tar.gz: 4cec16fcaa7b11d5a47e45533c956f42762c65235f11819bdae36d5b485181c4
3
+ metadata.gz: 9ec8394c126e64edbe9df0aad9007053b1a38ebd72e179054e41ed264a87f3ab
4
+ data.tar.gz: bafc3147166fd46d223aaefeb4b99a82e7566cc57c5283cbcde8b11995bd043e
5
5
  SHA512:
6
- metadata.gz: 3c08959b80eddd4cbaad7587a0aed5e5942089aa1107a800e62fab91d81099f6801c0b8a89f8627507fe0489907441f0d92b2c7e45d3f8d30b02456f4d8fc942
7
- data.tar.gz: d38bfaef36f64adbaa59049b8cac7a5d4183a119dd496a92aceaaffbad059af1f7e5a74d6597273756d307b798555d95bbdb79785e178089fb52e3396c368d69
6
+ metadata.gz: 8c0145e229b2ecfa4cfff1e5dbf9d8524611c72be4f55a118682dfef6ab6eb56cfec33dfe7c1e9165337004fdcc5a8d6a2724784a65dc582bf76fb397b048481
7
+ data.tar.gz: 3fbaa2a22bbeb0b0f2561c413ae402fd0ba3586a1b9f3d81ae1b31c58f466f15b6b944aa6b2678c4492b55563f07ef05826df6a47fc4bb997dd588501748c9c9
data/Appraisals CHANGED
@@ -1,33 +1,37 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  appraise "rails_3_2" do
4
- gem "rails", "~> 3.2.22.5"
5
- gem "mysql2", "~> 0.3.10", :platform => :ruby
4
+ gem "rails", "~> 3.2.22.5"
5
+ gem "mysql2", "~> 0.3.10", :platform => :ruby
6
6
  end if RUBY_VERSION.to_f <= 2.2
7
7
 
8
8
  appraise "rails_4_0" do
9
- gem "rails", "~> 4.0.13"
10
- gem "mysql2", "~> 0.3.10", :platform => :ruby
9
+ gem "rails", "~> 4.0.13"
10
+ gem "mysql2", "~> 0.3.10", :platform => :ruby
11
11
  end if RUBY_VERSION.to_f < 2.4
12
12
 
13
13
  appraise "rails_4_1" do
14
- gem "rails", "~> 4.1.16"
15
- gem "mysql2", "~> 0.3.13", :platform => :ruby
14
+ gem "rails", "~> 4.1.16"
15
+ gem "mysql2", "~> 0.3.13", :platform => :ruby
16
16
  end if RUBY_VERSION.to_f < 2.4
17
17
 
18
18
  appraise "rails_4_2" do
19
- gem "rails", "~> 4.2.8"
19
+ gem "rails", "~> 4.2.8"
20
+ gem "mysql2", "~> 0.4.0", :platform => :ruby
20
21
  end
21
22
 
22
23
  appraise "rails_5_0" do
23
- gem "rails", "~> 5.0.3"
24
+ gem "rails", "~> 5.0.3"
25
+ gem "mysql2", "~> 0.4.0", :platform => :ruby
24
26
  end if RUBY_VERSION.to_f >= 2.2 && RUBY_PLATFORM != "java"
25
27
 
26
28
  appraise "rails_5_1" do
27
- gem "rails", "~> 5.1.1"
29
+ gem "rails", "~> 5.1.1"
30
+ gem "mysql2", "~> 0.4.0", :platform => :ruby
28
31
  end if RUBY_VERSION.to_f >= 2.2 && RUBY_PLATFORM != "java"
29
32
 
30
33
  appraise "rails_5_2" do
31
- gem "rails", "~> 5.2.0.rc1"
32
- gem "pg", "~> 1.0"
34
+ gem "rails", "~> 5.2.0.rc2"
35
+ gem "pg", "~> 1.0", :platform => :ruby
36
+ gem "mysql2", "~> 0.4.0", :platform => :ruby
33
37
  end if RUBY_VERSION.to_f >= 2.2 && RUBY_PLATFORM != "java"
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to this project (at least, from v0.5.0 onwards) will be documented in this file.
4
4
 
5
+ ## 2.3.1 - 2018-04-05
6
+
7
+ ### Fixed
8
+
9
+ * Load tag validation code only when needed, rather than being reliant on database gems being loaded first.
10
+
5
11
  ## 2.3.0 - 2018-03-19
6
12
 
7
13
  ### Changed
data/gutentag.gemspec CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "gutentag"
6
- s.version = "2.3.0"
6
+ s.version = "2.3.1"
7
7
  s.authors = ["Pat Allan"]
8
8
  s.email = ["pat@freelancing-gods.com"]
9
9
  s.homepage = "https://github.com/pat/gutentag"
data/lib/gutentag.rb CHANGED
@@ -34,13 +34,14 @@ require "gutentag/dirty"
34
34
  require "gutentag/persistence"
35
35
  require "gutentag/remove_unused"
36
36
  require "gutentag/tag_names"
37
- require "gutentag/tag_validations"
38
37
  require "gutentag/tagged_with"
39
38
 
40
39
  Gutentag.dirtier = Gutentag::Dirty if ActiveRecord::VERSION::STRING.to_f < 4.2
41
40
 
42
41
  require "active_support/lazy_load_hooks"
43
42
  ActiveSupport.on_load(:gutentag) do
43
+ require "gutentag/tag_validations"
44
+
44
45
  Gutentag.tag_validations.call Gutentag::Tag
45
46
  end
46
47
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gutentag
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Allan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-19 00:00:00.000000000 Z
11
+ date: 2018-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord