taps2 0.5.3 → 0.5.4

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
2
  SHA1:
3
- metadata.gz: 3270e6af8e2dc53e576280f136c8770739cea503
4
- data.tar.gz: 19c20c887792004a6d912a0dcf2381f7f5f4283d
3
+ metadata.gz: dce1227f756b552e4cde86a7f19416ec8690c61b
4
+ data.tar.gz: 9765d247e72acd77174bb190aa6b4e740e2908e1
5
5
  SHA512:
6
- metadata.gz: 2437f76336492e0e4b94ca7bed79f86198d80fad72688acf96490061caa5095820980bce4ac7136b4d4919b59087d64202fdaac8e9ed10cc1e3e245553f98a67
7
- data.tar.gz: 16c2b38ddb8a6e7ae3dfe9b44456a588f7a4cd1f2dc616f142bd87adf2f446767137791835899a8e0e22a6341e7960825a360b6333f4d5f50ce6247c2c3bce0d
6
+ metadata.gz: a79deee12261997841c4321381f07301b4a7032e350f3fee55469683f676726a2e82fbdcb21a8a6c678fe8d6e537aaaf77aec1018a080bd1ac8851b34ae4ec88
7
+ data.tar.gz: 0c0be8926a1172f27fa461b679adb02e5ce7c16e5e38be98496f54a70ad0376659c61683098e1f791d1dd3796a5b8c0f4a30d2e474e4ae946622f3ff7764676a
@@ -63,12 +63,23 @@ or when you want to transfer tables that start with a word
63
63
 
64
64
  $ taps push postgres://dbuser:dbpassword@localhost/dbname http://httpuser:httppassword@example.com:5000 --filter '^log_'
65
65
 
66
+ == Troubleshooting
67
+
68
+ * "Error: invalid byte sequence for encoding" can be resolved by adding `encoding` to database URI (https://github.com/ricardochimal/taps/issues/110)
69
+ * *Example:* `taps server mysql://root@localhost/example_database?encoding=UTF8 httpuser httppassword`
70
+
66
71
  == Known Issues
67
72
 
68
73
  * Foreign key constraints get lost in the schema transfer
74
+ * Indexes may drop the "order" (https://github.com/ricardochimal/taps/issues/111)
75
+ * String fields with only numbers may get parsed as a number and lose leading zeros or add decimals (https://github.com/ricardochimal/taps/issues/106)
69
76
  * Tables without primary keys will be incredibly slow to transfer. This is due to it being inefficient having large offset values in queries.
70
77
  * Multiple schemas are currently not supported
71
78
 
79
+ == Feature Requests
80
+
81
+ * Allow a single Taps server to serve data from different databases (https://github.com/ricardochimal/taps/issues/103)
82
+
72
83
  == Meta
73
84
 
74
85
  Maintained by {Joel Van Horn}(http://github.com/joelvh)
@@ -2,4 +2,4 @@
2
2
  :build:
3
3
  :major: 0
4
4
  :minor: 5
5
- :patch: 3
5
+ :patch: 4
@@ -174,7 +174,7 @@ class DataStream
174
174
  params = Taps::Multipart.parse(res)
175
175
  params[:json] = self.class.parse_json(params[:json]) if params.has_key?(:json)
176
176
  return params
177
- rescue ::OkJson::Error
177
+ rescue ::OkJson::ParserError
178
178
  raise Taps::CorruptedData.new("Invalid OkJson Received")
179
179
  end
180
180
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taps2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo Chimal, Jr.