sequel-string_nilifier 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YTQzMjJiOTViMjExMGI0MTk3N2RhZTJiNzM4NWFkYzQ1YjMxZTU0OQ==
5
- data.tar.gz: !binary |-
6
- NDZmZDdiMTQxMWIzM2VkNTNiOGUyZDkwMGM4MTMxMzQ0YjM3MDdhNw==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- NjczMmEzZDdlOTMyMjhiYjcwNTU4MjY2NjI3Yzc5ZjM5ZGJmZjgyZTZlZGE1
10
- N2E0ZmVhMGJhZTg1MjI2MDNlOTk3MTI5MDdlYzdhOTgxYzUwZTU4ODAwMTlm
11
- OTIxNjM2YzFmODZkMWMwYjA5OGI4Yjg1MGIwMDdjNTBlYTk1MGQ=
12
- data.tar.gz: !binary |-
13
- NzY5MmYzMWRkZjM1MDljNmUyNDU2ZjM4MThiMjdkNDIzMWNkMWExNjhmMzA1
14
- NTNlYTc2MzkyYThkZDExOGZhN2Q2MGE4NTM2NGVjOWQ2NjM5OWNhOWM1Yzcw
15
- ZjE0NjUyYTlkZDFmODdmYTNmNTAxODdiYzhlNjNkMjBkMjAwY2Y=
2
+ SHA1:
3
+ metadata.gz: 883d1729a49b7f4770f650a7c96f4adabfb4db9b
4
+ data.tar.gz: ce7b604cc2431bfee3f9870c187cbf3142409820
5
+ SHA512:
6
+ metadata.gz: 8968af4028a5d4a4f5bc7b2da747cac1e5692afbf7fa3b1bc8d8c44ef6c2006bb08fc2a62aa0a4bc95f65b6ffc58c414bda90b21b6f9cd779179b11cb6efcd23
7
+ data.tar.gz: 184b6ceab44de0fe82c5ee27e0433cbdd8a6f7361379f59d46d8e43e184a9eaa4f584707ca35e3f951ac80765c65b490653e71a9c5e3cdee989a6e7b8aa476f6
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ rvm:
2
+ - 1.9.3
3
+ - 2.0.0
4
+ - 2.1.0
5
+ - jruby-19mode
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # Sequel::StringNilifier
2
2
 
3
- Sequel plugin to convert empty string to nil.
3
+ [![Build Status](https://travis-ci.org/TalentBox/sequel-string_nilifier.png?branch=master)](https://travis-ci.org/TalentBox/sequel-string_nilifier)
4
+
5
+ Sequel plugin to convert empty string to nil.
4
6
  Adapted from `Sequel::Plugins::StringStripper` from Jeremy Evans.
5
7
 
6
8
  ## Installation
data/Rakefile CHANGED
@@ -1 +1,6 @@
1
1
  require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+ RSpec::Core::RakeTask.new("spec").tap do |config|
4
+ config.rspec_opts = "--color"
5
+ end
6
+ task :default => :spec
@@ -1,7 +1,7 @@
1
1
  module Sequel
2
2
  module Plugins
3
3
  module StringNilifier
4
- VERSION = "1.1.0"
4
+ VERSION = "1.2.0"
5
5
  end
6
6
  end
7
7
  end
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_runtime_dependency "sequel", "~> 3.48.0"
21
+ spec.add_runtime_dependency "sequel", ">= 3.48.0", "< 5.0"
22
22
 
23
23
  spec.add_development_dependency "rake"
24
24
  spec.add_development_dependency "rspec"
metadata CHANGED
@@ -1,58 +1,64 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sequel-string_nilifier
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
  - Jonathan Tron
8
8
  - Joseph Halter
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-05 00:00:00.000000000 Z
12
+ date: 2014-01-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- requirement: !ruby/object:Gem::Requirement
15
+ name: sequel
16
+ version_requirements: !ruby/object:Gem::Requirement
16
17
  requirements:
17
- - - ~>
18
+ - - '>='
18
19
  - !ruby/object:Gem::Version
19
20
  version: 3.48.0
20
- version_requirements: !ruby/object:Gem::Requirement
21
+ - - <
22
+ - !ruby/object:Gem::Version
23
+ version: '5.0'
24
+ requirement: !ruby/object:Gem::Requirement
21
25
  requirements:
22
- - - ~>
26
+ - - '>='
23
27
  - !ruby/object:Gem::Version
24
28
  version: 3.48.0
25
- type: :runtime
29
+ - - <
30
+ - !ruby/object:Gem::Version
31
+ version: '5.0'
26
32
  prerelease: false
27
- name: sequel
33
+ type: :runtime
28
34
  - !ruby/object:Gem::Dependency
29
- requirement: !ruby/object:Gem::Requirement
35
+ name: rake
36
+ version_requirements: !ruby/object:Gem::Requirement
30
37
  requirements:
31
- - - ! '>='
38
+ - - '>='
32
39
  - !ruby/object:Gem::Version
33
40
  version: '0'
34
- version_requirements: !ruby/object:Gem::Requirement
41
+ requirement: !ruby/object:Gem::Requirement
35
42
  requirements:
36
- - - ! '>='
43
+ - - '>='
37
44
  - !ruby/object:Gem::Version
38
45
  version: '0'
39
- type: :development
40
46
  prerelease: false
41
- name: rake
47
+ type: :development
42
48
  - !ruby/object:Gem::Dependency
43
- requirement: !ruby/object:Gem::Requirement
49
+ name: rspec
50
+ version_requirements: !ruby/object:Gem::Requirement
44
51
  requirements:
45
- - - ! '>='
52
+ - - '>='
46
53
  - !ruby/object:Gem::Version
47
54
  version: '0'
48
- version_requirements: !ruby/object:Gem::Requirement
55
+ requirement: !ruby/object:Gem::Requirement
49
56
  requirements:
50
- - - ! '>='
57
+ - - '>='
51
58
  - !ruby/object:Gem::Version
52
59
  version: '0'
53
- type: :development
54
60
  prerelease: false
55
- name: rspec
61
+ type: :development
56
62
  description: Sequel plugin to store empty string as nil
57
63
  email:
58
64
  - jonathan.tron@metrilio.com
@@ -62,6 +68,7 @@ extensions: []
62
68
  extra_rdoc_files: []
63
69
  files:
64
70
  - .gitignore
71
+ - .travis.yml
65
72
  - Gemfile
66
73
  - LICENSE.txt
67
74
  - README.md
@@ -76,24 +83,24 @@ homepage: ''
76
83
  licenses:
77
84
  - MIT
78
85
  metadata: {}
79
- post_install_message:
86
+ post_install_message:
80
87
  rdoc_options: []
81
88
  require_paths:
82
89
  - lib
83
90
  required_ruby_version: !ruby/object:Gem::Requirement
84
91
  requirements:
85
- - - ! '>='
92
+ - - '>='
86
93
  - !ruby/object:Gem::Version
87
94
  version: '0'
88
95
  required_rubygems_version: !ruby/object:Gem::Requirement
89
96
  requirements:
90
- - - ! '>='
97
+ - - '>='
91
98
  - !ruby/object:Gem::Version
92
99
  version: '0'
93
100
  requirements: []
94
- rubyforge_project:
95
- rubygems_version: 2.0.3
96
- signing_key:
101
+ rubyforge_project:
102
+ rubygems_version: 2.1.9
103
+ signing_key:
97
104
  specification_version: 4
98
105
  summary: Sequel plugin to store empty string as nil
99
106
  test_files: