model_error_messages 1.1.0 → 1.2.0

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
- SHA1:
3
- metadata.gz: 007df75f1595da7a658b842cd21ee696b1fd528f
4
- data.tar.gz: dcb48d29502d70d33764934b945d64c5ada1b061
2
+ SHA256:
3
+ metadata.gz: '08d5a939f2e33069d5242d13e57a5c4ecb5ce28859478c3c2d68b19d4308f56b'
4
+ data.tar.gz: 4e596b3fdc6d7e82205cd4a67de58c6b186bf7f8e5173240a72d6ca9ef6a3ed0
5
5
  SHA512:
6
- metadata.gz: 075734aaecb95dbc036310aeeef7dce016568075b6b7d5af236ae314502fce8e70ad576e02671469d8b5c774b83d54c1ebc78f6f2197c3d83f471852212dbb59
7
- data.tar.gz: 757313149b18469716c470b4fc7090994625aab782a48746d8560f88ccce6624dbe09af67ae8a479e4c7d108d7ab73e5de0957d8dd721c9c30cc14defa360ee2
6
+ metadata.gz: afeac44d5b3234638e99be95b91efb65c6a75d27f2ed827a87cef4843d70cfaf4f3cd7a241965eafff2cf43e6a869f76a308479799d700cfb29e887b9347a78f
7
+ data.tar.gz: 217cfd7e39329f70b47f087e9929138784de8297f035a1ccc9b2c232ff96c22cbe0dc8d51942af4856b3f49e3b2fad9ea1f80b75e0b8e8200c8bfbe2b893a08c
data/.gitignore CHANGED
@@ -3,7 +3,6 @@
3
3
  *~
4
4
  ._*
5
5
  .DS_Store
6
- .ruby-version
7
6
  /.bundle
8
7
  log/*
9
- tmp/*
8
+ tmp/*
@@ -1,4 +1,20 @@
1
- language: ruby
2
1
  rvm:
3
- - 2.2.5
4
- - 2.3.0
2
+ - 2.2
3
+ - 2.3
4
+ - 2.4
5
+ - 2.5
6
+ - ruby-head
7
+ before_install:
8
+ - gem update --system
9
+ - gem update bundler
10
+ - gem cleanup bundler
11
+ install: "bundle install --jobs 8"
12
+ script: "bundle exec rake"
13
+
14
+ matrix:
15
+ fast_finish: true
16
+ allow_failures:
17
+ - rvm: ruby-head
18
+
19
+ sudo: false
20
+ cache: bundler
data/Gemfile CHANGED
@@ -1,2 +1,11 @@
1
1
  source 'https://rubygems.org'
2
2
  gemspec
3
+
4
+ gem 'rake', '~> 11.3'
5
+ gem 'rspec', '~> 3.5'
6
+ gem 'guard-rspec', '~> 4.7'
7
+ gem 'guard-rubocop', '~> 1.2'
8
+ gem 'rb-inotify', '~> 0.9'
9
+ gem 'rb-fsevent', '~> 0.9'
10
+ gem 'rb-fchange', '~> 0'
11
+ gem 'rails', '~> 5.0'
@@ -1,63 +1,68 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- model_error_messages (1.1.0)
4
+ model_error_messages (1.2.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- actioncable (5.0.0.1)
10
- actionpack (= 5.0.0.1)
11
- nio4r (~> 1.2)
12
- websocket-driver (~> 0.6.1)
13
- actionmailer (5.0.0.1)
14
- actionpack (= 5.0.0.1)
15
- actionview (= 5.0.0.1)
16
- activejob (= 5.0.0.1)
9
+ actioncable (5.2.1)
10
+ actionpack (= 5.2.1)
11
+ nio4r (~> 2.0)
12
+ websocket-driver (>= 0.6.1)
13
+ actionmailer (5.2.1)
14
+ actionpack (= 5.2.1)
15
+ actionview (= 5.2.1)
16
+ activejob (= 5.2.1)
17
17
  mail (~> 2.5, >= 2.5.4)
18
18
  rails-dom-testing (~> 2.0)
19
- actionpack (5.0.0.1)
20
- actionview (= 5.0.0.1)
21
- activesupport (= 5.0.0.1)
19
+ actionpack (5.2.1)
20
+ actionview (= 5.2.1)
21
+ activesupport (= 5.2.1)
22
22
  rack (~> 2.0)
23
- rack-test (~> 0.6.3)
23
+ rack-test (>= 0.6.3)
24
24
  rails-dom-testing (~> 2.0)
25
25
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
26
- actionview (5.0.0.1)
27
- activesupport (= 5.0.0.1)
26
+ actionview (5.2.1)
27
+ activesupport (= 5.2.1)
28
28
  builder (~> 3.1)
29
- erubis (~> 2.7.0)
29
+ erubi (~> 1.4)
30
30
  rails-dom-testing (~> 2.0)
31
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
32
- activejob (5.0.0.1)
33
- activesupport (= 5.0.0.1)
31
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
32
+ activejob (5.2.1)
33
+ activesupport (= 5.2.1)
34
34
  globalid (>= 0.3.6)
35
- activemodel (5.0.0.1)
36
- activesupport (= 5.0.0.1)
37
- activerecord (5.0.0.1)
38
- activemodel (= 5.0.0.1)
39
- activesupport (= 5.0.0.1)
40
- arel (~> 7.0)
41
- activesupport (5.0.0.1)
35
+ activemodel (5.2.1)
36
+ activesupport (= 5.2.1)
37
+ activerecord (5.2.1)
38
+ activemodel (= 5.2.1)
39
+ activesupport (= 5.2.1)
40
+ arel (>= 9.0)
41
+ activestorage (5.2.1)
42
+ actionpack (= 5.2.1)
43
+ activerecord (= 5.2.1)
44
+ marcel (~> 0.3.1)
45
+ activesupport (5.2.1)
42
46
  concurrent-ruby (~> 1.0, >= 1.0.2)
43
- i18n (~> 0.7)
47
+ i18n (>= 0.7, < 2)
44
48
  minitest (~> 5.1)
45
49
  tzinfo (~> 1.1)
46
- arel (7.1.4)
47
- ast (2.3.0)
48
- builder (3.2.2)
49
- coderay (1.1.1)
50
- concurrent-ruby (1.0.2)
51
- diff-lcs (1.2.5)
52
- erubis (2.7.0)
53
- ffi (1.9.14)
50
+ arel (9.0.0)
51
+ ast (2.4.0)
52
+ builder (3.2.3)
53
+ coderay (1.1.2)
54
+ concurrent-ruby (1.1.3)
55
+ crass (1.0.4)
56
+ diff-lcs (1.3)
57
+ erubi (1.7.1)
58
+ ffi (1.9.25)
54
59
  formatador (0.2.5)
55
- globalid (0.3.7)
56
- activesupport (>= 4.1.0)
57
- guard (2.14.0)
60
+ globalid (0.4.1)
61
+ activesupport (>= 4.2.0)
62
+ guard (2.15.0)
58
63
  formatador (>= 0.2.4)
59
64
  listen (>= 2.7, < 4.0)
60
- lumberjack (~> 1.0)
65
+ lumberjack (>= 1.0.12, < 2.0)
61
66
  nenv (~> 0.1)
62
67
  notiffany (~> 0.0)
63
68
  pry (>= 0.9.12)
@@ -68,110 +73,116 @@ GEM
68
73
  guard (~> 2.1)
69
74
  guard-compat (~> 1.1)
70
75
  rspec (>= 2.99.0, < 4.0)
71
- guard-rubocop (1.2.0)
76
+ guard-rubocop (1.3.0)
72
77
  guard (~> 2.0)
73
78
  rubocop (~> 0.20)
74
- i18n (0.7.0)
79
+ i18n (1.1.1)
80
+ concurrent-ruby (~> 1.0)
81
+ jaro_winkler (1.5.1)
75
82
  listen (3.1.5)
76
83
  rb-fsevent (~> 0.9, >= 0.9.4)
77
84
  rb-inotify (~> 0.9, >= 0.9.7)
78
85
  ruby_dep (~> 1.2)
79
- loofah (2.0.3)
86
+ loofah (2.2.3)
87
+ crass (~> 1.0.2)
80
88
  nokogiri (>= 1.5.9)
81
- lumberjack (1.0.10)
82
- mail (2.6.4)
83
- mime-types (>= 1.16, < 4)
84
- method_source (0.8.2)
85
- mime-types (3.1)
86
- mime-types-data (~> 3.2015)
87
- mime-types-data (3.2016.0521)
88
- mini_portile2 (2.1.0)
89
- minitest (5.9.1)
89
+ lumberjack (1.0.13)
90
+ mail (2.7.1)
91
+ mini_mime (>= 0.1.1)
92
+ marcel (0.3.3)
93
+ mimemagic (~> 0.3.2)
94
+ method_source (0.9.2)
95
+ mimemagic (0.3.2)
96
+ mini_mime (1.0.1)
97
+ mini_portile2 (2.3.0)
98
+ minitest (5.11.3)
90
99
  nenv (0.3.0)
91
- nio4r (1.2.1)
92
- nokogiri (1.6.8.1)
93
- mini_portile2 (~> 2.1.0)
100
+ nio4r (2.3.1)
101
+ nokogiri (1.8.5)
102
+ mini_portile2 (~> 2.3.0)
94
103
  notiffany (0.1.1)
95
104
  nenv (~> 0.1)
96
105
  shellany (~> 0.0)
97
- parser (2.3.1.4)
98
- ast (~> 2.2)
99
- powerpack (0.1.1)
100
- pry (0.10.4)
106
+ parallel (1.12.1)
107
+ parser (2.5.3.0)
108
+ ast (~> 2.4.0)
109
+ powerpack (0.1.2)
110
+ pry (0.12.2)
101
111
  coderay (~> 1.1.0)
102
- method_source (~> 0.8.1)
103
- slop (~> 3.4)
104
- rack (2.0.1)
105
- rack-test (0.6.3)
106
- rack (>= 1.0)
107
- rails (5.0.0.1)
108
- actioncable (= 5.0.0.1)
109
- actionmailer (= 5.0.0.1)
110
- actionpack (= 5.0.0.1)
111
- actionview (= 5.0.0.1)
112
- activejob (= 5.0.0.1)
113
- activemodel (= 5.0.0.1)
114
- activerecord (= 5.0.0.1)
115
- activesupport (= 5.0.0.1)
116
- bundler (>= 1.3.0, < 2.0)
117
- railties (= 5.0.0.1)
112
+ method_source (~> 0.9.0)
113
+ rack (2.0.6)
114
+ rack-test (1.1.0)
115
+ rack (>= 1.0, < 3)
116
+ rails (5.2.1)
117
+ actioncable (= 5.2.1)
118
+ actionmailer (= 5.2.1)
119
+ actionpack (= 5.2.1)
120
+ actionview (= 5.2.1)
121
+ activejob (= 5.2.1)
122
+ activemodel (= 5.2.1)
123
+ activerecord (= 5.2.1)
124
+ activestorage (= 5.2.1)
125
+ activesupport (= 5.2.1)
126
+ bundler (>= 1.3.0)
127
+ railties (= 5.2.1)
118
128
  sprockets-rails (>= 2.0.0)
119
- rails-dom-testing (2.0.1)
120
- activesupport (>= 4.2.0, < 6.0)
121
- nokogiri (~> 1.6.0)
122
- rails-html-sanitizer (1.0.3)
123
- loofah (~> 2.0)
124
- railties (5.0.0.1)
125
- actionpack (= 5.0.0.1)
126
- activesupport (= 5.0.0.1)
129
+ rails-dom-testing (2.0.3)
130
+ activesupport (>= 4.2.0)
131
+ nokogiri (>= 1.6)
132
+ rails-html-sanitizer (1.0.4)
133
+ loofah (~> 2.2, >= 2.2.2)
134
+ railties (5.2.1)
135
+ actionpack (= 5.2.1)
136
+ activesupport (= 5.2.1)
127
137
  method_source
128
138
  rake (>= 0.8.7)
129
- thor (>= 0.18.1, < 2.0)
130
- rainbow (2.1.0)
139
+ thor (>= 0.19.0, < 2.0)
140
+ rainbow (3.0.0)
131
141
  rake (11.3.0)
132
142
  rb-fchange (0.0.6)
133
143
  ffi
134
- rb-fsevent (0.9.7)
135
- rb-inotify (0.9.7)
136
- ffi (>= 0.5.0)
137
- rspec (3.5.0)
138
- rspec-core (~> 3.5.0)
139
- rspec-expectations (~> 3.5.0)
140
- rspec-mocks (~> 3.5.0)
141
- rspec-core (3.5.4)
142
- rspec-support (~> 3.5.0)
143
- rspec-expectations (3.5.0)
144
+ rb-fsevent (0.10.3)
145
+ rb-inotify (0.9.10)
146
+ ffi (>= 0.5.0, < 2)
147
+ rspec (3.8.0)
148
+ rspec-core (~> 3.8.0)
149
+ rspec-expectations (~> 3.8.0)
150
+ rspec-mocks (~> 3.8.0)
151
+ rspec-core (3.8.0)
152
+ rspec-support (~> 3.8.0)
153
+ rspec-expectations (3.8.2)
144
154
  diff-lcs (>= 1.2.0, < 2.0)
145
- rspec-support (~> 3.5.0)
146
- rspec-mocks (3.5.0)
155
+ rspec-support (~> 3.8.0)
156
+ rspec-mocks (3.8.0)
147
157
  diff-lcs (>= 1.2.0, < 2.0)
148
- rspec-support (~> 3.5.0)
149
- rspec-support (3.5.0)
150
- rubocop (0.44.1)
151
- parser (>= 2.3.1.1, < 3.0)
158
+ rspec-support (~> 3.8.0)
159
+ rspec-support (3.8.0)
160
+ rubocop (0.60.0)
161
+ jaro_winkler (~> 1.5.1)
162
+ parallel (~> 1.10)
163
+ parser (>= 2.5, != 2.5.1.1)
152
164
  powerpack (~> 0.1)
153
- rainbow (>= 1.99.1, < 3.0)
165
+ rainbow (>= 2.2.2, < 4.0)
154
166
  ruby-progressbar (~> 1.7)
155
- unicode-display_width (~> 1.0, >= 1.0.1)
156
- ruby-progressbar (1.8.1)
167
+ unicode-display_width (~> 1.4.0)
168
+ ruby-progressbar (1.10.0)
157
169
  ruby_dep (1.5.0)
158
170
  shellany (0.0.1)
159
- slop (3.6.0)
160
- sprockets (3.7.0)
171
+ sprockets (3.7.2)
161
172
  concurrent-ruby (~> 1.0)
162
173
  rack (> 1, < 3)
163
- sprockets-rails (3.2.0)
174
+ sprockets-rails (3.2.1)
164
175
  actionpack (>= 4.0)
165
176
  activesupport (>= 4.0)
166
177
  sprockets (>= 3.0.0)
167
- thor (0.19.1)
168
- thread_safe (0.3.5)
169
- tzinfo (1.2.2)
178
+ thor (0.20.3)
179
+ thread_safe (0.3.6)
180
+ tzinfo (1.2.5)
170
181
  thread_safe (~> 0.1)
171
- unicode-display_width (1.1.1)
172
- websocket-driver (0.6.4)
182
+ unicode-display_width (1.4.0)
183
+ websocket-driver (0.7.0)
173
184
  websocket-extensions (>= 0.1.0)
174
- websocket-extensions (0.1.2)
185
+ websocket-extensions (0.1.3)
175
186
 
176
187
  PLATFORMS
177
188
  ruby
@@ -188,4 +199,4 @@ DEPENDENCIES
188
199
  rspec (~> 3.5)
189
200
 
190
201
  BUNDLED WITH
191
- 1.13.5
202
+ 1.17.1
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2016, Christophe Maximin
3
+ Copyright (c) 2019, Christophe Maximin
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
6
 
data/README.md CHANGED
@@ -109,4 +109,4 @@ $ bundle exec rspec spec/
109
109
 
110
110
  ## License
111
111
 
112
- This software is distributed under the MIT License. Copyright (c) 2016, Christophe Maximin
112
+ This software is distributed under the MIT License. Copyright (c) 2019, Christophe Maximin
@@ -1,7 +1,7 @@
1
1
  module ModelErrorMessages
2
2
  module VERSION
3
3
  MAJOR = 1
4
- MINOR = 1
4
+ MINOR = 2
5
5
  TINY = 0
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].compact.join('.')
@@ -14,15 +14,6 @@ Gem::Specification.new do |s|
14
14
 
15
15
  s.platform = Gem::Platform::RUBY
16
16
 
17
- s.add_development_dependency 'rake', '~> 11.3'
18
- s.add_development_dependency 'rspec', '~> 3.5'
19
- s.add_development_dependency 'guard-rspec', '~> 4.7'
20
- s.add_development_dependency 'guard-rubocop', '~> 1.2'
21
- s.add_development_dependency 'rb-inotify', '~> 0.9'
22
- s.add_development_dependency 'rb-fsevent', '~> 0.9'
23
- s.add_development_dependency 'rb-fchange', '~> 0'
24
- s.add_development_dependency 'rails', '~> 5.0'
25
-
26
17
  s.files = `git ls-files`.split("\n")
27
18
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
28
19
  s.executables = `git ls-files -- bin/*`.split('\n').map do |f|
metadata CHANGED
@@ -1,127 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: model_error_messages
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christophe Maximin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-31 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: rake
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '11.3'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '11.3'
27
- - !ruby/object:Gem::Dependency
28
- name: rspec
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '3.5'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '3.5'
41
- - !ruby/object:Gem::Dependency
42
- name: guard-rspec
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '4.7'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '4.7'
55
- - !ruby/object:Gem::Dependency
56
- name: guard-rubocop
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '1.2'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '1.2'
69
- - !ruby/object:Gem::Dependency
70
- name: rb-inotify
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '0.9'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '0.9'
83
- - !ruby/object:Gem::Dependency
84
- name: rb-fsevent
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '0.9'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '0.9'
97
- - !ruby/object:Gem::Dependency
98
- name: rb-fchange
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: rails
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '5.0'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: '5.0'
11
+ date: 2018-11-21 00:00:00.000000000 Z
12
+ dependencies: []
125
13
  description:
126
14
  email: christophe.maximin@gmail.com
127
15
  executables: []
@@ -167,7 +55,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
167
55
  version: '0'
168
56
  requirements: []
169
57
  rubyforge_project:
170
- rubygems_version: 2.5.1
58
+ rubygems_version: 2.7.6
171
59
  signing_key:
172
60
  specification_version: 4
173
61
  summary: Simple Rails helper which displays a HTML div with the errors attached to