daff 1.3.16 → 1.3.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/lib/coopy/coopy.rb +3 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 739a1d0666d271b0dcda5352e570e60782fdcd46
4
- data.tar.gz: 5b7b271027b61d93d375333ee64c8cb97cdb0e6c
3
+ metadata.gz: d6f65a385fee358bbe09425bdcc8ca32e04d4ea4
4
+ data.tar.gz: f031cd934043e01a77c3b69a7042a45b98ca159e
5
5
  SHA512:
6
- metadata.gz: 57b95822bde10babe60ca996b60f8e15fdce5eb730172dfe3f63a1a67e688667aa1169df8dfc0517442bafe4aab83c650bf7e5e6692c02720e9fd4194304c852
7
- data.tar.gz: 0e07ba411d6973e678603e95842fb4a63b6cccfdfd181722f81e51a2c47303a777cac01a55ffddc43323bdb6c4c67804dea235c12396adc51c2271621810a6ca
6
+ metadata.gz: 935bf82b13cbfcb5ee4b0719cc8d98fd6ac01025ef6cd9e10ac8785c753456d69959409a5a53a9df07023d4ac8060cb332503691c9263f786f6f300d3c6a0705
7
+ data.tar.gz: 78e3e2b296d6d344e365e64ec5c14380f0a98c6186cd6bb2a7523bbd918797b893a7fc0f3ef391c8bd4f1556d21b86123c884b380cb891437ae8cc95adc387af
@@ -124,6 +124,7 @@ module Coopy
124
124
 
125
125
  def save_table(name,t,render = nil)
126
126
  txt = self.encode_table(name,t,render)
127
+ return true if txt == nil
127
128
  self.save_text(name,txt)
128
129
  end
129
130
 
@@ -140,6 +141,7 @@ module Coopy
140
141
  txt = ::Coopy::Ndjson.new(t).render
141
142
  elsif @format_preference == "html" || @format_preference == "www"
142
143
  self.render_table(name,t)
144
+ return nil
143
145
  elsif @format_preference == "sqlite"
144
146
  @io.write_stderr("! Cannot yet output to sqlite, aborting\n")
145
147
  return ""
@@ -835,7 +837,7 @@ module Coopy
835
837
  class << self
836
838
  attr_accessor :version
837
839
  end
838
- @version = "1.3.16"
840
+ @version = "1.3.17"
839
841
 
840
842
  def Coopy.diff_as_html(local,remote,flags = nil)
841
843
  comp = ::Coopy::TableComparisonState.new
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daff
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.16
4
+ version: 1.3.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Smith
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-04-28 00:00:00.000000000 Z
12
+ date: 2016-06-05 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Diff and patch tables
15
15
  email: