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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: f2b5272e3e32237f05d2b6e7d836a40835cba0af
4
- data.tar.gz: 6cff72a1d01d1e30db61ef9bb54606ef284c5d21
2
+ SHA256:
3
+ metadata.gz: f83b9af9a07a6a70241b078ebab8551b50b4572e2ababa0a1617ce0508b74c56
4
+ data.tar.gz: 32500d3eafc95bd74e60d42b6891449445120c8007a62e40962a91766c221bd6
5
5
  SHA512:
6
- metadata.gz: e49c828ef339685a84272c51dc02bcd602c176b8b614496da53d5593ec634d18d1cb0dd37f5c17577f5b0bf639829e5f62a63e13738affc06f9cdf65331be619
7
- data.tar.gz: 986199e035615de0f4e3241cfaeca2269101bc2d957e203756d74408e50fcab889397bcf020f905a469a55ee0674181a46fd8c36edea775e4b5215a4685f96b0
6
+ metadata.gz: 16837b73caca3fdb917bce5b11a1c65188d0e3d7e4bc0ddf140674da85ec0b98e1005a7e3a01b034829bdc65f6dc7c4e6991a5b15147f744fd9be18be8150eef
7
+ data.tar.gz: cd56c6f45830164d0806915cd15e71f796fc4f838e412256a8dea1185203784a2654bc56ac15fd6afaa6b493cf7b289c613ccf2d13ac3e84069c3a9b306cbba6
@@ -3,3 +3,5 @@ language: ruby
3
3
  rvm:
4
4
  - 2.4.2
5
5
  before_install: gem install bundler -v 1.16.0
6
+ before_script:
7
+ - cp spec/db/database.yml.example spec/db/database.yml
@@ -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
@@ -1,30 +1,29 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nilly_vanilly (1.0.0)
5
- activerecord (>= 4.0.0)
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 (5.1.5)
11
- activesupport (= 5.1.5)
12
- activerecord (5.1.5)
13
- activemodel (= 5.1.5)
14
- activesupport (= 5.1.5)
15
- arel (~> 8.0)
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 (~> 0.7)
17
+ i18n (>= 0.7, < 2)
19
18
  minitest (~> 5.1)
20
19
  tzinfo (~> 1.1)
21
- arel (8.0.0)
22
- concurrent-ruby (1.0.5)
20
+ zeitwerk (~> 2.2, >= 2.2.2)
21
+ concurrent-ruby (1.1.7)
23
22
  diff-lcs (1.3)
24
- i18n (0.9.5)
23
+ i18n (1.8.5)
25
24
  concurrent-ruby (~> 1.0)
26
- minitest (5.11.3)
27
- rake (10.0.3)
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.3.13)
40
+ sqlite3 (1.4.2)
42
41
  thread_safe (0.3.6)
43
- tzinfo (1.2.5)
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
- activerecord (= 5.1.5)
50
+ bundler (~> 2.1)
51
51
  nilly_vanilly!
52
- rake
53
- rspec (= 3.7.0)
54
- sqlite3 (= 1.3.13)
52
+ rake (>= 12.3.3)
53
+ rspec (~> 3.7)
54
+ sqlite3 (~> 1.4)
55
55
 
56
56
  BUNDLED WITH
57
- 1.16.0
57
+ 2.1.4
@@ -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
@@ -1,6 +1,8 @@
1
- require 'bundler/gem_tasks'
1
+ require 'bundler'
2
2
  require 'rspec/core/rake_task'
3
3
 
4
+ Bundler::GemHelper.install_tasks
5
+
4
6
  RSpec::Core::RakeTask.new('spec')
5
7
 
6
8
  task :default => :spec
@@ -1,3 +1,3 @@
1
1
  module NillyVanilly
2
- VERSION = "1.0.0"
2
+ VERSION = "2.0.0"
3
3
  end
@@ -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.0.0'
21
+ s.add_dependency 'activerecord', '>= 5.2.4.3'
22
22
 
23
- s.add_development_dependency 'activerecord', '5.1.5'
24
- s.add_development_dependency 'rspec', '3.7.0'
25
- s.add_development_dependency 'sqlite3', '1.3.13'
26
- s.add_development_dependency 'rake'
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: 1.0.0
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: 2018-03-09 00:00:00.000000000 Z
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.0.0
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.0.0
26
+ version: 5.2.4.3
27
27
  - !ruby/object:Gem::Dependency
28
- name: activerecord
28
+ name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '='
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 5.1.5
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: 5.1.5
40
+ version: '2.1'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rspec
42
+ name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 3.7.0
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.7.0
54
+ version: 12.3.3
55
55
  - !ruby/object:Gem::Dependency
56
- name: sqlite3
56
+ name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '='
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 1.3.13
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: 1.3.13
68
+ version: '3.7'
69
69
  - !ruby/object:Gem::Dependency
70
- name: rake
70
+ name: sqlite3
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
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: '0'
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
- rubyforge_project:
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: []