nilify_blanks 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YzNlZTg1MTRiOGE2OTllOTYyZWNkYTU5NGJlMDJiOTQ5Mjg2MTQ0MA==
4
+ Yzk0ODgzYTlhYmJhYThhNDllNWM1MjRlMjFhY2Q2ZDMwMGQ1MGZiMQ==
5
5
  data.tar.gz: !binary |-
6
- NWY2MDA4NzljZjVhN2VkNDlmMzIyOTMyYTljYzZhMDFlY2E5MTUwZg==
6
+ ZGIxMGZlOGEyNGUyODdmZjExYTkwODYzZDRkYjY1YmYyOTI1MTFjYQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YmIyZTQzNzllM2YzMzJiNGUyNzI3OGM5MDlhM2Q1N2QwMjE2YzkxNDhhN2Qx
10
- ZWNiZWIzMDM4ZDc4ZGIyYzY1YjY1MDA0NmEwZDk1OGEwZTc1OTI1YmI0Njkz
11
- YzAwMDY2ZjczZGM4NTYzNDQ4ZmE4YmYxYWQ2NjRhNDlkOWQ2ZTc=
9
+ NWYwYjA5M2I4ZGFmMTk3ZjViOTg2ZTBjODVjNjVjMGFkZmU4OGRmM2RiNmM3
10
+ NGIxYjYzN2EyMjM1ZTlhNGQ0NzQwZDUwNzQ5ZGM0NDU3NzYzNjUwM2M4YmNi
11
+ OTQwYTkwMmNiYTA3Y2MyY2QyM2M5OGU5NTNmZDEwM2VhMzM4MGI=
12
12
  data.tar.gz: !binary |-
13
- OGI4Y2VhMzkwMDFlZjdmMDM2ODMwM2Q0YmM1ZDhlYTM5NWMxNWQwNzVhZjMx
14
- ODFlNjQzNTg0MjAzN2UxOTI2NTIzYzlmMjI4NDVkZjQyMWFkNDc3MWNkYThj
15
- ZmY1NThjOWU3YjIwNWU1MjQ5NWJiNzk5YWRlNzlkYThhNDc1MGU=
13
+ ZTM5NjIxYTc5MTNiODQ5MTc1ZWE5MTNhM2IxYmZhYjNmYzZiZmRkMmM3Yzlh
14
+ NDZiMjc1OWZhZDcwNGMzNDc1NWNiNzMyNTg5ZTRhNGU3MGNjYzI2ODk3OWVi
15
+ MzMzOWNkOGRmNGYzNzkzYWI0MzIwZWI3Y2E0ZTNkNmE3ODkzOWQ=
@@ -1,3 +1,7 @@
1
+ == [2013-11-09] 1.0.3
2
+
3
+ * Add rbx and JRuby compatibility (Thanks, petergoldstein)
4
+
1
5
  == [2013-08-25] 1.0.2
2
6
 
3
7
  * Hook on AR::Base.define_attribute_methods in order to prevent eager load of models [byroot]
data/Gemfile CHANGED
@@ -1,3 +1,8 @@
1
1
  source "http://rubygems.org"
2
2
 
3
+ gem 'rubysl', '~> 2.0', :platforms => [:rbx]
4
+
5
+ gem 'activerecord-jdbcsqlite3-adapter', :platforms => [:jruby]
6
+ gem 'sqlite3', :platforms => [:ruby]
7
+
3
8
  gemspec
data/Rakefile CHANGED
@@ -4,7 +4,6 @@ require 'bundler/setup'
4
4
  require 'rake'
5
5
  require 'appraisal'
6
6
  require 'rspec/core/rake_task'
7
- require 'rdoc/task'
8
7
 
9
8
  desc 'Default: run unit tests.'
10
9
  task :default => [:clean, :test]
@@ -32,13 +31,19 @@ task :clean do |t|
32
31
  Dir.glob("spec/db/*.sqlite3").each {|f| FileUtils.rm f }
33
32
  end
34
33
 
35
- desc "Generate documentation for the plugin."
36
- Rake::RDocTask.new(:rdoc) do |rdoc|
37
- rdoc.rdoc_dir = "rdoc"
38
- rdoc.title = "nilify_blanks"
39
- rdoc.options << "--line-numbers" << "--inline-source"
40
- rdoc.rdoc_files.include('README')
41
- rdoc.rdoc_files.include('lib/**/*.rb')
34
+ begin
35
+ require 'rdoc/task'
36
+
37
+ desc "Generate documentation for the plugin."
38
+ Rake::RDocTask.new(:rdoc) do |rdoc|
39
+ rdoc.rdoc_dir = "rdoc"
40
+ rdoc.title = "nilify_blanks"
41
+ rdoc.options << "--line-numbers" << "--inline-source"
42
+ rdoc.rdoc_files.include('README')
43
+ rdoc.rdoc_files.include('lib/**/*.rb')
44
+ end
45
+ rescue LoadError
46
+ puts 'RDocTask is not supported for this platform'
42
47
  end
43
48
 
44
49
  Dir["#{File.dirname(__FILE__)}/lib/tasks/*.rake"].sort.each { |ext| load ext }
@@ -1,3 +1,3 @@
1
1
  module NilifyBlanks
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nilify_blanks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Hughes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-26 00:00:00.000000000 Z
11
+ date: 2013-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport