nilly_vanilly 1.0.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +2 -0
- data/CHANGELOG.md +13 -0
- data/Gemfile.lock +22 -22
- data/README.markdown +2 -0
- data/Rakefile +3 -1
- data/lib/nilly_vanilly/version.rb +1 -1
- data/nilly_vanilly.gemspec +5 -5
- metadata +26 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: f83b9af9a07a6a70241b078ebab8551b50b4572e2ababa0a1617ce0508b74c56
|
4
|
+
data.tar.gz: 32500d3eafc95bd74e60d42b6891449445120c8007a62e40962a91766c221bd6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16837b73caca3fdb917bce5b11a1c65188d0e3d7e4bc0ddf140674da85ec0b98e1005a7e3a01b034829bdc65f6dc7c4e6991a5b15147f744fd9be18be8150eef
|
7
|
+
data.tar.gz: cd56c6f45830164d0806915cd15e71f796fc4f838e412256a8dea1185203784a2654bc56ac15fd6afaa6b493cf7b289c613ccf2d13ac3e84069c3a9b306cbba6
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
## 2.0.0 (September 2020)
|
2
|
+
|
3
|
+
Security: require fixed versions of dependencies
|
4
|
+
|
5
|
+
- Fixes CVE-2020-8165
|
6
|
+
- Fixes CVE-2020-8130
|
7
|
+
|
8
|
+
|
9
|
+
## 1.0.0 (March 2018)
|
10
|
+
|
11
|
+
This release is working reliably in production.
|
12
|
+
|
13
|
+
|
1
14
|
## 0.3.0 (February 2013)
|
2
15
|
|
3
16
|
Add the Rake tasks to Rails 3 apps via a Railtie
|
data/Gemfile.lock
CHANGED
@@ -1,30 +1,29 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
nilly_vanilly (
|
5
|
-
activerecord (>= 4.
|
4
|
+
nilly_vanilly (2.0.0)
|
5
|
+
activerecord (>= 5.2.4.3)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
activemodel (
|
11
|
-
activesupport (=
|
12
|
-
activerecord (
|
13
|
-
activemodel (=
|
14
|
-
activesupport (=
|
15
|
-
|
16
|
-
activesupport (5.1.5)
|
10
|
+
activemodel (6.0.3.2)
|
11
|
+
activesupport (= 6.0.3.2)
|
12
|
+
activerecord (6.0.3.2)
|
13
|
+
activemodel (= 6.0.3.2)
|
14
|
+
activesupport (= 6.0.3.2)
|
15
|
+
activesupport (6.0.3.2)
|
17
16
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
18
|
-
i18n (
|
17
|
+
i18n (>= 0.7, < 2)
|
19
18
|
minitest (~> 5.1)
|
20
19
|
tzinfo (~> 1.1)
|
21
|
-
|
22
|
-
concurrent-ruby (1.
|
20
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
21
|
+
concurrent-ruby (1.1.7)
|
23
22
|
diff-lcs (1.3)
|
24
|
-
i18n (
|
23
|
+
i18n (1.8.5)
|
25
24
|
concurrent-ruby (~> 1.0)
|
26
|
-
minitest (5.
|
27
|
-
rake (
|
25
|
+
minitest (5.14.2)
|
26
|
+
rake (13.0.1)
|
28
27
|
rspec (3.7.0)
|
29
28
|
rspec-core (~> 3.7.0)
|
30
29
|
rspec-expectations (~> 3.7.0)
|
@@ -38,20 +37,21 @@ GEM
|
|
38
37
|
diff-lcs (>= 1.2.0, < 2.0)
|
39
38
|
rspec-support (~> 3.7.0)
|
40
39
|
rspec-support (3.7.1)
|
41
|
-
sqlite3 (1.
|
40
|
+
sqlite3 (1.4.2)
|
42
41
|
thread_safe (0.3.6)
|
43
|
-
tzinfo (1.2.
|
42
|
+
tzinfo (1.2.7)
|
44
43
|
thread_safe (~> 0.1)
|
44
|
+
zeitwerk (2.4.0)
|
45
45
|
|
46
46
|
PLATFORMS
|
47
47
|
ruby
|
48
48
|
|
49
49
|
DEPENDENCIES
|
50
|
-
|
50
|
+
bundler (~> 2.1)
|
51
51
|
nilly_vanilly!
|
52
|
-
rake
|
53
|
-
rspec (
|
54
|
-
sqlite3 (
|
52
|
+
rake (>= 12.3.3)
|
53
|
+
rspec (~> 3.7)
|
54
|
+
sqlite3 (~> 1.4)
|
55
55
|
|
56
56
|
BUNDLED WITH
|
57
|
-
1.
|
57
|
+
2.1.4
|
data/README.markdown
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
This Rails gem/plugin stores NULL in your database when you try to store an empty string.
|
4
4
|
|
5
|
+
[![Build Status](https://travis-ci.org/tilsammans/nilly_vanilly.svg?branch=master)](https://travis-ci.org/tilsammans/nilly_vanilly)
|
6
|
+
|
5
7
|
It only works for columns you explicitly mention inside your model. It comes
|
6
8
|
with a rake task which prints out all the columns eligible for nillification.
|
7
9
|
|
data/Rakefile
CHANGED
data/nilly_vanilly.gemspec
CHANGED
@@ -18,10 +18,10 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
19
|
s.require_paths = ["lib"]
|
20
20
|
|
21
|
-
s.add_dependency 'activerecord', '>= 4.
|
21
|
+
s.add_dependency 'activerecord', '>= 5.2.4.3'
|
22
22
|
|
23
|
-
s.add_development_dependency '
|
24
|
-
s.add_development_dependency '
|
25
|
-
s.add_development_dependency '
|
26
|
-
s.add_development_dependency '
|
23
|
+
s.add_development_dependency 'bundler', '~> 2.1'
|
24
|
+
s.add_development_dependency 'rake', '>= 12.3.3'
|
25
|
+
s.add_development_dependency 'rspec', '~> 3.7'
|
26
|
+
s.add_development_dependency 'sqlite3', '~> 1.4'
|
27
27
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nilly_vanilly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joost Baaij
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -16,70 +16,70 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.
|
19
|
+
version: 5.2.4.3
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.
|
26
|
+
version: 5.2.4.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: '2.1'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: '2.1'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 3.
|
47
|
+
version: 12.3.3
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 3.
|
54
|
+
version: 12.3.3
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: '3.7'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: '3.7'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: sqlite3
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '1.4'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '1.4'
|
83
83
|
description: This plugin stores NULL in your database when you try to store an empty
|
84
84
|
string.
|
85
85
|
email:
|
@@ -135,16 +135,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
135
|
- !ruby/object:Gem::Version
|
136
136
|
version: '0'
|
137
137
|
requirements: []
|
138
|
-
|
139
|
-
rubygems_version: 2.6.11
|
138
|
+
rubygems_version: 3.0.1
|
140
139
|
signing_key:
|
141
140
|
specification_version: 4
|
142
141
|
summary: This plugin stores NULL in your database when you try to store an empty string.
|
143
|
-
test_files:
|
144
|
-
- spec/db/database.yml.example
|
145
|
-
- spec/db/models.rb
|
146
|
-
- spec/db/schema.rb
|
147
|
-
- spec/nilly_vanilly/inspect_spec.rb
|
148
|
-
- spec/nilly_vanilly_spec.rb
|
149
|
-
- spec/spec_helper.rb
|
150
|
-
- spec/support/database.rb
|
142
|
+
test_files: []
|